/bionic/libc/stdlib/ |
D | qsort.c | 76 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() 78 return cmp(a, b) < 0 ? in med3() 79 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a )) in med3() 80 :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c )); in med3() 84 qsort(void *aa, size_t n, size_t es, int (*cmp)(const void *, const void *)) in qsort() 94 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; in qsort() 105 pl = med3(pl, pl + d, pl + 2 * d, cmp); in qsort() 106 pm = med3(pm - d, pm, pm + d, cmp); in qsort() 107 pn = med3(pn - 2 * d, pn - d, pn, cmp); in qsort() 109 pm = med3(pl, pm, pn, cmp); in qsort() [all …]
|
/bionic/libc/upstream-netbsd/libc/stdlib/ |
D | bsearch.c | 67 int cmp; in bsearch() local 76 cmp = (*compar)(key, p); in bsearch() 77 if (cmp == 0) in bsearch() 79 if (cmp > 0) { /* key > p: move right */ in bsearch()
|
D | tdelete.c | 32 int cmp; in tdelete() local 40 while ((cmp = (*compar)(vkey, (*rootp)->key)) != 0) { in tdelete() 42 rootp = (cmp < 0) ? in tdelete()
|
/bionic/libc/arch-x86/string/ |
D | ssse3-memcmp3-new.S | 108 cmp $48, %ecx 111 cmp $1, %ecx 123 cmp (%edx), %cl 163 cmp $8, %edx 165 cmp $0, %edx 167 cmp $1, %edx 169 cmp $2, %edx 171 cmp $3, %edx 173 cmp $4, %edx 175 cmp $5, %edx [all …]
|
D | ssse3-memcpy5.S | 143 cmp %eax, %edx 146 cmp $32, %ecx 153 cmp %eax, %edx 159 cmp $48, %ecx 164 cmp %dl, %al 195 cmp $SHARED_CACHE_SIZE_HALF, %ecx 200 cmp __x86_shared_cache_size_half@GOTOFF(%ebx), %ecx 202 cmp __x86_shared_cache_size_half, %ecx 219 cmp $127, %ecx 269 cmp $DATA_CACHE_SIZE_HALF, %ecx [all …]
|
D | sse2-memset5-atom.S | 156 cmp $32, %ecx 304 cmp $128, %ecx 325 cmp %ebx, %ecx 332 cmp $DATA_CACHE_SIZE, %ecx 338 cmp __x86_data_cache_size@GOTOFF(%ebx), %ecx 342 cmp __x86_data_cache_size, %ecx 392 cmp $128, %ecx 419 cmp $0x80, %ebx 421 cmp $0x80, %ecx 435 cmp $0x80, %ecx
|
/bionic/libc/kernel/common/linux/ |
D | futex.h | 64 #define FUTEX_OP(op, oparg, cmp, cmparg) (((op & 0xf) << 28) | ((cmp & 0xf) << 24) | ((oparg & … argument
|
/bionic/libc/arch-arm/bionic/ |
D | strcmp.S | 94 cmp ip, r3 107 cmp r0, #1 151 cmp r2, #1 169 cmp t1, #2 177 cmp t1, w2, SHFT2LSB #8 186 cmp t1, w2, SHFT2MSB #24 227 cmp t1, w2, SHFT2LSB #16 234 cmp t1, w2, SHFT2MSB #16 270 cmp t1, w2, SHFT2LSB #24 279 cmp t1, w2, SHFT2MSB #8 [all …]
|
D | strcmp.a15.S | 69 cmp r2, #0 71 cmp r2, r3 80 cmp r2, #1 137 cmp \reg, #0 146 cmp \reg, #0 162 cmp \w1, \w2 /* Are w1 and w2 the same? */ 330 cmp r7, ip, S2HIMEM #\offsetlo 336 cmp ip, #0 351 cmp ip, #2 400 cmp r1, r2 [all …]
|
D | memset.S | 52 cmp r2, #NEON_MEMSET_DIVIDER 62 cmp r2, #16 141 cmp r3, r2 168 cmp r3, r2
|
D | memcpy.S | 57 cmp r2, #16 175 cmp r2, #16 181 cmp r2, #NEON_MEMCPY_ALIGNMENT_DIVIDER 360 cmp r2, #4 399 cmp r3, r2 504 cmp r2, #4 533 cmp r2, #4 544 cmp r2, #4 557 cmp r12, #24 559 cmp r12, #8 [all …]
|
D | memcmp.S | 48 cmp r0, r1 58 cmp r2, #(8+4) 106 cmp r2, #(8+4) 224 cmp r2, #0 239 cmp r0, #2
|
D | strcpy.S | 101 cmp r2, #0 130 cmp r2, #0
|
D | memcmp16.S | 46 cmp r0, r1 61 cmp r2, #12
|
D | memcpy.a15.S | 316 cmp ip, #2 386 cmp ip, #2
|
/bionic/libc/arch-arm/generic/bionic/ |
D | strcmp.S | 94 cmp ip, r3 107 cmp r0, #1 151 cmp r2, #1 169 cmp t1, #2 177 cmp t1, w2, SHFT2LSB #8 186 cmp t1, w2, SHFT2MSB #24 227 cmp t1, w2, SHFT2LSB #16 234 cmp t1, w2, SHFT2MSB #16 270 cmp t1, w2, SHFT2LSB #24 279 cmp t1, w2, SHFT2MSB #8 [all …]
|
D | memcpy.S | 57 cmp r2, #4 96 cmp r3, r2 201 cmp r2, #4 230 cmp r2, #4 241 cmp r2, #4 254 cmp r12, #24 256 cmp r12, #8 344 cmp r2, #4 352 cmp r2, #4
|
D | memset.S | 50 cmp r3, r2 77 cmp r3, r2
|
/bionic/libc/arch-arm/cortex-a9/bionic/ |
D | strcmp.S | 109 cmp \reg, #0 118 cmp \reg, #0 134 cmp \w1, \w2 /* Are w1 and w2 the same? */ 296 cmp r7, ip, S2HIMEM #\offsetlo 302 cmp ip, #0 352 cmp r1, r2 388 cmp t1, #2 396 cmp t1, w2, S2LOMEM #8 405 cmp t1, w2, S2HIMEM #24 446 cmp t1, w2, S2LOMEM #16 [all …]
|
D | memset.S | 47 cmp r2, #132 93 cmp r3, r2 120 cmp r3, r2
|
D | memcpy.S | 51 cmp r2, #16 61 cmp r2, #224
|
/bionic/libc/arch-arm/krait/bionic/ |
D | strcmp.S | 109 cmp \reg, #0 118 cmp \reg, #0 134 cmp \w1, \w2 /* Are w1 and w2 the same? */ 296 cmp r7, ip, S2HIMEM #\offsetlo 302 cmp ip, #0 317 cmp ip, #2 365 cmp r1, r2 410 cmp t1, w2, S2LOMEM #16 417 cmp t1, w2, S2HIMEM #16 462 cmp r0, #1
|
/bionic/libc/arch-arm/cortex-a15/bionic/ |
D | strcmp.S | 109 cmp \reg, #0 118 cmp \reg, #0 134 cmp \w1, \w2 /* Are w1 and w2 the same? */ 296 cmp r7, ip, S2HIMEM #\offsetlo 302 cmp ip, #0 317 cmp ip, #2 366 cmp r1, r2
|
D | memset.S | 53 cmp r2, #16
|
D | memcpy.S | 53 cmp r2, #16
|