Home | History | Annotate | Download | only in impl

Lines Matching defs:append

270         // for (int i=0; i<a.length; ++i) buffer.append((char) a[i]);
271 buffer.append((char) (a.length >> 16));
272 buffer.append((char) a.length);
303 buffer.append((char) (a.length >> 16));
304 buffer.append((char) a.length);
336 buffer.append((char) (a.length >> 16));
337 buffer.append((char) a.length);
388 buffer.append((char)(value >>> 16));
389 buffer.append((char)(value & 0xFFFF));
405 buffer.append(ESCAPE);
407 buffer.append(valueChar);
413 buffer.append(ESCAPE);
415 buffer.append(valueChar);
418 buffer.append(ESCAPE);
419 buffer.append((char) length);
420 buffer.append(valueChar); // Don't need to escape this value
452 * Append a byte to the given Appendable, packing two bytes into each
464 buffer.append(c);
658 if (i > 0) buffer.append('+').append(LINE_SEPARATOR);
659 buffer.append(" \"");
665 buffer.append("\\n");
668 buffer.append("\\t");
671 buffer.append("\\r");
678 buffer.append('\\');
679 buffer.append(HEX_DIGIT[(c & 0700) >> 6]); // HEX_DIGIT works for octal
680 buffer.append(HEX_DIGIT[(c & 0070) >> 3]);
681 buffer.append(HEX_DIGIT[(c & 0007)]);
686 buffer.append(c);
690 buffer.append("\\u");
691 buffer.append(HEX_DIGIT[(c & 0xF000) >> 12]);
692 buffer.append(HEX_DIGIT[(c & 0x0F00) >> 8]);
693 buffer.append(HEX_DIGIT[(c & 0x00F0) >> 4]);
694 buffer.append(HEX_DIGIT[(c & 0x000F)]);
698 buffer.append('"');
712 buffer.append("\"");
717 buffer.append("\\n");
719 buffer.append("\\t");
721 buffer.append("\\r");
727 buffer.append('\\');
728 buffer.append(HEX_DIGIT[(c & 0700) >> 6]); // HEX_DIGIT works for octal
729 buffer.append(HEX_DIGIT[(c & 0070) >> 3]);
730 buffer.append(HEX_DIGIT[(c & 0007)]);
734 buffer.append(c);
737 buffer.append("\\u");
738 buffer.append(HEX_DIGIT[(c & 0xF000) >> 12]);
739 buffer.append(HEX_DIGIT[(c & 0x0F00) >> 8]);
740 buffer.append(HEX_DIGIT[(c & 0x00F0) >> 4]);
741 buffer.append(HEX_DIGIT[(c & 0x000F)]);
744 buffer.append('"');
759 buf.append("\\\\"); // That is, "\\"
761 buf.append((char)c);
765 buf.append(four ? "\\u" : "\\U");
766 buf.append(hex(c, four ? 4 : 8));
935 buf.append(c);
954 buf.append(c);
960 buf.append(c);
1003 * digits. E.g., hex('ab'...) => "0041,0042". Append the output
1013 result.append(separator);
1015 result.append(hex(cp,width));
1020 result.append(separator);
1022 result.append(hex(s.charAt(i),width));
1035 if (i != 0) result.append(separator);
1036 result.append(hex(o[i]));
1363 * Append the digits of a positive integer to the given
1368 * @param result is the <code>Appendable</code> to append to
1371 * @param minDigits is the minimum number of digits to append.
1382 result.append(DIGITS[digit]);
1389 * Append a number to the given Appendable in the given radix.
1414 result.append("-");
1482 * and return FALSE. Otherwise, append the escaped notation and
1488 result.append('\\');
1490 result.append('U');
1491 result.append(DIGITS[0xF&(c>>28)]);
1492 result.append(DIGITS[0xF&(c>>24)]);
1493 result.append(DIGITS[0xF&(c>>20)]);
1494 result.append(DIGITS[0xF&(c>>16)]);
1496 result.append('u');
1498 result.append(DIGITS[0xF&(c>>12)]);
1499 result.append(DIGITS[0xF&(c>>8)]);
1500 result.append(DIGITS[0xF&(c>>4)]);
1501 result.append(DIGITS[0xF&c]);
1543 * Append a character to a rule that is being built up. To flush
1546 * @param rule the string to append the character to
1547 * @param c the character to append, or (int)-1 if none.
1581 rule.append(BACKSLASH).append(APOSTROPHE);
1594 rule.append(APOSTROPHE);
1595 rule.append(quoteBuf);
1596 rule.append(APOSTROPHE);
1600 rule.append(BACKSLASH).append(APOSTROPHE);
1612 rule.append(' ');
1623 rule.append(BACKSLASH).append((char)c);
1627 // whitespace need quoting. Also append stuff to quotes if we are
1638 quoteBuf.append((char)c);
1642 // Otherwise just append
1649 * Append the given string to the rule. Calls the single-character
1664 * Given a matcher reference, which may be null, append its
1765 result.append(s);