| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_spec.c | 74 _thread_keytable[i].destructor = destructor; in _thr_key_create() 112 void (*destructor)(void *); in _thread_cleanupspecific() local 124 destructor = NULL; in _thread_cleanupspecific() 131 destructor = _thread_keytable[key]. in _thread_cleanupspecific() 132 destructor; in _thread_cleanupspecific() 153 if (destructor != NULL) { in _thread_cleanupspecific() 155 destructor(__DECONST(void *, data)); in _thread_cleanupspecific() 232 void (*destructor)(void *); in _thr_tsd_unload() local 240 destructor = _thread_keytable[key].destructor; in _thr_tsd_unload() 241 if (destructor == NULL) in _thr_tsd_unload() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DiagnosticSerializationKinds.td | 195 "%select{method %5|constructor|destructor}4|" 196 "%select{method %5|constructor|destructor}4 " 198 "%select{method %5|constructor|destructor}4 " 200 "%select{method %5|constructor|destructor}4 " 202 "%select{method %5|constructor|destructor}4 " 204 "%select{method %5|constructor|destructor}4 " 206 "%select{method %5|constructor|destructor}4 " 208 "%select{method %5|constructor|destructor}4 " 210 "%select{method %5|constructor|destructor}4 " 212 "%select{method %5|constructor|destructor}4 " [all …]
|
| /freebsd-13.1/cddl/compat/opensolaris/lib/libumem/ |
| H A D | umem.c | 36 umem_destructor_t *destructor; member 106 …ize, size_t align, umem_constructor_t *constructor, umem_destructor_t *destructor, umem_reclaim_t … in umem_cache_create() argument 115 cache->destructor = destructor; in umem_cache_create() 157 if(cache->destructor != NULL) in umem_cache_free() 158 cache->destructor(buffer, cache->callback_data); in umem_cache_free()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/csu/ |
| H A D | t_crt0.sh | 38 destructor executed 54 destructor executed 74 destructor executed 91 destructor executed
|
| /freebsd-13.1/sys/sys/ |
| H A D | osd.h | 59 int osd_register(u_int type, osd_destructor_t destructor, 74 #define osd_thread_register(destructor) \ argument 75 osd_register(OSD_THREAD, (destructor), NULL) 93 #define osd_jail_register(destructor, methods) \ argument 94 osd_register(OSD_JAIL, (destructor), (methods))
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_posix.cpp | 89 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit() 91 tsd_destructor = destructor; in AsanTSDInit() 117 void AsanTSDInit(void (*destructor)(void *tsd)) { in AsanTSDInit() 120 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in AsanTSDInit()
|
| /freebsd-13.1/lib/libc/locale/ |
| H A D | xlocale_private.h | 92 void(*destructor)(void*); member 161 if (count < 0 && obj->destructor != NULL) in xlocale_release() 162 obj->destructor(obj); in xlocale_release()
|
| /freebsd-13.1/contrib/libarchive/libarchive/test/ |
| H A D | test_archive_read_support.c | 36 typedef int destructor(struct archive *); typedef 50 test_success(constructor new_, enabler enable_, destructor free_) in test_success() 66 test_failure(constructor new_, enabler enable_, destructor free_) in test_failure()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_posix.cpp | 30 void TSDInit(void (*destructor)(void *tsd)) { in TSDInit() 33 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in TSDInit()
|
| /freebsd-13.1/contrib/byacc/test/btyacc/ |
| H A D | err_inherit4.error | 1 YACC: w - line 32 of "./err_inherit4.y", destructor redeclared 2 %destructor {
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_linux.cpp | 195 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 197 tsd_destructor = destructor; in MsanTSDInit() 224 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 227 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in MsanTSDInit()
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
| H A D | zfs_context_os.h | 53 #define tsd_create(keyp, destructor) do { \ argument 54 *(keyp) = osd_thread_register((destructor)); \
|
| /freebsd-13.1/crypto/heimdal/include/ |
| H A D | heim_threads.h | 162 void (*destructor)(void *); member 167 do { (k)->value = NULL; (k)->destructor = (d); r = 0; } while(0) 170 #define HEIMDAL_key_delete(k) do { (*(k).destructor)((k).value); } while(0)
|
| /freebsd-13.1/contrib/byacc/ |
| H A D | reader.c | 1872 destructor = 1; in read_declarations() 3176 if (bp->destructor != NULL) in copy_destructor() 3192 if (bp->destructor != NULL) in copy_destructor() 3222 NO_SPACE(bp->destructor); in copy_destructor() 3541 if (destructor) in pack_symbols() 3643 if (destructor) in pack_symbols() 3666 if (destructor) in pack_symbols() 3862 FREE(bp->destructor); in finalize_destructors() 3869 FREE(bp->destructor); in finalize_destructors() 3880 FREE(bp->destructor); in finalize_destructors() [all …]
|
| /freebsd-13.1/contrib/byacc/test/ |
| H A D | btyacc_demo.y | 67 %destructor { // 'msg' is a 'char *' indicating the context of destructor invocation 73 %destructor { printf("%s accessed by symbol with type <decl> (case s.b. 279 & 280) @ position[%d,%d… 78 %destructor { printf("%s accessed by symbol of any type other than <decl> @ position[%d,%d..%d,%d]… 83 %destructor { printf("%s accessed by symbol with no type @ position[%d,%d..%d,%d]\n",
|
| H A D | err_inherit4.y | 28 %destructor { } <nlist> 32 %destructor {
|
| H A D | btyacc_destroy1.y | 39 %destructor { if (!param->rtrn) close($$); } <file> 41 %destructor {
|
| H A D | btyacc_destroy2.y | 39 %destructor { if (!param->rtrn) close($$); } <file> 41 %destructor {
|
| H A D | btyacc_destroy3.y | 42 %destructor { if (!param->rtrn) close($$); } <file> 44 %destructor {
|
| /freebsd-13.1/contrib/apr-util/misc/ |
| H A D | apr_reslist.c | 53 apr_reslist_destructor destructor; member 135 return reslist->destructor(res->opaque, reslist->params, reslist->pool); in destroy_resource() 287 rl->destructor = de; in apr_reslist_create() 455 ret = reslist->destructor(resource, reslist->params, reslist->pool); in apr_reslist_invalidate()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_kmem.c | 160 int (*constructor)(void *, void *, int), void (*destructor)(void *, void *), in kmem_cache_create() 170 cache->kc_destructor = destructor; in kmem_cache_create() 175 destructor != NULL ? kmem_std_destructor : NULL, in kmem_cache_create()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libspl/include/ |
| H A D | umem.h | 145 umem_destructor_t *destructor, in umem_cache_create() argument 157 cp->cache_destructor = destructor; in umem_cache_create()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_libdispatch.cpp | 564 size_t size, dispatch_queue_t q, dispatch_block_t destructor) { in DECLARE_REAL_AND_INTERCEPTOR() 565 SCOPED_TSAN_INTERCEPTOR(dispatch_data_create, buffer, size, q, destructor); in DECLARE_REAL_AND_INTERCEPTOR() 566 if ((q == nullptr) || (destructor == DISPATCH_DATA_DESTRUCTOR_DEFAULT)) in DECLARE_REAL_AND_INTERCEPTOR() 567 return REAL(dispatch_data_create)(buffer, size, q, destructor); in DECLARE_REAL_AND_INTERCEPTOR() 569 if (destructor == DISPATCH_DATA_DESTRUCTOR_FREE) in DECLARE_REAL_AND_INTERCEPTOR() 570 destructor = ^(void) { WRAP(free)((void *)(uintptr_t)buffer); }; in DECLARE_REAL_AND_INTERCEPTOR() 571 else if (destructor == DISPATCH_DATA_DESTRUCTOR_MUNMAP) in DECLARE_REAL_AND_INTERCEPTOR() 572 destructor = ^(void) { WRAP(munmap)((void *)(uintptr_t)buffer, size); }; in DECLARE_REAL_AND_INTERCEPTOR() 575 dispatch_block_t heap_block = Block_copy(destructor); in DECLARE_REAL_AND_INTERCEPTOR()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 114 void DFsanTSDInit(void (*destructor)(void *tsd)) { in DFsanTSDInit() 117 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in DFsanTSDInit()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_osd.c | 96 osd_register(u_int type, osd_destructor_t destructor, osd_method_t *methods) in osd_register() argument 107 if (destructor == NULL) in osd_register() 108 destructor = osd_default_destructor; in osd_register() 142 osdm[type].osd_destructors[i] = destructor; in osd_register()
|