Home
last modified time | relevance | path

Searched refs:coption (Results 1 – 7 of 7) sorted by relevance

/external/libcups/cups/
Dppd-emit.c610 ppd_coption_t *coption; /* Custom option */ in ppdEmitString() local
652 (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) in ppdEmitString()
659 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
661 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
697 (coption = ppdFindCustomOption(ppd, in ppdEmitString()
705 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
707 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
769 (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) in ppdEmitString()
796 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
798 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
[all …]
Dppd-localize.c57 ppd_coption_t *coption; /* Current custom option */ in ppdLocalize() local
121 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdLocalize()
122 coption; in ppdLocalize()
123 coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) in ppdLocalize()
125 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdLocalize()
127 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdLocalize()
129 snprintf(ckeyword, sizeof(ckeyword), "ParamCustom%s", coption->keyword); in ppdLocalize()
Dppd-page.c40 ppd_coption_t *coption; /* Custom option for page size */ in ppdPageSize() local
127 if ((coption = ppdFindCustomOption(ppd, "PageSize")) != NULL) in ppdPageSize()
129 if ((cparam = ppdFindCustomParam(coption, "Width")) != NULL) in ppdPageSize()
132 if ((cparam = ppdFindCustomParam(coption, "Height")) != NULL) in ppdPageSize()
Dppd-mark.c846 ppd_coption_t *coption; /* Custom option */ in ppd_mark_option() local
851 if ((coption = ppdFindCustomOption(ppd, option)) != NULL) in ppd_mark_option()
853 if ((cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params)) == NULL) in ppd_mark_option()
913 ppd_coption_t *coption; /* Custom option */ in ppd_mark_option() local
924 if ((coption = ppdFindCustomOption(ppd, option)) != NULL) in ppd_mark_option()
930 if ((cparam = ppdFindCustomParam(coption, val->name)) == NULL) in ppd_mark_option()
Dppd.c124 ppd_coption_t *coption; /* Current custom option */ in ppdClose() local
237 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdClose()
238 coption; in ppdClose()
239 coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) in ppdClose()
241 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdClose()
243 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdClose()
260 cupsArrayDelete(coption->params); in ppdClose()
262 free(coption); in ppdClose()
997 ppd_coption_t *coption; /* Custom option */ in _ppdOpen() local
1009 if ((coption = ppd_get_coption(ppd, keyword + 11)) == NULL) in _ppdOpen()
[all …]
Dtestppd.c1000 ppd_coption_t *coption; /* Custom option */ in main() local
1049 if ((coption = ppdFindCustomOption(ppd, option->keyword)) != NULL) in main()
1051 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in main()
1053 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in main()
Dppd-cache.c1497 cups_option_t *coption, /* Color option */ in _ppdCacheCreateWithPPD() local
1517 coption = pc->presets[_PWG_PRINT_COLOR_MODE_COLOR] in _ppdCacheCreateWithPPD()
1520 i --, moption ++, coption ++) in _ppdCacheCreateWithPPD()
1522 moption->name = _cupsStrRetain(coption->name); in _ppdCacheCreateWithPPD()
1523 moption->value = _cupsStrRetain(coption->value); in _ppdCacheCreateWithPPD()