Lines Matching refs:buf

112     StringBuffer buf = new StringBuffer();
127 buf.append(Constants.ACCESS_NAMES[i] + " ");
131 return buf.toString().trim();
159 StringBuffer buf = new StringBuffer(code.length * 20); // Should be sufficient
169 buf.append(indices + codeToString(stream, constant_pool, verbose) + '\n');
173 System.out.println(buf.toString());
178 return buf.toString();
205 StringBuffer buf = new StringBuffer(Constants.OPCODE_NAMES[opcode]);
236 buf.append("\tdefault = " + default_offset + ", low = " + low +
242 buf.append(jump_table[i]);
245 buf.append(", ");
247 buf.append(")");
262 buf.append("\tdefault = " + default_offset + ", npairs = " + npairs +
270 buf.append("(" + match[i] + ", " + jump_table[i] + ")");
273 buf.append(", ");
275 buf.append(")");
287 buf.append("\t\t#" + ((bytes.getIndex() - 1) + bytes.readShort()));
293 buf.append("\t\t#" + ((bytes.getIndex() - 1) + bytes.readInt()));
308 buf.append("\t\t%" + vindex);
318 buf.append("\t(wide)");
324 buf.append("\t\t<" + Constants.TYPE_NAMES[bytes.readByte()] + ">");
331 buf.append("\t\t" +
340 buf.append("\t");
343 buf.append("\t<" + constant_pool.constantToString(index,
352 buf.append("\t" + constant_pool.constantToString(index,
360 buf.append("\t" +
372 buf.append("\t\t" + constant_pool.constantToString
380 buf.append("\t\t" +
391 buf.append("\t\t<" + compactClassName(constant_pool.getConstantString
402 buf.append("\t<" + compactClassName(constant_pool.getConstantString
420 buf.append("\t\t%" + vindex + "\t" + constant);
426 buf.append("\t\t");
428 case Constants.T_BYTE: buf.append(bytes.readByte()); break;
429 case Constants.T_SHORT: buf.append(bytes.readShort()); break;
430 case Constants.T_INT: buf.append(bytes.readInt()); break;
434 buf.setLength(0);
440 return buf.toString();
544 StringBuffer buf = new StringBuffer("(");
554 buf.append(str);
559 buf.append(")" + str);
561 return buf.toString();
696 StringBuffer buf = new StringBuffer("(");
709 buf.append(param_type);
715 buf.append(" " + l.getName());
717 buf.append(" arg" + var_index);
724 buf.append(", ");
737 if(buf.length() > 1) // Tack off the extra ", "
738 buf.setLength(buf.length() - 2);
740 buf.append(")");
743 type + " " + name + buf.toString();
761 StringBuffer buf = new StringBuffer();
769 buf.append(str.substring(old_index, index)); // append prefix
770 buf.append(new_); // append replacement
775 buf.append(str.substring(old_index)); // append rest of string
776 str = buf.toString();
859 StringBuffer buf, brackets;
896 StringBuffer buf = new StringBuffer();
919 buf.append(chars[i]);
928 type = buf.toString();
929 buf.setLength(0);
932 buf.append('[');
939 buf.append(Constants.SHORT_TYPE_NAMES[i]);
944 buf.append('L' + type.replace('.', '/') + ';');
946 return buf.toString();
1059 StringBuffer buf = new StringBuffer();
1066 buf.append('0');
1068 buf.append(hex);
1071 buf.append(' ');
1074 return buf.toString();
1102 char[] buf = new char[(len < 0)? 0 : len];
1104 for(int j=0; j < buf.length; j++)
1105 buf[j] = fill;
1108 return str + new String(buf);
1110 return new String(buf) + str;
1147 StringBuffer buf = new StringBuffer();
1149 buf.append('{');
1153 buf.append((quote? "\"" : "") + obj[i].toString() + (quote? "\"" : ""));
1155 buf.append("null");
1159 buf.append(", ");
1164 buf.append('}');
1166 return buf.toString();
1376 StringBuffer buf = new StringBuffer();
1381 buf.append("\\n"); break;
1383 buf.append("\\r"); break;
1385 buf.append("\\\""); break;
1387 buf.append("\\'"); break;
1389 buf.append("\\\\"); break;
1391 buf.append(ch[i]); break;
1395 return buf.toString();