Home
last modified time | relevance | path

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

/external/libcups/backend/
Dieee1284.c29 char *make_model, /* O - Make/model */ in backendGetDeviceID() argument
39 (void)make_model; in backendGetDeviceID()
67 if (make_model) in backendGetDeviceID()
68 *make_model = '\0'; in backendGetDeviceID()
255 if (make_model) in backendGetDeviceID()
256 backendGetMakeModel(device_id, make_model, (size_t)make_model_size); in backendGetDeviceID()
298 strlcpy(temp, make_model, sizeof(temp)); in backendGetDeviceID()
340 char *make_model, /* O - Make/model */ in backendGetMakeModel() argument
354 if (!device_id || !*device_id || !make_model || make_model_size < 32) in backendGetMakeModel()
357 *make_model = '\0'; in backendGetMakeModel()
[all …]
Dusb-unix.c203 make_model[1024]; /* Make and model */ in list_devices() local
239 make_model, sizeof(make_model), in list_devices()
241 cupsBackendReport("direct", device_uri, make_model, make_model, in list_devices()
252 make_model[1024]; /* Make and model */ in list_devices()
266 make_model, sizeof(make_model), in list_devices()
268 cupsBackendReport("direct", device_uri, make_model, make_model, in list_devices()
330 make_model[1024], /* Make and model */ in open_device() local
365 make_model, sizeof(make_model), in open_device()
431 make_model[1024], /* Make and model */ in open_device()
447 make_model, sizeof(make_model), in open_device()
Dsnmp.c122 static void fix_make_model(char *make_model,
138 const char *id, const char *make_model);
467 char *make_model, /* I - New make-and-model string */ in fix_make_model() argument
499 make_model[0] = 'H'; in fix_make_model()
500 make_model[1] = 'P'; in fix_make_model()
501 make_model[2] = ' '; in fix_make_model()
502 strlcpy(make_model + 3, mmptr, (size_t)make_model_size - 3); in fix_make_model()
505 snprintf(make_model, (size_t)make_model_size, "HP DeskJet%s", old_make_model + 7); in fix_make_model()
507 snprintf(make_model, (size_t)make_model_size, "HP OfficeJet%s", old_make_model + 9); in fix_make_model()
509 snprintf(make_model, (size_t)make_model_size, "EPSON Stylus Pro %s", old_make_model + 11); in fix_make_model()
[all …]
Dtest1284.c37 make_model[1024], /* make-and-model string */ in main() local
57 backendGetDeviceID(fd, device_id, sizeof(device_id), make_model, in main()
58 sizeof(make_model), "test", uri, sizeof(uri)); in main()
61 printf(" make_model=\"%s\"\n", make_model); in main()
Dbackend-private.h303 char *make_model,
308 char *make_model,
Dusb-libusb.c1117 char make_model[1024]; /* Make and model */ in list_cb() local
1124 if (backendGetMakeModel(device_id, make_model, sizeof(make_model))) in list_cb()
1125 strlcpy(make_model, "Unknown", sizeof(make_model)); in list_cb()
1131 cupsBackendReport("direct", device_uri, make_model, make_model, device_id, in list_cb()
/external/libcups/systemv/
Dlpinfo.c33 const char *make_model, const char *product,
52 *make_model, /* Make and model */ in main() local
64 make_model = NULL; in main()
141 make_model= argv[i]; in main()
150 make_model = argv[i] + 17; in main()
221 …if (show_models(long_status, device_id, language, make_model, product, include_schemes, exclude_sc… in main()
318 const char *make_model, /* I - Make and model */ in show_models() argument
345 if (make_model) in show_models()
347 NULL, make_model); in show_models()
Dlpstat.c1527 *make_model, /* Make and model of printer */ in show_printers() local
1635 make_model = NULL; in show_printers()
1667 make_model = attr->values[0].string.text; in show_printers()
1837 if (make_model && !strstr(make_model, "System V Printer") && in show_printers()
1838 !strstr(make_model, "Raw Printer") && uri) in show_printers()
1846 if (make_model && !strstr(make_model, "Raw Printer")) in show_printers()
1957 if (make_model && !strstr(make_model, "System V Printer") && in show_printers()
1958 !strstr(make_model, "Raw Printer") && uri) in show_printers()
1965 if (make_model && !strstr(make_model, "Raw Printer")) in show_printers()
/external/libcups/scheduler/
Dcups-driverd.cxx1603 make_model[1024]; // Make and model in load_drv() local
1647 strlcpy(make_model, nick_name->value->value, sizeof(make_model)); in load_drv()
1650 snprintf(make_model, sizeof(make_model), "%s %s, %s", in load_drv()
1654 snprintf(make_model, sizeof(make_model), "%s, %s", d->model_name->value, in load_drv()
1684 …ppd = add_ppd(name, uri, "en", d->manufacturer->value, make_model, device_id ? device_id->value->v… in load_drv()
1695 …add_ppd(name, uri, "en", d->manufacturer->value, make_model, device_id ? device_id->value->value :… in load_drv()
1964 make_model[256], /* Make and Model */ in load_ppd() local
2143 cupsCharsetToUTF8((cups_utf8_t *)make_model, nick_name, in load_ppd()
2144 sizeof(make_model), _ppdGetEncoding(lang_encoding)); in load_ppd()
2146 strlcpy(make_model, model_name, sizeof(make_model)); in load_ppd()
[all …]
Dcups-deviced.c477 *make_model, /* Make and model */ in get_device() local
527 for (ptr ++, make_model = ptr; *ptr && *ptr != '\"'; ptr ++) in get_device()
603 if (!add_device(dclass, make_model, info, uri, device_id, location)) in get_device()
Dprinters.h64 *make_model, /* Make and model */ member
Dprinters.c836 cupsdClearString(&p->make_model); in cupsdDeletePrinter()
1080 cupsdSetString(&p->make_model, value); in cupsdLoadAllPrinters()
1575 if (printer->make_model) in cupsdSaveAllPrinters()
1576 cupsFilePutConf(fp, "MakeModel", printer->make_model); in cupsdSaveAllPrinters()
3260 write_xml_string(fp, p->make_model); in cupsdWritePrintcap()
3937 cupsdClearString(&(p->make_model)); in load_ppd()
4063 cupsdSetString(&p->make_model, ppd->nickname); in load_ppd()
4071 cupsdSetString(&p->make_model, ppd->modelname); in load_ppd()
4074 cupsdSetString(&p->make_model, "Bad PPD File"); in load_ppd()
4077 "printer-make-and-model", NULL, p->make_model); in load_ppd()
Ddirsvc.c383 keyvalue[count++][1] = p->make_model ? p->make_model : "Unknown"; in dnssdBuildTxtRecord()
Dclasses.c416 cupsdSetString(&temp->make_model, "Remote Printer on unknown"); in cupsdLoadAllClasses()
/external/libcups/ppdc/
Dppdc.cxx44 make_model[1024], in main() local
320 snprintf(make_model, sizeof(make_model), "%s %s", in main()
322 outname = make_model; in main()
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py1236 def make_model(): function
1249 model = make_model()
1269 model = make_model()
1343 def make_model(): function
1354 model = make_model()
1373 model = make_model()
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py1111 def make_model(): function
1186 model = make_model()
1222 model = make_model()
/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent_test.py1467 def make_model(stateful=False, with_initial_state=False): function
1483 model = make_model(stateful=True, with_initial_state=True)
1500 model_2 = make_model(stateful=True, with_initial_state=False)
1511 model_3 = make_model(stateful=False, with_initial_state=True)
/external/libcups/cgi-bin/
Dadmin.c1014 const char *make_model; /* Make and model */ in do_am_printer() local
1020 if ((make_model = cgiGetVariable("CURRENT_MAKE_AND_MODEL")) != NULL) in do_am_printer()
1022 "ppd-make-and-model", NULL, make_model); in do_am_printer()
/external/libcups/tools/
Dippeveprinter.c4081 make_model[128];/* printer-make-and-model */ in load_legacy_attributes() local
4648 snprintf(make_model, sizeof(make_model), "%s %s", make, model); in load_legacy_attributes()
4649 ippAddString(attrs, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-make-and-model", NULL, make_model); in load_legacy_attributes()