Lines Matching refs:atexit_callbacks
26 atexit_callback **atexit_callbacks; member
39 cb = modstate->atexit_callbacks[i]; in atexit_delete_cb()
40 modstate->atexit_callbacks[i] = NULL; in atexit_delete_cb()
54 cb = modstate->atexit_callbacks[i]; in atexit_cleanup()
83 cb = modstate->atexit_callbacks[i]; in atexit_callfuncs()
138 r = (atexit_callback**)PyMem_Realloc(modstate->atexit_callbacks, in atexit_register()
142 modstate->atexit_callbacks = r; in atexit_register()
172 modstate->atexit_callbacks[modstate->ncallbacks++] = new_callback; in atexit_register()
228 atexit_callback *cb = modstate->atexit_callbacks[i]; in atexit_m_traverse()
257 PyMem_Free(modstate->atexit_callbacks); in atexit_free()
280 cb = modstate->atexit_callbacks[i]; in atexit_unregister()
324 modstate->atexit_callbacks = PyMem_New(atexit_callback*, in atexit_exec()
326 if (modstate->atexit_callbacks == NULL) in atexit_exec()