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.c653 swaptype = ((a-(Char*)0) | es) % sizeof(Word) ? 2 \
661 swaptype != 0 \
662 ? bm_swapfunc(a, b, es, swaptype) \
666 if (n > 0) bm_swapfunc(a, b, n, swaptype)
669 if (swaptype != 0) \
681 static void bm_swapfunc ( Char* a, Char* b, SizeT n, Int swaptype ) in bm_swapfunc() argument
683 if (swaptype <= 1) { in bm_swapfunc()
699 Int r, swaptype; in bm_qsort() local