/freebsd/lib/libthr/thread/ |
H A D | thr_spec.c | 57 _thr_key_create(pthread_key_t *key, void (*destructor)(void *)) in _thr_key_create() 71 _thread_keytable[i].destructor = destructor; in _thr_key_create() 109 void (*destructor)(void *); in _thread_cleanupspecific() local 121 destructor = NULL; in _thread_cleanupspecific() 128 destructor = _thread_keytable[key]. in _thread_cleanupspecific() 129 destructor; in _thread_cleanupspecific() 150 if (destructor != NULL) { in _thread_cleanupspecific() 152 destructor(__DECONST(void *, data)); in _thread_cleanupspecific() 229 void (*destructor)(void *); in _thr_tsd_unload() local 237 destructor = _thread_keytable[key].destructor; in _thr_tsd_unload() [all …]
|
/freebsd/cddl/compat/opensolaris/lib/libumem/ |
H A D | umem.c | 34 umem_destructor_t *destructor; member 104 …ize, size_t align, umem_constructor_t *constructor, umem_destructor_t *destructor, umem_reclaim_t … in umem_cache_create() argument 113 cache->destructor = destructor; in umem_cache_create() 155 if(cache->destructor != NULL) in umem_cache_free() 156 cache->destructor(buffer, cache->callback_data); in umem_cache_free()
|
/freebsd/contrib/netbsd-tests/lib/csu/ |
H A D | t_crt0.sh | 38 destructor executed 54 destructor executed 74 destructor executed 91 destructor executed
|
/freebsd/sys/sys/ |
H A D | osd.h | 57 int osd_register(u_int type, osd_destructor_t destructor, 73 #define osd_thread_register(destructor) \ argument 74 osd_register(OSD_THREAD, (destructor), NULL) 94 #define osd_jail_register(destructor, methods) \ argument 95 osd_register(OSD_JAIL, (destructor), (methods))
|
/freebsd/lib/libc/locale/ |
H A D | xlocale_private.h | 89 void(*destructor)(void*); member 158 if (count < 0 && obj->destructor != NULL) in xlocale_release() 159 obj->destructor(obj); in xlocale_release()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DiagnosticASTKinds.td | 338 "pseudo-destructor call is not permitted in constant expressions " 392 "base class type %0 with non-virtual destructor">; 691 "%select{method %5|constructor|destructor}4|" 692 "%select{method %5|constructor|destructor}4 " 694 "%select{method %5|constructor|destructor}4 " 696 "%select{method %5|constructor|destructor}4 " 698 "%select{method %5|constructor|destructor}4 " 700 "%select{method %5|constructor|destructor}4 " 702 "%select{method %5|constructor|destructor}4 " 704 "%select{method %5|constructor|destructor}4 " [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_support.c | 35 typedef int destructor(struct archive *); 49 test_success(constructor new_, enabler enable_, destructor free_) 65 test_failure(constructor new_, enabler enable_, destructor free_) 36 typedef int destructor(struct archive *); global() typedef
|
/freebsd/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()
|
H A D | memprof_internal.h | 65 void TSDInit(void (*destructor)(void *tsd));
|
/freebsd/contrib/byacc/test/btyacc/ |
H A D | err_inherit4.error | 1 YACC: w - line 32 of "./err_inherit4.y", destructor redeclared 2 %destructor {
|
/freebsd/contrib/byacc/ |
H A D | reader.c | 110 int destructor = 0; /* =1 if at least one %destructor */ variable 2122 destructor = 1; in read_declarations() 3422 if (bp->destructor != NULL) in copy_destructor() 3426 bp->destructor = process_destructor_XX(code_text, NULL); in copy_destructor() 3438 if (bp->destructor != NULL) in copy_destructor() 3443 bp->destructor = TMALLOC(char, strlen(code_text) + 1); in copy_destructor() 3444 NO_SPACE(bp->destructor); in copy_destructor() 3445 strcpy(bp->destructor, code_text); in copy_destructor() 3452 if (bp->destructor != NULL) in copy_destructor() 3456 bp->destructor = process_destructor_XX(code_text, tag); in copy_destructor() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_linux.cpp | 239 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 241 tsd_destructor = destructor; in MsanTSDInit() 268 void MsanTSDInit(void (*destructor)(void *tsd)) { in MsanTSDInit() 271 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in MsanTSDInit()
|
/freebsd/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/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_context_os.h | 51 #define tsd_create(keyp, destructor) do { \ argument 52 *(keyp) = osd_thread_register((destructor)); \
|
/freebsd/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/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_kmem.c | 157 int (*constructor)(void *, void *, int), void (*destructor)(void *, void *), in kmem_cache_create() 167 cache->kc_destructor = destructor; in kmem_cache_create() 172 destructor != NULL ? kmem_std_destructor : NULL, in kmem_cache_create()
|
/freebsd/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/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_thread.cpp | 102 void DFsanTSDInit(void (*destructor)(void *tsd)) { in DFsanTSDInit() 105 CHECK_EQ(0, pthread_key_create(&tsd_key, destructor)); in DFsanTSDInit()
|
/freebsd/sys/kern/ |
H A D | kern_osd.c | 93 osd_register(u_int type, osd_destructor_t destructor, const osd_method_t *methods) in osd_register() argument 104 if (destructor == NULL) in osd_register() 105 destructor = osd_default_destructor; in osd_register() 139 osdm[type].osd_destructors[i] = destructor; in osd_register()
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | umem.h | 163 umem_destructor_t *destructor, in umem_cache_create() argument 175 cp->cache_destructor = destructor; in umem_cache_create()
|
/freebsd/sys/geom/raid/ |
H A D | g_raid_md_if.m | 157 # free_disk() - disk destructor. 163 # free_volume() - volume destructor. 169 # free() - destructor.
|