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