/third_party/python/Lib/test/ |
H A D | _test_atexit.py | 2 Tests run by test_atexit in a subprocess since it clears atexit callbacks. 4 import atexit namespace 12 atexit._clear() 15 atexit._clear() 19 atexit.register(func, *args) 20 atexit._run_exitfuncs() 38 atexit.register(func1, 1, 2) 39 atexit.register(func2) 40 atexit.register(func2, 3, key="value") 41 atexit [all...] |
H A D | test_atexit.py | 1 import atexit namespace 12 # Run _test_atexit.py in a subprocess since it calls atexit._clear() 20 import atexit 25 atexit.register(f, "one") 26 atexit.register(f, "two") 33 # bpo-42639: It is safe to have more than one atexit instance. 36 import atexit as atexit1 37 del sys.modules['atexit'] 38 import atexit as atexit2 39 del sys.modules['atexit'] [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/exit/ |
H A D | double_exit.c | 42 int result = atexit(atexit_0100); in atexit_0200() 65 result = atexit(atexit_0300); in main() 69 result = atexit(atexit_0200); in main()
|
H A D | atexit.c | 27 * @tc.desc : Execute function when testing atexit method registration and exit 32 int result = atexit(atexit_0100); in main()
|
H A D | a_cxa_finalize.c | 37 int ret = atexit(FinalizeFunc); in cxa_finalize_0100()
|
/third_party/python/Lib/multiprocessing/ |
H A D | util.py | 14 import atexit namespace 75 if hasattr(atexit, 'unregister'): 76 atexit.unregister(_exit_function) 77 atexit.register(_exit_function) 79 atexit._exithandlers.remove((_exit_function, (), {})) 80 atexit._exithandlers.append((_exit_function, (), {})) 333 debug('running all "atexit" finalizers with priority >= 0') 359 debug('running the remaining "atexit" finalizers') 362 atexit.register(_exit_function)
|
/third_party/python/Lib/ |
H A D | weakref.py | 550 atexit attribute is true will be run in reverse order of creation. 551 By default atexit is true. 566 __slots__ = ("weakref", "func", "args", "kwargs", "atexit", "index") 572 import atexit namespace 573 atexit.register(self._exitfunc) 580 info.atexit = True 614 def atexit(self): member in finalize 617 return bool(info) and info.atexit 619 @atexit.setter 620 def atexit(sel member in finalize [all...] |
H A D | rlcompleter.py | 32 import atexit namespace 218 atexit.register(lambda: readline.set_completer(None))
|
/third_party/python/Modules/ |
H A D | atexitmodule.c | 2 * atexit - allow programmer to define multiple exit functions to be executed 5 * Translated from atexit.py by Collin Winter. 11 #include "pycore_interp.h" // PyInterpreterState.atexit 21 return &interp->atexit; in get_atexit_state() 57 struct atexit_state *state = &interp->atexit; in _PyAtExit_Init() 74 struct atexit_state *state = &interp->atexit; in _PyAtExit_Fini() 100 _PyErr_WriteUnraisableMsg("in atexit callback", the_func); in atexit_callfuncs() 117 struct atexit_state *state = &interp->atexit; in _PyAtExit_Call() 226 atexit.register\n\ 280 .m_name = "atexit", [all...] |
/third_party/benchmark/bindings/python/google_benchmark/ |
H A D | __init__.py | 29 import atexit namespace 162 atexit.register(_benchmark.ClearRegisteredBenchmarks)
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_exit-dtor.c | 46 // test if atexit handlers are run after pthread_exit in main() 54 atexit(die); in main() 62 t_error("atexit handler was not run after last thread exited" in main() 70 if (atexit(cleanup)) { in main() 71 t_error("atexit failed\n"); in main()
|
/third_party/curl/lib/ |
H A D | amigaos.c | 98 atexit(Curl_amiga_cleanup); in Curl_amiga_init() 233 atexit(Curl_amiga_cleanup); in Curl_amiga_init()
|
/third_party/googletest/googletest/test/ |
H A D | gtest_test_utils.py | 42 import atexit namespace 135 atexit.register(_RemoveTempDir)
|
/third_party/musl/porting/liteos_m/kernel/src/exit/ |
H A D | atexit.c | 3 int atexit(void (*func)(void))
in atexit() function
|
/third_party/musl/porting/uniproton/kernel/src/exit/ |
H A D | atexit.c | 3 int atexit(void (*func)(void))
in atexit() function
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | make_distribution_archives.py | 7 import atexit namespace 119 atexit.register(clean_build_dir)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | setup.py | 1 import atexit namespace 137 atexit.register(restore_stdout)
|
/third_party/mesa3d/src/util/ |
H A D | u_perfetto.cc | 43 atexit(&util_perfetto_fini); in util_perfetto_init_once()
|
/third_party/icu/icu4c/source/common/ |
H A D | ucln_imp.h | 33 * 2) Using atexit() 78 * Use the ANSI C 'atexit' function. Note that this mechanism does not 92 atexit(&ucln_atexit_handler); in ucln_registerAutomaticCleanup()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ucln_imp.h | 33 * 2) Using atexit() 78 * Use the ANSI C 'atexit' function. Note that this mechanism does not 92 atexit(&ucln_atexit_handler); in ucln_registerAutomaticCleanup()
|
/third_party/skia/src/utils/ |
H A D | SkEventTracer.cpp | 51 atexit([]() { delete gUserTracer.load(); }); in SetInstance()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucln_imp.h | 33 * 2) Using atexit() 78 * Use the ANSI C 'atexit' function. Note that this mechanism does not 92 atexit(&ucln_atexit_handler); in ucln_registerAutomaticCleanup()
|
/third_party/curl/tests/server/ |
H A D | resolve.c | 107 atexit(win32_cleanup); in main()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-init.cxx | 27 atexit() handler. */ 89 printf ("do_backtrace() from atexit()-handler:\n"); in a() 92 abort (); /* cannot portably call exit() from an atexit() handler */ in a() 106 return atexit (a); in main()
|
/third_party/mesa3d/src/egl/main/ |
H A D | eglglobals.c | 130 atexit(_eglAtExit); in _eglAddAtExitCall()
|