Searched refs:num_defaults (Results 1 – 6 of 6) sorted by relevance
/external/libcups/scheduler/ |
D | cups-lpd.c | 63 static int recv_print_job(const char *name, int num_defaults, 82 int num_defaults; /* Number of default options */ in main() local 118 num_defaults = 0; in main() 142 num_defaults = cupsParseOptions(argv[i] + 2, num_defaults, in main() 148 num_defaults = cupsParseOptions(argv[i], num_defaults, in main() 199 num_defaults = cupsAddOption("job-originating-host-name", hostname, in main() 200 num_defaults, &defaults); in main() 268 status = (char)recv_print_job(dest, num_defaults, defaults); in main() 771 int num_defaults, /* I - Number of default options */ in recv_print_job() argument 1030 for (i = 0; i < num_defaults; i ++) in recv_print_job() [all …]
|
D | ipp.c | 4449 int num_defaults; /* Number of default options */ in copy_model() local 4588 num_defaults = 0; in copy_model() 4616 if (!cupsGetOption(option, num_defaults, defaults) && in copy_model() 4619 num_defaults = cupsAddOption(option, choice, num_defaults, in copy_model() 4634 num_defaults = cupsAddOption("PageSize", size->name, in copy_model() 4635 num_defaults, &defaults); in copy_model() 4636 num_defaults = cupsAddOption("PageRegion", size->name, in copy_model() 4637 num_defaults, &defaults); in copy_model() 4638 num_defaults = cupsAddOption("PaperDimension", size->name, in copy_model() 4639 num_defaults, &defaults); in copy_model() [all …]
|
/external/libcups/cups/ |
D | cups-private.h | 230 int num_defaults; /* Number of default options */ member
|
D | dest-options.c | 459 if (!dinfo->num_defaults) in cupsCopyDestConflicts() 1952 dinfo->num_defaults = cupsAddOption(name, value, dinfo->num_defaults, &dinfo->defaults); in cups_create_defaults() 2618 value = cupsGetOption(attr->name, dinfo->num_defaults, dinfo->defaults); in cups_test_constraints()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 945 num_defaults = len(defaults) if defaults else 0 974 for arg, value in zip(args[-num_defaults:], defaults): 992 num_required = num_args - num_defaults
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1383 num_defaults = len(defaults) if defaults else 0 1405 _too_many(f_name, args, kwonlyargs, varargs, num_defaults, 1408 req = args[:num_args - num_defaults] 1412 for i, arg in enumerate(args[num_args - num_defaults:]):
|