| /freebsd-12.1/lib/libc/stdio/ |
| H A D | fopencookie.c | 60 thunk = malloc(sizeof(*thunk)); in fopencookie() 61 if (thunk == NULL) in fopencookie() 77 free(thunk); in fopencookie() 92 thunk = cookie; in _fopencookie_read() 106 thunk = cookie; in _fopencookie_write() 112 return ((int)thunk->foc_io.write(thunk->foc_cookie, buf, in _fopencookie_write() 134 thunk = cookie; in _fopencookie_seek() 146 res = thunk->foc_io.seek(thunk->foc_cookie, &off64, whence); in _fopencookie_seek() 160 thunk = cookie; in _fopencookie_close() 162 ret = thunk->foc_io.close(thunk->foc_cookie); in _fopencookie_close() [all …]
|
| /freebsd-12.1/contrib/openmp/runtime/src/ |
| H A D | kmp_taskq.cpp | 148 if (thunk != NULL) { in __kmp_dump_thunk() 180 kmpc_thunk_t *thunk; in __kmp_dump_task_queue() local 236 for (thunk = queue->tq_free_thunks; thunk != NULL; in __kmp_dump_task_queue() 237 thunk = thunk->th.th_next_free) in __kmp_dump_task_queue() 1084 for (thunk = queue->tq_free_thunks; thunk != NULL; in __kmp_remove_queue_from_tree() 1085 thunk = thunk->th.th_next_free) in __kmp_remove_queue_from_tree() 1246 thunk->th_task(global_tid, thunk); in __kmp_execute_task_from_queue() 1719 for (i = 0, thunk = queue->tq_free_thunks; thunk != NULL; in __kmpc_end_taskq() 1720 i++, thunk = thunk->th.th_next_free) in __kmpc_end_taskq() 1784 for (thunk = queue->tq_free_thunks; thunk != NULL; in __kmpc_end_taskq() [all …]
|
| H A D | kmp.h | 1366 typedef void (*kmpc_task_t)(kmp_int32 global_tid, struct kmpc_thunk_t *thunk); 3769 kmpc_thunk_t *thunk); 3771 kmpc_thunk_t *thunk); 3773 kmpc_thunk_t *thunk, kmp_int32 status); 3775 kmpc_thunk_t *thunk);
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | method.c | 91 tree thunk; in make_thunk() local 111 for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) in make_thunk() 120 return thunk; in make_thunk() 153 DECL_EXTERNAL (thunk) = 1; in make_thunk() 154 DECL_ARTIFICIAL (thunk) = 1; in make_thunk() 160 DECL_INLINE (thunk) = 0; in make_thunk() 163 DECL_DEFERRED_FN (thunk) = 0; in make_thunk() 172 return thunk; in make_thunk() 178 finish_thunk (tree thunk) in finish_thunk() argument 184 gcc_assert (!DECL_NAME (thunk) && DECL_THUNK_P (thunk)); in finish_thunk() [all …]
|
| H A D | semantics.c | 3199 tree thunk; in emit_associated_thunks() local 3201 for (thunk = DECL_THUNKS (fn); thunk; thunk = TREE_CHAIN (thunk)) in emit_associated_thunks() 3203 if (!THUNK_ALIAS (thunk)) in emit_associated_thunks() 3205 use_thunk (thunk, /*emit_p=*/1); in emit_associated_thunks() 3206 if (DECL_RESULT_THUNK_P (thunk)) in emit_associated_thunks() 3210 for (probe = DECL_THUNKS (thunk); in emit_associated_thunks() 3216 gcc_assert (!DECL_THUNKS (thunk)); in emit_associated_thunks()
|
| H A D | class.c | 6627 dump_thunk (FILE *stream, int indent, tree thunk) in dump_thunk() argument 6630 tree name = DECL_NAME (thunk); in dump_thunk() 6634 (void *)thunk, in dump_thunk() 6635 !DECL_THUNK_P (thunk) ? "function" in dump_thunk() 6636 : DECL_THIS_THUNK_P (thunk) ? "this-thunk" : "covariant-thunk", in dump_thunk() 6638 if (DECL_THUNK_P (thunk)) in dump_thunk() 6640 HOST_WIDE_INT fixed_adjust = THUNK_FIXED_OFFSET (thunk); in dump_thunk() 6641 tree virtual_adjust = THUNK_VIRTUAL_OFFSET (thunk); in dump_thunk() 6646 else if (DECL_THIS_THUNK_P (thunk)) in dump_thunk() 6653 if (THUNK_ALIAS (thunk)) in dump_thunk() [all …]
|
| H A D | ChangeLog-2001 | 1236 of a virtual thunk should be from declaring base. 1385 (init_decl_processing): Remove no-vtable-thunk code. 1387 (mark_vtable_entries): Remove no-vtable-thunk code. 1388 * error.c (dump_decl): Remove no-vtable-thunk code. 1400 no-vtable-thunk code. 1403 no-vtable-thunk code. 1405 (build_vtable_entry): Remove no-vtable-thunk code. 1594 a thunk. 1656 virtual thunk instead of non-virtual. 2760 IDENTIFIER_GLOBAL_VALUE for the thunk. [all …]
|
| H A D | ChangeLog-2002 | 48 (get_vcall_index): Always expect a non-thunk. 50 overriding a thunk. Pass get_vcall_index a non-thunk. 181 * dump1.c (cp_dump_tree): Adjust thunk dumping. 653 (update_vtable_entry_for_fn): Generate covariant thunk. 656 Finish covariant thunk here. Adjust thunk generation. 658 Adjust thunk dumping. 667 * semantics.c (emit_associated_thunks): Walk covariant thunk lists. 4252 * method.c (make_thunk): If !flag_weak, give the thunk the
|
| /freebsd-12.1/lib/libc/stdlib/ |
| H A D | qsort.c | 81 return CMP(thunk, a, b) < 0 ? in med3() 82 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 83 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() 90 #define thunk NULL in qsort_r() 105 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in qsort_r() 117 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); in qsort_r() 118 pm = med3(pm - d, pm, pm + d, cmp, thunk); in qsort_r() 119 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); in qsort_r() 121 pm = med3(pl, pm, pn, cmp, thunk); in qsort_r() 172 qsort_r(a, d1 / es, es, thunk, cmp); in qsort_r() [all …]
|
| /freebsd-12.1/sys/libkern/ |
| H A D | qsort.c | 103 return CMP(thunk, a, b) < 0 ? in med3() 104 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 105 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() 112 #define thunk NULL in qsort_r() 128 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in qsort_r() 140 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); in qsort_r() 141 pm = med3(pm - d, pm, pm + d, cmp, thunk); in qsort_r() 142 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); in qsort_r() 144 pm = med3(pl, pm, pn, cmp, thunk); in qsort_r() 195 qsort_r(a, d1 / es, es, thunk, cmp); in qsort_r() [all …]
|
| /freebsd-12.1/crypto/heimdal/lib/roken/ |
| H A D | qsort.c | 99 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk in med3() argument 105 return CMP(thunk, a, b) < 0 ? in med3() 106 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 107 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() 114 #define thunk NULL in rk_qsort_r() 129 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in rk_qsort_r() 140 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); in rk_qsort_r() 141 pm = med3(pm - d, pm, pm + d, cmp, thunk); in rk_qsort_r() 142 pn = med3(pn - 2 * d, pn - d, pn, cmp, thunk); in rk_qsort_r() 144 pm = med3(pl, pm, pn, cmp, thunk); in rk_qsort_r() [all …]
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_linux_list_sort.c | 44 struct drm_list_sort_thunk *thunk; in drm_le_cmp() local 46 thunk = priv; in drm_le_cmp() 49 return ((thunk->cmp)(thunk->priv, le1, le2)); in drm_le_cmp() 59 struct drm_list_sort_thunk thunk; in drm_list_sort() local 70 thunk.cmp = cmp; in drm_list_sort() 71 thunk.priv = priv; in drm_list_sort() 72 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp); in drm_list_sort()
|
| /freebsd-12.1/sys/compat/ndis/ |
| H A D | winx32_wrap.S | 133 call *%eax # thunk 166 call ctxsw_utow # thunk 211 call *%eax # thunk 231 call ctxsw_utow # thunk 272 call *%eax # thunk 288 call ctxsw_utow # thunk
|
| /freebsd-12.1/lib/libproc/ |
| H A D | proc_sym.c | 114 struct symsort_thunk *thunk; in symvalcmp() local 121 thunk = _thunk; in symvalcmp() 123 (void)gelf_getsym(thunk->symtab->data, i1, &sym1); in symvalcmp() 124 (void)gelf_getsym(thunk->symtab->data, i2, &sym2); in symvalcmp() 139 s1 = elf_strptr(thunk->e, thunk->symtab->stridx, sym1.st_name); in symvalcmp() 140 s2 = elf_strptr(thunk->e, thunk->symtab->stridx, sym2.st_name); in symvalcmp() 165 struct symsort_thunk thunk; in load_symtab() local 196 thunk.e = e; in load_symtab() 197 thunk.symtab = symtab; in load_symtab() 198 qsort_r(symtab->index, nsyms, sizeof(u_int), &thunk, symvalcmp); in load_symtab()
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | scandir.c | 60 static int alphasort_thunk(void *thunk, const void *p1, const void *p2); 149 alphasort_thunk(void *thunk, const void *p1, const void *p2) in alphasort_thunk() argument 153 dc = *(int (**)(const struct dirent **, const struct dirent **))thunk; in alphasort_thunk()
|
| H A D | scandir-compat11.c | 63 static int freebsd11_alphasort_thunk(void *thunk, const void *p1, 158 freebsd11_alphasort_thunk(void *thunk, const void *p1, const void *p2) in freebsd11_alphasort_thunk() argument 164 const struct freebsd11_dirent **))thunk; in freebsd11_alphasort_thunk()
|
| /freebsd-12.1/sys/compat/cloudabi32/ |
| H A D | cloudabi32_thread.c | 45 initialize_thread(struct thread *td, void *thunk) in initialize_thread() argument 47 struct thread_create_args *args = thunk; in initialize_thread()
|
| /freebsd-12.1/sys/compat/cloudabi64/ |
| H A D | cloudabi64_thread.c | 45 initialize_thread(struct thread *td, void *thunk) in initialize_thread() argument 47 struct thread_create_args *args = thunk; in initialize_thread()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_thr.c | 106 thr_create_initthr(struct thread *td, void *thunk) in thr_create_initthr() argument 111 args = thunk; in thr_create_initthr() 147 thr_new_initthr(struct thread *td, void *thunk) in thr_new_initthr() argument 159 param = thunk; in thr_new_initthr() 193 int (*initialize_thread)(struct thread *, void *), void *thunk) in thread_create() argument 244 error = initialize_thread(newtd, thunk); in thread_create()
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | i915_debug.c | 1666 struct i915_info_sysctl_thunk *thunk; in i915_info_sysctl_handler() local 1672 thunk = arg1; in i915_info_sysctl_handler() 1673 dev = thunk->dev; in i915_info_sysctl_handler() 1681 error = -i915_info_sysctl_list[thunk->idx].ptr(dev, &m, in i915_info_sysctl_handler() 1682 thunk->arg); in i915_info_sysctl_handler() 1695 error = i915_info_sysctl_list[thunk->idx].ptr_w(dev, p, in i915_info_sysctl_handler() 1696 thunk->arg); in i915_info_sysctl_handler()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 2248 struct list_sort_thunk *thunk; in linux_le_cmp() local 2250 thunk = priv; in linux_le_cmp() 2253 return ((thunk->cmp)(thunk->priv, le1, le2)); in linux_le_cmp() 2260 struct list_sort_thunk thunk; in list_sort() local 2271 thunk.cmp = cmp; in list_sort() 2272 thunk.priv = priv; in list_sort() 2273 qsort_r(ar, count, sizeof(struct list_head *), &thunk, linux_le_cmp); in list_sort()
|
| /freebsd-12.1/sys/sys/ |
| H A D | libkern.h | 165 void qsort_r(void *base, size_t nmemb, size_t size, void *thunk,
|
| /freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 895 uint32_t thunk; member 901 uint64_t thunk; member 907 uintptr_t thunk; member
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86.td | 390 // to provide their own custom thunk definitions in highly specialized 394 "retpoline-external-thunk", "UseRetpolineExternalThunk", "true", 396 "on the specified user provided thunk rather than emitting one "
|
| /freebsd-12.1/sys/contrib/libsodium/ |
| H A D | configure.ac | 202 AX_CHECK_COMPILE_FLAG([-mindirect-branch=thunk], 203 [CFLAGS="$CFLAGS -mindirect-branch=thunk"],
|