Lines Matching defs:beg
605 int beg = 0;
609 while ((beg < end) && isWhitespace(chars[beg])) {
610 ++beg;
613 while ((beg < end) && isWhitespace(chars[end - 1])) {
621 (beg < end) &&
625 if (beg >= end) {
629 if (chars[beg] == '#') {
631 return decodeHexPairs(chars, ++beg, end);
635 if ((chars[beg] == '\"') && (chars[end - 1] == '\"')) {
636 ++beg;
640 StringBuilder builder = new StringBuilder(end - beg);
643 for (int i = beg; i < end; i++) {
688 private static byte[] decodeHexPairs(char[] chars, int beg, int end) {
689 byte[] bytes = new byte[(end - beg) / 2];
690 for (int i = 0; beg + 1 < end; i++) {
691 int hi = Character.digit(chars[beg], 16);
692 int lo = Character.digit(chars[beg + 1], 16);
697 beg += 2;
699 if (beg != end) {
714 private static byte[] getUtf8Octets(char[] chars, int beg, int end) {
715 byte[] utf8 = new byte[(end - beg) / 3]; // allow enough room
718 while ((beg + 2 < end) &&
719 (chars[beg++] == '\\')) {
720 int hi = Character.digit(chars[beg++], 16);
721 int lo = Character.digit(chars[beg++], 16);