Home
last modified time | relevance | path

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

12

/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/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/v8/src/
Dmanaged.h58 Isolate::ManagedObjectFinalizer* finalizer = (*p)->GetFinalizer(); in GCDelete() local
61 finalizer->Dispose(); in GCDelete()
62 isolate->UnregisterFromReleaseAtTeardown(&finalizer); in GCDelete()
Disolate.cc2067 Isolate::ManagedObjectFinalizer* finalizer = *finalizer_ptr; in Throw() local
2068 DCHECK_NOT_NULL(finalizer->prev_); in Throw()
2070 finalizer->prev_->next_ = finalizer->next_; in Throw()
2071 if (finalizer->next_ != nullptr) finalizer->next_->prev_ = finalizer->prev_; in Throw()
2072 delete finalizer; in Throw()
/external/tensorflow/tensorflow/go/
Dstatus.go34 runtime.SetFinalizer(s, (*status).finalizer)
38 func (s *status) finalizer() { func
Dgraph.go59 runtime.SetFinalizer(g, (*Graph).finalizer)
63 func (g *Graph) finalizer() { func
/external/python/cpython3/Python/
Dsysmodule.c720 PyObject *finalizer = NULL; in sys_set_asyncgen_hooks() local
724 &firstiter, &finalizer)) { in sys_set_asyncgen_hooks()
728 if (finalizer && finalizer != Py_None) { in sys_set_asyncgen_hooks()
729 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
732 Py_TYPE(finalizer)->tp_name); in sys_set_asyncgen_hooks()
735 _PyEval_SetAsyncGenFinalizer(finalizer); in sys_set_asyncgen_hooks()
737 else if (finalizer == Py_None) { in sys_set_asyncgen_hooks()
768 PyObject *finalizer = _PyEval_GetAsyncGenFinalizer(); in sys_get_asyncgen_hooks() local
779 if (finalizer == NULL) { in sys_get_asyncgen_hooks()
780 finalizer = Py_None; in sys_get_asyncgen_hooks()
[all …]
/external/python/cpython2/Lib/multiprocessing/
Dutil.py271 for key, finalizer in items:
272 sub_debug('calling %s', finalizer)
274 finalizer()
/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/harfbuzz_ng/src/
Dhb-ft.cc572 …if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft… in hb_ft_face_create_cached()
574 if (ft_face->generic.finalizer) in hb_ft_face_create_cached()
575 ft_face->generic.finalizer (ft_face); in hb_ft_face_create_cached()
578 ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; in hb_ft_face_create_cached()
767 ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; in hb_ft_font_set_funcs()
/external/python/cpython3/Lib/multiprocessing/
Dutil.py251 for key, finalizer in items:
252 sub_debug('calling %s', finalizer)
254 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/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/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/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/v8/tools/clang/blink_gc_plugin/tests/legacy_naming/
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.py1198 self.assertIsNone(old.finalizer)
1205 self.assertIs(hooks.finalizer, None)
1208 finalizer = lambda *a: None function
1209 sys.set_asyncgen_hooks(finalizer=finalizer)
1213 self.assertIs(hooks.finalizer, finalizer)
1214 self.assertIs(hooks[1], finalizer)
1219 self.assertIsNone(cur.finalizer)
/external/python/cpython3/Objects/
Dgenobject.c41 PyObject *finalizer = agen->ag_finalizer; in _PyGen_Finalize() local
42 if (finalizer && !agen->ag_closed) { in _PyGen_Finalize()
46 res = PyObject_CallFunctionObjArgs(finalizer, self, NULL); in _PyGen_Finalize()
1322 PyObject *finalizer; in async_gen_init_hooks() local
1333 finalizer = tstate->async_gen_finalizer; in async_gen_init_hooks()
1334 if (finalizer) { in async_gen_init_hooks()
1335 Py_INCREF(finalizer); in async_gen_init_hooks()
1336 o->ag_finalizer = finalizer; in async_gen_init_hooks()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h78 void xpc_connection_set_finalizer_f(xpc_connection_t connection, xpc_finalizer_t finalizer);
/external/freetype/include/freetype/
Dfttypes.h462 FT_Generic_Finalizer finalizer; member
/external/freetype/src/truetype/
Dttobjs.c756 if ( face->extra.finalizer ) in tt_face_done()
757 face->extra.finalizer( face->extra.data ); in tt_face_done()

12