Searched refs:make_and_model (Results 1 – 3 of 3) sorted by relevance
/external/libcups/cups/ |
D | ppd-attr.c | 142 const char *make_and_model, /* I - Original make-and-model string */ in _ppdNormalizeMakeAndModel() argument 149 if (!make_and_model || !buffer || bufsize < 1) in _ppdNormalizeMakeAndModel() 161 while (_cups_isspace(*make_and_model)) in _ppdNormalizeMakeAndModel() 162 make_and_model ++; in _ppdNormalizeMakeAndModel() 168 if (make_and_model[0] == '(') in _ppdNormalizeMakeAndModel() 170 strlcpy(buffer, make_and_model + 1, bufsize); in _ppdNormalizeMakeAndModel() 175 else if (!_cups_strncasecmp(make_and_model, "XPrint", 6)) in _ppdNormalizeMakeAndModel() 181 snprintf(buffer, bufsize, "Xerox %s", make_and_model); in _ppdNormalizeMakeAndModel() 183 else if (!_cups_strncasecmp(make_and_model, "Eastman", 7)) in _ppdNormalizeMakeAndModel() 189 snprintf(buffer, bufsize, "Kodak %s", make_and_model + 7); in _ppdNormalizeMakeAndModel() [all …]
|
D | dest.c | 3164 make_and_model[512], local 3175 make_and_model[0] = '\0'; 3219 strlcpy(make_and_model, value, sizeof(make_and_model)); 3344 if (make_and_model[0]) 3346 strlcat(make_and_model, " ", sizeof(make_and_model)); 3347 strlcat(make_and_model, model, sizeof(make_and_model)); 3349 …device->dest.num_options = cupsAddOption("printer-make-and-model", make_and_model, device->dest.nu…
|
D | ppd-private.h | 209 extern char *_ppdNormalizeMakeAndModel(const char *make_and_model,
|