Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 30) 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.h188 inline status_t sort(compar_t cmp);
189 inline status_t sort(compar_r_t cmp, void* state);
387 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_t cmp) { in sort() argument
388 return VectorImpl::sort(reinterpret_cast<VectorImpl::compar_t>(cmp)); in sort()
392 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { in sort() argument
393 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/logd/
DLogWhiteBlackList.h34 int cmp(uid_t uid, pid_t pid) const;
49 int cmp(LogBufferElement* e) const { in cmp() function
50 return cmp(e->getUid(), e->getPid()); in cmp()
DLogWhiteBlackList.cpp29 int Prune::cmp(uid_t uid, pid_t pid) const { in cmp() function in Prune
256 if (!(*it).cmp(element)) { in naughty()
266 if (!(*it).cmp(element)) { in nice()
/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/
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/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/libcutils/arch-x86/
Dandroid_memset32.S143 cmp $16, %ecx
245 cmp $128, %ecx
268 cmp %ebx, %ecx
274 cmp $DATA_CACHE_SIZE, %ecx
280 cmp __x86_data_cache_size@GOTOFF(%ebx), %ecx
284 cmp __x86_data_cache_size, %ecx
336 cmp $128, %ecx
365 cmp $0x80, %ebx
367 cmp $0x80, %ecx
382 cmp $0x80, %ecx
Dandroid_memset16.S145 cmp $32, %ecx
330 cmp $128, %ecx
353 cmp %ebx, %ecx
360 cmp $DATA_CACHE_SIZE, %ecx
366 cmp __x86_data_cache_size@GOTOFF(%ebx), %ecx
370 cmp __x86_data_cache_size, %ecx
422 cmp $128, %ecx
451 cmp $0x80, %ebx
453 cmp $0x80, %ecx
467 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/libpackagelistparser/
Dpackagelistparser.c63 size_t cmp = 0; in parse_gids() local
67 if (cmp > *cnt) { in parse_gids()
85 gid_list[cmp++] = gid; in parse_gids()
/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
/system/keymaster/
DAndroid.bp45 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
135 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
182 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
221 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
268 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
309 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"
/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/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/gatekeeper/
DAndroid.bp41 clang_cflags: ["-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp"],
/system/sepolicy/tests/
DFcSort.py117 Fc.sort(cmp=compare)
/system/extras/perfprofd/scripts/
Dperf_proto_stack.py436 cmp=lambda x, y: cmp(x[1], y[1]),

12