Home
last modified time | relevance | path

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

1234

/art/tools/dexfuzz/src/dexfuzz/
DOptions.java151 if (flag.equals("execute")) { in handleFlagOption()
153 } else if (flag.equals("host")) { in handleFlagOption()
155 } else if (flag.equals("no-boot-image")) { in handleFlagOption()
157 } else if (flag.equals("skip-host-verify")) { in handleFlagOption()
159 } else if (flag.equals("interpreter")) { in handleFlagOption()
161 } else if (flag.equals("quick")) { in handleFlagOption()
163 } else if (flag.equals("optimizing")) { in handleFlagOption()
165 } else if (flag.equals("arm")) { in handleFlagOption()
167 } else if (flag.equals("arm64")) { in handleFlagOption()
169 } else if (flag.equals("allarm")) { in handleFlagOption()
[all …]
/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.java32 Assert.assertTrue(test.equals(test)); in main()
33 Assert.assertTrue(test.equals(test1)); in main()
34 Assert.assertFalse(test.equals(test2)); in main()
47 Assert.assertTrue(test.equals(sub)); in main()
48 Assert.assertTrue(sub.equals(test)); in main()
50 Assert.assertFalse(offset.equals(sub)); in main()
51 Assert.assertFalse(sub.equals(offset)); in main()
53 Assert.assertFalse(test.equals(blah)); in main()
63 Assert.assertFalse(test.equals(null)); in main()
66 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.java250 if (method.getName().equals("toString")) { in invoke()
252 } else if (method.getName().equals("hashCode")) { in invoke()
254 } else if (method.getName().equals("equals")) { in invoke()
255 return Boolean.valueOf(super.equals(args[0])); in invoke()
262 if (method.getName().equals("getTrace")) { in invoke()
266 if (ste.getMethodName().equals("getTrace")) { in invoke()
277 if (method.getName().equals("getTrace")) { in invoke()
281 if (ste.getMethodName().equals("getTrace")) { in invoke()
/art/test/536-checker-intrinsic-optimization/src/
DMain.java46 return a.equals(b); in $inline$callStringEquals()
54 return "foo".equals(obj); in stringArgumentNotNull()
66 return "foo".equals(myString); in stringArgumentIsString()
/art/test/004-ThreadStress/src/
DMain.java96 if (!e.getClass().getName().equals("ErrnoException")) {
111 if (!e.getClass().getName().equals("ErrnoException")) { in perform()
286 if (split[0].equals("-oom")) { in updateFrequencyMap()
288 } else if (split[0].equals("-sigquit")) { in updateFrequencyMap()
290 } else if (split[0].equals("-alloc")) { in updateFrequencyMap()
292 } else if (split[0].equals("-largealloc")) { in updateFrequencyMap()
294 } else if (split[0].equals("-stacktrace")) { in updateFrequencyMap()
296 } else if (split[0].equals("-exit")) { in updateFrequencyMap()
298 } else if (split[0].equals("-sleep")) { in updateFrequencyMap()
300 } else if (split[0].equals("-wait")) { in updateFrequencyMap()
[all …]
/art/test/545-tracing-and-jit/src/
DMain.java37 if (!"Dalvik".equals(name)) { in main()
113 map.equals(map); in fillJit()
129 map.equals(map); in fillJit()
145 map.equals(map); in fillJit()
161 map.equals(map); in fillJit()
177 set.equals(set); in fillJit()
194 set.equals(set); in fillJit()
211 set.equals(set); in fillJit()
/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()
/art/test/137-cfi/src/
DMain.java41 if (arg.equals("--test-local")) { in Main()
44 if (arg.equals("--test-remote")) { in Main()
47 if (arg.equals("--secondary")) { in Main()
50 if (arg.equals("--full-signatures")) { in Main()
/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()
/art/test/414-static-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/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/412-new-array/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/144-static-field-sigquit/src/
DSigQuit.java40 if (!e.getClass().getName().equals("ErrnoException")) {
54 if (!e.getClass().getName().equals("ErrnoException")) { in perform()
/art/test/597-deopt-new-string/src/
DMain.java52 if (!str.equals("abc")) { in $noinline$run0()
77 if (!str.equals("abc")) { in run()
/art/test/497-inlining-and-class-loader/src/
DMain.java47 if (className.equals("Level1")) { in loadClass()
49 } else if (className.equals("Level2")) { in loadClass()
51 } else if (!className.equals("LoadedByMyClassLoader")) { in loadClass()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffset.java93 return (offsettable.getItem().equals(thisItem)); in pointsToThisItem()
103 return (offsettable.equals(thisOffsettable)); in pointsToThisOffsettable()
/art/test/088-monitor-verification/src/
DMain.java238 if (m.getName().equals("run")) { in runTest()
259 exc.getCause().getClass().equals(excType)) { in runTest()
261 } else if (!excType.equals(exc.getClass())) { in runTest()
/art/test/142-classloader2/src/
DMain.java66 if (!"Src-A".equals(srcValue)) { in main()
70 if (!"Ex-A".equals(exValue)) { in main()
/art/tools/ahat/src/
DObjectsHandler.java44 if ((heapName == null || inst.getHeap().getName().equals(heapName)) in handle()
46 || AhatSnapshot.getClassName(inst.getClassObj()).equals(className))) { in handle()
/art/test/583-checker-zero/src/
DMain.java26 if (new Float(0f).equals(new Float(-0f))) { in main()

1234