Lines Matching defs:nextp
585 char *cp, *nextp, *lastp;
604 nextp = buf;
606 while (nextp < lastp) {
607 if ((n = (lastp - nextp)) > (unsigned int)MB_CUR_MAX)
609 if ((n = mbtowc((wchar_t *)0, nextp, n)) <= 0) {
610 if ((lastp - nextp) < (unsigned int)MB_CUR_MAX)
614 nextp += n;
617 delta_size = lastp - nextp;
619 if (nextp[delta_size - 1] != '\n') {
621 memcpy(delta_pool, nextp, delta_size);
623 nextp = lastp;
625 *nextp = '\0';
626 return (nextp-buf); /* Return # of bytes. */