Home
last modified time | relevance | path

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

/external/python/cpython3/Include/internal/
Dpycore_runtime.h96 int nexitfuncs; member
/external/python/cpython3/Python/
Dpylifecycle.c2408 if (_PyRuntime.nexitfuncs >= NEXITFUNCS) in Py_AtExit()
2410 _PyRuntime.exitfuncs[_PyRuntime.nexitfuncs++] = func; in Py_AtExit()
2417 while (runtime->nexitfuncs > 0) { in call_ll_exitfuncs()
2419 runtime->nexitfuncs--; in call_ll_exitfuncs()
2420 void (*exitfunc)(void) = runtime->exitfuncs[runtime->nexitfuncs]; in call_ll_exitfuncs()
2421 runtime->exitfuncs[runtime->nexitfuncs] = NULL; in call_ll_exitfuncs()
/external/python/cpython2/Python/
Dpythonrun.c1749 static int nexitfuncs = 0; variable
1753 if (nexitfuncs >= NEXITFUNCS) in Py_AtExit()
1755 exitfuncs[nexitfuncs++] = func; in Py_AtExit()
1785 while (nexitfuncs > 0) in call_ll_exitfuncs()
1786 (*exitfuncs[--nexitfuncs])(); in call_ll_exitfuncs()