Home
last modified time | relevance | path

Searched refs:swaptype (Results 1 – 2 of 2) sorted by relevance

/external/yaffs2/yaffs2/
Dyaffs_qsort.c47 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \
51 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument
53 if (swaptype <= 1) in swapfunc()
60 if (swaptype == 0) { \
65 swapfunc(a, b, es, swaptype)
67 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype)
82 int d, r, swaptype, swap_cnt; in qsort() local
/external/valgrind/main/coregrind/
Dm_libcbase.c657 swaptype = ((a-(Char*)0) | es) % sizeof(Word) ? 2 \
665 swaptype != 0 \
666 ? bm_swapfunc(a, b, es, swaptype) \
670 if (n > 0) bm_swapfunc(a, b, n, swaptype)
673 if (swaptype != 0) \
685 static void bm_swapfunc ( Char* a, Char* b, SizeT n, Int swaptype ) in bm_swapfunc() argument
687 if (swaptype <= 1) { in bm_swapfunc()
703 Int r, swaptype; in bm_qsort() local