/dports/devel/cscout/cscout-bd7dfac/btyacc/ |
H A D | dtor.c | 11 destructor *dtor; in declare_destructor() local 69 tag->dtor = dtor; in declare_destructor() 78 if (bp->dtor) in declare_destructor() 82 bp->dtor = dtor; in declare_destructor() 97 for (dtor = destructors; dtor; dtor = next) { in free_destructors() 103 free(dtor); } in free_destructors() 160 dtor = bp->dtor; in gen_yydestruct() 162 dtor = bp->tag->dtor; in gen_yydestruct() 163 if (!dtor) in gen_yydestruct() 165 if (dtor) in gen_yydestruct() [all …]
|
/dports/misc/usd/USD-21.11/pxr/base/work/testenv/ |
H A D | testWorkDetachedTask.cpp | 39 _Tester(_Tester &&other) : dtor(other.dtor) { other.dtor = nullptr; } in _Tester() 41 dtor = other.dtor; other.dtor = nullptr; in operator =() 44 ~_Tester() { if (dtor) { *dtor = true; } } in ~_Tester() 45 std::atomic_bool *dtor = nullptr; member 48 void swap(_Tester &l, _Tester &r) { std::swap(l.dtor, r.dtor); } in swap() 62 ~_SwapOnlyTester() { if (dtor) { *dtor = true; } } in ~_SwapOnlyTester() 66 void swap(_SwapOnlyTester &l, _SwapOnlyTester &r) { std::swap(l.dtor, r.dtor); } in swap() 86 t.dtor = &ranDtor; in main() 88 TF_AXIOM(!t.dtor); in main() 94 t.dtor = &ranDtor; in main() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/CXX/special/class.temporary/ |
H A D | p6.cpp | 16 struct dtor { struct 17 ~dtor(); 20 dtor ctor(); 56 using T = dtor[1]; in array_subscript_1() 66 using T = dtor[1]; in array_subscript_2() 68 auto &&x = ((dtor*)T{ctor()})[0]; in array_subscript_2() 150 auto &&x = reinterpret_cast<dtor&&>(static_cast<dtor&&>(ctor())); in test_reinterpret_cast() 170 auto &&x = (dtor&&)ctor(); in c_style_cast() 179 using R = dtor&&; in function_style_cast() 192 auto &&x = b ? (dtor&&)ctor() : (dtor&&)ctor(); in conditional() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/library/std/src/sys/unix/ |
H A D | thread_local_dtor.rs | 20 pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { in register_dtor() 32 dtor: unsafe extern "C" fn(*mut u8), in register_dtor() 37 dtor, in register_dtor() 43 register_dtor_fallback(t, dtor); in register_dtor() 57 pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { in register_dtor() 78 fn _tlv_atexit(dtor: unsafe extern "C" fn(*mut u8), arg: *mut u8); in register_dtor() 82 list.push((t, dtor)); in register_dtor() 88 for (ptr, dtor) in list.into_iter() { in register_dtor() 89 dtor(ptr); in register_dtor() 97 pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { in register_dtor() [all …]
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/ |
H A D | dtor.c | 112 DTOR *dtor = _al_list_item_data(iter); in _al_run_destructors() local 113 void *object = dtor->object; in _al_run_destructors() 114 void (*func)(void *) = dtor->func; in _al_run_destructors() 117 dtor->name, object, func); in _al_run_destructors() 182 DTOR *dtor = _al_list_item_data(iter); in _al_register_destructor() local 183 ASSERT(dtor->object != object); in _al_register_destructor() 226 DTOR *dtor = _al_list_item_data(dtor_item); in _al_unregister_destructor() local 227 ALLEGRO_DEBUG("removed dtor for %s %p\n", dtor->name, dtor->object); in _al_unregister_destructor() 228 al_free(dtor); in _al_unregister_destructor() 249 DTOR *dtor = _al_list_item_data(iter); in _al_foreach_destructor() local [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/oxl/osl/ |
H A D | osl_topology.cxx | 26 : name(name_), data(const_cast<void*>(data_)), dtor(dtor_), next(next_) { } in osl_stash_link() 29 void (*dtor)(void *); member 36 void (*dtor)(void *)) in stash_add() 38 auto *l = new osl_stash_link(name, data, dtor, stash_head); in stash_add() 44 void (*dtor)(void *)) in stash_replace() 50 l->dtor = dtor; in stash_replace() 55 stash_add(name, data, dtor); in stash_replace() 82 if (stash_head->dtor) // call dtor? in ~osl_topology_base() 83 (stash_head->dtor)(stash_head->data); in ~osl_topology_base()
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/misc/ |
H A D | list.c | 46 _AL_LIST_DTOR dtor; member 55 _AL_LIST_ITEM_DTOR dtor; member 144 list->root->dtor = NULL; in list_do_create() 214 if (NULL != item->dtor) in list_destroy_item() 266 if (list->dtor) in _al_list_destroy() 280 list->dtor = dtor; in _al_list_set_dtor() 289 return list->dtor; in _al_list_get_dtor() 381 item->dtor = dtor; in _al_list_insert_after_ex() 421 item->dtor = dtor; in _al_list_insert_before_ex() 704 item->dtor = dtor; in _al_list_item_set_dtor() [all …]
|
/dports/devel/rttr/rttr-0.9.6-16-gb3a131c/src/unit_tests/destructor/ |
H A D | destructor_misc_test.cpp | 53 destructor dtor = type::get_by_name("dtor_misc_test").get_destructor(); variable 54 CHECK(dtor.is_valid() == true); 55 CHECK(static_cast<bool>(dtor) == true); 58 dtor = type::get_by_name("").get_destructor(); 59 CHECK(dtor.is_valid() == false); 60 CHECK(static_cast<bool>(dtor) == false); 90 destructor dtor = type::get_by_name("dtor_misc_test").get_destructor(); variable 94 CHECK(dtor.get_declaring_type() == type::get<dtor_misc_test>());
|
/dports/devel/py-numba/numba-0.51.2/numba/core/runtime/ |
H A D | nrt.c | 18 NRT_dtor_function dtor; member 176 mi->dtor = dtor; in NRT_MemInfo_init() 220 NRT_dtor_function dtor = info; in nrt_internal_custom_dtor_safe() local 223 if (dtor) { in nrt_internal_custom_dtor_safe() 224 dtor(ptr, size, NULL); in nrt_internal_custom_dtor_safe() 306 if (mi->dtor && !TheMSys.shutting) in NRT_MemInfo_call_dtor() 346 dtor_fn_t *dtor = info; in nrt_varsize_dtor() local 347 dtor(ptr); in nrt_varsize_dtor() 368 mi->dtor_info = dtor; in NRT_MemInfo_new_varsize_dtor() 375 if (mi->dtor != nrt_varsize_dtor) { in NRT_MemInfo_varsize_alloc() [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/mingw/crt/ |
H A D | tls_atexit.c | 22 int __mingw_cxa_atexit(dtor_fn dtor, void *obj, void *dso); 23 int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso); 27 dtor_fn dtor; member 40 int __mingw_cxa_atexit(dtor_fn dtor, void *obj, void *dso) { in __mingw_cxa_atexit() argument 47 handler->dtor = dtor; in __mingw_cxa_atexit() 59 list->dtor(list->obj); in run_dtor_list() 67 int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso) { in __mingw_cxa_thread_atexit() argument 74 handler->dtor = dtor; in __mingw_cxa_thread_atexit()
|
/dports/lang/zig/zig-0.9.0/lib/libc/mingw/crt/ |
H A D | tls_atexit.c | 22 int __mingw_cxa_atexit(dtor_fn dtor, void *obj, void *dso); 23 int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso); 27 dtor_fn dtor; member 40 int __mingw_cxa_atexit(dtor_fn dtor, void *obj, void *dso) { in __mingw_cxa_atexit() argument 47 handler->dtor = dtor; in __mingw_cxa_atexit() 59 list->dtor(list->obj); in run_dtor_list() 67 int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso) { in __mingw_cxa_thread_atexit() argument 74 handler->dtor = dtor; in __mingw_cxa_thread_atexit()
|