/frameworks/base/tools/aapt/ |
StringPool.cpp | 95 int StringPool::entry::compare(const entry& o) const { function in class:StringPool::entry 106 int comp = configTypeName.compare(o.configTypeName); 254 return lhe.compare(rhe) < 0;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
TestDelegates.java | 76 compare(originalClass, delegateClass); method 84 private void compare(Class<?> originalClass, Class<?> delegateClass) throws SecurityException { method in class:TestDelegates
|
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
EntityConfidence.java | 147 public int compare(String e1, String e2) { method in class:EntityConfidence.EntityConfidenceComparator 150 return Float.compare(score2, score1);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
BooleanTest.java | 31 assertEquals(0, Boolean.compare(true, true)); 32 assertEquals(0, Boolean.compare(false, false)); 33 assertTrue(Boolean.compare(false, true) < 0); 34 assertTrue(Boolean.compare(true, false) > 0);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 87 public int compare(String object1, String object2) { method in class:OldPriorityQueueTest.MockComparatorStringByLength 103 public int compare(E object1, E object2) { method in class:OldPriorityQueueTest.MockComparatorCast
|
/libcore/ojluni/src/main/java/java/lang/ |
Byte.java | 415 * @param obj the object to compare with 440 return compare(this.value, anotherByte.value); 450 * @param x the first {@code byte} to compare 451 * @param y the second {@code byte} to compare 457 public static int compare(byte x, byte y) { method in class:Byte
|
Short.java | 420 * @param obj the object to compare with 445 return compare(this.value, anotherShort.value); 455 * @param x the first {@code short} to compare 456 * @param y the second {@code short} to compare 462 public static int compare(short x, short y) { method in class:Short
|
/libcore/ojluni/src/main/java/java/net/ |
CookieManager.java | 470 public int compare(HttpCookie c1, HttpCookie c2) { method in class:CookieManager.CookiePathComparator
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
CertificateVersion.java | 234 * Compare versions. 236 public int compare(int vers) { method in class:CertificateVersion
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
City.java | 138 public int compare(City c1, City c2) { method in class:City.UtcOffsetComparator 139 int result = mDelegate1.compare(c1, c2); 142 result = mDelegate2.compare(c1, c2); 161 public int compare(City c1, City c2) { method in class:City.UtcOffsetIndexComparator 164 return Integer.compare(utcOffset1, utcOffset2); 185 public int compare(City c1, City c2) { method in class:City.NameComparator 186 int result = mDelegate.compare(c1, c2); 189 result = mNameCollator.compare(c1.getPhoneticName(), c2.getPhoneticName()); 210 public int compare(City c1, City c2) { method in class:City.NameIndexComparator 211 int result = Integer.compare(c1.getIndex(), c2.getIndex()) [all...] |
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
RegionZonePicker.java | 145 public int compare(TimeZoneInfo tzi1, TimeZoneInfo tzi2) { method in class:RegionZonePicker.TimeZoneInfoComparator 146 int result = Integer.compare(tzi1.getTimeZone().getOffset(mNow.getTime()), 149 result = Integer.compare(tzi1.getTimeZone().getRawOffset(), 153 result = mCollator.compare(tzi1.getExemplarLocation(), tzi2.getExemplarLocation()); 156 result = mCollator.compare(tzi1.getGenericName(), tzi2.getGenericName());
|
/packages/apps/TV/src/com/android/tv/data/ |
BaseProgram.java | 32 * Comparator used to compare {@link BaseProgram} according to its season and episodes number. 39 * Comparator used to compare {@link BaseProgram} according to its season and episodes number 54 public int compare(BaseProgram lhs, BaseProgram rhs) { method in class:BaseProgram.EpisodeComparator 79 return Integer.compare(Integer.parseInt(s1), Integer.parseInt(s2));
|
ChannelNumber.java | 48 * {@code lhs} and {@code rhs} are equivalent if {@link ChannelNumber#compare(String, String)} 52 if (compare(lhs, rhs) == 0) { 158 public static int compare(String lhs, String rhs) { method in class:ChannelNumber 163 return StringUtils.compare(lhs, rhs);
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
RankedComparatorTest.java | 50 comparator.compare(rank1_1, rank1_1) == 0); 52 comparator.compare(rank1_1, rank1_2) == 0); 55 assertTrue(comparator.compare(rank1_1, rank2) < 0); 56 assertTrue(comparator.compare(rank2, rank1_1) > 0); 65 comparator.compare(knownRank, unknownRank1) < 0); 67 comparator.compare(unknownRank1, knownRank) > 0); 69 comparator.compare(unknownRank1, unknownRank2) == 0); 78 comparator.compare(knownRank, nullRank) < 0); 80 comparator.compare(nullRank, knownRank) > 0); 82 comparator.compare(unknownRank, nullRank) == 0) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Analysis/Analyses/ |
Dominators.h | 67 inline bool compare(DominatorTree &Other) const { function in class:clang::DominatorTree 74 if (DT->compare(Other.getBase()))
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
StringRef.h | 163 /// compare() when the relative ordering of inequal strings isn't needed. 177 /// compare - Compare two strings; the result is -1, 0, or 1 if this string 181 int compare(StringRef RHS) const { function in class:llvm::StringRef 192 /// compare_lower - Compare two strings, ignoring case. 196 /// compare_numeric - Compare two strings, treating sequences of digits as 204 /// \param Other the string to compare this string against. 881 return LHS.compare(RHS) == -1; 885 return LHS.compare(RHS) != 1; 889 return LHS.compare(RHS) == 1 [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
DominanceFrontierImpl.h | 92 bool DominanceFrontierBase<BlockT>::compare( function in class:llvm::DominanceFrontierBase
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
Dominators.h | 129 inline bool compare(const DominatorTree &Other) const { function in class:llvm::DominatorTree 133 Base::compare(Other);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Analysis/Analyses/ |
Dominators.h | 67 inline bool compare(DominatorTree &Other) const { function in class:clang::DominatorTree 74 if (DT->compare(Other.getBase()))
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
DominanceFrontierImpl.h | 92 bool DominanceFrontierBase<BlockT>::compare( function in class:llvm::DominanceFrontierBase
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/IR/ |
Dominators.h | 130 inline bool compare(const DominatorTree &Other) const { function in class:llvm::DominatorTree 134 Base::compare(Other);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Analysis/Analyses/ |
Dominators.h | 67 inline bool compare(DominatorTree &Other) const { function in class:clang::DominatorTree 74 if (DT->compare(Other.getBase()))
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Analysis/ |
DominanceFrontierImpl.h | 92 bool DominanceFrontierBase<BlockT>::compare( function in class:llvm::DominanceFrontierBase
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/IR/ |
Dominators.h | 130 inline bool compare(const DominatorTree &Other) const { function in class:llvm::DominatorTree 134 Base::compare(Other);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Analysis/Analyses/ |
Dominators.h | 67 inline bool compare(DominatorTree &Other) const { function in class:clang::DominatorTree 74 if (DT->compare(Other.getBase()))
|