Lines Matching refs:bufptr
10666 char *bufptr, /* Pointer into buffer */
10671 bufptr = buffer + strlen(buffer);
10676 if (bufptr >= bufend)
10680 *bufptr++ = ',';
10682 *bufptr++ = '=';
10684 if (bufptr >= bufend)
10687 *bufptr++ = '\'';
10689 bufptr = url_encode_string(attr->values[i].string.text, bufptr, (size_t)(bufend - bufptr + 1));
10691 if (bufptr >= bufend)
10694 *bufptr++ = '\'';
10697 *bufptr = '\0';
10710 char *bufptr, /* Pointer into buffer */
10716 bufptr = buffer;
10719 while (*s && bufptr < bufend)
10723 if (bufptr >= (bufend - 2))
10726 *bufptr++ = '%';
10727 *bufptr++ = hex[(*s >> 4) & 15];
10728 *bufptr++ = hex[*s & 15];
10734 if (bufptr >= (bufend - 1))
10737 *bufptr++ = '\\';
10738 *bufptr++ = *s++;
10741 *bufptr++ = *s++;
10744 *bufptr = '\0';
10746 return (bufptr);