Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 40) sorted by relevance

12

/art/test/121-modifiers/src/
DMain.java86 if (className.equals("Inf")) { in check()
117 if (name.equals("I")) { in check()
149 if (shortS.equals("public")) { in getFieldMask()
152 if (shortS.equals("private")) { in getFieldMask()
155 if (shortS.equals("protected")) { in getFieldMask()
158 if (shortS.equals("static")) { in getFieldMask()
161 if (shortS.equals("transient")) { in getFieldMask()
164 if (shortS.equals("volatile")) { in getFieldMask()
167 if (shortS.equals("final")) { in getFieldMask()
178 if (shortS.equals("public")) { in getMethodMask()
[all …]
/art/test/021-string2/src/
DMain.java31 Assert.assertTrue(test.equals(test)); in main()
32 Assert.assertTrue(test.equals(test1)); in main()
33 Assert.assertFalse(test.equals(test2)); in main()
46 Assert.assertTrue(test.equals(sub)); in main()
47 Assert.assertTrue(sub.equals(test)); in main()
49 Assert.assertFalse(offset.equals(sub)); in main()
50 Assert.assertFalse(sub.equals(offset)); in main()
52 Assert.assertFalse(test.equals(blah)); in main()
62 Assert.assertFalse(test.equals(null)); in main()
65 Assert.assertTrue(test.equals("123456789")); in main()
[all …]
/art/test/041-narrowing/src/
DMain.java24 + (Long.toHexString((byte)dbl2).equals("0") ? "00" : Long.toHexString((byte)dbl2) in test_printNarrowing()
27 + (Integer.toHexString((short)dbl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
30 + (Integer.toHexString((int)dbl2).equals("0") ? "00000000" : Integer in test_printNarrowing()
33 + (Long.toHexString((long)dbl2).equals("0") ? "0000000000000000" : Long in test_printNarrowing()
38 + (Long.toHexString((byte)fl2).equals("0") ? "00" : Long.toHexString((byte)fl2) in test_printNarrowing()
41 + (Integer.toHexString((short)fl2).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
44 + (Integer.toHexString((int)fl2).equals("0") ? "00000000" : Integer in test_printNarrowing()
47 + (Long.toHexString((long)fl2).equals("0") ? "0000000000000000" : Long in test_printNarrowing()
52 + (Integer.toHexString((byte)dbl3).equals("0") ? "00" : Integer.toHexString( in test_printNarrowing()
55 + (Integer.toHexString((short)dbl3).equals("0") ? "0000" : Integer.toHexString( in test_printNarrowing()
[all …]
/art/test/044-proxy/src/
DWrappedThrow.java197 if (method.getName().equals("toString")) in invoke()
199 else if (method.getName().equals("hashCode")) in invoke()
201 else if (method.getName().equals("equals")) in invoke()
202 return Boolean.valueOf(super.equals(args[0])); in invoke()
216 if (method.getName().equals("throwFunky")) in invoke()
218 if (method.getName().equals("throwFunky2")) in invoke()
220 if (method.getName().equals("throwException")) in invoke()
222 if (method.getName().equals("throwBase")) in invoke()
224 if (method.getName().equals("throwSub")) in invoke()
226 if (method.getName().equals("throwSubSub")) in invoke()
[all …]
DBasicTest.java248 if (method.getName().equals("toString")) { in invoke()
250 } else if (method.getName().equals("hashCode")) { in invoke()
252 } else if (method.getName().equals("equals")) { in invoke()
253 return Boolean.valueOf(super.equals(args[0])); in invoke()
260 if (method.getName().equals("getTrace")) { in invoke()
264 if (ste.getMethodName().equals("getTrace")) { in invoke()
274 if (method.getName().equals("getTrace")) { in invoke()
278 if (ste.getMethodName().equals("getTrace")) { in invoke()
DReturnsAndArgPassing.java69 } else if (name.equals("voidFoo") || name.equals("voidBar")) { in invoke()
71 } else if (name.equals("booleanFoo")) { in invoke()
73 } else if (name.equals("booleanBar")) { in invoke()
75 } else if (name.equals("selectArg")) { in invoke()
/art/test/046-reflect/
Dexpected.txt123 fields are .equals
125 methods are .equals
129 type1(java.util.Set<java.lang.String>) equals type2(java.util.Set<java.lang.String>)
130 type1(java.util.Set<java.lang.String>) equals type3(java.util.Set<java.lang.String>)
131 type1(java.util.Set<java.lang.String>) hashCode equals type2(java.util.Set<java.lang.String>) hashC…
132 type1(java.util.Set<java.lang.String>) hashCode equals type3(java.util.Set<java.lang.String>) hashC…
136 type1(T[]) equals type2(T[])
137 type1(T[]) equals type3(T[])
138 type1(T[]) hashCode equals type2(T[]) hashCode
139 type1(T[]) hashCode equals type3(T[]) hashCode
/art/test/022-interface/src/
DMain.java49 public boolean equals(Object o) { in objectOverrideTests()
91 check(o.equals(null)); in doObjectOverrideTests()
93 check(o.toString().equals("Mallet's Mallet")); in doObjectOverrideTests()
DObjectOverridingInterface.java21 public boolean equals(Object o); in equals() method
/art/test/003-omnibus-opcodes/src/
DArray.java75 Main.assertTrue(strings[0].equals("zero")); in checkStrings()
76 Main.assertTrue(strings[1].equals("one")); in checkStrings()
77 Main.assertTrue(strings[2].equals("two")); in checkStrings()
78 Main.assertTrue(strings[3].equals("three")); in checkStrings()
79 Main.assertTrue(strings[4].equals("four")); in checkStrings()
DMethodCall.java50 Main.assertTrue(a29.equals("twenty nine")); in manyArgs()
/art/test/406-fields/src/
DTestCase.java71 if (!expected.equals(actual)) { in assertEquals()
84 if (expected.equals(actual)) { in assertNotEquals()
91 assertTrue(Arrays.equals(expected, actual)); in assertArrayEquals()
96 if (!expected.equals(actual)) { in assertEquals()
/art/test/407-arrays/src/
DTestCase.java71 if (!expected.equals(actual)) { in assertEquals()
84 if (expected.equals(actual)) { in assertNotEquals()
91 assertTrue(Arrays.equals(expected, actual)); in assertArrayEquals()
96 if (!expected.equals(actual)) { in assertEquals()
/art/test/082-inline-execute/src/
DMain.java257 Assert.assertTrue(lc.toUpperCase().equals(uc)); in test_String_compareTo()
262 Assert.assertTrue(test.equals(test)); in test_String_compareTo()
263 Assert.assertTrue(test.equals(test1)); in test_String_compareTo()
264 Assert.assertFalse(test.equals(test2)); in test_String_compareTo()
273 Assert.assertTrue(test.equals(sub)); in test_String_compareTo()
274 Assert.assertTrue(sub.equals(test)); in test_String_compareTo()
276 Assert.assertFalse(offset.equals(sub)); in test_String_compareTo()
277 Assert.assertFalse(sub.equals(offset)); in test_String_compareTo()
279 Assert.assertFalse(test.equals(blah)); in test_String_compareTo()
288 Assert.assertFalse(test.equals(null)); in test_String_compareTo()
[all …]
/art/test/045-reflect-array/src/
DMain.java56 if (!Array.get(intArray, 0).equals(x123) || !Array.get(intArray, 1).equals(x456)) { in testSingleInt()
177 if (!"entry zero".equals(Array.get(strArray, 0))) in testSingle()
179 if (!"entry one".equals(array[1])) in testSingle()
/art/test/055-enum-performance/src/
DMain.java14 if (m.getName().equals("valueOf")) { in main()
23 if (!iae.getMessage().equals("class java.lang.String is not an enum type")) { in main()
28 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
125 if (s.equals(key)) { in basisValueOf()
/art/runtime/
Dindirect_reference_table.h244 bool equals(const IrtIterator& rhs) const { in equals() function
264 return lhs.equals(rhs);
268 return !lhs.equals(rhs);
/art/test/022-interface/classes/
DObjectOverridingInterface.class ... implements java.lang.CharSequence { public abstract boolean equals (java.lang.Object) public abstract int ...
DMain$1.class ... ObjectOverridingInterface { void <init> () public boolean equals (java.lang.Object) public int hashCode ...
/art/test/023-many-interfaces/src/
DMain.java3 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
/art/test/051-thread/src/
DMain.java132 if (!thread.getName().equals("HelloWorld")) { in testSetName()
136 if (!thread.getName().equals("HelloWorld")) { in testSetName()
/art/test/092-locale/src/
DMain.java127 if (!decomposed.equals(res)) { in testNormalizer()
133 if (!composed.equals(res)) { in testNormalizer()
/art/test/063-process-manager/src/
DMain.java33 if (name.equals("java.lang.ProcessManager")) { in checkManager()
/art/test/053-wait-some/src/
DMain.java27 boolean timing = (args.length >= 1) && args[0].equals("--timing"); in main()
/art/test/028-array-write/src/
DMain.java80 if ((args.length >= 1) && args[0].equals("--timing")) { in main()

12