Lines Matching refs:next
502 int next = is.read();
503 if (next == -1) {
508 if (next == '-') {
512 last = next;
523 int next = is.read();
524 if (next == -1) {
527 if (next == '\n') {
531 if (next == '\r') {
532 next = is.read();
533 if (next == -1) {
536 if (next == '\n') {
540 data[pos++] = (char)next;
544 header.append((char)next);
549 int next = is.read();
550 if (next == -1) {
553 if (next != '-') {
554 data[pos++] = (char)next;
566 int next = is.read();
567 // Add next == '\n' for maximum safety, in case endline
569 if (next == -1 || next == end || next == '\n') {
572 if (next != '\r') footer.append((char)next);