/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityNameComparator.java | 30 public int compare(CityObj c1, CityObj c2) { method in class:CityNameComparator 31 return mCollator.compare(c1.mCityName, c2.mCityName);
|
/external/stlport/test/unit/ |
collate_facets_test.cpp | 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 94 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 95 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
collate_facets_test.cpp | 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 94 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 95 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
collate_facets_test.cpp | 27 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 28 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 31 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 32 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 47 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 48 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ); 51 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) == -1 ); 52 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) == 1 ); 94 CPPUNIT_ASSERT( col.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) == 0 ); 95 CPPUNIT_ASSERT( col.compare(str1, str1 + size1, str2, str2 + size2) == -1 ) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfo_DisplayNameComparatorTest.java | 53 assertEquals(0, mDisplayNameComparator.compare(info1, info2)); 57 assertTrue((mDisplayNameComparator.compare(info1, info2) < 0)); 62 assertTrue((mDisplayNameComparator.compare(info1, info2) > 0)); 65 mDisplayNameComparator.compare(null, null);
|
ResolveInfo_DisplayNameComparatorTest.java | 40 assertTrue(dnc.compare(activityInfo, serviceInfo) < 0); 41 assertTrue(dnc.compare(activityInfo, activityInfo) == 0); 42 assertTrue(dnc.compare(serviceInfo, activityInfo) > 0);
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_comparator.h | 16 virtual int Compare(const base::StringPiece& a,
|
/external/chromium_org/tools/gyp/test/lib/ |
README.txt | 9 of running test scripts that invoke commands, compare actual
|
/external/chromium_org/tools/site_compare/operators/ |
equals_with_mask.py | 5 """Compare two images for equality, subject to a mask.""" 13 def Compare(file1, file2, **kwargs): 21 file1: path to first image to compare 22 file2: path to second image to compare
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1434.js | 30 function compare(a, b) { function 34 compare(1.5, 2.5); 35 %OptimizeFunctionOnNextCall(compare); 36 assertTrue(compare(undefined, undefined));
|
/external/chromium_org/webkit/data/test_shell/sort/ |
sort-bubble.js | 9 if (sort.compare(x, y) < 0) {
|
/external/v8/test/mjsunit/regress/ |
regress-1434.js | 30 function compare(a, b) { function 34 compare(1.5, 2.5); 35 %OptimizeFunctionOnNextCall(compare); 36 assertTrue(compare(undefined, undefined));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
max_comp.pass.cpp | 12 // template<class T, StrictWeakOrder<auto, T> Compare> 13 // requires !SameType<T, Compare> && CopyConstructible<Compare> 15 // max(const T& a, const T& b, Compare comp);
|
min_comp.pass.cpp | 12 // template<class T, StrictWeakOrder<auto, T> Compare> 13 // requires !SameType<T, Compare> && CopyConstructible<Compare> 15 // min(const T& a, const T& b, Compare comp);
|
/bionic/libc/arch-x86/string/ |
memcmp.S | 14 cld /* set compare direction forward */ 16 movl 20(%esp),%ecx /* compare by words */ 22 movl 20(%esp),%ecx /* compare remainder by bytes */
|
/cts/tools/signature-tools/src/signature/compare/ |
IApiComparator.java | 17 package signature.compare; 19 import signature.compare.model.IApiDelta; 38 IApiDelta compare(IApi fromApi, IApi toApi); method in interface:IApiComparator
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
SigAnnotationDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IAnnotationDelta; 22 import signature.compare.model.IAnnotationElementDelta;
|
SigAnnotationElementDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationElementDelta; 20 import signature.compare.model.IValueDelta;
|
SigAnnotationFieldDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationFieldDelta; 20 import signature.compare.model.IValueDelta;
|
SigApiDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IApiDelta; 20 import signature.compare.model.IPackageDelta;
|
SigArrayTypeDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IArrayTypeDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|
SigEnumConstantDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IEnumConstantDelta; 20 import signature.compare.model.IValueDelta;
|
SigMethodDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IMethodDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|
SigParameterizedTypeDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IParameterizedTypeDelta; 22 import signature.compare.model.ITypeReferenceDelta;
|
SigTypeVariableReferenceDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IGenericDeclarationDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|