Searched defs:cmp (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h92 int cmp = memcmp(text, rhs.text, len); local
93 if (cmp < 0) return true;
94 if (cmp == 0 && rhs.positions != NULL) {
/frameworks/native/libs/utils/
H A DVectorImpl.cpp160 status_t VectorImpl::sort(VectorImpl::compar_t cmp) argument
162 return sort(sortProxy, (void*)cmp);
165 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) argument
178 if (cmp(curr, item, state) > 0) {
202 } while (j>=0 && (cmp(curr, temp, state) > 0));
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java680 private static void cmp(int vlen, int[] v, int[] correct, String name) { method in class:EventRecurrenceTest
753 cmp(eventRecurrence.bysecondCount, eventRecurrence.bysecond, bysecond, "bysecond");
754 cmp(eventRecurrence.byminuteCount, eventRecurrence.byminute, byminute, "byminute");
755 cmp(eventRecurrence.byhourCount, eventRecurrence.byhour, byhour, "byhour");
756 cmp(eventRecurrence.bydayCount, eventRecurrence.byday, byday, "byday");
757 cmp(eventRecurrence.bydayCount, eventRecurrence.bydayNum, bydayNum, "bydayNum");
758 cmp(eventRecurrence.bymonthdayCount, eventRecurrence.bymonthday, bymonthday, "bymonthday");
759 cmp(eventRecurrence.byyeardayCount, eventRecurrence.byyearday, byyearday, "byyearday");
760 cmp(eventRecurrence.byweeknoCount, eventRecurrence.byweekno, byweekno, "byweekno");
761 cmp(eventRecurrenc
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.cpp149 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); local
150 if (cmp >= 0) {
151 if (cmp > 0) {
/frameworks/native/include/utils/
H A DVector.h168 inline status_t sort(compar_t cmp);
169 inline status_t sort(compar_r_t cmp, void* state);
370 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_t cmp) { argument
371 return VectorImpl::sort((VectorImpl::compar_t)cmp);
375 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { argument
376 return VectorImpl::sort((VectorImpl::compar_r_t)cmp, state);
/frameworks/native/services/sensorservice/
H A DSensorService.cpp340 static int cmp(void const* lhs, void const* rhs) { function in struct:android::compar
346 qsort(buffer, count, sizeof(sensors_event_t), compar::cmp);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp382 int cmp = p.compare(q); local
383 if (g.deleted || cmp < 0) {
390 else if (cmp > 0) {
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp854 int cmp = CompareSampleLocation(sampleInfo, mdatInfo); local
856 if (cmp < 0 && !mSource->isSeekable()) {
858 } else if (cmp == 0) {
895 int cmp = CompareSampleLocation(sampleInfo, mdatInfo); local
897 if (cmp <= 0) {
/frameworks/base/services/java/com/android/server/pm/
H A DSettings.java2393 private String compToString(HashSet<String> cmp) { argument
2394 return cmp != null ? Arrays.toString(cmp.toArray()) : "[]";
2655 HashSet<String> cmp = ps.getDisabledComponents(user.id);
2656 if (cmp != null && cmp.size() > 0) {
2658 for (String s : cmp) {
2662 cmp = ps.getEnabledComponents(user.id);
2663 if (cmp != null && cmp
[all...]

Completed in 1189 milliseconds