Home
last modified time | relevance | path

Searched refs:ppd (Results 1 – 25 of 67) sorted by relevance

123

/external/autotest/client/site_tests/platform_PrinterPpds/digests/
Dblacklist.txt1 Brother-DCP-1200-hl1250.ppd.gz
2 Brother-DCP-7010-ljet4.ppd.gz
3 Brother-DCP-7020-ljet4.ppd.gz
4 Brother-HL-1030-hl1250.ppd.gz
5 Brother-HL-1040-ljet2p.ppd.gz
6 Brother-HL-1050-ljet4.ppd.gz
7 Brother-HL-1060-ljet4.ppd.gz
8 Brother-HL-10V-ljet3.ppd.gz
9 Brother-HL-10h-ljet4.ppd.gz
10 Brother-HL-1230-hl1250.ppd.gz
[all …]
Dannotation_highlight_square_with_ap.pdf.digests1 Anitech-M24-epson.ppd.gz f4b11f81b1128bb29e93e2a6faad9496
2 Apollo-P-1200-pcl3.ppd.gz 5caa151ad4bd545171e7c05dca8933a2
3 Apollo-P-1220_Barbie-pcl3.ppd.gz 5caa151ad4bd545171e7c05dca8933a2
4 Apollo-P-1250-pcl3.ppd.gz 5caa151ad4bd545171e7c05dca8933a2
5 Apple-12_640ps-Postscript.ppd.gz a7714ea6b8d9cbf2b06f618ccc8b8711
6 Apple-LaserWriter_16_600-Postscript.ppd.gz a7714ea6b8d9cbf2b06f618ccc8b8711
7 Apple-LaserWriter_4_600-Postscript.ppd.gz a7714ea6b8d9cbf2b06f618ccc8b8711
8 Apple-LaserWriter_IIg-Postscript.ppd.gz 128770095ff0c22a2e96ffc10dddff2e
9 Apple-LaserWriter_Pro_630-Postscript.ppd.gz a7714ea6b8d9cbf2b06f618ccc8b8711
10 Apple-LaserWriter_Select_360-Postscript.ppd.gz a7714ea6b8d9cbf2b06f618ccc8b8711
[all …]
Dembedded_images.pdf.digests1 Anitech-M24-epson.ppd.gz 5876db7489d68903a77a6966fd8a8890
2 Apollo-P-1200-pcl3.ppd.gz 7eb82e20ec1d6392742b940fd5b78888
3 Apollo-P-1220_Barbie-pcl3.ppd.gz 7eb82e20ec1d6392742b940fd5b78888
4 Apollo-P-1250-pcl3.ppd.gz 7eb82e20ec1d6392742b940fd5b78888
5 Apple-12_640ps-Postscript.ppd.gz 8003633ffce7cb3b3152c33ac02655a4
6 Apple-LaserWriter_16_600-Postscript.ppd.gz 8003633ffce7cb3b3152c33ac02655a4
7 Apple-LaserWriter_4_600-Postscript.ppd.gz 8003633ffce7cb3b3152c33ac02655a4
8 Apple-LaserWriter_IIg-Postscript.ppd.gz 2c6544518665d251638e8a2aa327aee2
9 Apple-LaserWriter_Pro_630-Postscript.ppd.gz 8003633ffce7cb3b3152c33ac02655a4
10 Apple-LaserWriter_Select_360-Postscript.ppd.gz 8003633ffce7cb3b3152c33ac02655a4
[all …]
Dsplit_streams.pdf.digests1 Anitech-M24-epson.ppd.gz b58ef8b3a9967183b65bdcd897a70c7f
2 Apollo-P-1200-pcl3.ppd.gz 33c8cfabf939b6f5a2ebaa7c7a16a007
3 Apollo-P-1220_Barbie-pcl3.ppd.gz 33c8cfabf939b6f5a2ebaa7c7a16a007
4 Apollo-P-1250-pcl3.ppd.gz 33c8cfabf939b6f5a2ebaa7c7a16a007
5 Apple-12_640ps-Postscript.ppd.gz 99ac068687e2ece09faeca04fbd757be
6 Apple-LaserWriter_16_600-Postscript.ppd.gz 99ac068687e2ece09faeca04fbd757be
7 Apple-LaserWriter_4_600-Postscript.ppd.gz 99ac068687e2ece09faeca04fbd757be
8 Apple-LaserWriter_IIg-Postscript.ppd.gz d5fdb42c0b20f46644b73afcb9138c41
9 Apple-LaserWriter_Pro_630-Postscript.ppd.gz 99ac068687e2ece09faeca04fbd757be
10 Apple-LaserWriter_Select_360-Postscript.ppd.gz 99ac068687e2ece09faeca04fbd757be
[all …]
/external/libcups/cups/
Dppd-mark.c31 static void ppd_debug_marked(ppd_file_t *ppd, const char *title);
33 # define ppd_debug_marked(ppd,title) argument
35 static void ppd_defaults(ppd_file_t *ppd, ppd_group_t *g);
36 static void ppd_mark_choices(ppd_file_t *ppd, const char *s);
37 static void ppd_mark_option(ppd_file_t *ppd, const char *option,
52 ppd_file_t *ppd, /* I - PPD file */ in cupsMarkOptions() argument
76 if (!ppd || num_options <= 0 || !options) in cupsMarkOptions()
79 ppd_debug_marked(ppd, "Before..."); in cupsMarkOptions()
97 !ppd->cache) in cupsMarkOptions()
103 ppd->cache = _ppdCacheCreateWithPPD(ppd); in cupsMarkOptions()
[all …]
Dppd-page.c32 ppdPageSize(ppd_file_t *ppd, /* I - PPD file record */ in ppdPageSize() argument
44 DEBUG_printf(("2ppdPageSize(ppd=%p, name=\"%s\")", ppd, name)); in ppdPageSize()
46 if (!ppd) in ppdPageSize()
54 if (!strncmp(name, "Custom.", 7) && ppd->variable_sizes) in ppdPageSize()
60 for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++) in ppdPageSize()
118 size->left = ppd->custom_margins[0]; in ppdPageSize()
119 size->bottom = ppd->custom_margins[1]; in ppdPageSize()
120 size->right = (float)(w - ppd->custom_margins[2]); in ppdPageSize()
121 size->top = (float)(l - ppd->custom_margins[3]); in ppdPageSize()
127 if ((coption = ppdFindCustomOption(ppd, "PageSize")) != NULL) in ppdPageSize()
[all …]
Dppd.c74 static ppd_attr_t *ppd_add_attr(ppd_file_t *ppd, const char *name,
78 static ppd_size_t *ppd_add_size(ppd_file_t *ppd, const char *name);
85 static void ppd_free_filters(ppd_file_t *ppd);
88 static ppd_coption_t *ppd_get_coption(ppd_file_t *ppd, const char *name);
92 static ppd_group_t *ppd_get_group(ppd_file_t *ppd, const char *name,
108 static int ppd_update_filters(ppd_file_t *ppd,
117 ppdClose(ppd_file_t *ppd) /* I - PPD file record */ in ppdClose() argument
132 if (!ppd) in ppdClose()
139 _cupsStrFree(ppd->lang_encoding); in ppdClose()
140 _cupsStrFree(ppd->nickname); in ppdClose()
[all …]
Dtestppd.c147 ppd_file_t *ppd; /* PPD file loaded from disk */ in main() local
189 if ((ppd = _ppdOpenFile("test.ppd", _PPD_LOCALIZATION_ALL)) != NULL) in main()
204 if ((attr = ppdFindAttr(ppd, "cupsTest", NULL)) == NULL) in main()
218 if ((attr = ppdFindNextAttr(ppd, "cupsTest", NULL)) == NULL) in main()
232 if ((attr = ppdFindAttr(ppd, "cupsTest", "Foo")) == NULL) in main()
246 if ((attr = ppdFindNextAttr(ppd, "cupsTest", "Foo")) != NULL) in main()
255 ppdMarkDefaults(ppd); in main()
257 if ((conflicts = ppdConflicts(ppd)) == 0) in main()
266 if ((s = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL && in main()
283 ppdMarkOption(ppd, "PageSize", "Custom.400x500"); in main()
[all …]
Dppd-emit.c36 static void ppd_handle_media(ppd_file_t *ppd);
57 ppdCollect(ppd_file_t *ppd, /* I - PPD file data */ in ppdCollect() argument
61 return (ppdCollect2(ppd, section, 0.0, choices)); in ppdCollect()
76 ppdCollect2(ppd_file_t *ppd, /* I - PPD file data */ in ppdCollect2() argument
90 ppd, section, min_order, choices)); in ppdCollect2()
92 if (!ppd || !choices) in ppdCollect2()
106 (size_t)cupsArrayCount(ppd->marked))) == NULL) in ppdCollect2()
112 if ((orders = calloc(sizeof(float), (size_t)cupsArrayCount(ppd->marked))) == NULL) in ppdCollect2()
123 for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked); in ppdCollect2()
125 c = (ppd_choice_t *)cupsArrayNext(ppd->marked)) in ppdCollect2()
[all …]
Dppd-localize.c51 ppdLocalize(ppd_file_t *ppd) /* I - PPD file */ in ppdLocalize() argument
69 DEBUG_printf(("ppdLocalize(ppd=%p)", ppd)); in ppdLocalize()
71 if (!ppd) in ppdLocalize()
84 for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++) in ppdLocalize()
86 if ((locattr = _ppdLocalizedAttr(ppd, "Translation", group->name, in ppdLocalize()
92 if ((locattr = _ppdLocalizedAttr(ppd, "Translation", option->keyword, in ppdLocalize()
101 !ppdFindCustomOption(ppd, option->keyword)) in ppdLocalize()
102 locattr = _ppdLocalizedAttr(ppd, option->keyword, choice->choice, in ppdLocalize()
108 locattr = _ppdLocalizedAttr(ppd, ckeyword, "True", ll_CC); in ppdLocalize()
121 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdLocalize()
[all …]
Dppd.h370 extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _PPD_DEPRECAT…
372 extern void ppdClose(ppd_file_t *ppd) _PPD_DEPRECATED;
373 extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section,
375 extern int ppdConflicts(ppd_file_t *ppd) _PPD_DEPRECATED;
376 extern int ppdEmit(ppd_file_t *ppd, FILE *fp,
378 extern int ppdEmitFd(ppd_file_t *ppd, int fd,
380 extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id,
385 extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
388 extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword)
390 extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword,
[all …]
Dppd-conflicts.c44 static void ppd_load_constraints(ppd_file_t *ppd);
45 static cups_array_t *ppd_test_constraints(ppd_file_t *ppd,
70 ppd_file_t *ppd, /* I - PPD file */ in cupsGetConflicts() argument
90 if (!ppd || !option || !choice || !options) in cupsGetConflicts()
97 active = ppd_test_constraints(ppd, option, choice, 0, NULL, in cupsGetConflicts()
117 else if ((marked = ppdFindMarkedChoice(ppd, in cupsGetConflicts()
169 ppd_file_t *ppd, /* I - PPD file */ in cupsResolveConflicts() argument
202 if (!ppd || !num_options || !options || (option == NULL) != (choice == NULL)) in cupsResolveConflicts()
222 cupsArraySave(ppd->sorted_attrs); in cupsResolveConflicts()
229 (active = ppd_test_constraints(ppd, NULL, NULL, num_newopts, newopts, in cupsResolveConflicts()
[all …]
Dtestpwg.c27 static int test_pagesize(_ppd_cache_t *pc, ppd_file_t *ppd,
29 static int test_ppd_cache(_ppd_cache_t *pc, ppd_file_t *ppd);
42 ppd_file_t *ppd; /* PPD file */ in main() local
62 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
78 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) in main()
86 status += test_ppd_cache(pc, ppd); in main()
352 ppd_file_t *ppd, /* I - PPD file */ in test_pagesize() argument
360 if (ppdPageSize(ppd, ppdsize)) in test_pagesize()
410 ppd_file_t *ppd) /* I - PPD file */ in test_ppd_cache() argument
460 strcmp(size2->map.ppd, size->map.ppd) || in test_ppd_cache()
[all …]
Dppd-attr.c29 ppdFindAttr(ppd_file_t *ppd, /* I - PPD file data */ in ppdFindAttr() argument
37 DEBUG_printf(("2ppdFindAttr(ppd=%p, name=\"%s\", spec=\"%s\")", ppd, name, in ppdFindAttr()
44 if (!ppd || !name || ppd->num_attrs == 0) in ppdFindAttr()
58 if ((attr = (ppd_attr_t *)cupsArrayFind(ppd->sorted_attrs, &key)) != NULL) in ppdFindAttr()
68 if ((attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) != NULL && in ppdFindAttr()
86 ppdFindNextAttr(ppd_file_t *ppd, /* I - PPD file data */ in ppdFindNextAttr() argument
97 if (!ppd || !name || ppd->num_attrs == 0) in ppdFindNextAttr()
104 while ((attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) != NULL) in ppdFindNextAttr()
116 cupsArrayIndex(ppd->sorted_attrs, cupsArrayCount(ppd->sorted_attrs)); in ppdFindNextAttr()
Dppd-cache.c41 static void pwg_unppdize_name(const char *ppd, char *name, size_t namesize,
55 ppd_file_t *ppd, /* I - PPD file */ in _cupsConvertOptions() argument
246 if ((choice = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL) in _cupsConvertOptions()
257 if ((choice = ppdFindMarkedChoice(ppd, "ColorModel")) != NULL) in _cupsConvertOptions()
279 else if ((choice = ppdFindMarkedChoice(ppd, "cupsPrintQuality")) != NULL) in _cupsConvertOptions()
291 else if (pc->sides_option && (choice = ppdFindMarkedChoice(ppd, pc->sides_option)) != NULL) in _cupsConvertOptions()
629 map->ppd = _cupsStrAlloc(ppd_keyword); in _ppdCacheCreateWithFile()
684 size->map.ppd = _cupsStrAlloc(ppd_keyword); in _ppdCacheCreateWithFile()
768 map->ppd = _cupsStrAlloc(ppd_keyword); in _ppdCacheCreateWithFile()
817 map->ppd = _cupsStrAlloc(ppd_keyword); in _ppdCacheCreateWithFile()
[all …]
DMakefile61 ppd.o \
62 ppd-attr.o \
63 ppd-cache.o \
64 ppd-conflicts.o \
65 ppd-custom.o \
66 ppd-emit.o \
67 ppd-localize.o \
68 ppd-mark.o \
69 ppd-page.o \
70 ppd-util.o \
[all …]
Dtestcache.c33 ppd_file_t *ppd; /* PPD file */ in main() local
49 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
61 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) in main()
70 ppdMarkDefaults(ppd); in main()
71 cupsMarkOptions(ppd, num_options, options); in main()
86 if ((ppd_bin = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL && in main()
Dtestconflicts.c33 ppd_file_t *ppd; /* PPD file loaded from disk */ in main() local
50 if ((ppd = ppdOpenFile(argv[1])) == NULL) in main()
62 ppdMarkDefaults(ppd); in main()
72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options)) in main()
115 ppdMarkOption(ppd, option, choice); in main()
116 if (cupsMarkOptions(ppd, num_options, options)) in main()
/external/libcups/filter/
Dcommandtops.c26 static int auto_configure(ppd_file_t *ppd, const char *user);
27 static void begin_ps(ppd_file_t *ppd, const char *user);
28 static void end_ps(ppd_file_t *ppd);
29 static void print_self_test_page(ppd_file_t *ppd, const char *user);
30 static void report_levels(ppd_file_t *ppd, const char *user);
46 ppd_file_t *ppd; /* PPD file */ in main() local
70 if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL) in main()
104 status |= auto_configure(ppd, argv[2]); in main()
106 print_self_test_page(ppd, argv[2]); in main()
108 report_levels(ppd, argv[2]); in main()
[all …]
Drastertolabel.c79 void Setup(ppd_file_t *ppd);
80 void StartPage(ppd_file_t *ppd, cups_page_header2_t *header);
81 void EndPage(ppd_file_t *ppd, cups_page_header2_t *header);
83 void OutputLine(ppd_file_t *ppd, cups_page_header2_t *header, unsigned y);
93 Setup(ppd_file_t *ppd) /* I - PPD file */ in Setup() argument
102 if (ppd) in Setup()
103 ModelNumber = ppd->model_number; in Setup()
155 StartPage(ppd_file_t *ppd, /* I - PPD file */ in StartPage() argument
206 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL && in StartPage()
249 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL && in StartPage()
[all …]
Dcommon.c50 ppd_file_t *ppd; /* PPD file */ in SetCommonOptions() local
59 ppd = ppdOpenFile(getenv("PPD")); in SetCommonOptions()
61 ppdMarkDefaults(ppd); in SetCommonOptions()
62 cupsMarkOptions(ppd, num_options, options); in SetCommonOptions()
64 if ((pagesize = ppdPageSize(ppd, NULL)) != NULL) in SetCommonOptions()
77 if (ppd != NULL) in SetCommonOptions()
79 ColorDevice = ppd->color_device; in SetCommonOptions()
80 LanguageLevel = ppd->language_level; in SetCommonOptions()
88 if (ppd && ppd->landscape > 0) in SetCommonOptions()
189 if (ppdIsMarked(ppd, "Duplex", "DuplexNoTumble") || in SetCommonOptions()
[all …]
Dpstops.c143 ppd_file_t *ppd, char *line,
146 ppd_file_t *ppd, char *line, ssize_t linelen,
149 ppd_file_t *ppd, char *line,
152 ppd_file_t *ppd, int number, char *line,
155 ppd_file_t *ppd, char *line,
158 ppd_file_t *ppd, char *line,
161 ppd_file_t *ppd, int number, char *line,
163 static void do_prolog(pstops_doc_t *doc, ppd_file_t *ppd);
164 static void do_setup(pstops_doc_t *doc, ppd_file_t *ppd);
169 static int include_feature(ppd_file_t *ppd, const char *line,
[all …]
Drastertohp.c50 void StartPage(ppd_file_t *ppd, cups_page_header2_t *header);
80 StartPage(ppd_file_t *ppd, /* I - PPD file */ in StartPage() argument
121 if (Duplex && ppd && ppd->model_number == 2) in StartPage()
133 if (!Duplex || (Page & 1) || (ppd && ppd->model_number == 2)) in StartPage()
207 (!ppd || ppd->model_number != 2 || header->HWResolution[0] == 600)) in StartPage()
211 if (!ppd || ppd->model_number != 2) in StartPage()
219 else if (!ppd || ppd->model_number != 2) in StartPage()
226 if (ppd && ppd->model_number == 2) in StartPage()
312 if (ppd) in StartPage()
314 10.0 * (ppd->sizes[0].length - ppd->sizes[0].top)); in StartPage()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c241 union frame_map ppd; in walk_v1_v2_rx() local
258 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx()
262 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx()
263 ppd.v1->tp_h.tp_snaplen); in walk_v1_v2_rx()
264 total_bytes += ppd.v1->tp_h.tp_snaplen; in walk_v1_v2_rx()
268 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx()
269 ppd.v2->tp_h.tp_snaplen); in walk_v1_v2_rx()
270 total_bytes += ppd.v2->tp_h.tp_snaplen; in walk_v1_v2_rx()
277 __v1_v2_rx_user_ready(ppd.raw, ring->version); in walk_v1_v2_rx()
392 union frame_map ppd; in walk_tx() local
[all …]
/external/libcups/
DAndroid.bp50 "cups/ppd.c",
51 "cups/ppd-attr.c",
52 "cups/ppd-cache.c",
53 "cups/ppd-conflicts.c",
54 "cups/ppd-custom.c",
55 "cups/ppd-emit.c",
56 "cups/ppd-localize.c",
57 "cups/ppd-mark.c",
58 "cups/ppd-page.c",
59 "cups/ppd-util.c",

123