/frameworks/compile/mclinker/include/mcld/ADT/ |
StringEntry.h | 47 bool compare(const llvm::StringRef& pX) { return key().equals(pX); } function in class:mcld::StringEntry 49 bool compare(const llvm::StringRef& pX) const { return key().equals(pX); } function in class:mcld::StringEntry 90 bool compare(const llvm::StringRef pX) { return key().equals(pX); } function in class:mcld::StringEntry 92 bool compare(const llvm::StringRef pX) const { return key().equals(pX); } function in class:mcld::StringEntry
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Objects.java | 34 * Returns 0 if {@code a == b}, or {@code c.compare(a, b)} otherwise. 37 public static <T> int compare(T a, T b, Comparator<? super T> c) { method in class:Objects 41 return c.compare(a, b);
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { method in class:HsvColorComparator
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntegerTest.java | 43 assertTrue(Integer.compare(max, max) == 0); 44 assertTrue(Integer.compare(min, min) == 0); 45 assertTrue(Integer.compare(zero, zero) == 0); 46 assertTrue(Integer.compare(max, zero) > 0); 47 assertTrue(Integer.compare(max, min) > 0); 48 assertTrue(Integer.compare(zero, max) < 0); 49 assertTrue(Integer.compare(zero, min) > 0); 50 assertTrue(Integer.compare(min, zero) < 0); 51 assertTrue(Integer.compare(min, max) < 0); 165 assertEquals(Integer.compare(i, j) [all...] |
LongTest.java | 42 assertTrue(Long.compare(max, max) == 0); 43 assertTrue(Long.compare(min, min) == 0); 44 assertTrue(Long.compare(zero, zero) == 0); 45 assertTrue(Long.compare(max, zero) > 0); 46 assertTrue(Long.compare(max, min) > 0); 47 assertTrue(Long.compare(zero, max) < 0); 48 assertTrue(Long.compare(zero, min) > 0); 49 assertTrue(Long.compare(min, zero) < 0); 50 assertTrue(Long.compare(min, max) < 0); 173 assertEquals(Integer.compare(i, j) [all...] |
ShortTest.java | 24 assertTrue(Short.compare(max, max) == 0); 25 assertTrue(Short.compare(min, min) == 0); 26 assertTrue(Short.compare(zero, zero) == 0); 27 assertTrue(Short.compare(max, zero) > 0); 28 assertTrue(Short.compare(max, min) > 0); 29 assertTrue(Short.compare(zero, max) < 0); 30 assertTrue(Short.compare(zero, min) > 0); 31 assertTrue(Short.compare(min, zero) < 0); 32 assertTrue(Short.compare(min, max) < 0);
|
/libcore/luni/src/test/java/tests/java/lang/String/ |
Tests.java | 46 assertTrue(String.CASE_INSENSITIVE_ORDER.compare(s1, s2) == 0);
|
/libcore/ojluni/src/main/java/java/text/ |
RuleBasedCollator.java | 155 * This allows you to use a RuleBasedCollator to compare accented strings 258 // need to be preserved in these objects between calls to compare() or 260 // creation time. compare() and getCollationKey() are synchronized to ensure 362 public synchronized int compare(String source, String target) method in class:RuleBasedCollator 368 return icuColl.compare(source, target);
|
/libcore/ojluni/src/main/java/java/util/ |
Comparators.java | 51 public int compare(Comparable<Object> c1, Comparable<Object> c2) { method in class:Comparators.NaturalOrderComparator 77 public int compare(T a, T b) { method in class:Comparators.NullComparator 83 return (real == null) ? 0 : real.compare(a, b);
|
Objects.java | 164 * c.compare(a, b)} otherwise. 176 * @param c the {@code Comparator} to compare the first two arguments 178 * c.compare(a, b)} otherwise. 182 public static <T> int compare(T a, T b, Comparator<? super T> c) { method in class:Objects 183 return (a == b) ? 0 : c.compare(a, b);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
NewestFirstComparator.java | 48 public int compare(FilmstripItem d1, FilmstripItem d2) { method in class:NewestFirstComparator
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MediaSetUtils.java | 60 public int compare(MediaSet set1, MediaSet set2) { method in class:MediaSetUtils.NameComparator
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AppInfoComparator.java | 44 public int compare(AppInfo a, AppInfo b) { method in class:AppInfoComparator 46 int result = mLabelComparator.compare(a.title.toString(), b.title.toString()); 51 // If labels are same, compare component names
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetItemComparator.java | 35 public int compare(WidgetItem a, WidgetItem b) { method in class:WidgetItemComparator 36 // Independent of how the labels compare, if only one of the two widget info belongs to 44 int labelCompare = mCollator.compare(a.label, b.label); 54 ? Integer.compare(a.spanY, b.spanY) 55 : Integer.compare(thisArea, otherArea);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
RankedComparator.java | 69 public int compare(T lhs, T rhs) { method in class:RankedComparator
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
ExtensionFileComparator.java | 27 * Compare the file name <b>extensions</b> for order 95 * Compare the extensions of two files the specified case sensitivity. 97 * @param obj1 The first file to compare 98 * @param obj2 The second file to compare 105 public int compare(File file1, File file2) { method in class:ExtensionFileComparator
|
NameFileComparator.java | 26 * Compare the <b>names</b> of two files for order (see {@link File#getName()}). 92 * Compare the names of two files with the specified case sensitivity. 94 * @param obj1 The first file to compare 95 * @param obj2 The second file to compare 101 public int compare(File file1, File file2) { method in class:NameFileComparator
|
PathFileComparator.java | 26 * Compare the <b>path</b> of two files for order (see {@link File#getPath()}). 92 * Compare the paths of two files the specified case sensitivity. 94 * @param obj1 The first file to compare 95 * @param obj2 The second file to compare 102 public int compare(File file1, File file2) { method in class:PathFileComparator
|
SizeFileComparator.java | 26 * Compare the <b>length/size</b> of two files for order (see 98 * Compare the length of two files. 100 * @param obj1 The first file to compare 101 * @param obj2 The second file to compare 108 public int compare(File file1, File file2) { method in class:SizeFileComparator
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
UserDictionaryToolsListEN.java | 71 public int compare(WnnWord word1, WnnWord word2) { method in class:UserDictionaryToolsListEN.ListComparatorEN
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
UserDictionaryToolsListJAJP.java | 68 public int compare(WnnWord word1, WnnWord word2) { method in class:UserDictionaryToolsListJAJP.ListComparatorJAJP
|
/prebuilts/go/darwin-x86/src/os/user/ |
user_test.go | 37 func compare(t *testing.T, want, got *User) { func 77 compare(t, want, got) 95 compare(t, want, got)
|
/prebuilts/go/linux-x86/src/os/user/ |
user_test.go | 37 func compare(t *testing.T, want, got *User) { func 77 compare(t, want, got) 95 compare(t, want, got)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
constexpr_char_traits.hpp | 37 static TEST_CONSTEXPR_CXX14 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 63 constexpr_char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) function in class:constexpr_char_traits
|
/system/core/demangle/ |
demangle.cpp | 60 static void Compare(const char* name, const std::string& demangled_name) { 71 static int Filter(bool compare) { 93 if (compare) Compare(identifier.c_str(), demangled_name); 110 bool compare = false; local 114 compare = true; 122 if (optind == argc) return Filter(compare); 130 if (compare) Compare(name, demangled_name);
|