Home | History | Annotate | Download | only in cups

Lines Matching defs:valptr

248 		*valptr;		/* Pointer into value */
363 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;)
365 if (!strncmp(valptr, "text:", 5))
371 valptr += 5;
373 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend)
375 if (*valptr == '%' && isxdigit(valptr[1] & 255) &&
376 isxdigit(valptr[2] & 255))
382 valptr ++;
384 if (isdigit(*valptr & 255))
385 ch = (*valptr - '0') << 4;
387 ch = (tolower(*valptr) - 'a' + 10) << 4;
388 valptr ++;
390 if (isdigit(*valptr & 255))
391 *bufptr++ = (char)(ch | (*valptr - '0'));
393 *bufptr++ = (char)(ch | (tolower(*valptr) - 'a' + 10));
394 valptr ++;
396 else if (*valptr == '+')
399 valptr ++;
402 *bufptr++ = *valptr++;
411 while (*valptr && !_cups_isspace(*valptr))
412 valptr++;
419 while (_cups_isspace(*valptr))
420 valptr ++;
438 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;)
440 if ((!strncmp(valptr, scheme, schemelen) && valptr[schemelen] == ':') ||
441 (*valptr == '/' && !strcmp(scheme, "file")))
447 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend)
448 *bufptr++ = *valptr++;
460 while (*valptr && !_cups_isspace(*valptr))
461 valptr++;
468 while (_cups_isspace(*valptr))
469 valptr ++;