Lines Matching refs:mdl
267 *mdl, /* Model */ in backendGetDeviceID()
286 if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) in backendGetDeviceID()
287 mdl = cupsGetOption("MDL", num_values, values); in backendGetDeviceID()
306 if (!mdl) in backendGetDeviceID()
307 mdl = ""; in backendGetDeviceID()
309 if (!_cups_strncasecmp(mdl, mfg, strlen(mfg))) in backendGetDeviceID()
311 mdl += strlen(mfg); in backendGetDeviceID()
313 while (isspace(*mdl & 255)) in backendGetDeviceID()
314 mdl ++; in backendGetDeviceID()
323 "/%s%s%s", mdl, sern ? "?serial=" : "", sern ? sern : ""); in backendGetDeviceID()
346 *mdl, /* Model string */ in backendGetMakeModel() local
365 if ((mdl = cupsGetOption("MODEL", num_values, values)) == NULL) in backendGetMakeModel()
366 mdl = cupsGetOption("MDL", num_values, values); in backendGetMakeModel()
368 if (mdl) in backendGetMakeModel()
377 if (!mfg || !_cups_strncasecmp(mdl, mfg, strlen(mfg))) in backendGetMakeModel()
383 _ppdNormalizeMakeAndModel(mdl, make_model, make_model_size); in backendGetMakeModel()
393 snprintf(temp, sizeof(temp), "%s %s", mfg, mdl); in backendGetMakeModel()