Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 25 of 95) 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.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.java306 StringBuffer sb = new StringBuffer(80); in toStringWithInline() local
308 sb.append("Insn{"); in toStringWithInline()
309 sb.append(position); in toStringWithInline()
310 sb.append(' '); in toStringWithInline()
311 sb.append(opcode); in toStringWithInline()
314 sb.append(' '); in toStringWithInline()
315 sb.append(extra); in toStringWithInline()
318 sb.append(" :: "); in toStringWithInline()
321 sb.append(result); in toStringWithInline()
322 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/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.java60 StringBuilder sb = new StringBuilder(100); in listingString() local
62 sb.append(op); in listingString()
65 sb.append(' '); in listingString()
66 sb.append(arg); in listingString()
70 sb.append(" // "); in listingString()
71 sb.append(comment); in listingString()
74 return sb.toString(); in listingString()
184 StringBuffer sb = new StringBuffer(sz * 5 + 2); in regListString() local
186 sb.append('{'); in regListString()
190 sb.append(", "); in regListString()
[all …]
DSwitchData.java164 StringBuffer sb = new StringBuffer(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 StringBuffer sb = new StringBuffer(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 …]
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("fill-array-data-payload // for fill-array-data @ "); in listingString0()
188 sb.append(Hex.u2(baseAddress)); in listingString0()
191 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/ssa/
DBasicRegisterMapper.java87 StringBuilder sb = new StringBuilder(); in toHuman() local
89 sb.append("Old\tNew\n"); in toHuman()
93 sb.append(i); in toHuman()
94 sb.append('\t'); in toHuman()
95 sb.append(oldToNew.get(i)); in toHuman()
96 sb.append('\n'); in toHuman()
99 sb.append("new reg count:"); in toHuman()
101 sb.append(runningCountNewRegisters); in toHuman()
102 sb.append('\n'); in toHuman()
104 return sb.toString(); in toHuman()
/dalvik/dx/src/com/android/dx/command/dump/
DSsaDumper.java124 StringBuffer sb = new StringBuffer(2000); in endParsingMember() local
126 sb.append("first "); in endParsingMember()
127 sb.append(Hex.u2( in endParsingMember()
129 sb.append('\n'); in endParsingMember()
137 sb.append("block ") in endParsingMember()
144 sb.append(" pred "); in endParsingMember()
145 sb.append(Hex.u2(ssaMeth.blockIndexToRopLabel(i))); in endParsingMember()
146 sb.append('\n'); in endParsingMember()
149 sb.append(" live in:" + block.getLiveInRegs()); in endParsingMember()
150 sb.append("\n"); in endParsingMember()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/
DStdMember.java71 StringBuffer sb = new StringBuffer(100); in toString() local
73 sb.append(getClass().getName()); in toString()
74 sb.append('{'); in toString()
75 sb.append(nat.toHuman()); in toString()
76 sb.append('}'); in toString()
78 return sb.toString(); in toString()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DUniformListItem.java111 StringBuffer sb = new StringBuffer(100); in toString() local
113 sb.append(getClass().getName()); in toString()
114 sb.append(items); in toString()
116 return sb.toString(); in toString()
130 StringBuffer sb = new StringBuffer(100); in toHuman() local
133 sb.append("{"); in toHuman()
139 sb.append(", "); in toHuman()
141 sb.append(i.toHuman()); in toHuman()
144 sb.append("}"); in toHuman()
145 return sb.toString(); in toHuman()
/dalvik/dx/src/com/android/dx/dex/file/
DUniformListItem.java111 StringBuffer sb = new StringBuffer(100); in toString() local
113 sb.append(getClass().getName()); in toString()
114 sb.append(items); in toString()
116 return sb.toString(); in toString()
130 StringBuffer sb = new StringBuffer(100); in toHuman() local
133 sb.append("{"); in toHuman()
139 sb.append(", "); in toHuman()
141 sb.append(i.toHuman()); in toHuman()
144 sb.append("}"); in toHuman()
145 return sb.toString(); in toHuman()
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 …]
/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/dx/src/com/android/dx/rop/cst/
DCstString.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 …]

1234