Lines Matching refs:newlen
535 int newlen = len + 1;
539 if ((newlen % blockSize) != 0) {
540 newlen += blockSize - 1;
541 newlen -= newlen % blockSize;
543 pad = (byte) (newlen - len);
545 if (buf.length < (newlen + offset)) {
555 return newlen;
569 int newlen = len + 1;
573 if ((newlen % blockSize) != 0) {
574 newlen += blockSize - 1;
575 newlen -= newlen % blockSize;
577 pad = (byte) (newlen - len);
582 bb.limit(newlen + offset);
594 return newlen;