Home
last modified time | relevance | path

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

/external/libcups/cups/
Dppd-emit.c612 ppd_coption_t *coption; /* Custom option */ in ppdEmitString() local
654 (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) in ppdEmitString()
661 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
663 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
702 (coption = ppdFindCustomOption(ppd, in ppdEmitString()
710 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
712 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
777 (coption = ppdFindCustomOption(ppd, choices[i]->option->keyword)) in ppdEmitString()
804 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
806 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString()
[all …]
Dppd-localize.c46 ppd_coption_t *coption; /* Current custom option */ in ppdLocalize() local
110 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdLocalize()
111 coption; in ppdLocalize()
112 coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) in ppdLocalize()
114 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdLocalize()
116 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdLocalize()
118 snprintf(ckeyword, sizeof(ckeyword), "ParamCustom%s", coption->keyword); in ppdLocalize()
Dppd-page.c35 ppd_coption_t *coption; /* Custom option for page size */ in ppdPageSize() local
122 if ((coption = ppdFindCustomOption(ppd, "PageSize")) != NULL) in ppdPageSize()
124 if ((cparam = ppdFindCustomParam(coption, "Width")) != NULL) in ppdPageSize()
127 if ((cparam = ppdFindCustomParam(coption, "Height")) != NULL) in ppdPageSize()
Dppd-mark.c842 ppd_coption_t *coption; /* Custom option */ in ppd_mark_option() local
847 if ((coption = ppdFindCustomOption(ppd, option)) != NULL) in ppd_mark_option()
849 if ((cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params)) == NULL) in ppd_mark_option()
912 ppd_coption_t *coption; /* Custom option */ in ppd_mark_option() local
923 if ((coption = ppdFindCustomOption(ppd, option)) != NULL) in ppd_mark_option()
929 if ((cparam = ppdFindCustomParam(coption, val->name)) == NULL) in ppd_mark_option()
Dppd.c110 ppd_coption_t *coption; /* Current custom option */ in ppdClose() local
207 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdClose()
208 coption; in ppdClose()
209 coption = (ppd_coption_t *)cupsArrayNext(ppd->coptions)) in ppdClose()
211 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdClose()
213 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdClose()
230 cupsArrayDelete(coption->params); in ppdClose()
232 free(coption); in ppdClose()
969 ppd_coption_t *coption; /* Custom option */ in _ppdOpen() local
981 if ((coption = ppd_get_coption(ppd, keyword + 11)) == NULL) in _ppdOpen()
[all …]
Dtestppd.c1191 ppd_coption_t *coption; /* Custom option */ in main() local
1240 if ((coption = ppdFindCustomOption(ppd, option->keyword)) != NULL) in main()
1242 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in main()
1244 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in main()
Dppd-cache.c1559 cups_option_t *coption, /* Color option */ in _ppdCacheCreateWithPPD() local
1579 coption = pc->presets[_PWG_PRINT_COLOR_MODE_COLOR] in _ppdCacheCreateWithPPD()
1582 i --, moption ++, coption ++) in _ppdCacheCreateWithPPD()
1584 moption->name = _cupsStrRetain(coption->name); in _ppdCacheCreateWithPPD()
1585 moption->value = _cupsStrRetain(coption->value); in _ppdCacheCreateWithPPD()
/external/libcups/ppdc/
Dppdc-import.cxx42 ppdcOption *coption; // UI option in import_ppd() local
194 coption = new ppdcOption((ppdcOptType)option->ui, option->keyword, in import_ppd()
197 cgroup->add_option(coption); in import_ppd()
205 coption->add_choice(cchoice); in import_ppd()
208 coption->set_defchoice(cchoice); in import_ppd()
/external/libcups/systemv/
Dlpoptions.c409 ppd_coption_t *coption; /* Custom option */ in list_group() local
424 if ((coption = ppdFindCustomOption(ppd, option->keyword)) == NULL || in list_group()
425 cupsArrayCount(coption->params) == 0) in list_group()
432 cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in list_group()
434 if (cupsArrayCount(coption->params) == 1) in list_group()
449 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params); in list_group()
Dcupstestppd.c3425 ppd_coption_t *coption; /* Custom option */ in check_translations() local
3534 (coption = ppdFindCustomOption(ppd, in check_translations()
3561 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in check_translations()
3563 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in check_translations()
/external/libcups/cgi-bin/
Dadmin.c2633 ppd_coption_t *coption; /* Custom option */ in do_set_options() local
2908 if ((coption = ppdFindCustomOption(ppd, option->keyword))) in do_set_options()
2914 for (cparam = ppdFirstCustomParam(coption), m = 0; in do_set_options()
2916 cparam = ppdNextCustomParam(coption), m ++) in do_set_options()
3454 ppd_coption_t *coption; /* Custom option */ in get_option_value() local
3477 (coption = ppdFindCustomOption(ppd, name)) == NULL) in get_option_value()
3493 if (!strcmp(coption->keyword, "PageSize")) in get_option_value()
3524 else if (cupsArrayCount(coption->params) == 1) in get_option_value()
3526 cparam = ppdFirstCustomParam(coption); in get_option_value()
3527 snprintf(keyword, sizeof(keyword), "%s.%s", coption->keyword, cparam->name); in get_option_value()
[all …]