Home
last modified time | relevance | path

Searched refs:make_model (Results 1 – 8 of 8) sorted by relevance

/third_party/cups-filters/filter/
Dpdftops.c63 char make_model[128] = ""; variable
451 strncpy(make_model, val, sizeof(make_model) - 1); in main()
453 make_model[127] = '\0'; in main()
454 for (ptr = make_model; *ptr; ptr ++) in main()
459 snprintf(make_model, sizeof(make_model), "%s %s", ppd->manufacturer, in main()
461 make_model[strlen(make_model) - 1] = '\0'; in main()
463 fprintf(stderr, "DEBUG: Printer make and model: %s\n", make_model); in main()
493 if (make_model[0] && in main()
494 (!strncasecmp(make_model, "Brother", 7) || in main()
495 !strncasecmp(make_model, "Dell", 4) || in main()
[all …]
/third_party/cups-filters/backend/
Dieee1284.c56 char *make_model, /* O - Make/model */ in backendGetDeviceID() argument
66 (void)make_model; in backendGetDeviceID()
88 make_model, make_model_size, scheme ? scheme : "(null)", in backendGetDeviceID()
101 if (make_model) in backendGetDeviceID()
102 *make_model = '\0'; in backendGetDeviceID()
303 if (make_model) in backendGetDeviceID()
304 backendGetMakeModel(device_id, make_model, make_model_size); in backendGetDeviceID()
346 strncpy(temp, make_model, sizeof(temp) - 1); in backendGetDeviceID()
389 char *make_model, /* O - Make/model */ in backendGetMakeModel() argument
401 make_model, make_model_size)); in backendGetMakeModel()
[all …]
Dtest1284.c45 make_model[1024], /* make-and-model string */ in main() local
65 backendGetDeviceID(fd, device_id, sizeof(device_id), make_model, in main()
66 sizeof(make_model), "test", uri, sizeof(uri)); in main()
69 printf(" make_model=\"%s\"\n", make_model); in main()
Dbackend-private.h68 char *make_model,
73 char *make_model,
Dparallel.c392 make_model[1024], /* Make and model */ in list_devices() local
423 make_model, sizeof(make_model), in list_devices()
426 snprintf(info, sizeof(info), "%s LPT #%d", make_model, i + 1); in list_devices()
427 cupsBackendReport("direct", uri, make_model, info, device_id, NULL); in list_devices()
/third_party/cups-filters/cupsfilters/
Dppdgenerator.h64 ipp_t *response, const char *make_model,
67 ipp_t *response, const char *make_model,
Dppdgenerator.c1543 const char *make_model, /* I - Make and model from in ppdCreateFromIPP() argument
1552 return ppdCreateFromIPP2(buffer, bufsize, response, make_model, pdl, in ppdCreateFromIPP()
1568 const char *make_model, /* I - Make and model from in ppdCreateFromIPP2() argument
1709 else if (make_model && make_model[0] != '\0') in ppdCreateFromIPP2()
1710 strlcpy(make, make_model, sizeof(make)); in ppdCreateFromIPP2()
/third_party/cups-filters/utils/
Dcups-browsed.c180 char *make_model; member
289 char *make_model; member
3924 const gchar *make_model, const gchar *browse_options) in new_browse_data() argument
3932 data->make_model = g_strdup (make_model); in new_browse_data()
3945 g_free (bdata->make_model); in browse_data_free()
3996 gchar *make_model = NULL; in prepare_browse_data() local
4041 make_model = g_strjoinv ("", tokens); in prepare_browse_data()
4093 if (type != -1 && state != -1 && uri && location && info && make_model) { in prepare_browse_data()
4099 info, make_model, browse_options_str); in prepare_browse_data()
4104 if (make_model) in prepare_browse_data()
[all …]