Home
last modified time | relevance | path

Searched refs:finalizer (Results 1 – 25 of 56) sorted by relevance

123

/external/guava/guava/src/com/google/common/base/
DFinalizableReferenceQueue.java138 Class<?> finalizer = loadFinalizer(
140 startFinalizer = getStartFinalizer(finalizer);
214 Class<?> finalizer = loader.loadFinalizer(); in loadFinalizer() local
215 if (finalizer != null) { in loadFinalizer()
216 return finalizer; in loadFinalizer()
350 static Method getStartFinalizer(Class<?> finalizer) { in getStartFinalizer() argument
352 return finalizer.getMethod( in getStartFinalizer()
/external/freetype/src/base/
Dftmm.c192 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Design_Coordinates()
194 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Design_Coordinates()
240 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Design_Coordinates()
242 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Design_Coordinates()
316 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Blend_Coordinates()
318 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Blend_Coordinates()
367 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Blend_Coordinates()
369 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Blend_Coordinates()
491 if ( !error && face->autohint.finalizer ) in FT_Set_Named_Instance()
493 face->autohint.finalizer( face->autohint.data ); in FT_Set_Named_Instance()
/external/python/cpython3/Lib/multiprocessing/
Dpopen_fork.py19 self.finalizer = None
79 self.finalizer = util.Finalize(self, os.close, (parent_r,))
83 if self.finalizer is not None:
84 self.finalizer()
Dutil.py260 finalizer = _finalizer_registry.get(key)
262 if finalizer is not None:
263 sub_debug('calling %s', finalizer)
265 finalizer()
Dpopen_spawn_win32.py83 self.finalizer = util.Finalize(self, _winapi.CloseHandle, (self.sentinel,))
127 self.finalizer()
Dpopen_forkserver.py52 self.finalizer = util.Finalize(self, os.close, (self.sentinel,))
Dpopen_spawn_posix.py65 self.finalizer = util.Finalize(self, os.close, (parent_r,))
/external/python/cpython3/Doc/library/
Dweakref.rst58 weak reference, since the module automatically ensures that the finalizer
241 Return a callable finalizer object which will be called when *obj*
242 is garbage collected. Unlike an ordinary weak reference, a finalizer
246 A finalizer is considered *alive* until it is called (either explicitly
248 finalizer returns the result of evaluating ``func(*arg, **kwargs)``,
249 whereas calling a dead finalizer returns :const:`None`.
251 Exceptions raised by finalizer callbacks during garbage collection
257 When the program exits, each remaining live finalizer is called
261 A finalizer will never invoke its callback during the later part of
284 Property which is true if the finalizer is alive, false otherwise.
[all …]
/external/tensorflow/tensorflow/go/
Dtensor_handle.go54 runtime.SetFinalizer(th, (*TensorHandle).finalizer)
58 func (th *TensorHandle) finalizer() { func
65 runtime.SetFinalizer(th, (*TensorHandle).finalizer)
Dstatus.go34 runtime.SetFinalizer(s, (*status).finalizer)
38 func (s *status) finalizer() { func
Dcontext.go92 runtime.SetFinalizer(c, (*Context).finalizer)
96 func (c *Context) finalizer() { func
/external/guava/guava/src/com/google/common/base/internal/
DFinalizer.java85 Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); in startFinalizer() local
86 Thread thread = new Thread(finalizer); in startFinalizer()
/external/python/cpython2/Lib/multiprocessing/
Dutil.py274 for key, finalizer in items:
275 sub_debug('calling %s', finalizer)
277 finalizer()
/external/python/cpython3/Python/
Dsysmodule.c859 PyObject *finalizer = NULL; in sys_set_asyncgen_hooks() local
863 &firstiter, &finalizer)) { in sys_set_asyncgen_hooks()
867 if (finalizer && finalizer != Py_None) { in sys_set_asyncgen_hooks()
868 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
871 Py_TYPE(finalizer)->tp_name); in sys_set_asyncgen_hooks()
874 _PyEval_SetAsyncGenFinalizer(finalizer); in sys_set_asyncgen_hooks()
876 else if (finalizer == Py_None) { in sys_set_asyncgen_hooks()
907 PyObject *finalizer = _PyEval_GetAsyncGenFinalizer(); in sys_get_asyncgen_hooks() local
918 if (finalizer == NULL) { in sys_get_asyncgen_hooks()
919 finalizer = Py_None; in sys_get_asyncgen_hooks()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Ddata.py62 def finalizer(installer): function
135 _commands.add_finalizer('install_data', 'documentation', finalizer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Ddata.py62 def finalizer(installer): function
135 _commands.add_finalizer('install_data', 'documentation', finalizer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py62 def finalizer(installer): function
135 _commands.add_finalizer('install_data', 'documentation', finalizer)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py62 def finalizer(installer): function
135 _commands.add_finalizer('install_data', 'documentation', finalizer)
/external/harfbuzz_ng/src/
Dhb-ft.cc640 …if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft… in hb_ft_face_create_cached()
642 if (ft_face->generic.finalizer) in hb_ft_face_create_cached()
643 ft_face->generic.finalizer (ft_face); in hb_ft_face_create_cached()
646 ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; in hb_ft_face_create_cached()
852 ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; in hb_ft_font_set_funcs()
/external/v8/tools/clang/blink_gc_plugin/tests/
Dclass_does_not_require_finalization.flags1 -Xclang -plugin-arg-blink-gc-plugin -Xclang warn-unneeded-finalizer
Dfinalize_after_dispatch.txt11 ./finalize_after_dispatch.h:30:5: note: [blink-gc] User-declared finalizer declared here:
/external/python/cpython3/Lib/test/
Dtest_sys.py1240 self.assertIsNone(old.finalizer)
1247 self.assertIs(hooks.finalizer, None)
1250 finalizer = lambda *a: None function
1251 sys.set_asyncgen_hooks(finalizer=finalizer)
1255 self.assertIs(hooks.finalizer, finalizer)
1256 self.assertIs(hooks[1], finalizer)
1261 self.assertIsNone(cur.finalizer)
/external/python/cpython3/Objects/
Dgenobject.c54 PyObject *finalizer = agen->ag_finalizer; in _PyGen_Finalize() local
55 if (finalizer && !agen->ag_closed) { in _PyGen_Finalize()
59 res = PyObject_CallFunctionObjArgs(finalizer, self, NULL); in _PyGen_Finalize()
1263 PyObject *finalizer; in async_gen_init_hooks() local
1274 finalizer = tstate->async_gen_finalizer; in async_gen_init_hooks()
1275 if (finalizer) { in async_gen_init_hooks()
1276 Py_INCREF(finalizer); in async_gen_init_hooks()
1277 o->ag_finalizer = finalizer; in async_gen_init_hooks()
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py84 for finalizer in cls.finalizers:
85 finalizer()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h78 void xpc_connection_set_finalizer_f(xpc_connection_t connection, xpc_finalizer_t finalizer);

123