Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/art/tools/ahat/src/test/com/android/ahat/
DQueryTest.java40 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/
DMain.java74 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/
DTest988.java90 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 …]
DTest988Intrinsics.java34 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/tools/ahat/src/main/com/android/ahat/heapdump/
DValue.java212 public abstract String toString(); in toString() method in Value
249 public String toString() { in toString() method in Value.BooleanValue
250 return Boolean.toString(mBool); in toString()
284 public String toString() { in toString() method in Value.ByteValue
285 return Byte.toString(mByte); in toString()
319 public String toString() { in toString() method in Value.CharValue
320 return Character.toString(mChar); in toString()
349 public String toString() { in toString() method in Value.DoubleValue
350 return Double.toString(mDouble); in toString()
379 public String toString() { in toString() method in Value.FloatValue
[all …]
/art/test/022-interface/src/
DMain.java55 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/
DTest990.java91 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/1974-resize-array/src/art/
DTest1974.java84 "val is: " + Arrays.toString(theInstanceClass.instance_field) + " resize +3"); in runInstance()
86 System.out.println("val is: " + Arrays.toString(theInstanceClass.instance_field)); in runInstance()
106 System.out.println("val is: " + Arrays.toString(get_the_value.get()) + " resize +3"); in runHashMap()
112 System.out.print("(" + Arrays.toString(e.getKey()) + "->" + e.getValue() + "), "); in runHashMap()
116 System.out.println("val is: " + Arrays.toString(get_the_value.get())); in runHashMap()
122 System.out.print("(" + Arrays.toString(e.getKey()) + "->" + e.getValue() + "), "); in runHashMap()
132 System.out.println("val is: " + Arrays.toString(wr.get()) + " resize +3"); in runWeakReference()
134 System.out.println("val is: " + Arrays.toString(wr.get())); in runWeakReference()
142 String pre_to_string = theInstanceClass.self_ref.toString(); in runInstanceSelfRef()
145 + Arrays.toString(theInstanceClass.self_ref).replace(pre_to_string, "<SELF REF>") in runInstanceSelfRef()
[all …]
/art/test/911-get-stack-trace/src/art/
DFrames.java44 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestSameThread()
49 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestSameThread()
52 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestSameThread()
77 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestOtherThreadWait()
82 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestOtherThreadWait()
85 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestOtherThreadWait()
115 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestOtherThreadBusyLoop()
120 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestOtherThreadBusyLoop()
123 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestOtherThreadBusyLoop()
/art/test/697-checker-string-append/src/
DMain.java116 return new StringBuilder().append(s).append(l).toString(); in $noinline$appendStringAndLong()
178 return new StringBuilder().append(s).append(i).toString(); in $noinline$appendStringAndInt()
190 return new StringBuilder().append(s1).append(s2).toString(); in $noinline$appendStringAndString()
218 .append(c).toString(); in $noinline$appendSLILC()
239 return sb.append(s).append(i).toString(); in $inline$testInlineInner()
262 return new StringBuilder().toString(); in $noinline$appendNothing()
284 String str = new StringBuilder().append(s).append(i).toString(); in $noinline$testAppendEquals()
/art/test/2031-zygote-compiled-frame-deopt/src/art/
DTest2031.java28 public String toString() { in toString() method in Test2031.MyClass
87 public String toString() { in toString() method in Test2031.SuperTransform
98 public String toString() {
108 public String toString() {
123 return Transform.class.toString() + "[FOO: " + FOO + ", BAR: " + BAR + "]"; in staticToString()
/art/test/536-checker-intrinsic-optimization/src/
DMain.java30 return sb.toString(); in generateString()
109 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main()
110 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main()
116 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main()
117 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main()
123 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main()
124 assertStringContains("Main.$opt$noinline$stringCharAt", sioob.getStackTrace()[1].toString()); in main()
139 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main()
141 sioob.getStackTrace()[1].toString()); in main()
148 assertStringContains("java.lang.String.charAt", sioob.getStackTrace()[0].toString()); in main()
[all …]
/art/test/1982-no-virtuals-structural-redefinition/src/art/
DTest1982.java48 + Arrays.toString(Arrays.copyOf((byte[]) o, 10)).replace(']', ',') in printGeneric()
51 return "(ID: " + id + ") " + o.toString(); in printGeneric()
63 f.toString() + " on " + printGeneric(recv) + " = " + printGeneric(f.get(recv))); in readReflective()
74 public String toString() { in toString() method in Test1982.SuperTransform
85 public String toString() {
95 public String toString() {
110 return Transform.class.toString() + "[FOO: " + FOO + ", BAR: " + BAR + "]"; in staticToString()
/art/test/1979-threaded-structural-transformation/src/art/
DTest1979.java50 + Arrays.toString(Arrays.copyOf((byte[]) o, 10)).replace(']', ',') in printGeneric()
53 return "(ID: " + id + ") " + o.toString(); in printGeneric()
65 System.out.println(f.toString() + " = " + printGeneric(f.get(null))); in readReflective()
72 public String toString() {
80 public String toString() {
88 return Transform.class.toString() + "[FOO: " + FOO + ", BAR: " + BAR + "]"; in staticToString()
/art/test/699-checker-string-append2/smali/
DB146014745.smali33 # return sb.append(s).append(i).toString();
38 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
51 # String s2 = sb.append(s).append(i).toString();
56 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
58 # return sb.append(s2).toString();
61 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
74 # String s2 = sb.append(s).toString();
77 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
85 # return sb.toString();
86 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
[all …]
/art/test/939-hello-transformation-bcp/
Dexpected.txt1 ol.toString() -> 'OptionalLong[-559038737]'
3 ol.toString() -> 'Redefined OptionalLong!'
/art/tools/dexfuzz/src/dexfuzz/
DExecutionResult.java48 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/
Dexpected.txt2 ol.toString() -> 'This is toString() for val=123'
/art/test/648-inline-caches-unresolved/src/
DMain.java19 return o.toString(); in inlineMonomorphicUnresolvedSuper()
28 public String toString() { in toString() method in Subclass
/art/test/044-proxy/src/
DMethodComparator.java22 return m1.toString().compareTo(m2.toString()); in compare()
/art/test/011-array-copy/src/
DMain.java34 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/048-reflect-v8/src/
DDefaultDeclared.java50 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/712-varhandle-invocations/src/
DVarHandleUnitTestCollector.java71 out.append(Integer.toString(numberOfSuccesses)) in printSummary()
73 .append(Integer.toString(numberOfSkips)) in printSummary()
75 .append(Integer.toString(numberOfFailures)) in printSummary()
/art/test/1975-hello-structural-transformation/src/art/
DTest1975.java50 + Arrays.toString(Arrays.copyOf((byte[]) o, 10)).replace(']', ',') in printGeneric()
53 return "(ID: " + id + ") " + o.toString(); in printGeneric()
114 System.out.println(f.toString() + " = " + printGeneric(f.get(null))); in ReadFields()
128 System.out.println(f.toString() + " = " + printGeneric(f.get(null))); in ReadFields()
156 public String toString() { in toString() method in Test1975.MethodHandleWrapper
157 return mh.toString(); in toString()
221 System.out.println("OLD FIELD OBJECT: " + f.toString() + " = " + printGeneric(f.get(null))); in doTest()
237 + Arrays.toString(new_fields) in doTest()
239 + Arrays.toString(old_native_fields)); in doTest()
/art/test/100-reflect2/src/
DMain.java171 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 …]

12345678910>>...14