/frameworks/compile/mclinker/lib/Support/ |
D | CommandLine.cpp | 102 if (0 == Arg.compare("combreloc")) in parse() 104 else if (0 == Arg.compare("nocombreloc")) in parse() 106 else if (0 == Arg.compare("defs")) in parse() 108 else if (0 == Arg.compare("execstack")) in parse() 110 else if (0 == Arg.compare("noexecstack")) in parse() 112 else if (0 == Arg.compare("initfirst")) in parse() 114 else if (0 == Arg.compare("interpose")) in parse() 116 else if (0 == Arg.compare("loadfltr")) in parse() 118 else if (0 == Arg.compare("muldefs")) in parse() 120 else if (0 == Arg.compare("nocopyreloc")) in parse() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 184 assertTrue(PhoneNumberUtils.compare(null, null)); in testExtractNetworkPortion() 185 assertFalse(PhoneNumberUtils.compare(null, "123")); in testExtractNetworkPortion() 186 assertFalse(PhoneNumberUtils.compare("123", null)); in testExtractNetworkPortion() 268 assertFalse(PhoneNumberUtils.compare("", "")); in testCompare() 270 assertTrue(PhoneNumberUtils.compare("911", "911")); in testCompare() 271 assertFalse(PhoneNumberUtils.compare("911", "18005550911")); in testCompare() 272 assertTrue(PhoneNumberUtils.compare("5555", "5555")); in testCompare() 273 assertFalse(PhoneNumberUtils.compare("5555", "180055555555")); in testCompare() 275 assertTrue(PhoneNumberUtils.compare("+17005554141", "+17005554141")); in testCompare() 276 assertTrue(PhoneNumberUtils.compare("+17005554141", "+1 (700).555-4141")); in testCompare() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 111 private static boolean compare(Object v1, Object v2) { in compare() method in ArrayMapTests 131 if (!compare(expValue, gotValue)) { in compareMaps() 142 if (!compare(expValue, gotValue)) { in compareMaps() 235 if (!compare(entry, realEntry)) { in compareSets() 254 if (!compare(realValue, value)) { in validateArrayMap() 261 if (!compare(realValue, value)) { in validateArrayMap() 275 if (!compare(realValue, value)) { in validateArrayMap() 289 if (!compare(realValue, value)) { in validateArrayMap() 366 if (!compare(oldHash, oldArray)) { in run() 429 if (!compare(mapCopy, newMap)) { in run() [all …]
|
/frameworks/base/tools/aapt/ |
D | ConfigDescription.h | 52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; } 53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; } 54 inline bool operator==(const ConfigDescription& o) const { return compare(o) == 0; } 55 inline bool operator!=(const ConfigDescription& o) const { return compare(o) != 0; } 56 inline bool operator>=(const ConfigDescription& o) const { return compare(o) >= 0; } 57 inline bool operator>(const ConfigDescription& o) const { return compare(o) > 0; }
|
D | StringPool.h | 60 int compare(const entry& o) const; 62 inline bool operator<(const entry& o) const { return compare(o) < 0; } 63 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 64 inline bool operator==(const entry& o) const { return compare(o) == 0; } 65 inline bool operator!=(const entry& o) const { return compare(o) != 0; } 66 inline bool operator>=(const entry& o) const { return compare(o) >= 0; } 67 inline bool operator>(const entry& o) const { return compare(o) > 0; }
|
D | AaptAssets.h | 83 int compare(const AaptLocaleValue& other) const { in compare() function 87 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; } 88 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; } 89 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; } 90 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; } 91 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; } 92 inline bool operator>(const AaptLocaleValue& o) const { return compare(o) > 0; } 114 inline int compare(const AaptGroupEntry& o) const { return mParams.compareLogical(o.mParams); } in compare() function 115 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; } 116 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; } [all …]
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { in compare() method in UsbAccessory 107 return (compare(mManufacturer, accessory.getManufacturer()) && in equals() 108 compare(mModel, accessory.getModel()) && in equals() 109 compare(mDescription, accessory.getDescription()) && in equals() 110 compare(mVersion, accessory.getVersion()) && in equals() 111 compare(mUri, accessory.getUri()) && in equals() 112 compare(mSerial, accessory.getSerial())); in equals()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringEntry.h | 54 bool compare(const llvm::StringRef& pX) in compare() function 55 { return (0 == key().compare(pX)); } in compare() 57 bool compare(const llvm::StringRef& pX) const in compare() function 58 { return (0 == key().compare(pX)); } in compare() 108 bool compare(const llvm::StringRef& pX) in compare() function 109 { return (0 == key().compare(pX)); } in compare() 111 bool compare(const llvm::StringRef& pX) const in compare() function 112 { return (0 == key().compare(pX)); } in compare()
|
/frameworks/base/libs/hwui/utils/ |
D | Macros.h | 25 int compare(const Type& rhs) const { return memcmp(this, &rhs, sizeof(Type));} \ 26 bool operator==(const Type& other) const { return compare(other) == 0; } \ 27 bool operator!=(const Type& other) const { return compare(other) != 0; } \ 28 …inline int strictly_order_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs) < 0; } \ 29 … friend inline int compare_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs); } \
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 27 public int compare(NotificationRecord left, NotificationRecord right) { in compare() method in NotificationComparator 32 return -1 * Integer.compare(leftPackagePriority, rightPackagePriority); in compare() 39 return -1 * Integer.compare(leftScore, rightScore); in compare() 46 return -1 * Float.compare(leftPeople, rightPeople); in compare() 50 return -1 * Long.compare(left.getRankingTimeMs(), right.getRankingTimeMs()); in compare()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbAccessory.java | 154 private static boolean compare(String s1, String s2) { in compare() method in UsbAccessory 163 return (compare(mManufacturer, accessory.getManufacturer()) && in equals() 164 compare(mModel, accessory.getModel()) && in equals() 165 compare(mDescription, accessory.getDescription()) && in equals() 166 compare(mVersion, accessory.getVersion()) && in equals() 167 compare(mUri, accessory.getUri()) && in equals() 168 compare(mSerial, accessory.getSerial())); in equals()
|
/frameworks/base/libs/hwui/ |
D | RenderBufferCache.h | 93 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs); 96 return compare(*this, other) == 0; 100 return compare(*this, other) != 0; 105 return RenderBufferEntry::compare(lhs, rhs) < 0; in strictly_order_type() 110 return RenderBufferEntry::compare(lhs, rhs); in compare_type()
|
D | LayerCache.h | 112 static int compare(const LayerEntry& lhs, const LayerEntry& rhs); 115 return compare(*this, other) == 0; 119 return compare(*this, other) != 0; 123 return LayerEntry::compare(lhs, rhs) < 0; in strictly_order_type() 127 return LayerEntry::compare(lhs, rhs); in compare_type()
|
D | PatchCache.h | 107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs); 110 return compare(*this, other) == 0; 114 return compare(*this, other) != 0; 119 return PatchDescription::compare(lhs, rhs) < 0; in strictly_order_type() 124 return PatchDescription::compare(lhs, rhs); in compare_type()
|
D | TextDropShadowCache.h | 64 static int compare(const ShadowText& lhs, const ShadowText& rhs); 67 return compare(*this, other) == 0; 71 return compare(*this, other) != 0; 104 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type() 108 return ShadowText::compare(lhs, rhs); in compare_type()
|
D | GradientCache.h | 66 static int compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs); 69 return compare(*this, other) == 0; 73 return compare(*this, other) != 0; 95 return GradientCacheEntry::compare(lhs, rhs) < 0; in strictly_order_type() 99 return GradientCacheEntry::compare(lhs, rhs); in compare_type()
|
/frameworks/base/tools/split-select/ |
D | SplitDescription.h | 34 int compare(const SplitDescription& rhs) const; 51 return compare(rhs) < 0; 55 return compare(rhs) == 0; 59 return compare(rhs) != 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewScroller.java | 86 return Float.compare(prevStackScrollP, mStackScrollP) != 0; in setStackScrollToInitialState() 93 if (Float.compare(newScroll, curScroll) != 0) { in boundScroll() 103 if (Float.compare(newScroll, curScroll) != 0) { in boundScrollRaw() 127 return Float.compare(getScrollAmountOutOfBounds(mStackScrollP), 0f) != 0; in isScrollOutOfBounds() 134 if (Float.compare(newScroll, curScroll) != 0) { in animateBoundScroll()
|
D | TaskViewTransform.java | 67 return (Float.compare(alpha, v) != 0); in hasAlphaChangedFrom() 70 return (Float.compare(scale, v) != 0); in hasScaleChangedFrom() 73 return (Float.compare(translationY, v) != 0); in hasTranslationYChangedFrom() 76 return (Float.compare(translationZ, v) != 0); in hasTranslationZChangedFrom()
|
/frameworks/base/libs/hwui/font/ |
D | Font.h | 57 static int compare(const FontDescription& lhs, const FontDescription& rhs); 62 return compare(*this, other) == 0; 66 return compare(*this, other) != 0; 158 return Font::FontDescription::compare(lhs, rhs) < 0; in strictly_order_type() 162 return Font::FontDescription::compare(lhs, rhs); in compare_type()
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSInfo.cpp | 243 if (!relaxed_pragma.compare(pragma_key)) { in getFloatPrecisionRequirement() 245 } else if (!imprecise_pragma.compare(pragma_key)) { in getFloatPrecisionRequirement() 248 } else if (!full_pragma.compare(pragma_key)) { in getFloatPrecisionRequirement() 267 if (!relaxed_pragma.compare(precision_prop_buf)) { in getFloatPrecisionRequirement() 270 } else if (!imprecise_pragma.compare(precision_prop_buf)) { in getFloatPrecisionRequirement() 274 } else if (!full_pragma.compare(precision_prop_buf)) { in getFloatPrecisionRequirement()
|
/frameworks/base/core/java/android/widget/ |
D | AlphabetIndexer.java | 126 protected int compare(String word, String letter) { in compare() method in AlphabetIndexer 134 return mCollator.compare(firstLetter, letter); in compare() 212 int diff = compare(curName, targetLetter); in getPositionForSection() 265 if (compare(curName, targetLetter) == 0) { in getSectionForPosition()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | SortingCursorWrapper.java | 185 final int compare = DocumentInfo.compareToIgnoreCaseNullable(lhs, rhs); in binarySort() local 187 if (compare < 0) { in binarySort() 231 final int compare = Long.compare(lhs, rhs); in binarySort() local 232 if (compare > 0) { in binarySort()
|
/frameworks/av/media/libmedia/ |
D | StringArray.cpp | 88 void StringArray::sort(int (*compare)(const void*, const void*)) { in sort() 89 qsort(mArray, mCurrent, sizeof(char*), compare); in sort()
|
/frameworks/compile/libbcc/bcinfo/ |
D | MetadataExtractor.cpp | 230 if (!Relaxed.compare(mPragmaKeyList[i])) { in populatePragmaMetadata() 232 } else if (!Imprecise.compare(mPragmaKeyList[i])) { in populatePragmaMetadata() 235 } else if (!Full.compare(mPragmaKeyList[i])) { in populatePragmaMetadata() 254 if (!Relaxed.compare(PrecisionPropBuf)) { in populatePragmaMetadata() 257 } else if (!Imprecise.compare(PrecisionPropBuf)) { in populatePragmaMetadata() 261 } else if (!Full.compare(PrecisionPropBuf)) { in populatePragmaMetadata()
|