/freebsd-10-stable/sys/dev/drm2/ |
H A D | drm_linux_list_sort.c | 42 struct drm_list_sort_thunk *thunk; local 44 thunk = priv; 47 return ((thunk->cmp)(thunk->priv, le1, le2)); 57 struct drm_list_sort_thunk thunk; local 68 thunk.cmp = cmp; 69 thunk.priv = priv; 70 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp);
|
/freebsd-10-stable/lib/libc/stdlib/ |
H A D | qsort.c | 99 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk 105 return CMP(thunk, a, b) < 0 ? 106 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) 107 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); 112 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument 114 #define thunk NULL 130 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; 142 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); [all...] |
/freebsd-10-stable/sys/libkern/ |
H A D | qsort.c | 95 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk 101 return CMP(thunk, a, b) < 0 ? 102 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) 103 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); 108 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument 110 #define thunk NULL 126 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; 138 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | qsort.c | 99 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk 105 return CMP(thunk, a, b) < 0 ? 106 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) 107 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); 112 rk_qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument 114 #define thunk NULL 129 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; 140 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk); [all...] |
/freebsd-10-stable/contrib/gcc/cp/ |
H A D | method.c | 78 /* Return a this or result adjusting thunk to FUNCTION. THIS_ADJUSTING 79 indicates whether it is a this or result adjusting thunk. 85 the returned thunk with finish_thunk. */ 92 tree thunk; 109 /* See if we already have the thunk in question. For this_adjusting 112 for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) 113 if (DECL_THIS_THUNK_P (thunk) 91 tree thunk; local 178 finish_thunk(tree thunk) argument [all...] |
H A D | semantics.c | 3193 functions to which they thunk. The whole point of vcall offsets 3199 tree thunk; local 3201 for (thunk = DECL_THUNKS (fn); thunk; thunk = TREE_CHAIN (thunk)) 3203 if (!THUNK_ALIAS (thunk)) 3205 use_thunk (thunk, /*emit_p=*/1); 3206 if (DECL_RESULT_THUNK_P (thunk)) 3210 for (probe = DECL_THUNKS (thunk); [all...] |
H A D | class.c | 2045 /* If FN is a covariant thunk, we must figure out the adjustment 2072 /* There was no existing virtual thunk (which takes 2128 /* Replace the overriding function with a covariant thunk. We 2137 /* Assume that we will produce a thunk that convert all the way to 2163 /* The ABI specifies that a covariant thunk includes a mangling 2168 non-covariant case, we would not use the thunk). 2171 thunk should be emitted. Because we must use the ABI mandated 2176 this-adjusting thunk. Bleah! */ 5100 /* A thunk. We should never be calling this entry directly 5102 thunk bas 6627 dump_thunk(FILE *stream, int indent, tree thunk) argument [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | scandir.c | 49 static int alphasort_thunk(void *thunk, const void *p1, const void *p2); 139 alphasort_thunk(void *thunk, const void *p1, const void *p2) argument 143 dc = *(int (**)(const struct dirent **, const struct dirent **))thunk;
|
/freebsd-10-stable/sys/compat/ndis/ |
H A D | winx32_wrap.S | 80 * You'll notice that we call the thunk/unthunk routines in the 87 * we only know the absolute addresses of the thunk and unthunk 91 * Also note that when we call the a thunk/unthunk routine after 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 329 * Once we have a custom descriptor, we have to thunk/unthun [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | kern_thr.c | 101 thr_create_initthr(struct thread *td, void *thunk) argument 106 args = thunk; 142 thr_new_initthr(struct thread *td, void *thunk) argument 154 param = thunk; 188 int (*initialize_thread)(struct thread *, void *), void *thunk) 240 error = initialize_thread(newtd, thunk); 187 thread_create(struct thread *td, struct rtprio *rtp, int (*initialize_thread)(struct thread *, void *), void *thunk) argument
|
/freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
H A D | MachO.h | 789 uint32_t thunk; member in struct:llvm::MachO::tlv_descriptor_32 795 uint64_t thunk; member in struct:llvm::MachO::tlv_descriptor_64 801 uintptr_t thunk; member in struct:llvm::MachO::tlv_descriptor
|
/freebsd-10-stable/sys/sys/ |
H A D | libkern.h | 113 void qsort_r(void *base, size_t nmemb, size_t size, void *thunk,
|
H A D | proc.h | 995 int (*initialize_thread)(struct thread *, void *), void *thunk);
|
/freebsd-10-stable/sys/dev/drm2/i915/ |
H A D | i915_debug.c | 1632 struct i915_info_sysctl_thunk *thunk; local 1638 thunk = arg1; 1639 dev = thunk->dev; 1647 error = -i915_info_sysctl_list[thunk->idx].ptr(dev, &m, 1648 thunk->arg); 1661 error = i915_info_sysctl_list[thunk->idx].ptr_w(dev, p, 1662 thunk->arg);
|
/freebsd-10-stable/contrib/gcc/config/ia64/ |
H A D | ia64.c | 9421 /* Output the assembler code for a thunk function. THUNK_DECL is the 9422 declaration for the thunk function itself, FUNCTION is the decl for 9428 ia64_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED, 9456 = (ia64_struct_retval_addr_is_first_parm_p (TREE_TYPE (thunk))
|
/freebsd-10-stable/contrib/gcc/config/s390/ |
H A D | s390.c | 8438 /* Output thunk to FILE that implements a C++ virtual function call (with 8439 multiple inheritance) to FUNCTION. The thunk adjusts the this pointer 8445 s390_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
|
/freebsd-10-stable/contrib/gcc/config/i386/ |
H A D | i386.c | 5175 /* Fills in the label name that should be used for a pc thunk for 18339 x86_can_output_mi_thunk (tree thunk ATTRIBUTE_UNUSED, 18363 /* Output the assembler code for a thunk function. THUNK_DECL is the 18364 declaration for the thunk function itself, FUNCTION is the decl for 18371 tree thunk ATTRIBUTE_UNUSED, HOST_WIDE_INT delta,
|
/freebsd-10-stable/contrib/gcc/config/arm/ |
H A D | arm.c | 14896 arm_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
|