Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 28) sorted by relevance

12

/system/core/libpixelflinger/tests/arch-arm64/assembler/
Dasm_test_jacket.S54 cmp w0, #1
56 cmp w0,#1
62 cmp w0, #1
64 cmp w0,#2
70 cmp w0, #1
72 cmp w0,#0
78 cmp w0, #1
80 cmp w0,#2
86 cmp w0, #1
94 cmp w0, #1
[all …]
/system/core/libutils/include/utils/
DFastStrcmp.h42 template <int (*cmp)(const char* l, const char* r, const size_t s)>
46 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp()
49 template <int (*cmp)(const char* l, const char* r, const size_t s)>
53 ((tolower(*l) != tolower(*r)) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fasticmp()
56 template <int (*cmp)(const void* l, const void* r, const size_t s)>
62 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp()
65 template <int (*cmp)(const char* l, const char* r)>
67 return (*l != *r) || (__predict_true(*l) && cmp(l + 1, r + 1)); in fastcmp()
70 template <int (*cmp)(const char* l, const char* r)>
72 return (tolower(*l) != tolower(*r)) || (__predict_true(*l) && cmp(l + 1, r + 1)); in fasticmp()
DVector.h186 inline status_t sort(compar_t cmp);
187 inline status_t sort(compar_r_t cmp, void* state);
385 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_t cmp) { in sort() argument
386 return VectorImpl::sort(reinterpret_cast<VectorImpl::compar_t>(cmp)); in sort()
390 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { in sort() argument
391 return VectorImpl::sort(reinterpret_cast<VectorImpl::compar_r_t>(cmp), state); in sort()
DVectorImpl.h95 status_t sort(compar_t cmp);
96 status_t sort(compar_r_t cmp, void* state);
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c93 int (*cmp)(const void *, const void *)) { in med3()
94 return cmp(a, b) < 0 ? (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a)) in med3()
95 : (cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c)); in med3()
99 int (*cmp)(const void *, const void *)) { in qsort()
108 for (pl = pm; pl > (char *)a && cmp(pl - es, pl) > 0; pl -= es) in qsort()
118 pl = med3(pl, pl + d, pl + 2 * d, cmp); in qsort()
119 pm = med3(pm - d, pm, pm + d, cmp); in qsort()
120 pn = med3(pn - 2 * d, pn - d, pn, cmp); in qsort()
122 pm = med3(pl, pm, pn, cmp); in qsort()
129 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in qsort()
[all …]
/system/core/libcutils/arch-arm64/
Dandroid_memset.S75 cmp A_lw, #0
80 cmp count, #64
83 cmp count, #15
89 cmp tmp1w, #0x20
132 cmp count, #63
153 cmp count, #63
161 cmp count, #63
166 cmp count, #128
177 cmp count, zva_len_x
185 cmp tmp1, #64
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp39 auto cmp = f(search); in Find() local
41 if (cmp == 0) return search; in Find()
42 if (cmp < 0) bottom = search + 1; in Find()
43 if (cmp > 0) top = search - 1; in Find()
73 int cmp = strncmp(child_name, name, namelen); in FindChildForString() local
74 if (cmp == 0 && child_name[namelen] != '\0') { in FindChildForString()
81 return cmp; in FindChildForString()
/system/core/libpixelflinger/arch-arm64/
Dt32cb16blend.S74 cmp w16, #0x1F
85 cmp w6, #0x3F
96 cmp w16, #0x1F
110 cmp w16, #0x1F
122 cmp w6, #0x3F
133 cmp w16, #0x1F
/system/core/libpixelflinger/
Dt32cb16blend.S62 cmp lr, #0x1F
72 cmp r6, #0x3F
82 cmp lr, #0x1F
95 cmp lr, #0x1F
106 cmp r6, #0x3F
116 cmp lr, #0x1F
/system/core/libcutils/arch-x86/
Dandroid_memset32.S145 cmp $16, %ecx
247 cmp $128, %ecx
270 cmp %ebx, %ecx
276 cmp $DATA_CACHE_SIZE, %ecx
282 cmp __x86_data_cache_size@GOTOFF(%ebx), %ecx
286 cmp __x86_data_cache_size, %ecx
338 cmp $128, %ecx
367 cmp $0x80, %ebx
369 cmp $0x80, %ecx
384 cmp $0x80, %ecx
Dandroid_memset16.S147 cmp $32, %ecx
332 cmp $128, %ecx
355 cmp %ebx, %ecx
362 cmp $DATA_CACHE_SIZE, %ecx
368 cmp __x86_data_cache_size@GOTOFF(%ebx), %ecx
372 cmp __x86_data_cache_size, %ecx
424 cmp $128, %ecx
453 cmp $0x80, %ebx
455 cmp $0x80, %ecx
469 cmp $0x80, %ecx
/system/core/libcutils/arch-x86_64/
Dandroid_memset32.S71 cmp $16, %rdx
169 cmp $128, %rdx
179 cmp $SHARED_CACHE_SIZE, %rdx
193 cmp $128, %rdx
206 cmp $128, %rdx
219 cmp $128, %rdx
232 cmp $128, %rdx
252 cmp $128, %rdx
Dandroid_memset16.S74 cmp $32, %rdx
249 cmp $128, %rdx
259 cmp $SHARED_CACHE_SIZE, %rdx
273 cmp $128, %rdx
286 cmp $128, %rdx
299 cmp $128, %rdx
312 cmp $128, %rdx
332 cmp $128, %rdx
/system/core/libcutils/arch-arm/
Dmemset32.S41 cmp r2, #1
67 cmp r3, r2
/system/core/shell_and_utilities/
DREADME.md40 toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig
51 toolbox: chmod chown cmp date df dmesg getevent getprop hd id ifconfig
62 toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent
74 toolbox: chcon chmod chown clear cmp date df dmesg getenforce getevent
86 toolbox: chcon chmod clear cmp date df dmesg getenforce getevent getprop
102 chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo
122 chown chroot cksum clear comm cmp cp cpio cut date df dirname dmesg
144 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg
170 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg
196 chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df
[all …]
/system/media/audio_utils/tests/
Dbuild_and_run_biquad_filter.sh38 adb shell cmp $testdir/sinesweep_2.raw \
/system/chre/util/tests/
Dpriority_queue_test.cc170 auto cmp = [](const DummyElement& left, const DummyElement& right) { in TEST() local
173 PriorityQueue<DummyElement, decltype(cmp)> q(cmp); in TEST()
/system/core/libutils/
DVectorImpl.cpp165 status_t VectorImpl::sort(VectorImpl::compar_t cmp) in sort() argument
167 return sort(sortProxy, (void*)cmp); in sort()
170 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) in sort() argument
183 if (cmp(curr, item, state) > 0) { in sort()
210 } while (j>=0 && (cmp(curr, temp, state) > 0)); in sort()
/system/gatekeeper/
DAndroid.bp42 clang_cflags: ["-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"],
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h89 const int cmp = std::memcmp(v6a.s6_addr, v6b.s6_addr, IPV6_ADDR_LEN); member
90 if (cmp != 0) return cmp < 0;
/system/sepolicy/tests/
Dfc_sort.py120 Fc.sort(cmp=compare)
/system/update_engine/scripts/
Dpaycheck.py284 if not filecmp.cmp(out_dst_part.name, dst_part):
Dbrillo_update_payload858 if ! cmp "${TMP_PARTITIONS[${part}]}" "${DST_PARTITIONS[${part}]}"; then
/system/sepolicy/tools/
Dcheck_seapp.c997 map_match cmp; in rule_add() local
1019 cmp = rule_map_cmp(rm, tmp->r); in rule_add()
1023 map_match_str[cmp]); in rule_add()
/system/extras/simpleperf/scripts/
Dtest.py1537 self.assertTrue(filecmp.cmp(target_file, source_file))
1542 self.assertTrue(filecmp.cmp(target_file, source_file))
1547 self.assertTrue(filecmp.cmp(target_file, source_file))
1556 self.assertTrue(filecmp.cmp(target_file, source_file))
1558 self.assertTrue(filecmp.cmp(target_file, source_file))

12