/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_predicates_test.cpp | 94 valueBucket->destroy(valueBucket); in SetUpTestCase() 139 valueObject->destroy(valueObject); in HWTEST_F() 140 predicates->destroy(predicates); in HWTEST_F() 141 cursor->destroy(cursor); in HWTEST_F() 165 valueObject->destroy(valueObject); in HWTEST_F() 166 predicates->destroy(predicates); in HWTEST_F() 167 cursor->destroy(cursor); in HWTEST_F() 226 valueObject->destroy(valueObject); in HWTEST_F() 227 predicates->destroy(predicates); in HWTEST_F() 228 cursor->destroy(curso in HWTEST_F() [all...] |
H A D | rdb_store_test.cpp | 126 cursor->destroy(cursor); in SetUp() 127 valueBucket->destroy(valueBucket); in SetUp() 213 valueObject->destroy(valueObject); in HWTEST_F() 214 valueBucket->destroy(valueBucket); in HWTEST_F() 215 predicates->destroy(predicates); in HWTEST_F() 216 cursor->destroy(cursor); in HWTEST_F() 277 valueObject->destroy(valueObject); in HWTEST_F() 278 valueBucket->destroy(valueBucket); in HWTEST_F() 279 predicates->destroy(predicates); in HWTEST_F() 280 cursor->destroy(curso in HWTEST_F() [all...] |
/third_party/mesa3d/src/gallium/winsys/freedreno/drm/ |
H A D | freedreno_drm_winsys.c | 50 boolean destroy; in fd_drm_screen_destroy() local 53 destroy = --screen->refcnt == 0; in fd_drm_screen_destroy() 54 if (destroy) { in fd_drm_screen_destroy() 65 if (destroy) { in fd_drm_screen_destroy() 66 pscreen->destroy = screen->winsys_priv; in fd_drm_screen_destroy() 67 pscreen->destroy(pscreen); in fd_drm_screen_destroy() 100 * override the pipe drivers screen->destroy(): in fd_drm_screen_create() 102 fd_screen(pscreen)->winsys_priv = pscreen->destroy; in fd_drm_screen_create() 103 pscreen->destroy = fd_drm_screen_destroy; in fd_drm_screen_create()
|
/third_party/mesa3d/src/gallium/winsys/lima/drm/ |
H A D | lima_drm_winsys.c | 45 boolean destroy; in lima_drm_screen_destroy() local 49 destroy = --screen->refcnt == 0; in lima_drm_screen_destroy() 50 if (destroy) { in lima_drm_screen_destroy() 60 if (destroy) { in lima_drm_screen_destroy() 61 pscreen->destroy = screen->winsys_priv; in lima_drm_screen_destroy() 62 pscreen->destroy(pscreen); in lima_drm_screen_destroy() 91 * override the pipe drivers screen->destroy(): in lima_drm_screen_create() 93 lima_screen(pscreen)->winsys_priv = pscreen->destroy; in lima_drm_screen_create() 94 pscreen->destroy = lima_drm_screen_destroy; in lima_drm_screen_create()
|
/third_party/node/test/parallel/ |
H A D | test-stream-writable-destroy.js | 15 write.destroy(); 22 this.destroy(new Error('asd')); 46 write.destroy(expected); 68 write.destroy(expected); 75 destroy: common.mustCall(function(err, cb) { 89 write.destroy(expected); 103 write.destroy(); 125 write.destroy(); 148 write.destroy(); 169 write.destroy(expecte [all...] |
H A D | test-fs-stream-double-close.js | 38 stream.destroy(); 39 stream.destroy(); 43 stream.destroy(); 45 stream.destroy(); 51 stream.destroy(); 52 stream.destroy();
|
H A D | test-stream-readable-async-iterators.js | 20 stream.destroy = common.mustCall(); 60 readable.destroy = null; 197 readable.destroy(new Error('kaboom')); 208 readable.destroy(err); 236 console.log('destroy sync'); 240 this.destroy(new Error('kaboom from read')); 255 console.log('destroy async'); 264 this.destroy(new Error('kaboom')); 315 this.destroy(new Error('kaboom')); 338 readable.destroy(); [all...] |
H A D | test-http-client-timeout.js | 47 function destroy() { 48 req.destroy(); 50 const s = req.setTimeout(1, destroy); 52 req.on('error', destroy);
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_pools.c | 44 vws->pools.mob_shader_slab_fenced->destroy in vmw_pools_cleanup() 47 vws->pools.mob_shader_slab->destroy(vws->pools.mob_shader_slab); in vmw_pools_cleanup() 49 vws->pools.mob_fenced->destroy(vws->pools.mob_fenced); in vmw_pools_cleanup() 51 vws->pools.mob_cache->destroy(vws->pools.mob_cache); in vmw_pools_cleanup() 54 vws->pools.query_fenced->destroy(vws->pools.query_fenced); in vmw_pools_cleanup() 56 vws->pools.query_mm->destroy(vws->pools.query_mm); in vmw_pools_cleanup() 59 vws->pools.gmr_fenced->destroy(vws->pools.gmr_fenced); in vmw_pools_cleanup() 61 vws->pools.gmr_mm->destroy(vws->pools.gmr_mm); in vmw_pools_cleanup() 63 vws->pools.gmr_slab_fenced->destroy(vws->pools.gmr_slab_fenced); in vmw_pools_cleanup() 65 vws->pools.gmr_slab->destroy(vw in vmw_pools_cleanup() [all...] |
/third_party/python/Lib/tkinter/test/test_ttk/ |
H A D | test_extensions.py | 20 x.destroy() 28 x.destroy() 41 x.destroy() 56 x.destroy() 65 x.destroy() 68 x.destroy() 73 x.destroy() 78 x.destroy() 86 x.destroy() 89 x.destroy() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe.c | 84 draw->pipeline.wide_line->destroy(draw->pipeline.wide_line); in draw_pipeline_destroy() 86 draw->pipeline.wide_point->destroy(draw->pipeline.wide_point); in draw_pipeline_destroy() 88 draw->pipeline.stipple->destroy(draw->pipeline.stipple); in draw_pipeline_destroy() 90 draw->pipeline.unfilled->destroy(draw->pipeline.unfilled); in draw_pipeline_destroy() 92 draw->pipeline.twoside->destroy(draw->pipeline.twoside); in draw_pipeline_destroy() 94 draw->pipeline.offset->destroy(draw->pipeline.offset); in draw_pipeline_destroy() 96 draw->pipeline.clip->destroy(draw->pipeline.clip); in draw_pipeline_destroy() 98 draw->pipeline.flatshade->destroy(draw->pipeline.flatshade); in draw_pipeline_destroy() 100 draw->pipeline.cull->destroy(draw->pipeline.cull); in draw_pipeline_destroy() 102 draw->pipeline.user_cull->destroy(dra in draw_pipeline_destroy() [all...] |
/third_party/node/lib/internal/webstreams/ |
H A D | adapters.js | 34 destroy, 189 destroy(streamWritable, reason); 254 process.nextTick(() => destroy(writable, error)); 291 destroy(writable, error); 306 destroy(error, callback) { 348 process.nextTick(() => destroy(writable, error)); 368 destroy(writable, new ERR_STREAM_PREMATURE_CLOSE()); 374 destroy(writable, error); 465 destroy(streamReadable, reason); 520 (error) => destroy(readabl [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-font.h | 84 hb_destroy_func_t destroy, 520 * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign 522 * @destroy: (nullable): The function to call when @user_data is not needed anymore 531 void *user_data, hb_destroy_func_t destroy); 536 * @func: (closure user_data) (destroy destroy) (scope notified): The callback function to assign 538 * @destroy: (nullable): The function to call when @user_data is not needed anymore 547 void *user_data, hb_destroy_func_t destroy); 552 * @func: (closure user_data) (destroy destro [all...] |
H A D | hb-font.cc | 618 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \ in hb_font_funcs_destroy() 619 ffuncs->destroy.name (ffuncs->user_data.name); in hb_font_funcs_destroy() 631 * @destroy: (nullable): A callback to call when @data is not needed anymore 644 hb_destroy_func_t destroy /* May be NULL. */, in hb_font_funcs_set_user_data() 647 return hb_object_set_user_data (ffuncs, key, data, destroy, replace); in hb_font_funcs_set_user_data() 710 hb_destroy_func_t destroy) \ 714 if (destroy) \ 715 destroy (user_data); \ 719 if (ffuncs->destroy.name) \ 720 ffuncs->destroy 2252 hb_destroy_func_t destroy; global() member 2265 trampoline_create(FuncType func, void *user_data, hb_destroy_func_t destroy) trampoline_create() argument [all...] |
H A D | hb-unicode.cc | 198 * onto it and it's immutable. We should not copy the destroy notifiers in hb_unicode_funcs_create() 265 if (ufuncs->destroy.name) ufuncs->destroy.name (ufuncs->user_data.name); in hb_unicode_funcs_destroy() 279 * @destroy: (nullable): A callback to call when @data is not needed anymore 292 hb_destroy_func_t destroy, in hb_unicode_funcs_set_user_data() 295 return hb_object_set_user_data (ufuncs, key, data, destroy, replace); in hb_unicode_funcs_set_user_data() 377 hb_destroy_func_t destroy) \ 382 if (ufuncs->destroy.name) \ 383 ufuncs->destroy.name (ufuncs->user_data.name); \ 388 ufuncs->destroy 289 hb_unicode_funcs_set_user_data(hb_unicode_funcs_t *ufuncs, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) hb_unicode_funcs_set_user_data() argument [all...] |
H A D | hb-blob.hh | 45 if (destroy) in destroy_user_data() 47 destroy (user_data); in destroy_user_data() 49 destroy = nullptr; in destroy_user_data() 69 hb_destroy_func_t destroy; member 91 void destroy () { hb_blob_destroy (b.get_raw ()); b = nullptr; } in destroy() function
|
H A D | hb-face.cc | 90 nullptr, /* destroy */ 102 * @reference_table_func: (closure user_data) (destroy destroy) (scope notified): Table-referencing function 104 * @destroy: (nullable): A callback to call when @data is not needed anymore 112 * with the @destroy callback. 121 hb_destroy_func_t destroy) in hb_face_create_for_tables() 126 if (destroy) in hb_face_create_for_tables() 127 destroy (user_data); in hb_face_create_for_tables() 133 face->destroy = destroy; in hb_face_create_for_tables() 119 hb_face_create_for_tables(hb_reference_table_func_t reference_table_func, void *user_data, hb_destroy_func_t destroy) hb_face_create_for_tables() argument 313 hb_face_set_user_data(hb_face_t *face, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) hb_face_set_user_data() argument [all...] |
/third_party/mesa3d/src/gallium/winsys/etnaviv/drm/ |
H A D | etnaviv_drm_winsys.c | 137 boolean destroy; in etna_drm_screen_destroy() local 140 destroy = --screen->refcnt == 0; in etna_drm_screen_destroy() 141 if (destroy) { in etna_drm_screen_destroy() 152 if (destroy) { in etna_drm_screen_destroy() 153 pscreen->destroy = screen->winsys_priv; in etna_drm_screen_destroy() 154 pscreen->destroy(pscreen); in etna_drm_screen_destroy() 181 * override the pipe drivers screen->destroy() */ in etna_lookup_or_create_screen() 182 etna_screen(pscreen)->winsys_priv = pscreen->destroy; in etna_lookup_or_create_screen() 183 pscreen->destroy = etna_drm_screen_destroy; in etna_lookup_or_create_screen()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_policy_traits_test.cc | 42 static std::function<void(void*, Slot*)> destroy; member 51 std::function<void(void*, Slot*)> PolicyWithoutOptionalOps::destroy; member in absl::container_internal::__anon19179::PolicyWithoutOptionalOps 68 PolicyWithoutOptionalOps::destroy = [&](void* a1, Slot* a2) { in Test() member in absl::container_internal::__anon19179::Test::PolicyWithoutOptionalOps 69 destroy.Call(a1, a2); in Test() 91 MockFunction<void(void*, Slot*)> destroy; member 105 TEST_F(Test, destroy) { in TEST_F() 106 EXPECT_CALL(destroy, Call(&alloc, &a)); in TEST_F() 107 hash_policy_traits<PolicyWithoutOptionalOps>::destroy(&alloc, &a); in TEST_F() 131 EXPECT_CALL(destroy, Call(&alloc, &b)); in TEST_F()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pathbrowser.py | 31 cls.root.destroy() 54 pb.top.destroy = Func() 55 pb.node.destroy = Func() 57 self.assertTrue(pb.top.destroy.called) 58 self.assertTrue(pb.node.destroy.called) 59 del pb.top.destroy, pb.node.destroy
|
H A D | test_textview.py | 3 Since all methods and functions create (or destroy) a ViewWindow, which 27 root.destroy() 65 view.destroy = Func() 67 self.assertTrue(view.destroy.called) 68 del view.destroy # Unmask real function. 69 view.destroy() 90 cls.root.destroy() 97 frame.destroy() 136 cls.root.destroy() 199 self.view.destroy() [all...] |
/third_party/node/test/async-hooks/ |
H A D | test-tcpwrap.js | 132 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 }, 134 checkInvocations(tcp1, { init: 1, before: 2, after: 2, destroy: 1 }, 141 checkInvocations(tcp2, { init: 1, before: 2, after: 2, destroy: 1 }, 143 checkInvocations(tcpconnect, { init: 1, before: 1, after: 1, destroy: 1 }, 154 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 }, 157 tcp1, { init: 1, before: 2, after: 2, destroy: 1 }, 160 tcp2, { init: 1, before: 2, after: 2, destroy: 1 }, 163 tcpconnect, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-enable-disable.js | 32 // "destroy" invocations 41 // As a result it will not receive the "destroy" invocation. 68 // hook1.destroy.uid-5 69 // hook3.destroy.uid-5 70 // hook2.destroy.uid-5 80 // hook2.destroy.uid-6 215 checkInvocations(hook1First, { init: 1, before: 1, after: 1, destroy: 1 }, 221 checkInvocations(hook2First, { after: 1, destroy: 1 }, 225 checkInvocations(hook3First, { init: 1, before: 1, after: 1, destroy: 1 }, 249 checkInvocations(hook1First, { init: 1, before: 1, after: 1, destroy [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_handle_table.c | 57 void (*destroy)(void *object); member 79 ht->destroy = NULL; in handle_table_create() 87 void (*destroy)(void *object)) in handle_table_set_destroy() 92 ht->destroy = destroy; in handle_table_set_destroy() 136 * present in the table when seen by the destroy callback, because the in handle_table_clear() 137 * destroy callback may directly or indirectly call the other functions in in handle_table_clear() 145 if(ht->destroy) in handle_table_clear() 146 ht->destroy(object); in handle_table_clear() 291 if(ht->destroy) in handle_table_destroy() [all...] |
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
H A D | context.c | 245 vscreen->destroy(vscreen); in XvMCCreateContext() 262 pipe->destroy(pipe); in XvMCCreateContext() 263 vscreen->destroy(vscreen); in XvMCCreateContext() 270 context_priv->decoder->destroy(context_priv->decoder); in XvMCCreateContext() 271 pipe->destroy(pipe); in XvMCCreateContext() 272 vscreen->destroy(vscreen); in XvMCCreateContext() 280 context_priv->decoder->destroy(context_priv->decoder); in XvMCCreateContext() 281 pipe->destroy(pipe); in XvMCCreateContext() 282 vscreen->destroy(vscreen); in XvMCCreateContext() 333 context_priv->decoder->destroy(context_pri in XvMCDestroyContext() [all...] |