Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/xnu-11215/bsd/dev/arm64/
H A Dcpu_memcmp_mask.s71 eor.16b v0, v0, v1
72 and.16b v0, v0, v2
73 umaxv b0, v0.16b
98 eor.16b v0, v0, v2
99 eor.16b v1, v1, v3
100 and.16b v0, v0, v4
101 and.16b v1, v1, v5
102 orr.16b v0, v0, v1
103 umaxv b0, v0.16b
128 eor.16b v0, v0, v3
[all …]
/xnu-11215/tools/tests/perf_index/
H A Dmd5.c24 #define FF(a, b, c, d, M, s, t) \ argument
25 a = (a + F(b,c,d) + M + t); a = CC_ROLc(a, s) + b;
27 #define GG(a, b, c, d, M, s, t) \ argument
28 a = (a + G(b,c,d) + M + t); a = CC_ROLc(a, s) + b;
30 #define HH(a, b, c, d, M, s, t) \ argument
31 a = (a + H(b,c,d) + M + t); a = CC_ROLc(a, s) + b;
33 #define II(a, b, c, d, M, s, t) \ argument
34 a = (a + I(b,c,d) + M + t); a = CC_ROLc(a, s) + b;
39 uint32_t i, W[16], a, b, c, d; in md5_compress() local
51 b = s[1]; in md5_compress()
[all …]
/xnu-11215/bsd/netinet/
H A Dtcp_seq.h72 #define SEQ_LT(a, b) ((int)((a)-(b)) < 0) argument
73 #define SEQ_LEQ(a, b) ((int)((a)-(b)) <= 0) argument
74 #define SEQ_GT(a, b) ((int)((a)-(b)) > 0) argument
75 #define SEQ_GEQ(a, b) ((int)((a)-(b)) >= 0) argument
77 #define SEQ_MIN(a, b) ((SEQ_LT(a, b)) ? (a) : (b)) argument
78 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b)) argument
81 #define TSTMP_LT(a, b) ((int)((a)-(b)) < 0) argument
82 #define TSTMP_GT(a, b) ((int)((a)-(b)) > 0) argument
83 #define TSTMP_LEQ(a, b) ((int)((a)-(b)) <= 0) argument
91 #define CC_LT(a, b) ((int)((a)-(b)) < 0) argument
[all …]
/xnu-11215/bsd/net/
H A Dflowhash.c396 b -= a; b ^= ROTL32(a, 6); a += c; \
397 c -= b; c ^= ROTL32(b, 8); b += a; \
399 b -= a; b ^= ROTL32(a, 19); a += c; \
400 c -= b; c ^= ROTL32(b, 4); b += a; \
404 c ^= b; c -= ROTL32(b, 14); \
406 b ^= a; b -= ROTL32(a, 25); \
407 c ^= b; c -= ROTL32(b, 16); \
409 b ^= a; b -= ROTL32(a, 14); \
410 c ^= b; c -= ROTL32(b, 24); \
801 b += k[4];
[all …]
/xnu-11215/osfmk/arm64/
H A Dstrncmp.s79 b.eq L_s1aligned
86 b.ne 0b // continue loop if non-zero
115 b.eq 2f
131 uminv.16b b1, v0
135 b.ne 1b
149 b.ne 2b
154 b 0b
164 b.lo L_scalar
174 uminv.16b b1, v0
178 b.hi 0b
[all …]
H A Dlz4_encode_arm64.s82 b.lt L_done
126 b L_found_valid_match
147 b L_found_valid_match
255 b.lo L_done
261 b.lo L_done
283 b.lo L_done
289 b.lo L_done
319 b.lo L_hash_match
343 b.mi L_done
372 b L_done
[all …]
H A DWKdmDecompress_16k.s167 b.ne 1b
177 b.ne 2b
178 b L_done
256 b.le 1f
302 b.eq 1f
324 b.eq 1f
338 b.eq 2f
340 b 1f
356 b L_next
373 b.eq L_MISS_TAG
[all …]
H A DWKdmDecompress_4k.s167 b.ne 1b
177 b.ne 2b
178 b L_done
256 b.le 1f
302 b.eq 1f
324 b.eq 1f
338 b.eq 2f
340 b 1f
356 b L_next
373 b.eq L_MISS_TAG
[all …]
H A Dlz4_decode_arm64.s184 b L_expand_match
218 b L_decode_command
226 tbl v0.16b,{v0.16b},v1.16b // low 16 bytes of pattern
228 b L_decode_command
243 b.hi L_copy_long_match_32
253 tbl v0.16b,{v1.16b},v2.16b // low 16 bytes of pattern in q0
254 tbl v1.16b,{v1.16b},v3.16b // high 16 bytes of pattern in q1
267 b L_decode_command
277 b L_decode_command
287 b L_decode_command
[all …]
H A DWKdmCompress_4k.s294 b L_loop
361 orr.8b v0, v0, v1
391 b.eq 1f
394 b.eq 1f
397 b.eq 2f
489 b.gt L_loop
506 b.gt L_loop
540 b.ne 1f
543 b.ne 1f
601 b.ne 1b
[all …]
H A DWKdmCompress_16k.s296 b L_loop
363 orr.8b v0, v0, v1
393 b.eq 1f
396 b.eq 1f
399 b.eq 2f
491 b.gt L_loop
508 b.gt L_loop
542 b.ne 1f
545 b.ne 1f
603 b.ne 1b
[all …]
H A Dmemcmp_zero.s79 b.lo L_sizeIsSmall
93 b.ls L_cleanup
99 orr.16b v5, v5, v1
100 orr.16b v6, v6, v2
101 orr.16b v7, v7, v3
104 b.hi L_loop
115 orr.16b v5, v5, v1
116 orr.16b v6, v6, v2
117 orr.16b v7, v7, v3
120 orr.16b v6, v6, v7
[all …]
H A Dstrnlen.s77 b.mi _strlen
78 b.eq L_maxlenIsZero
98 orr.16b v0, v0, v1
102 b 1f
109 1: uminv.16b b1, v0
113 b.hi 0b
133 uminv.16b b1, v0
167 b 1f
178 1: uminv.16b b1, v0
180 cbnz w2, 0b
[all …]
/xnu-11215/tests/bounded_ptr_src/
H A Dcompare.order.raw.cpp80 check_eq(a, b); in tests()
89 check_eq(a, b); in tests()
98 check_lt(a, b); in tests()
107 check_eq(a, b); in tests()
116 check_lt(a, b); in tests()
127 check_eq(a, b); in tests()
136 check_eq(a, b); in tests()
145 check_eq(a, b); in tests()
154 check_lt(a, b); in tests()
161 check_eq(a, b); in tests()
[all …]
H A Dcompare.equal.raw.cpp58 check_eq(a, b); in tests()
67 check_eq(a, b); in tests()
76 check_ne(a, b); in tests()
85 check_eq(a, b); in tests()
94 check_ne(a, b); in tests()
105 check_eq(a, b); in tests()
114 check_eq(a, b); in tests()
123 check_eq(a, b); in tests()
132 check_ne(a, b); in tests()
139 check_eq(a, b); in tests()
[all …]
H A Darith.difference.cpp30 std::ptrdiff_t diff = a - b; in tests()
36 std::ptrdiff_t diff = a - b; in tests()
42 std::ptrdiff_t diff = a - b; in tests()
48 std::ptrdiff_t diff = a - b; in tests()
54 std::ptrdiff_t diff = a - b; in tests()
60 std::ptrdiff_t diff = a - b; in tests()
68 std::ptrdiff_t diff = a - b; in tests()
100 _assert(a - b == -2); in tests()
101 _assert(b - a == 2); in tests()
108 _assert(a - b == -2); in tests()
[all …]
H A Dcompare.equal.cpp61 check_eq(a, b); in tests()
66 check_ne(a, b); in tests()
71 check_ne(a, b); in tests()
76 check_ne(a, b); in tests()
81 check_eq(a, b); in tests()
88 check_ne(a, b); in tests()
93 check_eq(a, b); in tests()
101 check_eq(a, b); in tests()
107 check_ne(a, b); in tests()
113 check_eq(a, b); in tests()
[all …]
H A Dcompare.order.cpp77 check_eq(a, b); in tests()
82 check_lt(a, b); in tests()
87 check_lt(a, b); in tests()
92 check_lt(a, b); in tests()
97 check_eq(a, b); in tests()
104 check_lt(a, b); in tests()
109 check_eq(a, b); in tests()
117 check_eq(a, b); in tests()
123 check_lt(a, b); in tests()
129 check_eq(a, b); in tests()
[all …]
/xnu-11215/tests/
H A Dtest_strings.c48 T_COMPARE(a, sizeof(a), b, sizeof(b), 0);
49 T_COMPARE(b, sizeof(b), a, sizeof(a), 0);
52 T_COMPARE(a, sizeof(a), b, sizeof(b), 0);
53 T_COMPARE(b, sizeof(b), a, sizeof(a), 0);
85 T_COMPARE(b, sizeof(b), a, 0);
89 T_COMPARE(b, sizeof(b), a, 0);
107 T_COMPARE(b, sizeof(b) - 1, a, 0);
121 T_COMPARE(a, sizeof(a), b, sizeof(b), 0);
159 T_COMPARE(b, sizeof(b), a, 0);
163 T_COMPARE(b, sizeof(b), a, 0);
[all …]
/xnu-11215/libkern/kxld/tests/
H A Dkxld_dict_test.c49 void * b = NULL; in main() local
66 b = kxld_dict_find(&dict, "hi"); in main()
67 assert(b == NULL); in main()
73 assert(b && *(int*)b == a1); in main()
81 assert(b && *(int*)b == a2); in main()
90 assert(b == NULL); in main()
101 assert(b && *(int*)b == a1); in main()
103 assert(b && *(int*)b == a2); in main()
109 assert(b && *(int*)b == a1); in main()
111 assert(b == NULL); in main()
[all …]
/xnu-11215/bsd/libkern/
H A Dlibkern.h104 imax(int a, int b) in imax() argument
106 return a > b ? a : b; in imax()
109 imin(int a, int b) in imin() argument
111 return a < b ? a : b; in imin()
114 lmax(long a, long b) in lmax() argument
116 return a > b ? a : b; in lmax()
121 return a < b ? a : b; in lmin()
126 return a > b ? a : b; in max()
131 return a < b ? a : b; in min()
136 return a > b ? a : b; in ulmax()
[all …]
/xnu-11215/bsd/sys/
H A Dkdebug_kernel.h235 #define KDBG_(f, x, a, b, c, d, n, ...) KDBG##n(f, x, a, b, c, d) argument
238 #define KDBG2(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, 0, 0, 0) argument
239 #define KDBG3(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, c, 0, 0) argument
240 #define KDBG4(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, c, d, 0) argument
331 #define KERNEL_DEBUG_CONSTANT(x, a, b, c, d, e) do {} while (0) argument
343 #define KERNEL_DEBUG_CONSTANT_RELEASE(x, a, b, c, d, e) \ argument
372 #define KERNEL_DEBUG_EARLY(x, a, b, c, d) do {} while (0) argument
382 #define KERNEL_DEBUG_CONSTANT_DEBUG(x, a, b, c, d, e) \ argument
383 KERNEL_DEBUG(x, a, b, c, d, e)
412 #define KERNEL_DEBUG(x, a, b, c, d, e) do {} while (0) argument
[all …]
/xnu-11215/tests/safe_allocation_src/
H A Dswap.cpp23 T* b_mem = b.data(); in tests()
26 swap(a, b); // ADL call in tests()
31 CHECK(b.data() == a_mem); in tests()
33 CHECK(b.size() == 10); in tests()
43 swap(a, b); // ADL call in tests()
50 CHECK(b.size() == 10); in tests()
57 T* b_mem = b.data(); in tests()
60 swap(a, b); // ADL call in tests()
67 CHECK(b.size() == 0); in tests()
76 swap(a, b); // ADL call in tests()
[all …]
/xnu-11215/libkern/os/
H A Drefcnt_internal.h410 return os_ref_release_barrier_mask_internal(rc, 1u << b, grp) >> b; in os_ref_release_mask()
416 return os_ref_release_relaxed_mask_internal(rc, 1u << b, grp) >> b; in os_ref_release_relaxed_mask()
423 if (__improbable(val < 1u << b)) { in os_ref_release_live_raw_mask()
438 #define os_ref_retain_mask(rc, b, grp) (os_ref_retain_mask)((rc), (b), NULL) argument
439 #define os_ref_retain_acquire_mask(rc, b, grp) (os_ref_retain_acquire_mask)((rc), (b), NULL) argument
440 #define os_ref_retain_try_mask(rc, b, m, grp) (os_ref_retain_try_mask)((rc), (b), (m), NULL) argument
442 #define os_ref_release_mask(rc, b, grp) (os_ref_release_mask)((rc), (b), NULL) argument
443 #define os_ref_release_relaxed_mask(rc, b, grp) (os_ref_release_relaxed_mask)((rc), (b), NULL) argument
444 #define os_ref_release_raw_mask(rc, b, grp) (os_ref_release_raw_mask)((rc), (b), NULL) argument
446 #define os_ref_release_live_raw_mask(rc, b, grp) (os_ref_release_live_raw_mask)((rc), (b), NULL) argument
[all …]
/xnu-11215/libkern/libkern/
H A DOSAtomic.h85 #define OSCompareAndSwap64(a, b, c) \ argument
100 #define OSAddAtomic64(a, b) \ argument
147 #define OSAddAtomicLong(a, b) \ argument
202 #define OSCompareAndSwap8(a, b, c) \ argument
225 #define OSCompareAndSwap16(a, b, c) \ argument
250 #define OSCompareAndSwap(a, b, c) \ argument
272 #define OSCompareAndSwapPtr(a, b, c) \ argument
292 #define OSAddAtomic(a, b) \ argument
441 #define OSBitAndAtomic(a, b) \ argument
497 #define OSBitOrAtomic(a, b) \ argument
[all …]

12345678910>>...14