HomeSort by relevance Sort by last modified time
    Searched refs:ppd (Results 1 - 25 of 42) sorted by null

1 2

  /external/libcups/cups/
ppd-page.c 24 #include "ppd.h"
32 ppdPageSize(ppd_file_t *ppd, /* I - PPD file record */
44 DEBUG_printf(("2ppdPageSize(ppd=%p, name=\"%s\")", ppd, name));
46 if (!ppd)
48 DEBUG_puts("3ppdPageSize: Bad PPD pointer, returning NULL...");
54 if (!strncmp(name, "Custom.", 7) && ppd->variable_sizes)
60 for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++
    [all...]
ppd-mark.c 23 #include "ppd-private.h"
31 static void ppd_debug_marked(ppd_file_t *ppd, const char *title);
33 # define ppd_debug_marked(ppd,title)
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,
42 * 'cupsMarkOptions()' - Mark command-line options in a PPD file.
47 * corresponding PPD options and choices.
52 ppd_file_t *ppd, /* I - PPD file *
    [all...]
ppd-attr.c 2 * PPD model-specific attribute routines for CUPS.
19 #include "ppd-private.h"
29 ppdFindAttr(ppd_file_t *ppd, /* I - PPD file data */
37 DEBUG_printf(("2ppdFindAttr(ppd=%p, name=\"%s\", spec=\"%s\")", ppd, name,
44 if (!ppd || !name || ppd->num_attrs == 0)
58 if ((attr = (ppd_attr_t *)cupsArrayFind(ppd->sorted_attrs, &key)) != NULL)
68 if ((attr = (ppd_attr_t *)cupsArrayNext(ppd->sorted_attrs)) != NULL &
    [all...]
ppd-localize.c 2 * PPD localization routines for CUPS.
30 #include "ppd-private.h"
41 * 'ppdLocalize()' - Localize the PPD file to the current locale.
51 ppdLocalize(ppd_file_t *ppd) /* I - PPD file */
69 DEBUG_printf(("ppdLocalize(ppd=%p)", ppd));
71 if (!ppd)
84 for (i = ppd->num_groups, group = ppd->groups; i > 0; i --, group ++
    [all...]
ppd.h 53 * Define _PPD_DEPRECATED to silence the warnings about PPD functions being
63 * PPD version...
70 * PPD size limits (defined in Adobe spec)
112 PPD_FILE_OPEN_ERROR, /* Unable to open PPD file */
113 PPD_NULL_FILE, /* NULL PPD file pointer */
115 PPD_MISSING_PPDADOBE4, /* Missing PPD-Adobe-4.x header */
147 typedef struct ppd_attr_s /**** PPD Attribute Structure @since CUPS 1.1.19/macOS 10.3@ ****/
290 /**** PPD cache and mapping data @since CUPS 1.5/macOS 10.7@ @private@ ****/
292 typedef struct ppd_file_s /**** PPD File ****/
356 _ppd_cache_t *cache; /* PPD cache and mapping data @since CUPS 1.5/macOS 10.7@ @private@ *
    [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...]
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...]
ppd-emit.c 2 * PPD code emission routines for CUPS.
23 #include "ppd.h"
36 static void ppd_handle_media(ppd_file_t *ppd);
57 ppdCollect(ppd_file_t *ppd, /* I - PPD file data */
61 return (ppdCollect2(ppd, section, 0.0, choices));
76 ppdCollect2(ppd_file_t *ppd, /* I - PPD file data */
89 DEBUG_printf(("ppdCollect2(ppd=%p, section=%d, min_order=%f, choices=%p)",
90 ppd, section, min_order, choices))
    [all...]
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-custom.c 2 * PPD custom option routines for CUPS.
30 #include "ppd-private.h"
40 ppdFindCustomOption(ppd_file_t *ppd, /* I - PPD file */
46 if (!ppd)
50 return ((ppd_coption_t *)cupsArrayFind(ppd->coptions, &key));
pwg.h 42 typedef struct pwg_map_s /**** Map element - PPD to/from PWG */
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 */
80 extern pwg_media_t *pwgMediaForPPD(const char *ppd) _CUPS_API_1_7;
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...]
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...]
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);
testlang.c 21 #include "ppd-private.h"
108 ppd_file_t *ppd; /* PPD file */ local
112 if ((ppd = ppdOpenFile(argv[2])) == NULL)
114 printf("Unable to open PPD file \"%s\".\n", argv[2]);
119 ppdLocalize(ppd);
121 if ((option = ppdFindOption(ppd, "PageSize")) == NULL)
141 ppdClose(ppd);
ppd-conflicts.c 23 #include "ppd-private.h"
45 static void ppd_load_constraints(ppd_file_t *ppd);
46 static cups_array_t *ppd_test_constraints(ppd_file_t *ppd,
55 * 'cupsGetConflicts()' - Get a list of conflicting options in a marked PPD.
58 * "choice" were marked in the PPD. You would typically call this function
59 * after marking the currently selected options in the PPD in order to
71 ppd_file_t *ppd, /* I - PPD file */
91 if (!ppd || !option || !choice || !options)
98 active = ppd_test_constraints(ppd, option, choice, 0, NULL
    [all...]
ppd-cache.c 2 * PPD cache implementation for CUPS.
20 #include "ppd-private.h"
41 static void pwg_unppdize_name(const char *ppd, char *name, size_t namesize,
48 * This functions converts PPD and CUPS-specific options to their standard IPP
55 ppd_file_t *ppd, /* I - PPD file */
56 _ppd_cache_t *pc, /* I - PPD cache info */
244 if ((choice = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL)
255 if ((choice = ppdFindMarkedChoice(ppd, "ColorModel")) != NULL)
277 else if ((choice = ppdFindMarkedChoice(ppd, "cupsPrintQuality")) != NULL
    [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...]
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...]
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...]
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...]
common.h 22 #include <cups/ppd.h>
  /frameworks/compile/libbcc/tests/debuginfo/host-tests/
parameters.cpp 9 // DEBUGGER: print ppd[1][1]
28 double test_parameters(float* pf, double ppd[][2], struct char_struct& s, int** ppn = 0, unsigned short us = 10u, const unsigned long l = 42)
30 double result = pf[0] * ppd[1][1] * s.c * us * l;
  /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 697 milliseconds

1 2