/external/libcups/cups/ |
D | ppd-emit.c | 612 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 …]
|
D | ppd-localize.c | 46 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()
|
D | ppd-page.c | 35 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()
|
D | ppd-mark.c | 842 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()
|
D | ppd.c | 110 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 …]
|
D | testppd.c | 1191 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()
|
D | ppd-cache.c | 1559 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/ |
D | ppdc-import.cxx | 42 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/ |
D | lpoptions.c | 409 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()
|
D | cupstestppd.c | 3425 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/ |
D | admin.c | 2633 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 …]
|