Lines Matching refs:buf
331 byte[] buf) {
333 int len = buf.length;
336 ch = buf[i];
369 char[] buf = new char[len+len];
375 buf[j++] = '\\';
377 buf[j++] = ch;
379 return new String(buf, 0, j);
620 * @param buf A non-null digest-challenge string.
623 * @throws SaslException if the buf cannot be parsed according to RFC 2831
625 protected static byte[][] parseDirectives(byte[] buf,
637 int i = skipLws(buf, 0);
638 while (i < buf.length) {
639 bch = buf[i];
648 i = skipLws(buf, i+1);
655 i = skipLws(buf, i+1); // Skip to next nonwhitespace
658 if (i < buf.length) {
659 if (buf[i] == '"') {
669 i = skipLws(buf, i+1);
672 if (i < buf.length) {
673 if (buf[i] != '=') {
690 if (i < buf.length) {
691 value.write(buf[i]);
718 i = skipLws(buf, i+1); // Skip separator and LWS
760 private static int skipLws(byte[] buf, int start) {
762 for (i = start; i < buf.length; i++) {
763 if (!isLws(buf[i])) {