• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/cups-408/cups/scheduler/

Lines Matching defs:model

130 					/* PPD files sorted by make and model */
569 if ((fp = get_file(name, request_id, "model", filename, sizeof(filename),
619 if ((fp = get_file(name, request_id, "model", filename, sizeof(filename),
744 * 'compare_ppds()' - Compare PPD file make and model names for sorting.
1011 model[1024]; /* Model directory */
1021 *make_and_model, /* ppd-make-and-model option */
1022 *model_number_str, /* ppd-model-number option */
1026 int model_number, /* ppd-model-number value */
1030 send_make_and_model, /* Send ppd-make-and-model? */
1031 send_model_number, /* Send ppd-model-number? */
1038 size_t make_and_model_len, /* Length of ppd-make-and-model */
1041 *make_and_model_re; /* Regular expression for matching make and model */
1066 snprintf(model, sizeof(model), "%s/model", cups_datadir);
1067 load_ppds(model, "", 1);
1069 snprintf(model, sizeof(model), "%s/drv", cups_datadir);
1070 load_ppds(model, "", 1);
1191 make_and_model = cupsGetOption("ppd-make-and-model", num_options, options);
1192 model_number_str = cupsGetOption("ppd-model-number", num_options, options);
1253 (void *)"ppd-make-and-model") != NULL;
1255 (void *)"ppd-model-number") != NULL;
1304 * Filter PPDs based on make, model, product, language, model number,
1306 * for product, make-and-model, or device-id adds 3 to the score.
1307 * Partial matches for make-and-model yield 1 or 2 points, and matches
1329 * at least 2 (manufacturer and model), and as much as 3 (command set).
1357 // See how much of the make-and-model string we matched...
1494 cupsdSendIPPString(IPP_TAG_TEXT, "ppd-make-and-model",
1524 cupsdSendIPPInteger(IPP_TAG_INTEGER, "ppd-model-number",
1589 make_model[1024]; // Make and model
1714 make_and_model[128], /* ppd-make-and-model */
1836 * "ppd-name" ppd-natural-language "ppd-make" "ppd-make-and-model" \
1956 temp[512]; /* Temporary make and model */
2165 * Normalize the make and model string...
2185 * Nope, copy the first part of the make and model then...
2766 * model attributes to match. We assume that the device ID in the PPD and the