Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 131) sorted by relevance

123456

/art/tools/ahat/src/main/com/android/ahat/
DDocString.java38 return doc.append(str); in text()
68 public DocString append(String text) { in append() method in DocString
69 mStringBuilder.append(HtmlEscaper.escape(text)); in append()
78 append(String.format(format, args)); in appendFormat()
82 public DocString append(DocString str) { in append() method in DocString
83 mStringBuilder.append(str.html()); in append()
93 string.mStringBuilder.append("<span class=\"added\">"); in added()
94 string.mStringBuilder.append(str.html()); in added()
95 string.mStringBuilder.append("</span>"); in added()
113 string.mStringBuilder.append("<span class=\"removed\">"); in removed()
[all …]
DSummarizer.java41 formatted.append("null"); in summarize()
47 formatted.append(DocString.added("new ")); in summarize()
52 formatted.append(DocString.removed("del ")); in summarize()
58 formatted.append(reachability.toString() + " "); in summarize()
63 formatted.append("root "); in summarize()
69 formatted.append(linkText); in summarize()
79 formatted.append(kMaxChars == stringValue.length() ? "..." : "\""); in summarize()
85 formatted.append(" for "); in summarize()
90 formatted.append(summarize(referent)); in summarize()
98 formatted.append("..."); in summarize()
[all …]
DSubsetSelector.java91 menu.append(" - "); in render()
93 menu.append(" - "); in render()
95 menu.append("show none - show less - "); in render()
100 menu.append(" - "); in render()
102 menu.append(")"); in render()
104 menu.append("show more - show all)"); in render()
DQuery.java90 newQuery.append(mUri.getRawPath()); in with()
91 newQuery.append('?'); in with()
98 newQuery.append(and); in with()
99 newQuery.append(entry.getKey()); in with()
100 newQuery.append('='); in with()
101 newQuery.append(entry.getValue()); in with()
DHtmlEscaper.java34 sb.append(text.substring(low, i)); in escape()
35 sb.append(replacements[s]); in escape()
43 sb.append(text.substring(low)); in escape()
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTest.java122 .append(message) in failNotEquals()
123 .append(": ") in failNotEquals()
124 .append(expected) in failNotEquals()
125 .append(" != ") in failNotEquals()
126 .append(actual) in failNotEquals()
127 .append(" in ") in failNotEquals()
128 .append(getSourceInfo()) in failNotEquals()
129 .append('\n'); in failNotEquals()
133 errorLog().append(message).append(" in ").append(getSourceInfo()).append('\n'); in fail()
138 .append(message) in fail()
[all …]
DVarHandleUnitTestCollector.java32 out.append(testName) in start()
33 .append("..."); in start()
71 out.append(Integer.toString(numberOfSuccesses)) in printSummary()
72 .append(" successes, ") in printSummary()
73 .append(Integer.toString(numberOfSkips)) in printSummary()
74 .append(" skips, ") in printSummary()
75 .append(Integer.toString(numberOfFailures)) in printSummary()
76 .append(" failures."); in printSummary()
/art/tools/dexfuzz/src/dexfuzz/executors/
DX86OptimizingBackendExecutor.java32 commandBuilder.append("dalvikvm32 -Xcompiler-option --compiler-backend=Optimizing "); in constructCommand()
35 commandBuilder.append("-Xno-dex-file-fallback "); in constructCommand()
37 commandBuilder.append(device.getHostExecutionFlags()).append(" "); in constructCommand()
39 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
40 commandBuilder.append(executeClass); in constructCommand()
DExecutor.java102 commandBuilder.append("dex2oat "); in verifyOnHost()
104 commandBuilder.append("--instruction-set=").append(architecture.asString()); in verifyOnHost()
105 commandBuilder.append(" --instruction-set-features=default "); in verifyOnHost()
108 commandBuilder.append("--boot-image=").append(device.getAndroidProductOut()); in verifyOnHost()
110 commandBuilder.append("/data/art-test/core.art "); in verifyOnHost()
112 commandBuilder.append("/system/framework/boot.art "); in verifyOnHost()
115 commandBuilder.append("--oat-file=output.oat "); in verifyOnHost()
116 commandBuilder.append("--android-root=").append(device.getAndroidHostOut()).append(" "); in verifyOnHost()
117 commandBuilder.append("--dex-file=").append(programName).append(" "); in verifyOnHost()
118 commandBuilder.append("--compiler-filter=quicken --runtime-arg -Xnorelocate "); in verifyOnHost()
[all …]
DArm64OptimizingBackendExecutor.java31 commandBuilder.append("dalvikvm64 -Xcompiler-option --compiler-backend=Optimizing "); in constructCommand()
34 commandBuilder.append("-Xno-dex-file-fallback "); in constructCommand()
36 commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); in constructCommand()
38 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
39 commandBuilder.append(executeClass); in constructCommand()
DArmOptimizingBackendExecutor.java31 commandBuilder.append("dalvikvm32 -Xcompiler-option --compiler-backend=Optimizing "); in constructCommand()
34 commandBuilder.append("-Xno-dex-file-fallback "); in constructCommand()
36 commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); in constructCommand()
38 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
39 commandBuilder.append(executeClass); in constructCommand()
DX86InterpreterExecutor.java32 commandBuilder.append("dalvikvm32 -Xint "); in constructCommand()
34 commandBuilder.append(device.getHostExecutionFlags()).append(" "); in constructCommand()
36 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
37 commandBuilder.append(executeClass); in constructCommand()
DX86_64OptimizingBackendExecutor.java31 commandBuilder.append("dalvikvm64 -Xcompiler-option --compiler-backend=Optimizing "); in constructCommand()
34 commandBuilder.append("-Xno-dex-file-fallback "); in constructCommand()
35 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
36 commandBuilder.append(executeClass); in constructCommand()
DArmInterpreterExecutor.java31 commandBuilder.append("dalvikvm32 -Xint "); in constructCommand()
33 commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); in constructCommand()
35 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
36 commandBuilder.append(executeClass); in constructCommand()
DArm64InterpreterExecutor.java31 commandBuilder.append("dalvikvm64 -Xint "); in constructCommand()
33 commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); in constructCommand()
35 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
36 commandBuilder.append(executeClass); in constructCommand()
DX86_64InterpreterExecutor.java31 commandBuilder.append("dalvikvm64 -Xint "); in constructCommand()
32 commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); in constructCommand()
33 commandBuilder.append(executeClass); in constructCommand()
/art/test/699-checker-string-append2/smali/
DB146014745.smali29 # sb.append(s).append(i);
30 …invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBui…
32 invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
33 # return sb.append(s).append(i).toString();
34 …invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBui…
36 invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
51 # String s2 = sb.append(s).append(i).toString();
52 …invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBui…
54 invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
58 # return sb.append(s2).toString();
[all …]
/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()
214 return new StringBuilder().append(s) in $noinline$appendSLILC()
215 .append(l1) in $noinline$appendSLILC()
216 .append(i) in $noinline$appendSLILC()
217 .append(l2) in $noinline$appendSLILC()
218 .append(c).toString(); in $noinline$appendSLILC()
239 return sb.append(s).append(i).toString(); in $inline$testInlineInner()
284 String str = new StringBuilder().append(s).append(i).toString(); in $noinline$testAppendEquals()
/art/test/596-app-images/src-art/
DMain.java71 sb.append("java."); in testInternedStrings()
72 sb.append("abc."); in testInternedStrings()
73 sb.append("Action"); in testInternedStrings()
142 sb.append(" "); in assertEquals()
144 sb.append("expected:<").append(a).append("> but was:<").append(b).append(">"); in assertEquals()
155 sb.append(" "); in assertNotSame()
157 sb.append("unexpected sameness, found:<").append(a).append("> and:<").append(b).append(">"); in assertNotSame()
/art/tools/dexfuzz/src/dexfuzz/
DMutationStats.java61 builder.append("{"); in getStatsString()
65 builder.append(", "); in getStatsString()
69 builder.append("\"").append(statName).append("\": ").append(stats.get(statName)); in getStatsString()
71 builder.append("}"); in getStatsString()
DExecutionResult.java46 builder.append(line); in getFlattenedOutput()
60 builder.append(line).append("\n"); in getFlattenedOutputWithNewlines()
74 builder.append(line); in getFlattenedError()
88 builder.append(line).append("\n"); in getFlattenedErrorWithNewlines()
/art/test/624-checker-stringops/src/
DMain.java123 return s.append("x").append("y").length(); in bufferLen2()
153 return s.append("x").append("y").length(); in builderLen2()
188 b.append("x").append("y").append("z"); in bufferLoopAppender()
225 b.append("x").append("y").append("z"); in builderLoopAppender()
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc58 bool append(jbyte b) { in append() function in art::NativeUnsafeByteSequence
213 if (!out.append(ch)) { in CharsetUtils_toUtf8Bytes()
218 if (!out.append((ch >> 6) | 0xc0) || !out.append((ch & 0x3f) | 0x80)) { in CharsetUtils_toUtf8Bytes()
226 if (!out.append('?')) { in CharsetUtils_toUtf8Bytes()
239 if (!out.append(b1) || !out.append(b2) || !out.append(b3) || !out.append(b4)) { in CharsetUtils_toUtf8Bytes()
247 if (!out.append(b1) || !out.append(b2) || !out.append(b3)) { in CharsetUtils_toUtf8Bytes()
/art/tools/class2greylist/src/com/android/class2greylist/
DApiComponents.java45 .append(mPackageAndClassName.packageName) in toString()
46 .append(".") in toString()
47 .append(mPackageAndClassName.className); in toString()
49 sb.append("#").append(mMemberName).append("(").append(mMethodParameterTypes).append( in toString()
159 sb.append(parseJniTypeWithoutArrayDimensions(sc)); in parseJniType()
161 sb.append("[]"); in parseJniType()
/art/tools/dexfuzz/src/dexfuzz/program/
DMutationSerializer.java33 builder.append(mutation.mutatorClass.getCanonicalName()).append(" "); in getMutationString()
34 builder.append(mutation.mutatableCodeIdx).append(" "); in getMutationString()
35 builder.append(mutation.getString()); in getMutationString()

123456