Lines Matching refs:lineptr
2874 *lineptr; /* Current position in line buffer */ in ppd_read() local
2900 lineptr = line->buffer; in ppd_read()
2906 if (lineptr >= (line->buffer + line->bufsize - 1)) in ppd_read()
2937 lineptr = temp + (lineptr - line->buffer); in ppd_read()
2966 if (lineptr == line->buffer && ignoreblank) in ppd_read()
2974 *lineptr++ = '\n'; in ppd_read()
2993 *lineptr++ = (char)ch; in ppd_read()
3130 if (lineptr > line->buffer && lineptr[-1] == '\n') in ppd_read()
3131 lineptr --; in ppd_read()
3133 *lineptr = '\0'; in ppd_read()
3147 if (ch == EOF && lineptr == line->buffer) in ppd_read()
3155 lineptr = line->buffer + 1; in ppd_read()
3193 for (lineptr = line->buffer; *lineptr; lineptr ++) in ppd_read()
3194 if (*lineptr && !_cups_isspace(*lineptr)) in ppd_read()
3197 if (*lineptr) in ppd_read()
3214 while (*lineptr && *lineptr != ':' && !_cups_isspace(*lineptr)) in ppd_read()
3216 if (*lineptr <= ' ' || *lineptr > 126 || *lineptr == '/' || in ppd_read()
3223 *keyptr++ = *lineptr++; in ppd_read()
3233 if (_cups_isspace(*lineptr)) in ppd_read()
3239 while (_cups_isspace(*lineptr)) in ppd_read()
3240 lineptr ++; in ppd_read()
3244 while (*lineptr && !_cups_isspace(*lineptr) && *lineptr != ':' && in ppd_read()
3245 *lineptr != '/') in ppd_read()
3247 if (*lineptr <= ' ' || *lineptr > 126 || in ppd_read()
3254 *optptr++ = *lineptr++; in ppd_read()
3259 if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT) in ppd_read()
3265 while (_cups_isspace(*lineptr)) in ppd_read()
3266 lineptr ++; in ppd_read()
3270 if (*lineptr == '/') in ppd_read()
3276 lineptr ++; in ppd_read()
3280 while (*lineptr != '\0' && *lineptr != '\n' && *lineptr != ':') in ppd_read()
3282 if (((unsigned char)*lineptr < ' ' && *lineptr != '\t') || in ppd_read()
3289 *textptr++ = *lineptr++; in ppd_read()
3305 if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT) in ppd_read()
3311 while (_cups_isspace(*lineptr)) in ppd_read()
3312 lineptr ++; in ppd_read()
3314 if (*lineptr == ':') in ppd_read()
3320 lineptr ++; in ppd_read()
3321 while (_cups_isspace(*lineptr)) in ppd_read()
3322 lineptr ++; in ppd_read()
3324 strptr = lineptr + strlen(lineptr) - 1; in ppd_read()
3325 while (strptr >= lineptr && _cups_isspace(*strptr)) in ppd_read()
3335 lineptr ++; in ppd_read()
3338 *string = strdup(lineptr); in ppd_read()