/frameworks/base/libs/usb/src/com/android/future/usb/ |
H A D | UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 107 return (compare(mManufacturer, accessory.getManufacturer()) && 108 compare(mModel, accessory.getModel()) && 109 compare(mDescription, accessory.getDescription()) && 110 compare(mVersion, accessory.getVersion()) && 111 compare(mUri, accessory.getUri()) && 112 compare(mSerial, accessory.getSerial()));
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.h | 108 static int compare(const LayerEntry& lhs, const LayerEntry& rhs); 111 return compare(*this, other) == 0; 115 return compare(*this, other) != 0; 119 return LayerEntry::compare(lhs, rhs) < 0; 123 return LayerEntry::compare(lhs, rhs);
|
H A 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; 110 return RenderBufferEntry::compare(lhs, rhs);
|
H A D | PatchCache.h | 82 static int compare(const PatchDescription& lhs, const PatchDescription& rhs); 85 return compare(*this, other) == 0; 89 return compare(*this, other) != 0; 94 return PatchDescription::compare(lhs, rhs) < 0; 99 return PatchDescription::compare(lhs, rhs);
|
H A D | TextDropShadowCache.h | 62 static int compare(const ShadowText& lhs, const ShadowText& rhs); 65 return compare(*this, other) == 0; 69 return compare(*this, other) != 0; 102 return ShadowText::compare(lhs, rhs) < 0; 106 return ShadowText::compare(lhs, rhs);
|
H A 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; 99 return GradientCacheEntry::compare(lhs, rhs);
|
H A D | PathCache.h | 152 int compare(const PathDescription& rhs) const; 155 return compare(other) == 0; 159 return compare(other) != 0; 164 return lhs.compare(rhs) < 0; 168 return lhs.compare(rhs);
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | CommandLine.cpp | 100 if (0 == Arg.compare("combreloc")) 102 else if (0 == Arg.compare("nocombreloc")) 104 else if (0 == Arg.compare("defs")) 106 else if (0 == Arg.compare("execstack")) 108 else if (0 == Arg.compare("noexecstack")) 110 else if (0 == Arg.compare("initfirst")) 112 else if (0 == Arg.compare("interpose")) 114 else if (0 == Arg.compare("loadfltr")) 116 else if (0 == Arg.compare("muldefs")) 118 else if (0 == Arg.compare("nocopyrelo [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringEntry.h | 57 bool compare(const llvm::StringRef& pX) function in class:mcld::StringEntry 58 { return (0 == key().compare(pX)); } 60 bool compare(const llvm::StringRef& pX) const function in class:mcld::StringEntry 61 { return (0 == key().compare(pX)); } 111 bool compare(const llvm::StringRef& pX) function in class:mcld::StringEntry 112 { return (0 == key().compare(pX)); } 114 bool compare(const llvm::StringRef& pX) const function in class:mcld::StringEntry 115 { return (0 == key().compare(pX)); }
|
H A D | HashEntry.h | 67 bool compare(const key_type& pKey);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberUtilsTest.java | 184 assertTrue(PhoneNumberUtils.compare(null, null)); 185 assertFalse(PhoneNumberUtils.compare(null, "123")); 186 assertFalse(PhoneNumberUtils.compare("123", null)); 268 assertFalse(PhoneNumberUtils.compare("", "")); 270 assertTrue(PhoneNumberUtils.compare("911", "911")); 271 assertFalse(PhoneNumberUtils.compare("911", "18005550911")); 272 assertTrue(PhoneNumberUtils.compare("5555", "5555")); 273 assertFalse(PhoneNumberUtils.compare("5555", "180055555555")); 275 assertTrue(PhoneNumberUtils.compare("+17005554141", "+17005554141")); 276 assertTrue(PhoneNumberUtils.compare(" [all...] |
/frameworks/native/include/utils/ |
H A D | StringArray.h | 49 void sort(int (*compare)(const void*, const void*));
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbAccessory.java | 156 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 165 return (compare(mManufacturer, accessory.getManufacturer()) && 166 compare(mModel, accessory.getModel()) && 167 compare(mDescription, accessory.getDescription()) && 168 compare(mVersion, accessory.getVersion()) && 169 compare(mUri, accessory.getUri()) && 170 compare(mSerial, accessory.getSerial()));
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 58 int compare(const entry& o) const; 60 inline bool operator<(const entry& o) const { return compare(o) < 0; } 61 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 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; }
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { method in class:HsvColorComparator
|
/frameworks/native/libs/utils/ |
H A D | StringArray.cpp | 88 void StringArray::sort(int (*compare)(const void*, const void*)) { 89 qsort(mArray, mCurrent, sizeof(char*), compare);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.h | 52 static int compare(const FontDescription& lhs, const FontDescription& rhs); 57 return compare(*this, other) == 0; 61 return compare(*this, other) != 0; 150 return Font::FontDescription::compare(lhs, rhs) < 0; 154 return Font::FontDescription::compare(lhs, rhs);
|
/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 63 * Use a collator to compare strings in a localized manner. 126 protected int compare(String word, String letter) { method in class:AlphabetIndexer 134 return mCollator.compare(firstLetter, letter); 212 int diff = compare(curName, targetLetter); 224 // if (mCollator.compare(startingLetter, targetLetter) < 0) { 265 if (compare(curName, targetLetter) == 0) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 82 static int compare(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs); 87 return compare(*this, other) == 0; 91 return compare(*this, other) != 0; 113 return TextLayoutCacheKey::compare(lhs, rhs) < 0; 117 return TextLayoutCacheKey::compare(lhs, rhs);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PointF.java | 83 if (Float.compare(pointF.x, x) != 0) return false; 84 if (Float.compare(pointF.y, y) != 0) return false;
|
/frameworks/base/core/jni/ |
H A D | TimeUtils.h | 57 static int compare(Time& a, Time& b);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | ByteArrayPool.java | 71 public int compare(byte[] lhs, byte[] rhs) {
|
/frameworks/compile/libbcc/bcinfo/ |
H A D | MetadataExtractor.cpp | 230 if (!Relaxed.compare(mPragmaKeyList[i])) { 235 } else if (!Imprecise.compare(mPragmaKeyList[i])) { 259 if (!Relaxed.compare(PrecisionPropBuf)) { 262 } else if (!Imprecise.compare(PrecisionPropBuf)) { 265 } else if (!Full.compare(PrecisionPropBuf)) {
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageItemInfo.java | 277 public final int compare(PackageItemInfo aa, PackageItemInfo ab) { method in class:PackageItemInfo.DisplayNameComparator 282 return sCollator.compare(sa.toString(), sb.toString());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 89 public int compare(Entry a, Entry b) { 120 if (mEntryCmp.compare(mEntries.get(i), entry) > 0) {
|