Searched refs:thunk (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.0-release/sys/dev/drm2/
H A Ddrm_linux_list_sort.c42 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.0-release/crypto/heimdal/lib/roken/
H A Dqsort.c99 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.0-release/lib/libc/stdlib/
H A Dqsort.c93 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk
99 return CMP(thunk, a, b) < 0 ?
100 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a ))
101 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c ));
106 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument
108 #define thunk NULL
123 pl > (char *)a && CMP(thunk, pl - es, pl) > 0;
134 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk);
[all...]
/freebsd-10.0-release/sys/libkern/
H A Dqsort.c89 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk
95 return CMP(thunk, a, b) < 0 ?
96 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a ))
97 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c ));
102 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp) argument
104 #define thunk NULL
116 for (pl = pm; pl > (char *)a && CMP(thunk, pl - es, pl) > 0;
127 pl = med3(pl, pl + d, pl + 2 * d, cmp, thunk);
[all...]
/freebsd-10.0-release/contrib/gcc/cp/
H A Dmethod.c78 /* 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 Dsemantics.c3037 functions to which they thunk. The whole point of vcall offsets
3043 tree thunk; local
3045 for (thunk = DECL_THUNKS (fn); thunk; thunk = TREE_CHAIN (thunk))
3047 if (!THUNK_ALIAS (thunk))
3049 use_thunk (thunk, /*emit_p=*/1);
3050 if (DECL_RESULT_THUNK_P (thunk))
3054 for (probe = DECL_THUNKS (thunk);
[all...]
H A Dclass.c2032 /* If FN is a covariant thunk, we must figure out the adjustment
2059 /* There was no existing virtual thunk (which takes
2115 /* Replace the overriding function with a covariant thunk. We
2124 /* Assume that we will produce a thunk that convert all the way to
2150 /* The ABI specifies that a covariant thunk includes a mangling
2155 non-covariant case, we would not use the thunk).
2158 thunk should be emitted. Because we must use the ABI mandated
2163 this-adjusting thunk. Bleah! */
5071 /* A thunk. We should never be calling this entry directly
5073 thunk bas
6598 dump_thunk(FILE *stream, int indent, tree thunk) argument
[all...]
/freebsd-10.0-release/lib/libc/gen/
H A Dscandir.c49 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.0-release/sys/compat/ndis/
H A Dwinx32_wrap.S80 * 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.0-release/sys/sys/
H A Dlibkern.h108 void qsort_r(void *base, size_t nmemb, size_t size, void *thunk,
/freebsd-10.0-release/sys/dev/drm2/i915/
H A Di915_debug.c1586 struct i915_info_sysctl_thunk *thunk; local
1591 thunk = arg1;
1592 dev = thunk->dev;
1600 error = i915_info_sysctl_list[thunk->idx].ptr(dev, &m,
1601 thunk->arg);
/freebsd-10.0-release/contrib/gcc/config/ia64/
H A Dia64.c9421 /* 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.0-release/contrib/gcc/config/s390/
H A Ds390.c8438 /* 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.0-release/contrib/gcc/config/i386/
H A Di386.c5173 /* Fills in the label name that should be used for a pc thunk for
18337 x86_can_output_mi_thunk (tree thunk ATTRIBUTE_UNUSED,
18361 /* Output the assembler code for a thunk function. THUNK_DECL is the
18362 declaration for the thunk function itself, FUNCTION is the decl for
18369 tree thunk ATTRIBUTE_UNUSED, HOST_WIDE_INT delta,
/freebsd-10.0-release/contrib/gcc/config/arm/
H A Darm.c14787 arm_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,

Completed in 473 milliseconds