/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 | 819 swaptype = ((a-(Char*)0) | es) % sizeof(Word) ? 2 \ 827 swaptype != 0 \ 828 ? bm_swapfunc(a, b, es, swaptype) \ 833 if (n > 0) bm_swapfunc(a, b, n, swaptype) 836 if (swaptype != 0) \ 848 static void bm_swapfunc ( Char* a, Char* b, SizeT n, Int swaptype ) 850 if (swaptype <= 1) { 866 Int r, swaptype; local
|