HomeSort by relevance Sort by last modified time
    Searched defs:ppd (Results 1 - 18 of 18) sorted by null

  /external/libcups/cups/
backend.c 22 #include "ppd.h"
50 ppd_file_t *ppd; /* PPD file */ local
51 ppd_attr_t *ppdattr; /* PPD attribute */
67 if ((ppd = ppdOpenFile(getenv("PPD"))) != NULL)
69 if ((ppdattr = ppdFindAttr(ppd, "cupsIPPFaxOut", NULL)) != NULL &&
73 ppdClose(ppd);
testcache.c 2 * PPD cache testing program for CUPS.
19 #include "ppd-private.h"
32 const char *ppdfile = NULL;/* PPD filename */
33 ppd_file_t *ppd; /* PPD file */ local
36 _ppd_cache_t *pc; /* PPD cache and PWG mapping data */
44 puts("Usage: ./testcache filename.ppd [name=value ... name=value]");
49 if ((ppd = ppdOpenFile(ppdfile)) == NULL)
61 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL)
63 fprintf(stderr, "Unable to create PPD cache from \"%s\".\n", ppdfile)
    [all...]
testconflicts.c 2 * PPD constraint test program for CUPS.
20 #include "ppd.h"
33 ppd_file_t *ppd; /* PPD file loaded from disk */ local
46 puts("Usage: testconflicts filename.ppd");
50 if ((ppd = ppdOpenFile(argv[1])) == NULL)
57 printf("Unable to open PPD file \"%s\": %s on line %d\n", argv[1],
62 ppdMarkDefaults(ppd);
72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options))
115 ppdMarkOption(ppd, option, choice)
    [all...]
pwg.h 42 typedef struct pwg_map_s /**** Map element - PPD to/from PWG @exclude all@ */
45 *ppd; /* PPD option keyword */ member in struct:pwg_map_s
52 *ppd; /* Standard Adobe PPD name */ member in struct:pwg_media_s
57 typedef struct pwg_size_s /**** Size element - PPD to/from PWG @exclude all@ */
80 extern pwg_media_t *pwgMediaForPPD(const char *ppd) _CUPS_API_1_7;
testpwg.c 19 #include "ppd-private.h"
27 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);
41 const char *ppdfile; /* PPD filename */
42 ppd_file_t *ppd; /* PPD file */ local
43 _ppd_cache_t *pc; /* PPD cache and PWG mapping data */
55 puts("Usage: ./testpwg filename.ppd [jobfile]");
62 if ((ppd = ppdOpenFile(ppdfile)) == NULL)
77 fputs("_ppdCacheCreateWithPPD(ppd): ", stdout)
    [all...]
testcups.c 23 #include "ppd.h"
52 *ppdfile; /* PPD file */
53 ppd_file_t *ppd; /* PPD file data */ local
169 else if (!strcmp(argv[1], "ppd") && argc == 3)
172 * ./testcups ppd printer
176 char buffer[1024]; /* PPD filename */
181 printf("Unable to get PPD: %d (%s)\n", (int)http_status,
260 puts("Get the PPD file:");
262 puts(" ./testcups ppd printer")
    [all...]
testlang.c 21 #include "ppd-private.h"
119 ppd_file_t *ppd; /* PPD file */ local
123 if ((ppd = ppdOpenFile(argv[2])) == NULL)
125 printf("Unable to open PPD file \"%s\".\n", argv[2]);
130 ppdLocalize(ppd);
132 if ((option = ppdFindOption(ppd, "PageSize")) == NULL)
152 printf("media-empty: %s\n", ppdLocalizeIPPReason(ppd, "media-empty", NULL, buffer, sizeof(buffer)));
154 ppdClose(ppd);
testppd.c 2 * PPD test program for CUPS.
22 #include "ppd-private.h"
147 ppd_file_t *ppd; /* PPD file loaded from disk */ local
160 _ppd_cache_t *pc; /* PPD cache */
184 * Do tests with test.ppd...
187 fputs("ppdOpenFile(test.ppd): ", stdout);
189 if ((ppd = _ppdOpenFile("test.ppd", _PPD_LOCALIZATION_ALL)) != NULL)
204 if ((attr = ppdFindAttr(ppd, "cupsTest", NULL)) == NULL
    [all...]
ppd.c 2 * PPD file routines for CUPS.
30 #include "ppd-private.h"
74 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,
113 * 'ppdClose()' - Free all memory used by the PPD file.
117 ppdClose(ppd_file_t *ppd) /* I - PPD file record *
446 ppd_file_t *ppd; \/* PPD file record *\/ local
2117 ppd_file_t *ppd; \/* PPD file record *\/ local
2165 ppd_file_t *ppd; \/* PPD file record *\/ local
2216 ppd_file_t *ppd; \/* PPD file record *\/ local
    [all...]
  /external/libcups/filter/
commandtops.c 18 #include <cups/ppd.h>
26 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 */ local
67 * Open the PPD file...
70 if ((ppd = ppdOpenFile(getenv("PPD"))) == NULL
    [all...]
common.c 44 ppd_file_t * /* O - PPD file */
50 ppd_file_t *ppd; /* PPD file */ local
59 ppd = ppdOpenFile(getenv("PPD"));
61 ppdMarkDefaults(ppd);
62 cupsMarkOptions(ppd, num_options, options);
64 if ((pagesize = ppdPageSize(ppd, NULL)) != NULL)
77 if (ppd != NULL)
79 ColorDevice = ppd->color_device
    [all...]
rastertopwg.c 20 #include <cups/ppd-private.h>
52 ppd_file_t *ppd; /* PPD file */ local
54 _ppd_cache_t *cache; /* PPD cache */
84 ppd = ppdOpenFile(getenv("PPD"));
85 back = ppdFindAttr(ppd, "cupsBackSide", NULL);
89 ppdMarkDefaults(ppd);
90 cupsMarkOptions(ppd, num_options, options);
92 cache = ppd ? ppd->cache : NULL
    [all...]
rastertohp.c 21 #include <cups/ppd.h>
50 void StartPage(ppd_file_t *ppd, cups_page_header2_t *header);
80 StartPage(ppd_file_t *ppd, /* I - PPD file */
121 if (Duplex && ppd && ppd->model_number == 2)
133 if (!Duplex || (Page & 1) || (ppd && ppd->model_number == 2))
207 (!ppd || ppd->model_number != 2 || header->HWResolution[0] == 600)
650 ppd_file_t *ppd; \/* PPD file *\/ local
    [all...]
testraster.c 21 #include <cups/ppd.h>
235 puts("Usage: testraster [-o name=value ...] [filename.ppd ...]");
243 puts("Usage: testraster [-o name=value ...] [filename.ppd ...]");
250 if (!strcmp(ext, ".ppd"))
257 puts("Usage: testraster [-o name=value ...] [filename.ppd ...]");
271 * 'do_ppd_tests()' - Test the default option commands in a PPD file.
275 do_ppd_tests(const char *filename, /* I - PPD file */
279 ppd_file_t *ppd; /* PPD file data */ local
286 if ((ppd = ppdOpenFile(filename)) == NULL
    [all...]
rastertolabel.c 21 #include <cups/ppd.h>
79 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 */
99 * Get the model number from the PPD file...
102 if (ppd)
103 ModelNumber = ppd->model_number
1092 ppd_file_t *ppd; \/* PPD file *\/ local
    [all...]
rastertoepson.c 21 #include <cups/ppd.h>
75 void StartPage(const ppd_file_t *ppd, const cups_page_header2_t *header);
113 const ppd_file_t *ppd, /* I - PPD file */
148 if (ppd && ppd->nickname && strstr(ppd->nickname, "OKIDATA") != NULL)
244 if (ppd)
245 t = (int)((ppd->sizes[1].length - ppd->sizes[1].top) * header->HWResolution[1] / 72.0)
978 ppd_file_t *ppd; \/* PPD file *\/ local
    [all...]
pstops.c 143 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);
170 static int include_feature(ppd_file_t *ppd, const char *line
200 ppd_file_t *ppd; \/* PPD file *\/ local
    [all...]
  /external/linux-kselftest/tools/testing/selftests/net/
psock_tpacket.c 239 union frame_map ppd; local
256 ppd.raw = ring->rd[frame_num].iov_base;
260 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac,
261 ppd.v1->tp_h.tp_snaplen);
262 total_bytes += ppd.v1->tp_h.tp_snaplen;
266 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac,
267 ppd.v2->tp_h.tp_snaplen);
268 total_bytes += ppd.v2->tp_h.tp_snaplen
390 union frame_map ppd; local
563 struct tpacket3_hdr *ppd; local
    [all...]

Completed in 633 milliseconds