Searched refs:cmp (Results 1 - 25 of 60) sorted by relevance

123

/darwin-on-arm/xnu/bsd/kern/
H A Dqsort.c71 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 DIOSharedLock.s54 cmp r1, #0
/darwin-on-arm/xnu/libsyscall/custom/
H A D__getpid.s120 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.s145 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.s112 cmp r1, #0 // parent (r1=0) or child(r1=1)
/darwin-on-arm/xnu/osfmk/arm/crt/
H A Dudivsi3.s16 cmp r1, #0
24 cmp r3, #31
45 cmp r4, r5
H A Dudivmoddi4.s31 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 Datomic.s52 cmp r3, r12
H A Dbcopy.s44 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 Dbzero.s61 cmp r1, #0
65 cmp r1, #32
73 cmp r1, #64
106 cmp r1, #16
157 cmp r1, #64
H A Dmemcmp.s88 cmp r3, ip
/darwin-on-arm/xnu/osfmk/arm64/
H A Dmemset.s79 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 Dmemmove.s67 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 Datomics.s50 cmp w3, w4
/darwin-on-arm/xnu/libkern/zlib/arm/
H A DinffastS.s161 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 Dtime.h173 #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 DOSAtomic.s70 cmp r4, #0
94 cmp r3, #0
/darwin-on-arm/xnu/bsd/net/
H A Dbsd_comp.c182 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 Ddlil.h77 #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 Dkxld_dict.c79 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 Dkxld_dict.h64 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 Dtree.h143 #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 Dmkext.c205 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 Dcache.s109 cmp r2, #0
129 cmp r2, #0
H A Dvfp.s108 cmp r0, #0

Completed in 118 milliseconds

123