Home
last modified time | relevance | path

Searched refs:ncallbacks (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Modules/
Datexitmodule.c43 for (int i = 0; i < state->ncallbacks; i++) { in atexit_cleanup()
50 state->ncallbacks = 0; in atexit_cleanup()
62 state->ncallbacks = 0; in _PyAtExit_Init()
86 if (state->ncallbacks == 0) { in atexit_callfuncs()
90 for (int i = state->ncallbacks - 1; i >= 0; i--) { in atexit_callfuncs()
154 if (state->ncallbacks >= state->callback_len) { in atexit_register()
178 state->callbacks[state->ncallbacks++] = callback; in atexit_register()
219 return PyLong_FromSsize_t(state->ncallbacks); in atexit_ncallbacks()
234 for (int i = 0; i < state->ncallbacks; i++) in atexit_unregister()
/third_party/python/Include/internal/
Dpycore_interp.h177 int ncallbacks; member