| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/ |
| H A D | dll.c | 95 void (*dtor)(void*); in heim_w32_service_thread_detach() local 116 dtor = key_defs->keys_dtors[i - key_defs->keys_start_idx]; in heim_w32_service_thread_detach() 117 if (values.values[i] != NULL && dtor != NULL && dtor != no_dtor) in heim_w32_service_thread_detach() 118 dtor(values.values[i]); in heim_w32_service_thread_detach() 148 heim_w32_key_create(HEIM_PRIV_thread_key *key, void (*dtor)(void *)) in heim_w32_key_create() 176 new_key_defs->keys_dtors[0] = dtor; in heim_w32_key_create() 190 key_defs->keys_dtors[i] = dtor; in heim_w32_key_create() 215 new_key_defs->keys_dtors[i] = dtor; in heim_w32_key_create() 228 size_t *dtor_idx, void (**dtor)(void *)) in key_lookup() 236 if (dtor != NULL) in key_lookup() [all …]
|
| /netbsd-src/games/pom/ |
| H A D | pom.c | 89 static double dtor(double); 161 Ec = 360 / PI * ECCEN * sin(dtor(Msol)); /* sec 46 #5 */ in potm() 170 Ev = 1.2739 * sin(dtor(2*(l - LambdaSol) - Mm)); /* sec 65 #7 */ in potm() 171 Ac = 0.1858 * sin(dtor(Msol)); /* sec 65 #8 */ in potm() 172 A3 = 0.37 * sin(dtor(Msol)); in potm() 174 Ec = 6.2886 * sin(dtor(Mmprime)); /* sec 65 #10 */ in potm() 175 A4 = 0.214 * sin(dtor(2 * Mmprime)); /* sec 65 #11 */ in potm() 177 V = 0.6583 * sin(dtor(2 * (lprime - LambdaSol))); /* sec 65 #13 */ in potm() 180 return(50.0 * (1 - cos(dtor(D)))); /* sec 67 #3 */ in potm() 188 dtor(double deg) in dtor() function
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/ |
| H A D | gthr-vxworks-tls.c | 149 tls_dtor dtor[MAX_KEYS]; member 194 tls_dtor dtor = tls_keys.dtor[key]; in tls_delete_hook() local 196 if (dtor) in tls_delete_hook() 197 dtor (data->values[key]); in tls_delete_hook() 239 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 258 tls_keys.dtor[key] = dtor; in __gthread_key_create() 285 tls_keys.dtor[key] = 0; in __gthread_key_delete()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/ |
| H A D | vxlib-tls.c | 130 tls_dtor dtor[MAX_KEYS]; member 186 tls_dtor dtor = tls_keys.dtor[key]; in tls_delete_hook() local 188 if (dtor) in tls_delete_hook() 189 dtor (data->values[key]); in tls_delete_hook() 239 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 258 tls_keys.dtor[key] = dtor; in __gthread_key_create() 285 tls_keys.dtor[key] = 0; in __gthread_key_delete()
|
| H A D | gthr-vxworks-tls.c | 141 tls_dtor dtor[MAX_KEYS]; member 186 tls_dtor dtor = tls_keys.dtor[key]; in tls_delete_hook() local 188 if (dtor) in tls_delete_hook() 189 dtor (data->values[key]); in tls_delete_hook() 231 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 250 tls_keys.dtor[key] = dtor; in __gthread_key_create() 277 tls_keys.dtor[key] = 0; in __gthread_key_delete()
|
| /netbsd-src/lib/libc/stdlib/ |
| H A D | cxa_thread_atexit.c | 44 void (*dtor)(void *); member 57 (*entry->dtor)(entry->obj); in __cxa_thread_run_atexit() 72 __cxa_thread_atexit_impl(void (*dtor)(void *), void *obj, void *dso_symbol) in __cxa_thread_atexit_impl() 85 entry->dtor = dtor; in __cxa_thread_atexit_impl()
|
| /netbsd-src/external/bsd/elftoolchain/dist/common/ |
| H A D | utarray.h | 59 dtor_f *dtor; member 75 if ((a)->icd.dtor) { \ 78 (a)->icd.dtor(utarray_eltptr(a,_ut_i)); \ 118 if ((a)->icd.dtor) { (a)->icd.dtor( _utarray_eltptr(a,--((a)->i))); } \ 170 if ((dst)->icd.dtor) { \ 172 (dst)->icd.dtor(_utarray_eltptr(dst, _ut_i)); \ 193 if ((a)->icd.dtor) { \ 196 (a)->icd.dtor(utarray_eltptr(a, (pos) + _ut_i)); \ 213 if ((a)->icd.dtor) { \ 216 (a)->icd.dtor(_utarray_eltptr(a, _ut_i)); \
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/ |
| H A D | atexit_thread.cc | 42 __cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *), in __cxa_thread_atexit() 46 return __cxa_thread_atexit_impl (dtor, obj, dso_handle); in __cxa_thread_atexit() 119 __cxxabiv1::__cxa_thread_atexit (void (*dtor)(void *), void *obj, void */*dso_handle*/) in __cxa_thread_atexit() 149 new_elt->destructor = dtor; in __cxa_thread_atexit() 158 (LPCWSTR) dtor, &new_elt->dll); in __cxa_thread_atexit()
|
| /netbsd-src/sys/kern/ |
| H A D | subr_specificdata.c | 118 specificdata_dtor_t dtor; in specificdata_destroy_datum() local 127 dtor = sd->sd_keys[key].ski_dtor; in specificdata_destroy_datum() 129 if (dtor != NULL) { in specificdata_destroy_datum() 132 (*dtor)(data); in specificdata_destroy_datum() 181 specificdata_dtor_t dtor) in specificdata_key_create() argument 189 if (dtor == NULL) in specificdata_key_create() 190 dtor = specificdata_noop_dtor; in specificdata_key_create() 214 sd->sd_keys[key].ski_dtor = dtor; in specificdata_key_create()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
| H A D | atexit_thread.cc | 47 __cxxabiv1::__cxa_thread_atexit (void (_GLIBCXX_CDTOR_CALLABI *dtor)(void *), in __cxa_thread_atexit() 51 return __cxa_thread_atexit_impl (dtor, obj, dso_handle); in __cxa_thread_atexit() 124 __cxxabiv1::__cxa_thread_atexit (void (_GLIBCXX_CDTOR_CALLABI *dtor)(void *), in __cxa_thread_atexit() 155 new_elt->destructor = dtor; in __cxa_thread_atexit() 164 (LPCWSTR) dtor, &new_elt->dll); in __cxa_thread_atexit()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | clone.d | 163 sd.dtor || in needOpAssign() 289 if (sd.dtor || sd.postblit) in buildOpAssign() 294 stc = mergeFuncAttrs(stc, sd.dtor); in buildOpAssign() 313 else if (sd.dtor) in buildOpAssign() 316 TypeFunction tdtor = cast(TypeFunction)sd.dtor.type; in buildOpAssign() 332 auto e4 = new CallExp(loc, new DotVarExp(loc, new VarExp(loc, swap), sd.dtor, false)); in buildOpAssign() 891 if (!sdv.dtor) in buildDtors() 897 xdtor_fwd = sdv.dtor; // this dtor is temporary it could be anything in buildDtors() 902 sdv.dtor.functionSemantic(); in buildDtors() 904 stc = mergeFuncAttrs(stc, sdv.dtor); in buildDtors() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.shared/ |
| H A D | load_13414.d | 6 shared uint tlsDtor, dtor; variable 8 void sharedStaticDtorHook() { atomicOp!"+="(dtor, 1); } in sharedStaticDtorHook() 23 assert(dtor == 0); in runTest() 28 assert(dtor == 1); in runTest()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.shared/ |
| H A D | load_13414.d | 6 shared uint tlsDtor, dtor; variable 8 void sharedStaticDtorHook() { atomicOp!"+="(dtor, 1); } in sharedStaticDtorHook() 20 assert(dtor == 1); in runTest()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| H A D | nouveau_nvkm_core_oproxy.c | 181 if (oproxy->func->dtor[0]) in nvkm_oproxy_dtor() 182 oproxy->func->dtor[0](oproxy); in nvkm_oproxy_dtor() 184 if (oproxy->func->dtor[1]) in nvkm_oproxy_dtor() 185 oproxy->func->dtor[1](oproxy); in nvkm_oproxy_dtor() 191 .dtor = nvkm_oproxy_dtor,
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| H A D | aaA.d | 767 static size_t postblit, dtor; member 775 ++dtor; in ~this() 781 assert(T.dtor == 0 && T.postblit == 2); 783 assert(T.dtor == 1 && T.postblit == 3); 785 T.dtor = 0; 789 assert(T.dtor == 1 && T.postblit == 3); 791 T.dtor = 0; 795 assert(T.dtor == 0 && T.postblit == 1); 797 assert(T.dtor == 0 && T.postblit == 1); 799 assert(T.dtor == 0 && T.postblit == 1); [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/sw/ |
| H A D | nouveau_nvkm_engine_sw_chan.c | 85 if (chan->func->dtor) in nvkm_sw_chan_dtor() 86 data = chan->func->dtor(chan); in nvkm_sw_chan_dtor() 97 .dtor = nvkm_sw_chan_dtor,
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/ |
| H A D | nouveau_nvkm_subdev_devinit_base.c | 117 if (init->func->dtor) in nvkm_devinit_dtor() 118 data = init->func->dtor(init); in nvkm_devinit_dtor() 127 .dtor = nvkm_devinit_dtor,
|
| /netbsd-src/sys/net/npf/ |
| H A D | lpm.c | 109 lpm_clear(lpm_t *lpm, lpm_dtor_t dtor, void *arg) in lpm_clear() argument 124 if (dtor) { in lpm_clear() 125 dtor(arg, entry->key, in lpm_clear() 138 if (dtor) { in lpm_clear() 139 dtor(arg, zero_address, 4, lpm->defvals[0]); in lpm_clear() 140 dtor(arg, zero_address, 16, lpm->defvals[1]); in lpm_clear()
|
| /netbsd-src/lib/libpthread/ |
| H A D | tss.c | 41 tss_create(tss_t *key, tss_dtor_t dtor) in tss_create() argument 46 if (pthread_key_create(key, dtor) == 0) in tss_create()
|
| /netbsd-src/tests/libexec/ld.elf_so/ |
| H A D | t_thread_local_dtor.sh | 43 in dtor: thread_local 44 in dtor: global_dtor
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | clone.c | 150 if (sd->dtor || sd->postblit) in needOpAssign() 238 if (sd->dtor || sd->postblit) in buildOpAssign() 242 stc = mergeFuncAttrs(stc, sd->dtor); in buildOpAssign() 258 else if (sd->dtor || sd->postblit) in buildOpAssign() 267 if (sd->dtor) in buildOpAssign() 277 if (sd->dtor) in buildOpAssign() 282 Expression *ec2 = new DotVarExp(loc, new VarExp(loc, tmp), sd->dtor, false); in buildOpAssign() 814 stc = mergeFuncAttrs(stc, sdv->dtor); in buildPostBlit() 870 if (!sdv->dtor) in buildPostBlit() 872 sdv->dtor->functionSemantic(); in buildPostBlit() [all …]
|
| H A D | canthrow.c | 159 if (ad->dtor) in canThrow() 161 Type *t = ad->dtor->type->toBasetype(); in canThrow() 167 ad->dtor->kind(), ad->dtor->toPrettyChars()); in canThrow()
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/scripttempl/ |
| H A D | i386go32.sc | 18 DTOR='.dtor : { 20 *(.dtor) 55 *(.dtor)
|
| /netbsd-src/external/gpl3/binutils/dist/ld/scripttempl/ |
| H A D | i386go32.sc | 18 DTOR='.dtor : { 20 *(.dtor) 55 *(.dtor)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/ |
| H A D | aaA.d | 913 static size_t postblit, dtor; member 921 ++dtor; in ~this() 927 assert(T.dtor == 0 && T.postblit == 2); 929 assert(T.dtor == 1 && T.postblit == 3); 931 T.dtor = 0; 935 assert(T.dtor == 1 && T.postblit == 3); 937 T.dtor = 0; 941 assert(T.dtor == 0 && T.postblit == 1); 943 assert(T.dtor == 0 && T.postblit == 1); 945 assert(T.dtor == 0 && T.postblit == 1); [all …]
|