Home | History | Annotate | Download | only in cups

Lines Matching defs:bufptr

487   char	*bufptr;			/* Pointer into buffer */
496 bufptr = cups_scan_strings(buffer);
498 if (*bufptr != '\"')
501 *bufptr++ = '\0';
503 while (*bufptr && *bufptr != '\"')
504 bufptr ++;
506 if (!*bufptr)
509 *str = bufptr + 1;
510 bufptr = cups_scan_strings(bufptr);
512 if (*bufptr != '\"')
515 *bufptr = '\0';
531 char *bufptr; /* Pointer into string */
534 for (bufptr = buffer + 1; *bufptr && *bufptr != '\"'; bufptr ++)
536 if (*bufptr == '\\')
538 if (bufptr[1] >= '0' && bufptr[1] <= '3' &&
539 bufptr[2] >= '0' && bufptr[2] <= '7' &&
540 bufptr[3] >= '0' && bufptr[3] <= '7')
546 *bufptr = (char)(((((bufptr[1] - '0') << 3) | (bufptr[2] - '0')) << 3) | (bufptr[3] - '0'));
547 _cups_strcpy(bufptr + 1, bufptr + 4);
555 _cups_strcpy(bufptr, bufptr + 1);
556 if (*bufptr == 'n')
557 *bufptr = '\n';
558 else if (*bufptr == 'r')
559 *bufptr = '\r';
560 else if (*bufptr == 't')
561 *bufptr = '\t';
566 return (bufptr);