Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 25 of 86) sorted by relevance

1234

/dalvik/dx/tests/091-ssa-const-collector/
DBlort.java22 StringBuilder sb = new StringBuilder(); in testStrings() local
24 sb.append("foo"); in testStrings()
25 sb.append("foo"); in testStrings()
26 sb.append("foo"); in testStrings()
27 sb.append("foo"); in testStrings()
28 sb.append("foo"); in testStrings()
29 sb.append("foo"); in testStrings()
33 StringBuilder sb = new StringBuilder(); in testCaughtStrings() local
35 sb.append("foo"); in testCaughtStrings()
36 sb.append("foo"); in testCaughtStrings()
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
DAccessFlags.java330 StringBuilder sb = new StringBuilder(80); in humanHelper() local
336 sb.append("|public"); in humanHelper()
339 sb.append("|private"); in humanHelper()
342 sb.append("|protected"); in humanHelper()
345 sb.append("|static"); in humanHelper()
348 sb.append("|final"); in humanHelper()
352 sb.append("|super"); in humanHelper()
354 sb.append("|synchronized"); in humanHelper()
359 sb.append("|bridge"); in humanHelper()
361 sb.append("|volatile"); in humanHelper()
[all …]
DInsn.java307 StringBuilder sb = new StringBuilder(80); in toStringWithInline() local
309 sb.append("Insn{"); in toStringWithInline()
310 sb.append(position); in toStringWithInline()
311 sb.append(' '); in toStringWithInline()
312 sb.append(opcode); in toStringWithInline()
315 sb.append(' '); in toStringWithInline()
316 sb.append(extra); in toStringWithInline()
319 sb.append(" :: "); in toStringWithInline()
322 sb.append(result); in toStringWithInline()
323 sb.append(" <- "); in toStringWithInline()
[all …]
DRop.java250 StringBuilder sb = new StringBuilder(40); in toString() local
252 sb.append("Rop{"); in toString()
254 sb.append(RegOps.opName(opcode)); in toString()
257 sb.append(" "); in toString()
258 sb.append(result); in toString()
260 sb.append(" ."); in toString()
263 sb.append(" <-"); in toString()
267 sb.append(" ."); in toString()
270 sb.append(' '); in toString()
271 sb.append(sources.getType(i)); in toString()
[all …]
DSourcePosition.java73 StringBuilder sb = new StringBuilder(50); in toString() local
76 sb.append(sourceFile.toHuman()); in toString()
77 sb.append(":"); in toString()
81 sb.append(line); in toString()
84 sb.append('@'); in toString()
87 sb.append("????"); in toString()
89 sb.append(Hex.u2(address)); in toString()
92 return sb.toString(); in toString()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DAccessFlags.java298 StringBuffer sb = new StringBuffer(80); in humanHelper() local
304 sb.append("|public"); in humanHelper()
307 sb.append("|private"); in humanHelper()
310 sb.append("|protected"); in humanHelper()
313 sb.append("|static"); in humanHelper()
316 sb.append("|final"); in humanHelper()
320 sb.append("|super"); in humanHelper()
322 sb.append("|synchronized"); in humanHelper()
327 sb.append("|bridge"); in humanHelper()
329 sb.append("|volatile"); in humanHelper()
[all …]
DInsn.java308 StringBuffer sb = new StringBuffer(80); in toStringWithInline() local
310 sb.append("Insn{"); in toStringWithInline()
311 sb.append(position); in toStringWithInline()
312 sb.append(' '); in toStringWithInline()
313 sb.append(opcode); in toStringWithInline()
316 sb.append(' '); in toStringWithInline()
317 sb.append(extra); in toStringWithInline()
320 sb.append(" :: "); in toStringWithInline()
323 sb.append(result); in toStringWithInline()
324 sb.append(" <- "); in toStringWithInline()
[all …]
DRop.java250 StringBuffer sb = new StringBuffer(40); in toString() local
252 sb.append("Rop{"); in toString()
254 sb.append(RegOps.opName(opcode)); in toString()
257 sb.append(" "); in toString()
258 sb.append(result); in toString()
260 sb.append(" ."); in toString()
263 sb.append(" <-"); in toString()
267 sb.append(" ."); in toString()
270 sb.append(' '); in toString()
271 sb.append(sources.getType(i)); in toString()
[all …]
DSourcePosition.java73 StringBuffer sb = new StringBuffer(50); in toString() local
76 sb.append(sourceFile.toHuman()); in toString()
77 sb.append(":"); in toString()
81 sb.append(line); in toString()
84 sb.append('@'); in toString()
87 sb.append("????"); in toString()
89 sb.append(Hex.u2(address)); in toString()
92 return sb.toString(); in toString()
/dalvik/dx/src/com/android/dx/dex/code/
DInsnFormat.java57 StringBuilder sb = new StringBuilder(100); in listingString() local
59 sb.append(op); in listingString()
62 sb.append(' '); in listingString()
63 sb.append(arg); in listingString()
67 sb.append(" // "); in listingString()
68 sb.append(comment); in listingString()
71 return sb.toString(); in listingString()
181 StringBuilder sb = new StringBuilder(sz * 5 + 2); in regListString() local
183 sb.append('{'); in regListString()
187 sb.append(", "); in regListString()
[all …]
DSwitchData.java164 StringBuilder sb = new StringBuilder(100); in argString() local
168 sb.append("\n "); in argString()
169 sb.append(cases.get(i)); in argString()
170 sb.append(": "); in argString()
171 sb.append(targets[i]); in argString()
174 return sb.toString(); in argString()
181 StringBuilder sb = new StringBuilder(100); in listingString0() local
184 sb.append(packed ? "packed" : "sparse"); in listingString0()
185 sb.append("-switch-payload // for switch @ "); in listingString0()
186 sb.append(Hex.u2(baseAddress)); in listingString0()
[all …]
DMultiCstInsn.java216 StringBuilder sb = new StringBuilder(); in argString() local
218 if (sb.length() > 0) sb.append(", "); in argString()
219 sb.append(constants[i].toHuman()); in argString()
221 return sb.toString(); in argString()
233 StringBuilder sb = new StringBuilder(); in cstComment() local
240 sb.append(", "); in cstComment()
242 sb.append(getConstant(i).typeName()); in cstComment()
243 sb.append('@'); in cstComment()
247 sb.append(Hex.u2(currentIndex)); in cstComment()
249 sb.append(Hex.u4(currentIndex)); in cstComment()
[all …]
DCatchHandlerList.java68 StringBuilder sb = new StringBuilder(100); in toHuman() local
71 sb.append(prefix); in toHuman()
72 sb.append(header); in toHuman()
73 sb.append("catch "); in toHuman()
79 sb.append(",\n"); in toHuman()
80 sb.append(prefix); in toHuman()
81 sb.append(" "); in toHuman()
85 sb.append("<any>"); in toHuman()
87 sb.append(entry.getExceptionType().toHuman()); in toHuman()
90 sb.append(" -> "); in toHuman()
[all …]
DArrayData.java169 StringBuilder sb = new StringBuilder(100); in argString() local
173 sb.append("\n "); in argString()
174 sb.append(i); in argString()
175 sb.append(": "); in argString()
176 sb.append(values.get(i).toHuman()); in argString()
179 return sb.toString(); in argString()
186 StringBuilder sb = new StringBuilder(100); in listingString0() local
189 sb.append("fill-array-data-payload // for fill-array-data @ "); in listingString0()
190 sb.append(Hex.u2(baseAddress)); in listingString0()
193 sb.append("\n "); in listingString0()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DInsnFormat.java49 StringBuilder sb = new StringBuilder(100); in listingString() local
51 sb.append(op); in listingString()
54 sb.append(' '); in listingString()
55 sb.append(arg); in listingString()
59 sb.append(" // "); in listingString()
60 sb.append(comment); in listingString()
63 return sb.toString(); in listingString()
168 StringBuffer sb = new StringBuffer(sz * 5 + 2); in regListString() local
170 sb.append('{'); in regListString()
174 sb.append(", "); in regListString()
[all …]
DSwitchData.java163 StringBuffer sb = new StringBuffer(100); in argString() local
167 sb.append("\n "); in argString()
168 sb.append(cases.get(i)); in argString()
169 sb.append(": "); in argString()
170 sb.append(targets[i]); in argString()
173 return sb.toString(); in argString()
180 StringBuffer sb = new StringBuffer(100); in listingString0() local
183 sb.append(packed ? "packed" : "sparse"); in listingString0()
184 sb.append("-switch-data // for switch @ "); in listingString0()
185 sb.append(Hex.u2(baseAddress)); in listingString0()
[all …]
DCatchHandlerList.java67 StringBuilder sb = new StringBuilder(100); in toHuman() local
70 sb.append(prefix); in toHuman()
71 sb.append(header); in toHuman()
72 sb.append("catch "); in toHuman()
78 sb.append(",\n"); in toHuman()
79 sb.append(prefix); in toHuman()
80 sb.append(" "); in toHuman()
84 sb.append("<any>"); in toHuman()
86 sb.append(entry.getExceptionType().toHuman()); in toHuman()
89 sb.append(" -> "); in toHuman()
[all …]
DArrayData.java167 StringBuffer sb = new StringBuffer(100); in argString() local
171 sb.append("\n "); in argString()
172 sb.append(i); in argString()
173 sb.append(": "); in argString()
174 sb.append(values.get(i).toHuman()); in argString()
177 return sb.toString(); in argString()
184 StringBuffer sb = new StringBuffer(100); in listingString0() local
187 sb.append("array-data // for fill-array-data @ "); in listingString0()
188 sb.append(Hex.u2(baseAddress)); in listingString0()
191 sb.append("\n "); in listingString0()
[all …]
/dalvik/dx/src/com/android/dx/command/dump/
DSsaDumper.java116 StringBuilder sb = new StringBuilder(2000); in endParsingMember() local
118 sb.append("first "); in endParsingMember()
119 sb.append(Hex.u2( in endParsingMember()
121 sb.append('\n'); in endParsingMember()
129 sb.append("block ") in endParsingMember()
136 sb.append(" pred "); in endParsingMember()
137 sb.append(Hex.u2(ssaMeth.blockIndexToRopLabel(i))); in endParsingMember()
138 sb.append('\n'); in endParsingMember()
141 sb.append(" live in:" + block.getLiveInRegs()); in endParsingMember()
142 sb.append("\n"); in endParsingMember()
[all …]
/dalvik/dx/src/com/android/dx/ssa/
DBasicRegisterMapper.java86 StringBuilder sb = new StringBuilder(); in toHuman() local
88 sb.append("Old\tNew\n"); in toHuman()
92 sb.append(i); in toHuman()
93 sb.append('\t'); in toHuman()
94 sb.append(oldToNew.get(i)); in toHuman()
95 sb.append('\n'); in toHuman()
98 sb.append("new reg count:"); in toHuman()
100 sb.append(runningCountNewRegisters); in toHuman()
101 sb.append('\n'); in toHuman()
103 return sb.toString(); in toHuman()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstString.java247 StringBuilder sb = new StringBuilder(len * 3 / 2); in toHuman() local
253 sb.append('\\'); in toHuman()
255 sb.append(c); in toHuman()
258 case '\n': sb.append("\\n"); break; in toHuman()
259 case '\r': sb.append("\\r"); break; in toHuman()
260 case '\t': sb.append("\\t"); break; in toHuman()
272 sb.append('\\'); in toHuman()
276 sb.append(outChar); in toHuman()
282 sb.append('0'); in toHuman()
288 sb.append("\\u"); in toHuman()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstUtf8.java246 StringBuilder sb = new StringBuilder(len * 3 / 2); in toHuman() local
252 sb.append('\\'); in toHuman()
254 sb.append(c); in toHuman()
257 case '\n': sb.append("\\n"); break; in toHuman()
258 case '\r': sb.append("\\r"); break; in toHuman()
259 case '\t': sb.append("\\t"); break; in toHuman()
271 sb.append('\\'); in toHuman()
275 sb.append(outChar); in toHuman()
281 sb.append('0'); in toHuman()
287 sb.append("\\u"); in toHuman()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DProtoIdItem.java73 StringBuilder sb = new StringBuilder(size + 1); in makeShortForm() local
75 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
78 sb.append(shortFormCharFor(parameters.getType(i))); in makeShortForm()
81 return new CstUtf8(sb.toString()); in makeShortForm()
135 StringBuilder sb = new StringBuilder(); in writeTo() local
136 sb.append(prototype.getReturnType().toHuman()); in writeTo()
137 sb.append(" proto("); in writeTo()
144 sb.append(", "); in writeTo()
146 sb.append(params.getType(i).toHuman()); in writeTo()
149 sb.append(")"); in writeTo()
[all …]
/dalvik/dx/src/com/android/dx/dex/file/
DProtoIdItem.java70 StringBuilder sb = new StringBuilder(size + 1); in makeShortForm() local
72 sb.append(shortFormCharFor(prototype.getReturnType())); in makeShortForm()
75 sb.append(shortFormCharFor(parameters.getType(i))); in makeShortForm()
78 return new CstString(sb.toString()); in makeShortForm()
132 StringBuilder sb = new StringBuilder(); in writeTo() local
133 sb.append(prototype.getReturnType().toHuman()); in writeTo()
134 sb.append(" proto("); in writeTo()
141 sb.append(", "); in writeTo()
143 sb.append(params.getType(i).toHuman()); in writeTo()
146 sb.append(")"); in writeTo()
[all …]
DUniformListItem.java109 StringBuilder sb = new StringBuilder(100); in toString() local
111 sb.append(getClass().getName()); in toString()
112 sb.append(items); in toString()
114 return sb.toString(); in toString()
128 StringBuilder sb = new StringBuilder(100); in toHuman() local
131 sb.append("{"); in toHuman()
137 sb.append(", "); in toHuman()
139 sb.append(i.toHuman()); in toHuman()
142 sb.append("}"); in toHuman()
143 return sb.toString(); in toHuman()

1234