Lines Matching refs:beg

109      * of "rdns" in the range [beg,end)) and, optionally
112 private LdapName(String name, Vector<Rdn> rdns, int beg, int end) {
115 for (int i = beg; i < end; i++) {
249 * Returns true if components [beg,end) match the components of "n".
252 * The following must hold: end - beg == n.size().
254 private boolean matches(int beg, int end, Name n) {
255 for (int i = beg; i < end; i++) {
259 rdn = ln.rdns.elementAt(i - beg);
261 String rdnString = n.get(i - beg);
479 final int beg = cur;
492 while ((cur > beg) && (chars[cur - 1] == ' ')) {
496 if (beg == cur) {
499 return new String(chars, beg, cur - beg);
518 final int beg = cur;
524 return new String(chars, beg, cur - beg);
529 final int beg = cur;
543 return new String(chars, beg, cur - beg);
548 final int beg = cur;
564 for (end = cur; end > beg; end--) {
569 return new String(chars, beg, end - beg);
854 int beg = 0;
858 while ((beg < end) && isWhitespace(chars[beg])) {
859 ++beg;
861 while ((beg < end) && isWhitespace(chars[end - 1])) {
870 (beg < end) &&
874 if (beg >= end) {
878 if (chars[beg] == '#') {
880 return decodeHexPairs(chars, ++beg, end);
884 if ((chars[beg] == '\"') && (chars[end - 1] == '\"')) {
885 ++beg;
889 StringBuffer buf = new StringBuffer(end - beg);
892 for (int i = beg; i < end; i++) {
936 private static byte[] decodeHexPairs(char[] chars, int beg, int end) {
937 byte[] bytes = new byte[(end - beg) / 2];
938 for (int i = 0; beg + 1 < end; i++) {
939 int hi = Character.digit(chars[beg], 16);
940 int lo = Character.digit(chars[beg + 1], 16);
945 beg += 2;
947 if (beg != end) {
962 private static byte[] getUtf8Octets(char[] chars, int beg, int end) {
963 byte[] utf8 = new byte[(end - beg) / 3]; // allow enough room
966 while ((beg + 2 < end) &&
967 (chars[beg++] == '\\')) {
968 int hi = Character.digit(chars[beg++], 16);
969 int lo = Character.digit(chars[beg++], 16);