/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
qsort.c | 62 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ 66 swapfunc(a, b, n, swaptype) 68 int n, swaptype; 70 if(swaptype <= 1) 77 if (swaptype == 0) { \ 82 swapfunc(a, b, es, swaptype) 84 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) 116 int swaptype, swap_cnt; local
|
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
Qsort.c | 81 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \
85 swapfunc(char *a, char *b, size_t n, int swaptype)
87 if(swaptype <= 1)
94 if (swaptype == 0) { \
99 swapfunc(a, b, es, swaptype)
101 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype)
130 int swaptype, swap_cnt;
local
|
/system/libufdt/sysdeps/ |
libufdt_sysdeps_vendor.c | 74 swaptype = ((char *)a - (char *)0) % sizeof(long) || es % sizeof(long) \ 78 static __inline void swapfunc(char *a, char *b, int n, int swaptype) { 79 if (swaptype <= 1) swapcode(long, a, b, n) else swapcode(char, a, b, n) 83 if (swaptype == 0) { \ 88 swapfunc(a, b, es, swaptype) 90 if ((n) > 0) swapfunc(a, b, n, swaptype) 101 int d, r, swaptype, swap_cnt; local
|
/cts/tests/simplecpu/jni/ |
CpuNativeJni.cpp | 44 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ 48 swapfunc(char *a, char *b, int n, int swaptype) 50 if (swaptype <= 1) 57 if (swaptype == 0) { \ 62 swapfunc(a, b, es, swaptype) 64 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) 78 int d, r, swaptype, swap_cnt; local
|
/external/valgrind/coregrind/ |
m_libcbase.c | 767 swaptype = ((a-(Char*)0) | es) % sizeof(Word) ? 2 \ 775 swaptype != 0 \ 776 ? bm_swapfunc(a, b, es, swaptype) \ 780 if (n > 0) bm_swapfunc(a, b, n, swaptype) 783 if (swaptype != 0) \ 795 static void bm_swapfunc ( Char* a, Char* b, SizeT n, Int swaptype ) 797 if (swaptype <= 1) { 813 Int r, swaptype; local
|