Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Datexitmodule.c41 atexit_delete_cb(atexitmodule_state *modstate, int i) in atexit_delete_cb() argument
45 cb = modstate->atexit_callbacks[i]; in atexit_delete_cb()
46 modstate->atexit_callbacks[i] = NULL; in atexit_delete_cb()
55 atexit_cleanup(atexitmodule_state *modstate) in atexit_cleanup() argument
59 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_cleanup()
60 cb = modstate->atexit_callbacks[i]; in atexit_cleanup()
64 atexit_delete_cb(modstate, i); in atexit_cleanup()
66 modstate->ncallbacks = 0; in atexit_cleanup()
76 atexitmodule_state *modstate; in atexit_callfuncs() local
81 modstate = get_atexit_state(module); in atexit_callfuncs()
[all …]