/external/libcups/cups/ |
D | ipp.c | 32 ipp_tag_t group_tag, ipp_tag_t value_tag, 378 ipp_tag_t value_tag, /* I - Type of attribute */ in ippAddInteger() argument 385 …"%s\", value=%d)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), na… in ippAddInteger() 387 value_tag &= IPP_TAG_CUPS_MASK; in ippAddInteger() 394 if (value_tag >= IPP_TAG_UNSUPPORTED_VALUE && value_tag <= IPP_TAG_ADMINDEFINE) in ippAddInteger() 395 return (ippAddOutOfBand(ipp, group, value_tag, name)); in ippAddInteger() 404 (value_tag != IPP_TAG_INTEGER && value_tag != IPP_TAG_ENUM)) in ippAddInteger() 416 if ((attr = ipp_add_attr(ipp, name, group, value_tag, 1)) == NULL) in ippAddInteger() 444 ipp_tag_t value_tag, /* I - Type of attribute */ in ippAddIntegers() argument 454 …s=%d, values=%p)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), na… in ippAddIntegers() [all …]
|
D | getdevices.c | 198 attr->name, attr->value_tag)); in cupsGetDevices() 216 attr->value_tag == IPP_TAG_KEYWORD) in cupsGetDevices() 219 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices() 222 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices() 225 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices() 228 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices() 231 attr->value_tag == IPP_TAG_URI) in cupsGetDevices()
|
D | util.c | 569 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 572 attr->value_tag == IPP_TAG_ENUM) in cupsGetJobs2() 575 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 578 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 581 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 584 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 587 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2() 590 attr->value_tag == IPP_TAG_URI) in cupsGetJobs2() 596 attr->value_tag == IPP_TAG_NAME) in cupsGetJobs2() 599 attr->value_tag == IPP_TAG_MIMETYPE) in cupsGetJobs2() [all …]
|
D | testipp.c | 411 printf("FAIL (wrong type - %s)\n", ippTagString(media_col->value_tag)); in main() 436 ippTagString(media_size->value_tag)); in main() 450 ippTagString(attr->value_tag)); in main() 469 ippTagString(attr->value_tag)); in main() 494 ippTagString(media_size->value_tag)); in main() 509 ippTagString(attr->value_tag)); in main() 528 ippTagString(attr->value_tag)); in main() 641 else if (attr->value_tag != IPP_TAG_RANGE) in main() 643 printf("FAIL (wrong type - %s)\n", ippTagString(attr->value_tag)); in main() 836 …tr->name : "(null)", attr->num_values > 1 ? "1setOf " : "", ippTagString(attr->value_tag), buffer); in print_attributes()
|
D | dest-options.c | 177 switch (attr->value_tag) in cupsCheckDestSupported() 1475 if (attr->value_tag == IPP_TAG_BEGIN_COLLECTION) in cups_create_defaults() 1618 (media_attr->value_tag == IPP_TAG_NAME || in cups_create_media_db() 1619 media_attr->value_tag == IPP_TAG_NAMELANG || in cups_create_media_db() 1620 media_attr->value_tag == IPP_TAG_KEYWORD)) in cups_create_media_db() 1629 (media_attr->value_tag == IPP_TAG_NAME || in cups_create_media_db() 1630 media_attr->value_tag == IPP_TAG_NAMELANG || in cups_create_media_db() 1631 media_attr->value_tag == IPP_TAG_KEYWORD)) in cups_create_media_db() 1636 (media_attr->value_tag == IPP_TAG_NAME || in cups_create_media_db() 1637 media_attr->value_tag == IPP_TAG_NAMELANG || in cups_create_media_db() [all …]
|
D | ipp.h | 813 value_tag; /* What type of value is it? */ member 852 ipp_tag_t value_tag, const char *name, 855 ipp_tag_t value_tag, const char *name, 871 ipp_tag_t value_tag, const char *name, 874 ipp_tag_t value_tag, const char *name, 881 ipp_tag_t value_tag); 883 ipp_tag_t value_tag); 921 ipp_tag_t value_tag, const char *name) 994 ipp_tag_t value_tag) _CUPS_API_1_6; 1000 ipp_tag_t value_tag, const char *name, [all …]
|
D | encode.c | 378 ipp_tag_t value_tag; /* IPP value tag */ in cupsEncodeOptions2() local 449 value_tag = match->value_tag; in cupsEncodeOptions2() 499 value_tag = IPP_TAG_BOOLEAN; in cupsEncodeOptions2() 501 value_tag = IPP_TAG_NAME; in cupsEncodeOptions2() 553 if ((attr = ippAddStrings(ipp, group_tag, value_tag, option->name, count, in cupsEncodeOptions2() 644 switch (attr->value_tag) in cupsEncodeOptions2()
|
D | dest.c | 1451 if (attr->value_tag != IPP_TAG_INTEGER && in _cupsGetDests() 1452 attr->value_tag != IPP_TAG_ENUM && in _cupsGetDests() 1453 attr->value_tag != IPP_TAG_BOOLEAN && in _cupsGetDests() 1454 attr->value_tag != IPP_TAG_TEXT && in _cupsGetDests() 1455 attr->value_tag != IPP_TAG_TEXTLANG && in _cupsGetDests() 1456 attr->value_tag != IPP_TAG_NAME && in _cupsGetDests() 1457 attr->value_tag != IPP_TAG_NAMELANG && in _cupsGetDests() 1458 attr->value_tag != IPP_TAG_KEYWORD && in _cupsGetDests() 1459 attr->value_tag != IPP_TAG_RANGE && in _cupsGetDests() 1460 attr->value_tag != IPP_TAG_URI) in _cupsGetDests() [all …]
|
D | ipp-private.h | 51 ipp_tag_t value_tag; /* Value tag for this attribute */ member
|
D | testpwg.c | 106 media->value_tag != IPP_TAG_NAME && in main() 107 media->value_tag != IPP_TAG_KEYWORD) in main()
|
D | ipp-support.c | 654 switch (attr->value_tag & ~IPP_TAG_CUPS_CONST) in ippAttributeString() 809 ptr = ippTagString(attr->value_tag); in ippAttributeString()
|
D | ppd-cache.c | 159 ipp_tag_t value_tag = opt ? opt->value_tag : IPP_TAG_NAME; in _cupsConvertOptions() local 162 switch (value_tag) in _cupsConvertOptions() 166 ippAddInteger(request, IPP_TAG_JOB, value_tag, mandatory, atoi(keyword)); in _cupsConvertOptions() 193 ippAddString(request, IPP_TAG_JOB, value_tag, mandatory, NULL, keyword); in _cupsConvertOptions() 2360 attr->name, ippTagString(attr->value_tag))); in _ppdCacheGetPageSize() 2365 if (attr && (attr->value_tag == IPP_TAG_NAME || in _ppdCacheGetPageSize() 2366 attr->value_tag == IPP_TAG_KEYWORD)) in _ppdCacheGetPageSize()
|
D | adminutil.c | 2300 if (defattr->value_tag == IPP_TAG_INTEGER) in write_option() 2309 if (suppattr->value_tag == IPP_TAG_RANGE) in write_option()
|