Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 26) sorted by relevance

12

/dalvik/dx/src/com/android/dx/util/
DIndentingWriter.java31 private final String prefix; field in IndentingWriter
56 public IndentingWriter(Writer out, int width, String prefix) { in IndentingWriter() argument
67 if (prefix == null) { in IndentingWriter()
73 this.prefix = (prefix.length() == 0) ? null : prefix; in IndentingWriter()
115 if (prefix != null) { in write()
116 out.write(prefix); in write()
DFixedSizeList.java102 public String toString(String prefix, String separator, String suffix) { in toString() argument
103 return toString0(prefix, separator, suffix, false); in toString()
116 public String toHuman(String prefix, String separator, String suffix) { in toHuman() argument
117 return toString0(prefix, separator, suffix, true); in toHuman()
248 private String toString0(String prefix, String separator, String suffix, in toString0() argument
253 if (prefix != null) { in toString0()
254 sb.append(prefix); in toString0()
/dalvik/dexgen/src/com/android/dexgen/util/
DIndentingWriter.java31 private final String prefix; field in IndentingWriter
56 public IndentingWriter(Writer out, int width, String prefix) { in IndentingWriter() argument
67 if (prefix == null) { in IndentingWriter()
73 this.prefix = (prefix.length() == 0) ? null : prefix; in IndentingWriter()
115 if (prefix != null) { in write()
116 out.write(prefix); in write()
DFixedSizeList.java102 public String toString(String prefix, String separator, String suffix) { in toString() argument
103 return toString0(prefix, separator, suffix, false); in toString()
116 public String toHuman(String prefix, String separator, String suffix) { in toHuman() argument
117 return toString0(prefix, separator, suffix, true); in toHuman()
248 private String toString0(String prefix, String separator, String suffix, in toString0() argument
253 if (prefix != null) { in toString0()
254 sb.append(prefix); in toString0()
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoItem.java97 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { in annotateTo() argument
98 encode(file, prefix, null, out, false); in annotateTo()
107 public void debugPrint(PrintWriter out, String prefix) { in debugPrint() argument
108 encode(null, prefix, out, null, false); in debugPrint()
139 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, in encode() argument
141 byte[] result = encode0(file, prefix, debugPrint, out, consume); in encode()
170 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint, in encode0() argument
187 result = encoder.convertAndAnnotate(prefix, debugPrint, out, in encode0()
DCatchStructs.java107 public void debugPrint(PrintWriter out, String prefix) { in debugPrint() argument
108 annotateEntries(prefix, out, null); in debugPrint()
229 private void annotateEntries(String prefix, PrintWriter printTo, in annotateEntries() argument
237 String subPrefix = prefix + " "; in annotateEntries()
240 annotateTo.annotate(0, prefix + "tries:"); in annotateEntries()
242 printTo.println(prefix + "tries:"); in annotateEntries()
266 annotateTo.annotate(0, prefix + "handlers:"); in annotateEntries()
304 int offset, int size, String prefix, PrintWriter printTo, in annotateAndConsumeHandlers() argument
306 String s = handlers.toHuman(prefix, Hex.u2(offset) + ": "); in annotateAndConsumeHandlers()
DAnnotationItem.java173 public void annotateTo(AnnotatedOutput out, String prefix) { in annotateTo() argument
174 out.annotate(0, prefix + "visibility: " + in annotateTo()
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); in annotateTo()
182 out.annotate(0, prefix + name.toHuman() + ": " + in annotateTo()
DCodeItem.java156 public void debugPrint(PrintWriter out, String prefix, boolean verbose) { in debugPrint() argument
164 insns.debugPrint(out, prefix, verbose); in debugPrint()
166 String prefix2 = prefix + " "; in debugPrint()
169 out.print(prefix); in debugPrint()
175 out.print(prefix); in debugPrint()
DDebugInfoEncoder.java96 private String prefix; field in DebugInfoEncoder
139 if (prefix != null) { in annotate()
140 message = prefix + message; in annotate()
189 public byte[] convertAndAnnotate(String prefix, PrintWriter debugPrint, in convertAndAnnotate() argument
191 this.prefix = prefix; in convertAndAnnotate()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoItem.java100 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { in annotateTo() argument
101 encode(file, prefix, null, out, false); in annotateTo()
110 public void debugPrint(PrintWriter out, String prefix) { in debugPrint() argument
111 encode(null, prefix, out, null, false); in debugPrint()
142 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, in encode() argument
144 byte[] result = encode0(file, prefix, debugPrint, out, consume); in encode()
173 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint, in encode0() argument
190 result = encoder.convertAndAnnotate(prefix, debugPrint, out, in encode0()
DCatchStructs.java110 public void debugPrint(PrintWriter out, String prefix) { in debugPrint() argument
111 annotateEntries(prefix, out, null); in debugPrint()
232 private void annotateEntries(String prefix, PrintWriter printTo, in annotateEntries() argument
240 String subPrefix = prefix + " "; in annotateEntries()
243 annotateTo.annotate(0, prefix + "tries:"); in annotateEntries()
245 printTo.println(prefix + "tries:"); in annotateEntries()
269 annotateTo.annotate(0, prefix + "handlers:"); in annotateEntries()
307 int offset, int size, String prefix, PrintWriter printTo, in annotateAndConsumeHandlers() argument
309 String s = handlers.toHuman(prefix, Hex.u2(offset) + ": "); in annotateAndConsumeHandlers()
DAnnotationItem.java173 public void annotateTo(AnnotatedOutput out, String prefix) { in annotateTo() argument
174 out.annotate(0, prefix + "visibility: " + in annotateTo()
176 out.annotate(0, prefix + "type: " + annotation.getType().toHuman()); in annotateTo()
182 out.annotate(0, prefix + name.toHuman() + ": " + in annotateTo()
DCodeItem.java165 public void debugPrint(PrintWriter out, String prefix, boolean verbose) { in debugPrint() argument
173 insns.debugPrint(out, prefix, verbose); in debugPrint()
175 String prefix2 = prefix + " "; in debugPrint()
178 out.print(prefix); in debugPrint()
184 out.print(prefix); in debugPrint()
DDebugInfoEncoder.java88 private String prefix; field in DebugInfoEncoder
131 if (prefix != null) { in annotate()
132 message = prefix + message; in annotate()
181 public byte[] convertAndAnnotate(String prefix, PrintWriter debugPrint, in convertAndAnnotate() argument
183 this.prefix = prefix; in convertAndAnnotate()
/dalvik/dx/src/com/android/multidex/
DFolderPathElement.java53 private void collect(File folder, String prefix, ArrayList<String> result) { in collect() argument
56 collect(file, prefix + SEPARATOR_CHAR + file.getName(), result); in collect()
58 result.add(prefix + SEPARATOR_CHAR + file.getName()); in collect()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsnList.java224 public void debugPrint(Writer out, String prefix, boolean verbose) { in debugPrint() argument
225 IndentingWriter iw = new IndentingWriter(out, 0, prefix); in debugPrint()
258 public void debugPrint(OutputStream out, String prefix, boolean verbose) { in debugPrint() argument
260 debugPrint(w, prefix, verbose); in debugPrint()
DCatchHandlerList.java66 public String toHuman(String prefix, String header) { in toHuman() argument
70 sb.append(prefix); in toHuman()
79 sb.append(prefix); in toHuman()
DOutputFinisher.java581 DalvInsn prefix; in performExpansion() local
586 prefix = null; in performExpansion()
590 prefix = insn.hrPrefix(); in performExpansion()
602 if (prefix != null) { in performExpansion()
603 result.add(prefix); in performExpansion()
DDalvInsn.java316 public final String listingString(String prefix, int width, in listingString() argument
324 String addr = prefix + identifierString() + ": "; in listingString()
DLocalList.java79 public void debugPrint(PrintStream out, String prefix) { in debugPrint() argument
83 out.print(prefix); in debugPrint()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java224 public void debugPrint(Writer out, String prefix, boolean verbose) { in debugPrint() argument
225 IndentingWriter iw = new IndentingWriter(out, 0, prefix); in debugPrint()
258 public void debugPrint(OutputStream out, String prefix, boolean verbose) { in debugPrint() argument
260 debugPrint(w, prefix, verbose); in debugPrint()
DCatchHandlerList.java66 public String toHuman(String prefix, String header) { in toHuman() argument
70 sb.append(prefix); in toHuman()
79 sb.append(prefix); in toHuman()
DOutputFinisher.java632 DalvInsn prefix; in performExpansion() local
637 prefix = null; in performExpansion()
644 prefix = insn.expandedPrefix(compatRegs); in performExpansion()
661 if (prefix != null) { in performExpansion()
662 result.add(prefix); in performExpansion()
DDalvInsn.java345 public final String listingString(String prefix, int width, in listingString() argument
353 String addr = prefix + identifierString() + ": "; in listingString()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java1369 public boolean isArg(String prefix) { in isArg() argument
1370 int n = prefix.length(); in isArg()
1371 if (n > 0 && prefix.charAt(n-1) == '=') { in isArg()
1373 if (current.startsWith(prefix)) { in isArg()
1379 prefix = prefix.substring(0, n-1); in isArg()
1380 if (current.equals(prefix)) { in isArg()
1385 System.err.println("Missing value after parameter " + prefix); in isArg()
1393 return current.equals(prefix); in isArg()

12