Home
last modified time | relevance | path

Searched refs:nameptr (Results 1 – 6 of 6) sorted by relevance

/external/libcups/cups/
Dppd-page.c38 char *nameptr; /* Pointer into name */ in ppdPageSize() local
82 w = _cupsStrScand(name + 7, &nameptr, loc); in ppdPageSize()
83 if (!nameptr || *nameptr != 'x') in ppdPageSize()
86 l = _cupsStrScand(nameptr + 1, &nameptr, loc); in ppdPageSize()
87 if (!nameptr) in ppdPageSize()
90 if (!_cups_strcasecmp(nameptr, "in")) in ppdPageSize()
95 else if (!_cups_strcasecmp(nameptr, "ft")) in ppdPageSize()
100 else if (!_cups_strcasecmp(nameptr, "mm")) in ppdPageSize()
105 else if (!_cups_strcasecmp(nameptr, "cm")) in ppdPageSize()
110 else if (!_cups_strcasecmp(nameptr, "m")) in ppdPageSize()
Dpwg-media.c302 const char *nameptr; /* Pointer into name */ in pwgFormatSizeName() local
304 for (nameptr = name; *nameptr; nameptr ++) in pwgFormatSizeName()
305 if (!(*nameptr >= 'a' && *nameptr <= 'z') && in pwgFormatSizeName()
306 !(*nameptr >= '0' && *nameptr <= '9') && in pwgFormatSizeName()
307 *nameptr != '.' && *nameptr != '-') in pwgFormatSizeName()
Dhttp-addr.c680 const char *nameptr; /* Pointer into name */ in httpGetHostByName() local
730 for (nameptr = name; isdigit(*nameptr & 255) || *nameptr == '.'; nameptr ++); in httpGetHostByName()
732 if (!*nameptr) in httpGetHostByName()
Ddest.c4124 *nameptr; /* Pointer into name */ local
4140 if ((nameptr = strchr(namebuf, ' ')) != NULL)
4141 *nameptr = '\0';
4142 if ((nameptr = strchr(namebuf, '\t')) != NULL)
4143 *nameptr = '\0';
4145 if ((nameptr = strchr(namebuf, '/')) != NULL)
4146 *nameptr++ = '\0';
4148 *instance = nameptr;
4453 char *nameptr; /* Pointer into name */ local
4456 for (nameptr = name, ptr = serviceName; *ptr && nameptr < (name + namesize - 1); ptr ++)
[all …]
Ddest-options.c1459 *nameptr, /* Pointer into current name */ in cups_create_defaults() local
1478 if ((nameptr = attr->name + strlen(attr->name) - 8) <= attr->name || in cups_create_defaults()
1479 strcmp(nameptr, "-default")) in cups_create_defaults()
1483 if ((nameptr = name + strlen(name) - 8) <= name || in cups_create_defaults()
1484 strcmp(nameptr, "-default")) in cups_create_defaults()
1487 *nameptr = '\0'; in cups_create_defaults()
Dppd.c464 *nameptr, /* Pointer into name */ in _ppdOpen() local
1226 for (nameptr = ppd->emulations[i].name; in _ppdOpen()
1229 if (nameptr < (ppd->emulations[i].name + sizeof(ppd->emulations[i].name) - 1)) in _ppdOpen()
1230 *nameptr++ = *sptr; in _ppdOpen()
1232 *nameptr = '\0'; in _ppdOpen()