Home
last modified time | relevance | path

Searched refs:compareTo (Results 1 – 12 of 12) sorted by relevance

/art/test/021-string2/src/
DMain.java36 Assert.assertEquals(test.compareTo(test1), 0); in main()
37 Assert.assertTrue(test1.compareTo(test2) > 0); in main()
38 Assert.assertTrue(test2.compareTo(test1) < 0); in main()
40 Assert.assertEquals("".compareTo(""), 0); in main()
41 Assert.assertTrue(test.compareTo("") > 0); in main()
42 Assert.assertTrue("".compareTo(test) < 0); in main()
45 Assert.assertEquals(test.compareTo(sub), 0); in main()
46 Assert.assertEquals(sub.compareTo(test), 0); in main()
57 test.compareTo(null); in main()
/art/test/069-field-type/src2/
DBlah.java6 public int compareTo(Object another) { in compareTo() method in Blah
/art/test/069-field-type/
Dexpected.txt3 In compareTo
/art/tools/ahat/src/
DSort.java163 return a.heap.getName().compareTo(b.heap.getName()); in compare()
177 return aName.compareTo(bName); in compare()
190 return a.heap.getName().compareTo(b.heap.getName()); in compare()
/art/test/069-field-type/src/
DMain.java30 cmp.compareTo(cmp); in main()
/art/test/020-string/src/
DMain.java48 System.out.println("Compare result is " + testStr.compareTo(testStr2)); in basicTest()
53 System.out.println("Compare unicode: " + s1.compareTo(s2)); in basicTest()
/art/test/044-proxy/src/
DBasicTest.java78 int result = o1.getName().compareTo(o2.getName()); in main()
82 return o1.getReturnType().getName().compareTo(o2.getReturnType().getName()); in main()
/art/runtime/native/
Djava_lang_String.cc111 NATIVE_METHOD(String, compareTo, "!(Ljava/lang/String;)I"),
/art/test/100-reflect2/
Dexpected.txt36compareTo(java.lang.Object), public int java.lang.String.compareToIgnoreCase(java.lang.String), pu…
/art/test/082-inline-execute/src/
DMain.java408 Assert.assertEquals(str32.compareTo(str33), -1); in test_String_compareTo()
409 Assert.assertEquals(str33.compareTo(str32), 1); in test_String_compareTo()
415 Assert.assertEquals(test.compareTo(test1), 0); in test_String_compareTo()
416 Assert.assertTrue(test1.compareTo(test2) > 0); in test_String_compareTo()
417 Assert.assertTrue(test2.compareTo(test1) < 0); in test_String_compareTo()
420 Assert.assertEquals(test.compareTo(sub), 0); in test_String_compareTo()
421 Assert.assertEquals(sub.compareTo(test), 0); in test_String_compareTo()
432 test.compareTo(null); in test_String_compareTo()
/art/test/100-reflect2/src/
DMain.java171 return a.toString().compareTo(b.toString()); in testMethodReflection()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java134 if (stringData.getSize() > 0 && stringData.getString().compareTo(string) >= 0) { in findStringDataInsertionPoint()