/external/libcups/cups/ |
D | ppd-emit.c | 613 ppd_cparam_t *cparam; /* Custom parameter */ in ppdEmitString() local 661 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString() 662 cparam; in ppdEmitString() 663 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString() 665 switch (cparam->type) in ppdEmitString() 681 if (cparam->current.custom_string) in ppdEmitString() 682 bufsize += strlen(cparam->current.custom_string); in ppdEmitString() 710 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString() 711 cparam; in ppdEmitString() 712 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdEmitString() [all …]
|
D | ppd-mark.c | 843 ppd_cparam_t *cparam; /* Custom parameter */ in ppd_mark_option() local 849 if ((cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params)) == NULL) in ppd_mark_option() 852 switch (cparam->type) in ppd_mark_option() 860 cparam->current.custom_real = (float)_cupsStrScand(choice + 7, in ppd_mark_option() 865 cparam->current.custom_points = (float)_cupsStrScand(choice + 7, in ppd_mark_option() 872 cparam->current.custom_points *= 72.0f / 2.54f; in ppd_mark_option() 874 cparam->current.custom_points *= 72.0f / 25.4f; in ppd_mark_option() 876 cparam->current.custom_points *= 72.0f / 0.0254f; in ppd_mark_option() 878 cparam->current.custom_points *= 72.0f; in ppd_mark_option() 880 cparam->current.custom_points *= 12.0f * 72.0f; in ppd_mark_option() [all …]
|
D | testppd.c | 1192 ppd_cparam_t *cparam; /* Custom parameter */ in main() local 1242 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in main() 1243 cparam; in main() 1244 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in main() 1246 switch (cparam->type) in main() 1249 printf(" %s(%s): PPD_CUSTOM_UNKNOWN (error)\n", cparam->name, cparam->text); in main() 1254 cparam->name, cparam->text, in main() 1255 cparam->minimum.custom_curve, in main() 1256 cparam->maximum.custom_curve); in main() 1261 cparam->name, cparam->text, in main() [all …]
|
D | ppd.c | 111 ppd_cparam_t *cparam; /* Current custom parameter */ in ppdClose() local 211 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdClose() 212 cparam; in ppdClose() 213 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdClose() 215 switch (cparam->type) in ppdClose() 220 free(cparam->current.custom_string); in ppdClose() 227 free(cparam); in ppdClose() 970 ppd_cparam_t *cparam; /* Custom parameter */ in _ppdOpen() local 988 if ((cparam = ppd_get_cparam(coption, name, text)) == NULL) in _ppdOpen() 995 if (cparam->type != PPD_CUSTOM_UNKNOWN) in _ppdOpen() [all …]
|
D | ppd-page.c | 36 ppd_cparam_t *cparam; /* Custom option parameter */ in ppdPageSize() local 124 if ((cparam = ppdFindCustomParam(coption, "Width")) != NULL) in ppdPageSize() 125 cparam->current.custom_points = (float)w; in ppdPageSize() 127 if ((cparam = ppdFindCustomParam(coption, "Height")) != NULL) in ppdPageSize() 128 cparam->current.custom_points = (float)l; in ppdPageSize()
|
D | ppd-localize.c | 47 ppd_cparam_t *cparam; /* Current custom parameter */ in ppdLocalize() local 114 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdLocalize() 115 cparam; in ppdLocalize() 116 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in ppdLocalize() 120 if ((locattr = _ppdLocalizedAttr(ppd, ckeyword, cparam->name, in ppdLocalize() 122 strlcpy(cparam->text, locattr->text, sizeof(cparam->text)); in ppdLocalize()
|
/external/javassist/src/main/javassist/ |
D | CtNewWrappedConstructor.java | 56 ConstParameter cparam) in makeBody() argument 77 if (cparam == null) { in makeBody() 82 stacksize2 = cparam.compile(code) + 2; in makeBody() 83 desc = cparam.constDescriptor(); in makeBody() 97 cparam, code); in makeBody()
|
D | CtNewWrappedMethod.java | 63 ConstParameter cparam) in makeBody() argument 69 parameters, returnType, cparam, code); in makeBody() 81 CtClass returnType, ConstParameter cparam, in makeBody0() argument 96 if (cparam == null) { in makeBody0() 101 stacksize2 = cparam.compile(code); in makeBody0() 102 desc = cparam.descriptor(); in makeBody0()
|
D | CtNewConstructor.java | 313 CtMethod body, ConstParameter cparam, in make() argument 318 howto, body, cparam, declaring); in make()
|
/external/libcups/cgi-bin/ |
D | admin.c | 2634 ppd_cparam_t *cparam; /* Custom parameter */ in do_set_options() local 2914 for (cparam = ppdFirstCustomParam(coption), m = 0; in do_set_options() 2915 cparam; in do_set_options() 2916 cparam = ppdNextCustomParam(coption), m ++) in do_set_options() 2919 _cups_strcasecmp(cparam->name, "Width") && in do_set_options() 2920 _cups_strcasecmp(cparam->name, "Height")) in do_set_options() 2926 cgiSetArray("PARAMS", m, cparam->name); in do_set_options() 2927 cgiSetArray("PARAMTEXT", m, cparam->text); in do_set_options() 2930 switch (cparam->type) in do_set_options() 2954 cparam->current.custom_points / 72.0 * 25.4); in do_set_options() [all …]
|
/external/libcups/systemv/ |
D | lpoptions.c | 410 ppd_cparam_t *cparam; /* Custom parameter */ in list_group() local 432 cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in list_group() 435 …(buffer) - (size_t)(ptr - buffer), " %sCustom.%s", choice->marked ? "*" : "", types[cparam->type]); in list_group() 446 while (cparam) in list_group() 448 …tr, sizeof(buffer) - (size_t)(ptr - buffer), "%s%s=%s", prefix, cparam->name, types[cparam->type]); in list_group() 449 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params); in list_group()
|
D | cupstestppd.c | 3426 ppd_cparam_t *cparam; /* Custom parameter */ in check_translations() local 3561 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in check_translations() 3562 cparam; in check_translations() 3563 cparam = (ppd_cparam_t *)cupsArrayNext(coption->params)) in check_translations() 3571 cparam->name)) == NULL && in check_translations() 3573 cparam->name)) == NULL) in check_translations() 3585 cparam->name); in check_translations() 3602 cparam->name); in check_translations()
|
/external/zstd/tests/ |
D | paramgrill.c | 2182 paramValues_t cparam = init; in climbOnce() local 2190 { winnerInfo_t bestFeasible1 = initWinnerInfo(cparam); in climbOnce() 2195 const size_t varLen = mtAll[cparam.vals[strt_ind]].varLen; in climbOnce() 2198 cparam = winnerInfo.params; in climbOnce() 2199 candidateInfo.params = cparam; in climbOnce() 2204 candidateInfo.params = cparam; in climbOnce() 2205 paramVaryOnce(mtAll[cparam.vals[strt_ind]].varArray[i], in climbOnce() 2233 candidateInfo.params = cparam; in climbOnce()
|