Home
last modified time | relevance | path

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

123

/frameworks/base/tools/incident_report/
Dformatter.cpp59 int cmp = strncmp(full, package, packageLen); in compare_name() local
60 if (cmp == 0) { in compare_name()
61 cmp = full[packageLen] - '.'; in compare_name()
62 if (cmp == 0) { in compare_name()
66 return cmp; in compare_name()
79 int cmp = compare_name(name, get_string(msg->package_name), get_string(msg->package_name)); in find_message_index() local
80 if (cmp < 0) { in find_message_index()
82 } else if (cmp > 0) { in find_message_index()
/frameworks/base/libs/androidfw/
DAssetDir.cpp47 int cmp; in findEntry()
50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
51 if (cmp == 0) { in findEntry()
54 } else if (cmp < 0) { in findEntry()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.h288 int cmp = namespace_uri.compare(rhs.namespace_uri); in compare() local
289 if (cmp != 0) return cmp; in compare()
313 int cmp = attr.namespace_uri.compare( in FindAttribute()
315 if (cmp < 0) return true; in FindAttribute()
316 if (cmp > 0) return false; in FindAttribute()
317 cmp = attr.name.compare(0, attr.name.size(), rhs.second.data(), in FindAttribute()
319 if (cmp < 0) return true; in FindAttribute()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java680 private static void cmp(int vlen, int[] v, int[] correct, String name) { in cmp() method in EventRecurrenceTest
753 cmp(eventRecurrence.bysecondCount, eventRecurrence.bysecond, bysecond, "bysecond"); in verifyRecurType()
754 cmp(eventRecurrence.byminuteCount, eventRecurrence.byminute, byminute, "byminute"); in verifyRecurType()
755 cmp(eventRecurrence.byhourCount, eventRecurrence.byhour, byhour, "byhour"); in verifyRecurType()
756 cmp(eventRecurrence.bydayCount, eventRecurrence.byday, byday, "byday"); in verifyRecurType()
757 cmp(eventRecurrence.bydayCount, eventRecurrence.bydayNum, bydayNum, "bydayNum"); in verifyRecurType()
758 cmp(eventRecurrence.bymonthdayCount, eventRecurrence.bymonthday, bymonthday, "bymonthday"); in verifyRecurType()
759 cmp(eventRecurrence.byyeardayCount, eventRecurrence.byyearday, byyearday, "byyearday"); in verifyRecurType()
760 cmp(eventRecurrence.byweeknoCount, eventRecurrence.byweekno, byweekno, "byweekno"); in verifyRecurType()
761 cmp(eventRecurrence.bymonthCount, eventRecurrence.bymonth, bymonth, "bymonth"); in verifyRecurType()
[all …]
/frameworks/base/tools/aapt2/
DResource.h298 int cmp = package.compare(other.package); in compare() local
299 if (cmp != 0) return cmp; in compare()
300 cmp = static_cast<int>(type) - static_cast<int>(other.type); in compare()
301 if (cmp != 0) return cmp; in compare()
302 cmp = entry.compare(other.entry); in compare()
303 return cmp; in compare()
DSource.h76 int cmp = lhs.path.compare(rhs.path); variable
77 if (cmp < 0) return true;
78 if (cmp > 0) return false;
DStringPool.cpp301 const std::function<int(const StringPool::Context&, const StringPool::Context&)>& cmp) { in SortEntries() argument
304 if (cmp != nullptr) { in SortEntries()
305 std::sort(entries.begin(), entries.end(), [&cmp](const UEntry& a, const UEntry& b) -> bool { in SortEntries()
306 int r = cmp(a->context, b->context); in SortEntries()
318 void StringPool::Sort(const std::function<int(const Context&, const Context&)>& cmp) { in Sort() argument
319 SortEntries(styles_, cmp); in Sort()
320 SortEntries(strings_, cmp); in Sort()
/frameworks/base/tools/split-select/
DSplitDescription.cpp34 int cmp; in compare() local
35 cmp = (int)abi - (int)rhs.abi; in compare()
36 if (cmp != 0) return cmp; in compare()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Datomic.rscript24 static bool testUCas(uint32_t dst, uint32_t cmp, uint32_t swp) {
27 uint32_t expect = (dst == cmp ? swp : dst);
28 uint32_t ret = rsAtomicCas(&dst, cmp, swp);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Datomic.rscript40 static bool testUCas(uint32_t dst, uint32_t cmp, uint32_t swp) {
43 uint32_t expect = (dst == cmp ? swp : dst);
44 uint32_t ret = rsAtomicCas(&dst, cmp, swp);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Datomic.rscript42 static bool testUCas(uint32_t dst, uint32_t cmp, uint32_t swp) {
45 uint32_t expect = (dst == cmp ? swp : dst);
46 uint32_t ret = rsAtomicCas(&dst, cmp, swp);
/frameworks/base/tools/aapt2/util/
DImmutableMap.h54 auto cmp = [](const std::pair<TKey, TValue>& candidate, in find()
60 auto iter = std::lower_bound(data_.begin(), end_iter, key, cmp); in find()
/frameworks/native/cmds/installd/
DCacheTracker.cpp175 auto cmp = [](std::shared_ptr<CacheItem> left, std::shared_ptr<CacheItem> right) { in loadItems() local
186 std::stable_sort(items.begin(), items.end(), cmp); in loadItems()
/frameworks/base/cmds/incident/
Dmain.cpp152 int cmp = strcmp(section->name, name); in find_section() local
153 if (cmp < 0) { in find_section()
155 } else if (cmp > 0) { in find_section()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java186 int cmp = Float.compare(lhs.getAverage(), rhs.getAverage()); in logTestResultHash()
187 if (cmp != 0) { in logTestResultHash()
188 return cmp; in logTestResultHash()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Resize.S129 1: cmp r2, r0
316 4: cmp lr, #8 / COMPONENT_COUNT - 1
323 cmp lr, #1
371 cmp lr, #0
411 cmp r10, r8
423 cmp lr, r1
433 cmp lr, #0
435 cmp r1, #0
DrsCpuIntrinsics_neon_Blur.S147 cmp r6, #\i
153 cmp r7, #\i
1404 cmp r10, #i+16
1423 cmp r11, #i+16
1438 cmp r11, #i
1536 cmp r12, #16
1585 cmp r4, r12
1596 cmp r5, r6
1641 cmp r3, #0
1758 cmp r6, r5
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
Dpvmp3_polyphase_filter_window_gcc.s142 cmp r4,#0x210
174 cmp r10,#0x10
203 cmp r3,#0x210
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh62 adb shell cmp \
/frameworks/ml/nn/tools/api/
Dgenerate_api.sh52 ${DRYRUN} cmp -s ${NDKDIR}/NeuralNetworks.h ${TEMPDIR}/NeuralNetworks.h || {
/frameworks/base/tests/JankBench/scripts/
Dcollect.py222 device_scores.sort(cmp=(lambda x, y: cmp(x[1], y[1])))
/frameworks/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests.sh111 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java89 final Class cmp = c.getComponentType(); in validateObjectIsPrimitiveArray() local
90 if (!cmp.isPrimitive()) { in validateObjectIsPrimitiveArray()
94 if (cmp == Long.TYPE) { in validateObjectIsPrimitiveArray()
102 if (cmp == Integer.TYPE) { in validateObjectIsPrimitiveArray()
110 if (cmp == Short.TYPE) { in validateObjectIsPrimitiveArray()
118 if (cmp == Byte.TYPE) { in validateObjectIsPrimitiveArray()
126 if (cmp == Float.TYPE) { in validateObjectIsPrimitiveArray()
133 if (cmp == Double.TYPE) { in validateObjectIsPrimitiveArray()
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.cpp158 int cmp = memcmp(entry.data.u8, lastEntry.data.u8, entryBytes); in monitorSingleMetadata() local
159 if (cmp != 0) { in monitorSingleMetadata()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastquant_inline.h208 cmp q_value, #0 in coeff_dequant()
304 cmp q_value, #0 in coeff_dequant()
384 cmp coeff, #0 in aan_dc_scale()

123