Home | History | Annotate | Download | only in cups

Lines Matching defs:lineptr

2877 		*lineptr;		/* Current position in line buffer */
2903 lineptr = line->buffer;
2909 if (lineptr >= (line->buffer + line->bufsize - 1))
2940 lineptr = temp + (lineptr - line->buffer);
2969 if (lineptr == line->buffer && ignoreblank)
2977 *lineptr++ = '\n';
2996 *lineptr++ = (char)ch;
3133 if (lineptr > line->buffer && lineptr[-1] == '\n')
3134 lineptr --;
3136 *lineptr = '\0';
3150 if (ch == EOF && lineptr == line->buffer)
3158 lineptr = line->buffer + 1;
3196 for (lineptr = line->buffer; *lineptr; lineptr ++)
3197 if (*lineptr && !_cups_isspace(*lineptr))
3200 if (*lineptr)
3217 while (*lineptr && *lineptr != ':' && !_cups_isspace(*lineptr))
3219 if (*lineptr <= ' ' || *lineptr > 126 || *lineptr == '/' ||
3226 *keyptr++ = *lineptr++;
3236 if (_cups_isspace(*lineptr))
3242 while (_cups_isspace(*lineptr))
3243 lineptr ++;
3247 while (*lineptr && !_cups_isspace(*lineptr) && *lineptr != ':' &&
3248 *lineptr != '/')
3250 if (*lineptr <= ' ' || *lineptr > 126 ||
3257 *optptr++ = *lineptr++;
3262 if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT)
3268 while (_cups_isspace(*lineptr))
3269 lineptr ++;
3273 if (*lineptr == '/')
3279 lineptr ++;
3283 while (*lineptr != '\0' && *lineptr != '\n' && *lineptr != ':')
3285 if (((unsigned char)*lineptr < ' ' && *lineptr != '\t') ||
3292 *textptr++ = *lineptr++;
3308 if (_cups_isspace(*lineptr) && pg->ppd_conform == PPD_CONFORM_STRICT)
3314 while (_cups_isspace(*lineptr))
3315 lineptr ++;
3317 if (*lineptr == ':')
3323 lineptr ++;
3324 while (_cups_isspace(*lineptr))
3325 lineptr ++;
3327 strptr = lineptr + strlen(lineptr) - 1;
3328 while (strptr >= lineptr && _cups_isspace(*strptr))
3338 lineptr ++;
3341 *string = _cupsStrAlloc(lineptr);