/darwin-on-arm/xnu/bsd/kern/ |
H A D | qsort.c | 71 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)); 115 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) 117 return cmp(a, b) < 0 ? 118 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a )) 119 :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c )); 124 qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void *)) 134 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; 145 pl = med3(pl, pl + d, pl + 2 * d, cmp); [all...] |
/darwin-on-arm/xnu/iokit/Kernel/arm/ |
H A D | IOSharedLock.s | 54 cmp r1, #0
|
/darwin-on-arm/xnu/libsyscall/custom/ |
H A D | __getpid.s | 120 cmp r0, #0 127 cmp r2, #0 // we can't if there are any... 133 cmp r2, r1 // anyone else trying to look? 135 cmp r2, #0 // see if we can cache it
|
H A D | __vfork.s | 145 cmp r2, #0 151 cmp r1, r2 // anyone else trying to look? 162 cmp r1, #0 // parent (r1=0) or child(r1=1) 184 cmp r2, #0 188 cmp r1, r2 // anyone else trying to look?
|
H A D | __fork.s | 112 cmp r1, #0 // parent (r1=0) or child(r1=1)
|
/darwin-on-arm/xnu/osfmk/arm/crt/ |
H A D | udivsi3.s | 16 cmp r1, #0
24 cmp r3, #31
45 cmp r4, r5
|
H A D | udivmoddi4.s | 31 cmp r3, #0
33 cmp r6, #0
44 cmp r6, #0
50 cmp r1, #0
53 cmp r2, #0
55 cmp r6, #0
74 cmp r6, #0
87 cmp r6, #0
102 cmp r3, #30
116 cmp r [all...] |
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | atomic.s | 52 cmp r3, r12
|
H A D | bcopy.s | 44 cmp r2, #0 55 cmp r3, r2 /* if distance(src, dest) < len, we have overlap */ 61 cmp r12, r1, lsl #30 65 cmp r2, #64 107 cmp r2, #16 157 cmp r2, #64 184 cmp r2, #4 196 cmp r2, #16 202 cmp r0, r1 /* if dest > src */ 207 cmp r [all...] |
H A D | bzero.s | 61 cmp r1, #0 65 cmp r1, #32 73 cmp r1, #64 106 cmp r1, #16 157 cmp r1, #64
|
H A D | memcmp.s | 88 cmp r3, ip
|
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | memset.s | 79 cmp count, #64 82 cmp count, #15 88 cmp tmp1w, #0x20 134 cmp count, #63 156 cmp count, #63 164 cmp count, #63 169 cmp count, #128 199 cmp count, zva_len_x 207 cmp tmp1, #64
|
H A D | memmove.s | 67 cmp count, #64 69 cmp count, #15 81 cmp tmp1w, #0x20 140 cmp count, #63 195 cmp dstin, src 198 cmp dstin, tmp1 206 cmp count, #64 218 cmp tmp1w, #0x20 277 cmp count, #63 329 cmp dsti [all...] |
H A D | atomics.s | 50 cmp w3, w4
|
/darwin-on-arm/xnu/libkern/zlib/arm/ |
H A D | inffastS.s | 161 cmp bits, #15 // bits vs 15 202 cmp r2, #0 // op == 0 ? 213 cmp in, r1 // compare in vs last 230 cmp r3, r2 // compare last vs in 236 cmp out, ip // compare out vs end 264 cmp r2, bits // op vs bits 278 cmp bits, #14 328 cmp r2, bits // op vs bits 345 cmp r3, r1 // dist vs dmax 356 cmp r [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | time.h | 173 #define timercmp(tvp, uvp, cmp) \ 175 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \ 176 ((tvp)->tv_sec cmp (uvp)->tv_sec)) 196 #define timevalcmp(l, r, cmp) timercmp(l, r, cmp) /* freebsd */
|
/darwin-on-arm/xnu/libkern/arm/ |
H A D | OSAtomic.s | 70 cmp r4, #0 94 cmp r3, #0
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | bsd_comp.c | 182 static int bsd_decompress(void *state, struct mbuf *cmp, 852 bsd_decompress(state, cmp, dmpp) 854 struct mbuf *cmp, **dmpp; 875 rptr = mtod(cmp, u_char *); 879 len = cmp->m_len - PPP_HDRLEN; 883 cmp = cmp->m_next; 884 if (cmp == NULL) 886 rptr = mtod(cmp, u_char *); 887 len = cmp [all...] |
H A D | dlil.h | 77 #define net_timercmp(tvp, uvp, cmp) \ 79 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \ 80 ((tvp)->tv_sec cmp (uvp)->tv_sec))
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_dict.c | 79 kxld_dict_init(KXLDDict * dict, kxld_dict_hash hash, kxld_dict_cmp cmp, argument 88 check(cmp); 104 dict->cmp = cmp; 122 dict->cmp = NULL; 201 while (!dict->cmp(entry->key, key)) { 326 while (entry->state == USED && !dict->cmp(entry->key, key)) {
|
H A D | kxld_dict.h | 64 kxld_dict_cmp cmp; // Comparison function member in struct:kxld_dict 82 kxld_dict_cmp cmp, u_int num_entries)
|
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | tree.h | 143 #define SPLAY_PROTOTYPE(name, type, field, cmp) \ 156 if ((cmp)(elm, (head)->sph_root) == 0) \ 185 #define SPLAY_GENERATE(name, type, field, cmp) \ 194 __comp = (cmp)(elm, (head)->sph_root); \ 217 if ((cmp)(elm, (head)->sph_root) == 0) { \ 240 while ((__comp = (cmp)(elm, (head)->sph_root)) != 0) { \ 245 if ((cmp)(elm, __tmp) < 0){ \ 255 if ((cmp)(elm, __tmp) > 0){ \ 405 #define RB_PROTOTYPE(name, type, field, cmp) \ 419 #define RB_PROTOTYPE_SC(_sc_, name, type, field, cmp) \ [all...] |
/darwin-on-arm/xnu/libkern/ |
H A D | mkext.c | 205 int i, p, cmp; local 208 cmp = 1; 214 if (cmp >= 0) { 232 if ((cmp = key[i] - sp->text_buf[p + i]) != 0)
|
/darwin-on-arm/xnu/osfmk/arm/armv/ |
H A D | cache.s | 109 cmp r2, #0 129 cmp r2, #0
|
H A D | vfp.s | 108 cmp r0, #0
|