Lines Matching refs:n
62 #define swapcode(TYPE, parmi, parmj, n) \ argument
64 long i = (n) / sizeof(TYPE); \
78 static __inline void swapfunc(char *a, char *b, int n, int swaptype) { in swapfunc() argument
79 if (swaptype <= 1) swapcode(long, a, b, n) else swapcode(char, a, b, n) in swapfunc()
89 #define vecswap(a, b, n) \ argument
90 if ((n) > 0) swapfunc(a, b, n, swaptype)
98 void qsort(void *aa, size_t n, size_t es, in qsort() argument
106 if (n < 7) { in qsort()
107 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in qsort()
112 pm = (char *)a + (n / 2) * es; in qsort()
113 if (n > 7) { in qsort()
115 pn = (char *)a + (n - 1) * es; in qsort()
116 if (n > 40) { in qsort()
117 d = (n / 8) * es; in qsort()
127 pc = pd = (char *)a + (n - 1) * es; in qsort()
152 for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) in qsort()
157 pn = (char *)a + n * es; in qsort()
166 n = r / es; in qsort()
195 int dto_memcmp(const void *lhs, const void *rhs, size_t n) { in dto_memcmp() argument
196 return memcmp(lhs, rhs, n); in dto_memcmp()
199 void *dto_memcpy(void *dest, const void *src, size_t n) { in dto_memcpy() argument
200 return memcpy(dest, src, n); in dto_memcpy()
205 int dto_strncmp(const char *s1, const char *s2, size_t n) { in dto_strncmp() argument
206 return strncmp(s1, s2, n); in dto_strncmp()
209 void *dto_memchr(const void *s, int c, size_t n) { return memchr(s, c, n); } in dto_memchr() argument
211 void *dto_memset(void *s, int c, size_t n) { return memset(s, c, n); } in dto_memset() argument