/third_party/python/Lib/test/ |
D | _test_atexit.py | 4 import atexit 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._run_exitfuncs() 78 atexit.register(inc) [all …]
|
D | test_atexit.py | 1 import atexit 58 n = atexit._ncallbacks() 68 self.assertEqual(atexit._ncallbacks(), n) 73 n = atexit._ncallbacks() 83 self.assertEqual(atexit._ncallbacks(), n)
|
/third_party/python/Doc/library/ |
D | atexit.rst | 1 :mod:`atexit` --- Exit handlers 4 .. module:: atexit 12 The :mod:`atexit` module defines functions to register and unregister cleanup 14 interpreter termination. :mod:`atexit` runs these functions in the *reverse* 54 of that function in the :mod:`atexit` call stack will be removed. Equality 62 Useful example of :mod:`atexit` to read and write :mod:`readline` history 68 :mod:`atexit` Example 90 import atexit 92 atexit.register(savecounter) 100 import atexit [all …]
|
/third_party/python/Lib/multiprocessing/ |
D | util.py | 14 import atexit 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, (), {})) 362 atexit.register(_exit_function)
|
/third_party/pixman/pixman/ |
D | pixman-timer.c | 54 int atexit (void (*function)(void)); in pixman_timer_register() 58 atexit (dump_timers); in pixman_timer_register()
|
/third_party/python/Lib/ |
D | weakref.py | 573 import atexit 574 atexit.register(self._exitfunc) 581 info.atexit = True 615 def atexit(self): member in finalize 618 return bool(info) and info.atexit 620 @atexit.setter 621 def atexit(self, value): member in finalize 624 info.atexit = bool(value) 638 L = [(f,i) for (f,i) in cls._registry.items() if i.atexit]
|
D | rlcompleter.py | 32 import atexit 218 atexit.register(lambda: readline.set_completer(None))
|
/third_party/python/Modules/ |
D | atexitmodule.c | 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() 117 struct atexit_state *state = &interp->atexit; in _PyAtExit_Call()
|
/third_party/musl/libc-test/src/regression/ |
D | pthread_exit-dtor.c | 54 atexit(die); in main() 70 if (atexit(cleanup)) { in main()
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/ |
D | _server_shutdown_test.py | 20 import atexit 51 atexit.register(cleanup_processes)
|
/third_party/grpc/examples/python/multiprocessing/ |
D | client.py | 21 import atexit 57 atexit.register(_shutdown_worker)
|
/third_party/mindspore/mindspore/dataset/engine/ |
D | graphdata.py | 19 import atexit 108 atexit.register(stop) 113 atexit.register(stop)
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testlock.c | 106 atexit(SDL_Quit_Wrapper); in main() 117 atexit(printid); in main()
|
/third_party/libsoup/libsoup/ |
D | gconstructor.h | 66 …int _func ## _constructor(void) { atexit (_func); g_slist_find (NULL, _array ## _func); return 0;… 90 static int _func ## _constructor(void) { atexit (_func); return 0; } \
|
/third_party/glib/glib/ |
D | gconstructor.h | 68 …int _func ## _constructor(void) { atexit (_func); g_slist_find (NULL, _array ## _func); return 0;… 92 static int _func ## _constructor(void) { atexit (_func); return 0; } \
|
D | gutils.h | 320 #define g_ATEXIT(proc) (atexit (proc)) GLIB_DEPRECATED_MACRO_IN_2_32 347 int atexit (void (*)(void)); 349 #define g_atexit(func) atexit(func) GLIB_DEPRECATED_MACRO_IN_2_32
|
/third_party/boost/libs/mpi/src/python/ |
D | py_environment.cpp | 97 object atexit = object(handle<>(PyImport_ImportModule("atexit"))); in export_environment() local 99 atexit.attr("register")(finalize); in export_environment()
|
/third_party/musl/porting/liteos_m/kernel/src/exit/ |
D | atexit.c | 3 int atexit(void (*func)(void)) in atexit() function
|
/third_party/musl/porting/uniproton/kernel/src/exit/ |
D | atexit.c | 3 int atexit(void (*func)(void)) in atexit() function
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 1 import atexit 137 atexit.register(restore_stdout)
|
/third_party/mindspore/mindspore/train/summary/ |
D | summary_record.py | 16 import atexit 200 atexit.register(self.close) 423 atexit.unregister(self.close)
|
/third_party/musl/libc-test/src/functionalext/supplement/exit/ |
D | atexit.c | 32 int result = atexit(atexit_0100); in main()
|
D | a_cxa_finalize.c | 37 int ret = atexit(FinalizeFunc); in cxa_finalize_0100()
|
/third_party/grpc/tools/interop_matrix/ |
D | create_matrix_images.py | 20 import atexit 122 atexit.register(lambda: subprocess.call(['rm', '-rf', temp_dir])) 248 atexit.register(cleanup)
|
/third_party/googletest/googletest/test/ |
D | gtest_test_utils.py | 41 import atexit 141 atexit.register(_RemoveTempDir)
|