Lines Matching refs:valptr
237 *valptr; /* Pointer into value */ in ppdLocalizeIPPReason() local
310 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) in ppdLocalizeIPPReason()
312 if (!strncmp(valptr, "text:", 5)) in ppdLocalizeIPPReason()
318 valptr += 5; in ppdLocalizeIPPReason()
320 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) in ppdLocalizeIPPReason()
322 if (*valptr == '%' && isxdigit(valptr[1] & 255) && in ppdLocalizeIPPReason()
323 isxdigit(valptr[2] & 255)) in ppdLocalizeIPPReason()
329 valptr ++; in ppdLocalizeIPPReason()
331 if (isdigit(*valptr & 255)) in ppdLocalizeIPPReason()
332 ch = (*valptr - '0') << 4; in ppdLocalizeIPPReason()
334 ch = (tolower(*valptr) - 'a' + 10) << 4; in ppdLocalizeIPPReason()
335 valptr ++; in ppdLocalizeIPPReason()
337 if (isdigit(*valptr & 255)) in ppdLocalizeIPPReason()
338 *bufptr++ = (char)(ch | (*valptr - '0')); in ppdLocalizeIPPReason()
340 *bufptr++ = (char)(ch | (tolower(*valptr) - 'a' + 10)); in ppdLocalizeIPPReason()
341 valptr ++; in ppdLocalizeIPPReason()
343 else if (*valptr == '+') in ppdLocalizeIPPReason()
346 valptr ++; in ppdLocalizeIPPReason()
349 *bufptr++ = *valptr++; in ppdLocalizeIPPReason()
358 while (*valptr && !_cups_isspace(*valptr)) in ppdLocalizeIPPReason()
359 valptr++; in ppdLocalizeIPPReason()
366 while (_cups_isspace(*valptr)) in ppdLocalizeIPPReason()
367 valptr ++; in ppdLocalizeIPPReason()
385 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;) in ppdLocalizeIPPReason()
387 if ((!strncmp(valptr, scheme, schemelen) && valptr[schemelen] == ':') || in ppdLocalizeIPPReason()
388 (*valptr == '/' && !strcmp(scheme, "file"))) in ppdLocalizeIPPReason()
394 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend) in ppdLocalizeIPPReason()
395 *bufptr++ = *valptr++; in ppdLocalizeIPPReason()
407 while (*valptr && !_cups_isspace(*valptr)) in ppdLocalizeIPPReason()
408 valptr++; in ppdLocalizeIPPReason()
415 while (_cups_isspace(*valptr)) in ppdLocalizeIPPReason()
416 valptr ++; in ppdLocalizeIPPReason()