/art/tools/ahat/src/test/com/android/ahat/ |
D | QueryTest.java | 40 assertEquals("/object?answer=42&foo=sludge", query.with("foo", "sludge").toString()); in simple() 41 assertEquals("/object?answer=43&foo=bar", query.with("answer", "43").toString()); in simple() 42 assertEquals("/object?answer=43&foo=bar", query.with("answer", 43).toString()); in simple() 43 assertEquals("/object?answer=42&bar=finally&foo=bar", query.with("bar", "finally").toString()); in simple() 44 assertEquals("/object?answer=42", query.with("foo", null).toString()); in simple() 55 assertEquals("/object?answer=42&foo=tar", query.with("foo", "tar").toString()); in multiValue() 56 assertEquals("/object?answer=43&foo=sludge", query.with("answer", "43").toString()); in multiValue() 58 query.with("bar", "finally").toString()); in multiValue() 59 assertEquals("/object?answer=42", query.with("foo", null).toString()); in multiValue() 69 assertEquals("/object?foo=sludge", query.with("foo", "sludge").toString()); in empty() [all …]
|
/art/test/639-checker-code-sinking/src/ |
D | Main.java | 74 throw new Error(o.toString()); in testSimpleUse() 99 throw new Error(o.toString() + o.toString()); in testTwoUses() 130 throw new Error(m.toString()); in testFieldStores() 161 throw new Error(m1.toString() + m2.toString()); in testFieldStoreCycle() 194 throw new Error(o.toString()); in testArrayStores() 205 throw new Error(m.toString()); in testOnlyStoreUses() 217 throw new Error(m.toString()); in testNoUse() 252 throw new Error(o.toString() + i); in testPhiInput() 280 throw new Error(m.toString()); in testVolatileStore() 300 throw new Error(o.getClass().toString()); in testStaticSideEffects() [all …]
|
/art/test/988-method-trace/src/art/ |
D | Test988.java | 90 return w.toString(); in genericToString() 92 return val.toString(); in genericToString() 102 res[i] = Character.toString(src[i]); in charArrayToString() 105 return Arrays.toString(res); in charArrayToString() 111 return Arrays.toString( in arrayToString() 118 return Arrays.toString((byte[])val); in arrayToString() 122 return Arrays.toString((short[])val); in arrayToString() 124 return Arrays.toString((int[])val); in arrayToString() 126 return Arrays.toString((long[])val); in arrayToString() 128 return Arrays.toString((float[])val); in arrayToString() [all …]
|
D | Test988Intrinsics.java | 34 java.lang.Double.class.toString(); in initialize() 35 java.lang.Float.class.toString(); in initialize() 36 java.lang.Integer.class.toString(); in initialize() 37 java.lang.Long.class.toString(); in initialize() 38 java.lang.Short.class.toString(); in initialize() 39 java.lang.Math.class.toString(); in initialize() 40 java.lang.Thread.class.toString(); in initialize() 41 java.lang.String.class.toString(); in initialize() 42 java.lang.StringBuffer.class.toString(); in initialize() 43 java.lang.StringBuilder.class.toString(); in initialize() [all …]
|
/art/test/022-interface/src/ |
D | Main.java | 55 public String toString() { in objectOverrideTests() 59 return toString().length(); in objectOverrideTests() 62 return toString().charAt(i); in objectOverrideTests() 65 return toString().subSequence(s, e); in objectOverrideTests() 87 return i.toString(); in subObjectOverrideTests() 93 check(o.toString().equals("Mallet's Mallet")); in doObjectOverrideTests()
|
/art/test/990-field-trace/src/art/ |
D | Test990.java | 91 return w.toString(); in genericToString() 93 return val.toString(); in genericToString() 103 res[i] = Character.toString(src[i]); in charArrayToString() 106 return Arrays.toString(res); in charArrayToString() 112 return Arrays.toString( in arrayToString() 119 return Arrays.toString((byte[])val); in arrayToString() 123 return Arrays.toString((short[])val); in arrayToString() 125 return Arrays.toString((int[])val); in arrayToString() 127 return Arrays.toString((long[])val); in arrayToString() 129 return Arrays.toString((float[])val); in arrayToString() [all …]
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 68 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main() 69 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main() 75 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main() 76 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main() 82 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main() 83 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main() 97 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main() 99 sioob.getStackTrace()[1].toString()); in main() 106 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main() 108 sioob.getStackTrace()[1].toString()); in main()
|
/art/test/939-hello-transformation-bcp/ |
D | expected.txt | 1 ol.toString() -> 'OptionalLong[-559038737]' 3 ol.toString() -> 'Redefined OptionalLong!'
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | ExecutionResult.java | 48 flattenedOutput = builder.toString(); in getFlattenedOutput() 62 flattenedOutputWithNewlines = builder.toString(); in getFlattenedOutputWithNewlines() 76 flattenedError = builder.toString(); in getFlattenedError() 90 flattenedErrorWithNewlines = builder.toString(); in getFlattenedErrorWithNewlines()
|
/art/test/938-load-transform-bcp/ |
D | expected.txt | 2 ol.toString() -> 'This is toString() for val=123'
|
/art/test/648-inline-caches-unresolved/src/ |
D | Main.java | 19 return o.toString(); in inlineMonomorphicUnresolvedSuper() 28 public String toString() { in toString() method in Subclass
|
/art/test/044-proxy/src/ |
D | MethodComparator.java | 22 return m1.toString().compareTo(m2.toString()); in compare()
|
/art/test/100-reflect2/src/ |
D | Main.java | 171 return a.toString().compareTo(b.toString()); in testMethodReflection() 179 System.out.println(Arrays.toString(sort(String.class.getDeclaredConstructors(), comp))); in testMethodReflection() 180 System.out.println(Arrays.toString(sort(String.class.getDeclaredFields(), comp))); in testMethodReflection() 181 System.out.println(Arrays.toString(sort(String.class.getDeclaredMethods(), comp))); in testMethodReflection() 183 System.out.println(Arrays.toString(Main.class.getInterfaces())); in testMethodReflection() 184 System.out.println(Arrays.toString(String.class.getInterfaces())); in testMethodReflection() 198 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection() 200 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection() 203 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection() 207 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection() [all …]
|
/art/test/048-reflect-v8/src/ |
D | DefaultDeclared.java | 50 System.out.println("No error thrown for class " + klass.toString()); in printGetMethod() 52 System.out.println("NoSuchMethodException thrown for class " + klass.toString()); in printGetMethod() 54 System.out.println("Unknown error thrown for class " + klass.toString()); in printGetMethod()
|
/art/test/011-array-copy/src/ |
D | Main.java | 34 stringArray[i] = new String(Integer.toString(i)); in testObjectCopy() 104 Arrays.toString(byteArray)); in makeCopies() 108 Arrays.toString(shortArray)); in makeCopies() 112 Arrays.toString(longArray)); in makeCopies() 116 Arrays.toString(charArray)); in makeCopies() 122 ": " + Arrays.toString(intArray)); in makeCopies()
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleUnitTestCollector.java | 71 out.append(Integer.toString(numberOfSuccesses)) in printSummary() 73 .append(Integer.toString(numberOfSkips)) in printSummary() 75 .append(Integer.toString(numberOfFailures)) in printSummary()
|
/art/test/005-annotations/src/android/test/anno/ |
D | ClassWithInnerClasses.java | 21 public String toString() { in toString() method in ClassWithInnerClasses.InnerClass 26 public String toString() {
|
/art/test/904-object-allocation/src/art/ |
D | Test904.java | 50 System.out.println(Arrays.toString(getTrackingEventMessages( in doTest() 70 System.out.println(Arrays.toString(getTrackingEventMessages( in doTest() 78 System.out.println(Arrays.toString(getTrackingEventMessages( in doTest() 84 System.out.println(Arrays.toString(getTrackingEventMessages( in doTest() 96 System.out.println(Arrays.toString(getTrackingEventMessages( in doTest()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MInsn.java | 58 public String toString() { in toString() method in MInsn 62 insn.toString()); in toString()
|
/art/test/948-change-annotations/src/ |
D | Main.java | 65 Arrays.sort(annos, Comparator.comparing((v) -> v.toString())); in sortedAnno() 80 + Arrays.toString(sortedAnno(transform.getAnnotations()))); in printAnnotations() 83 + Arrays.toString(sortedAnno(m.getDeclaredAnnotations()))); in printAnnotations()
|
/art/test/938-load-transform-bcp/src-ex/ |
D | TestMain.java | 27 System.out.println("ol.toString() -> '" + ol.toString() + "'"); in runTest() 31 + e.toString()); in runTest()
|
/art/test/1946-list-descriptors/src-art/art/ |
D | Test1946.java | 61 msg = Arrays.toString(full) + " is not same as " + Arrays.toString(sub) + ": " + msg; in checkEq() 66 msg = Arrays.toString(full) + " does not contain all of " + Arrays.toString(sub) + ": " + msg; in checkSubset()
|
/art/test/939-hello-transformation-bcp/src/ |
D | Main.java | 117 System.out.println("ol.toString() -> '" + ol.toString() + "'"); in main() 120 System.out.println("ol.toString() -> '" + ol.toString() + "'"); in main()
|
/art/test/486-checker-must-do-null-check/src/ |
D | Main.java | 21 o.toString(); in InstanceOfPreChecked() 38 o.toString(); in CheckCastPreChecked()
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Test1913.java | 42 public String toString() { return String.format("TestClass1(\"%s\")", id); } in toString() method in Test1913.TestClass1 47 public String toString() { return String.format("TestClass1ext(\"%s\")", super.toString()); } in toString() method in Test1913.TestClass1ext 52 public String toString() { return String.format("TestClass2(\"%s\")", id); } in toString() method in Test1913.TestClass2 56 public String toString() { return String.format("TestClass2impl(\"%s\")", super.toString()); } in toString() method in Test1913.TestClass2impl 118 public String toString() { in NamedSet() method 134 public String toString() {
|