/system/core/libutils/include/utils/ |
D | FastStrcmp.h | 42 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()
|
D | Vector.h | 186 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()
|
D | VectorImpl.h | 95 status_t sort(compar_t cmp); 96 status_t sort(compar_r_t cmp, void* state);
|
/system/libufdt/sysdeps/ |
D | libufdt_sysdeps_vendor.c | 93 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/keymint/common/src/tag/ |
D | legacy.rs | 5 use core::cmp::Ordering; 515 (KeyParam::Purpose(l), KeyParam::Purpose(r)) => l.cmp(r), in param_compare() 516 (KeyParam::Algorithm(l), KeyParam::Algorithm(r)) => l.cmp(r), in param_compare() 517 (KeyParam::KeySize(l), KeyParam::KeySize(r)) => l.cmp(r), in param_compare() 518 (KeyParam::BlockMode(l), KeyParam::BlockMode(r)) => l.cmp(r), in param_compare() 519 (KeyParam::Digest(l), KeyParam::Digest(r)) => l.cmp(r), in param_compare() 520 (KeyParam::Padding(l), KeyParam::Padding(r)) => l.cmp(r), in param_compare() 522 (KeyParam::MinMacLength(l), KeyParam::MinMacLength(r)) => l.cmp(r), in param_compare() 523 (KeyParam::EcCurve(l), KeyParam::EcCurve(r)) => l.cmp(r), in param_compare() 524 (KeyParam::RsaPublicExponent(l), KeyParam::RsaPublicExponent(r)) => l.cmp(r), in param_compare() [all …]
|
/system/extras/simpleperf/scripts/test/ |
D | binary_cache_builder_test.py | 49 self.assertTrue(filecmp.cmp(target_file, source_file)) 54 self.assertTrue(filecmp.cmp(target_file, source_file)) 59 self.assertTrue(filecmp.cmp(target_file, source_file)) 68 self.assertTrue(filecmp.cmp(target_file, source_file)) 70 self.assertTrue(filecmp.cmp(target_file, source_file)) 89 self.assertTrue(filecmp.cmp(target_file, source_file)) 128 self.assertTrue(filecmp.cmp(target_file, debug_file))
|
/system/tools/aidl/build/ |
D | go.mod | 17 replace github.com/google/go-cmp v0.5.5 => ../../../../external/go-cmp 19 // Indirect dep from go-cmp
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 39 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/sepolicy/build/soong/ |
D | go.mod | 18 replace github.com/google/go-cmp v0.5.5 => ../../../../external/go-cmp 20 // Indirect dep from go-cmp
|
/system/update_engine/scripts/ |
D | paycheck_unittest.py | 87 self.assertTrue(filecmp.cmp(self._kernel_part, self._new_kernel)) 88 self.assertTrue(filecmp.cmp(self._root_part, self._new_root)) 101 self.assertTrue(filecmp.cmp(self._kernel_part, self._new_kernel)) 102 self.assertTrue(filecmp.cmp(self._root_part, self._new_root))
|
D | simulate_ota.py | 140 if filecmp.cmp(expected_part, actual_part):
|
D | paycheck.py | 279 if not filecmp.cmp(out_dst_part.name, dst_part):
|
/system/tools/hidl/build/ |
D | go.mod | 22 replace github.com/google/go-cmp v0.5.5 => ../../../../external/go-cmp 24 // Indirect dep from go-cmp
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 362 filecmp.cmp(vendor_boot_img, vendor_boot_img_reconstructed), 414 filecmp.cmp(vendor_boot_img, vendor_boot_img_reconstructed), 453 filecmp.cmp(boot_img, boot_img_reconstructed), 494 filecmp.cmp(boot_img, boot_img_reconstructed), 558 filecmp.cmp(boot_img, boot_img_reconstructed), 614 filecmp.cmp(boot_img, boot_img_reconstructed), 676 filecmp.cmp(boot_img, boot_img_reconstructed), 834 filecmp.cmp(vendor_boot_img, vendor_boot_img_reconstructed),
|
/system/core/shell_and_utilities/ |
D | README.md | 54 chcon chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut 88 chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date 122 chgrp chmod chown chroot chrt cksum clear cmp comm cp cpio cut date 156 chown chroot chrt cksum clear cmp comm cp cpio cut date dd **devmem** 188 chmod chown chroot chrt cksum clear cmp comm cp cpio cut date dd df 220 chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg 245 chroot chrt cksum clear cmp comm cp cpio cut date df **diff** dirname dmesg 269 chown chroot cksum clear comm cmp cp cpio cut date **df** dirname dmesg 291 chroot cksum clear comm cmp cp cpio cut date dirname dmesg dos2unix echo 307 toolbox: chcon chmod clear cmp date df dmesg getenforce getevent getprop [all …]
|
/system/media/audio_utils/tests/ |
D | build_and_run_biquad_filter.sh | 38 adb shell cmp $testdir/sinesweep_2.raw \
|
/system/chre/util/tests/ |
D | priority_queue_test.cc | 186 auto cmp = [](const FakeElement &left, const FakeElement &right) { in TEST() local 189 PriorityQueue<FakeElement, decltype(cmp)> q(cmp); in TEST()
|
/system/core/libutils/ |
D | VectorImpl.cpp | 165 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/security/keystore2/src/ |
D | watchdog.rs | 21 cmp::min, 133 overdue_records.sort_unstable_by(|(_, r1), (_, r2)| r1.started.cmp(&r2.started)); in log_report() 148 groups.sort_by(|v1, v2| v1.last().unwrap().1.started.cmp(&v2.last().unwrap().1.started)); in log_report()
|
D | apc.rs | 19 cmp::PartialEq,
|
/system/gatekeeper/ |
D | Android.bp | 36 "-fno-sanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp",
|
/system/extras/perf_tools/bats/ |
D | lcan.py | 678 if args.cmp!=None: 681 if (len(args.cmp)>2): 682 if (args.cmp[2].find("all")!=-1): 684 compare.compareFiles(args.cmp[0], args.cmp[1], printAll)
|
/system/keymint/hal/src/ |
D | keymint.rs | 362 let batch_len = core::cmp::min(Self::MAX_DATA_SIZE, input.len()); in updateAad() 391 let batch_len = core::cmp::min(Self::MAX_DATA_SIZE, input.len()); in update()
|
/system/sepolicy/tools/ |
D | check_seapp.c | 1047 map_match cmp; in rule_add() local 1069 cmp = rule_map_cmp(rm, tmp->r); in rule_add() 1073 map_match_str[cmp]); in rule_add()
|
/system/apex/ |
D | pylintrc | 69 cmp-builtin, 70 cmp-method, 151 using-cmp-argument,
|