Searched defs:cmp (Results 1 - 21 of 21) sorted by path

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp561 int32_t cmp = mTrackType - rhs.mTrackType; local
562 if (cmp != 0) return cmp;
/frameworks/av/services/camera/libcameraservice/utils/
H A DTagMonitor.cpp136 int cmp = memcmp(entry.data.u8, lastEntry.data.u8, entryBytes); local
137 if (cmp != 0) {
/frameworks/base/cmds/incident/
H A Dmain.cpp107 int cmp = strcmp(section->name, name); local
108 if (cmp < 0) {
110 } else if (cmp > 0) {
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp390 int cmp = p.compare(q); local
391 if (cmp < 0) {
396 } else if (cmp > 0) {
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp147 auto cmp = [](const Vector2& a, const Vector2& b) -> bool { local
150 std::sort(points, points + pointsLength, cmp);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java4377 private String compToString(ArraySet<String> cmp) { argument
4378 return cmp != null ? Arrays.toString(cmp.toArray()) : "[]";
4884 ArraySet<String> cmp = ps.getDisabledComponents(user.id);
4885 if (cmp != null && cmp.size() > 0) {
4887 for (String s : cmp) {
4891 cmp = ps.getEnabledComponents(user.id);
4892 if (cmp != null && cmp
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp676 int cmp = compare_type(type, o.type); local
677 if (cmp < 0) {
679 } else if (cmp > 0) {
H A DStringPool.cpp172 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); local
173 if (cmp >= 0) {
174 if (cmp > 0) {
/frameworks/base/tools/aapt2/
H A DResource.h280 int cmp = package.compare(other.package); local
281 if (cmp != 0) return cmp;
282 cmp = static_cast<int>(type) - static_cast<int>(other.type);
283 if (cmp != 0) return cmp;
284 cmp = entry.compare(other.entry);
285 return cmp;
H A DResourceTable.cpp137 int cmp = lhs->config.compare(*rhs.config); local
138 if (cmp == 0) {
139 cmp = StringPiece(lhs->product).compare(rhs.product);
141 return cmp < 0;
H A DSource.h65 int cmp = lhs.path.compare(rhs.path); local
66 if (cmp < 0) return true;
67 if (cmp > 0) return false;
H A DStringPool.cpp288 const std::function<bool(const Entry&, const Entry&)>& cmp) {
291 [&cmp](const std::unique_ptr<Entry>& a,
292 const std::unique_ptr<Entry>& b) -> bool { return cmp(*a, *b); });
287 Sort( const std::function<bool(const Entry&, const Entry&)>& cmp) argument
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h54 auto cmp = [](const std::pair<TKey, TValue>& candidate, local
60 auto iter = std::lower_bound(data_.begin(), end_iter, key, cmp);
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h282 int cmp = namespace_uri.compare(rhs.namespace_uri); local
283 if (cmp != 0) return cmp;
307 int cmp = attr.namespace_uri.compare(
309 if (cmp < 0) return true;
310 if (cmp > 0) return false;
311 cmp = attr.name.compare(0, attr.name.size(), rhs.second.data(),
313 if (cmp < 0) return true;
/frameworks/base/tools/incident_report/
H A Dformatter.cpp59 int cmp = strncmp(full, package, packageLen); local
60 if (cmp == 0) {
61 cmp = full[packageLen] - '.';
62 if (cmp == 0) {
66 return cmp;
79 int cmp = compare_name(name, get_string(msg->package_name), get_string(msg->package_name)); local
80 if (cmp < 0) {
82 } else if (cmp > 0) {
/frameworks/base/tools/split-select/
H A DSplitDescription.cpp34 int cmp; local
35 cmp = (int)abi - (int)rhs.abi;
36 if (cmp != 0) return cmp;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/native/cmds/installd/
H A DCacheTracker.cpp179 auto cmp = [](std::shared_ptr<CacheItem> left, std::shared_ptr<CacheItem> right) { local
190 std::stable_sort(items.begin(), items.end(), cmp);
H A DInstalldNativeService.cpp997 auto cmp = [](std::shared_ptr<CacheTracker> left, std::shared_ptr<CacheTracker> right) { local
1001 std::vector<std::shared_ptr<CacheTracker>>, decltype(cmp)> queue(cmp);
/frameworks/native/services/sensorservice/
H A DSensorService.cpp779 static int cmp(void const* lhs, void const* rhs) { function in struct:android::compar
785 qsort(buffer, count, sizeof(sensors_event_t), compar::cmp);
/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...]

Completed in 4975 milliseconds