Home
last modified time | relevance | path

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

1234

/third_party/freetype/src/base/
Dftmm.c191 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Design_Coordinates()
193 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Design_Coordinates()
226 if ( !error && face->autohint.finalizer ) in FT_Set_MM_WeightVector()
228 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_WeightVector()
300 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Design_Coordinates()
302 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Design_Coordinates()
376 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Blend_Coordinates()
378 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Blend_Coordinates()
427 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Blend_Coordinates()
429 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Blend_Coordinates()
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftmm.c191 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Design_Coordinates()
193 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Design_Coordinates()
226 if ( !error && face->autohint.finalizer ) in FT_Set_MM_WeightVector()
228 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_WeightVector()
300 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Design_Coordinates()
302 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Design_Coordinates()
376 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Blend_Coordinates()
378 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Blend_Coordinates()
427 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Blend_Coordinates()
429 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Blend_Coordinates()
[all …]
/third_party/flutter/skia/third_party/externals/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()
227 if ( !error && face->autohint.finalizer ) in FT_Set_MM_WeightVector()
229 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_WeightVector()
301 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Design_Coordinates()
303 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Design_Coordinates()
377 if ( !error && face->autohint.finalizer ) in FT_Set_MM_Blend_Coordinates()
379 face->autohint.finalizer( face->autohint.data ); in FT_Set_MM_Blend_Coordinates()
428 if ( !error && face->autohint.finalizer ) in FT_Set_Var_Blend_Coordinates()
430 face->autohint.finalizer( face->autohint.data ); in FT_Set_Var_Blend_Coordinates()
[all …]
/third_party/python/Lib/multiprocessing/
Dpopen_fork.py18 self.finalizer = None
77 self.finalizer = util.Finalize(self, util.close_fds,
82 if self.finalizer is not None:
83 self.finalizer()
Dutil.py295 finalizer = _finalizer_registry.get(key)
297 if finalizer is not None:
298 sub_debug('calling %s', finalizer)
300 finalizer()
Dpopen_spawn_win32.py86 self.finalizer = util.Finalize(self, _close_handles,
131 self.finalizer()
Dpopen_spawn_posix.py68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)
Dpopen_forkserver.py55 self.finalizer = util.Finalize(self, util.close_fds,
/third_party/python/Doc/library/
Dweakref.rst58 weak reference, since the module automatically ensures that the finalizer
240 Return a callable finalizer object which will be called when *obj*
241 is garbage collected. Unlike an ordinary weak reference, a finalizer
245 A finalizer is considered *alive* until it is called (either explicitly
247 finalizer returns the result of evaluating ``func(*arg, **kwargs)``,
248 whereas calling a dead finalizer returns :const:`None`.
250 Exceptions raised by finalizer callbacks during garbage collection
256 When the program exits, each remaining live finalizer is called
260 A finalizer will never invoke its callback during the later part of
283 Property which is true if the finalizer is alive, false otherwise.
[all …]
/third_party/node/src/
Dnode_api.cc58 std::unique_ptr<BufferFinalizer, Deleter> finalizer{ in FinalizeBufferCallback() local
60 finalizer->_finalize_data = data; in FinalizeBufferCallback()
63 static_cast<node_napi_env>(finalizer->_env)->node_env(); in FinalizeBufferCallback()
65 [finalizer = std::move(finalizer)](node::Environment* env) { in FinalizeBufferCallback()
66 if (finalizer->_finalize_callback == nullptr) return; in FinalizeBufferCallback()
68 v8::HandleScope handle_scope(finalizer->_env->isolate); in FinalizeBufferCallback()
69 v8::Context::Scope context_scope(finalizer->_env->context()); in FinalizeBufferCallback()
71 finalizer->_env->CallIntoModule([&](napi_env env) { in FinalizeBufferCallback()
72 finalizer->_finalize_callback( in FinalizeBufferCallback()
74 finalizer->_finalize_data, in FinalizeBufferCallback()
[all …]
Djs_native_api_v8.h341 static void Delete(Finalizer* finalizer) { in Delete() argument
342 delete finalizer; in Delete() local
/third_party/node/test/node-api/test_exception/
Dtest_exception.c4 static void finalizer(napi_env env, void *data, void *hint) { in finalizer() function
14 buffer_data, finalizer, NULL, &buffer)); in createExternalBuffer()
/third_party/node/test/js-native-api/test_exception/
Dtest_exception.c77 static void finalizer(napi_env env, void *data, void *hint) { in finalizer() function
86 napi_create_external(env, NULL, finalizer, NULL, &external)); in createExternal()
/third_party/flutter/skia/third_party/externals/harfbuzz/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()
/third_party/python/Python/
Dsysmodule.c1277 PyObject *finalizer = NULL; in sys_set_asyncgen_hooks() local
1281 &firstiter, &finalizer)) { in sys_set_asyncgen_hooks()
1285 if (finalizer && finalizer != Py_None) { in sys_set_asyncgen_hooks()
1286 if (!PyCallable_Check(finalizer)) { in sys_set_asyncgen_hooks()
1289 Py_TYPE(finalizer)->tp_name); in sys_set_asyncgen_hooks()
1292 if (_PyEval_SetAsyncGenFinalizer(finalizer) < 0) { in sys_set_asyncgen_hooks()
1296 else if (finalizer == Py_None && _PyEval_SetAsyncGenFinalizer(NULL) < 0) { in sys_set_asyncgen_hooks()
1338 PyObject *finalizer = _PyEval_GetAsyncGenFinalizer(); in sys_get_asyncgen_hooks_impl() local
1349 if (finalizer == NULL) { in sys_get_asyncgen_hooks_impl()
1350 finalizer = Py_None; in sys_get_asyncgen_hooks_impl()
[all …]
/third_party/harfbuzz/src/
Dhb-ft.cc759 …if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft… in hb_ft_face_create_cached()
761 if (ft_face->generic.finalizer) in hb_ft_face_create_cached()
762 ft_face->generic.finalizer (ft_face); in hb_ft_face_create_cached()
765 ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; in hb_ft_face_create_cached()
1035 ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; in hb_ft_font_set_funcs()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ft.cc753 …if (unlikely (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft… in hb_ft_face_create_cached()
755 if (ft_face->generic.finalizer) in hb_ft_face_create_cached()
756 ft_face->generic.finalizer (ft_face); in hb_ft_face_create_cached()
759 ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; in hb_ft_face_create_cached()
1023 ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; in hb_ft_font_set_funcs()
/third_party/python/Objects/
Dgenobject.c57 PyObject *finalizer = agen->ag_finalizer; in _PyGen_Finalize() local
58 if (finalizer && !agen->ag_closed) { in _PyGen_Finalize()
62 res = PyObject_CallOneArg(finalizer, self); in _PyGen_Finalize()
1290 PyObject *finalizer; in async_gen_init_hooks() local
1301 finalizer = tstate->async_gen_finalizer; in async_gen_init_hooks()
1302 if (finalizer) { in async_gen_init_hooks()
1303 Py_INCREF(finalizer); in async_gen_init_hooks()
1304 o->ag_finalizer = finalizer; in async_gen_init_hooks()
/third_party/python/Lib/test/
Dtest_sys.py1513 self.assertIsNone(old.finalizer)
1520 self.assertIs(hooks.finalizer, None)
1523 finalizer = lambda *a: None function
1524 sys.set_asyncgen_hooks(finalizer=finalizer)
1528 self.assertIs(hooks.finalizer, finalizer)
1529 self.assertIs(hooks[1], finalizer)
1534 self.assertIsNone(cur.finalizer)
/third_party/skia/third_party/externals/freetype/include/freetype/
Dfttypes.h470 FT_Generic_Finalizer finalizer; member
/third_party/freetype/include/freetype/
Dfttypes.h470 FT_Generic_Finalizer finalizer; member
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/
Dfttypes.h470 FT_Generic_Finalizer finalizer; member
/third_party/node/test/js-native-api/test_general/
Dtest_general.c158 napi_finalize finalizer, in wrap_first_arg() argument
164 NAPI_CALL(env, napi_wrap(env, to_wrap, data, finalizer, NULL, NULL)); in wrap_first_arg()
/third_party/node/deps/acorn/acorn-walk/dist/
Dwalk.js247 if (node.finalizer) { c(node.finalizer, st, "Statement"); }
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/
Dttobjs.c785 if ( face->extra.finalizer ) in tt_face_done()
786 face->extra.finalizer( face->extra.data ); in tt_face_done()

1234