Home
last modified time | relevance | path

Searched refs:value_tag (Results 1 – 25 of 31) sorted by relevance

12

/external/libcups/cups/
Dipp.c28 ipp_tag_t group_tag, ipp_tag_t value_tag,
374 ipp_tag_t value_tag, /* I - Type of attribute */ in ippAddInteger() argument
381 …"%s\", value=%d)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), na… in ippAddInteger()
383 value_tag &= IPP_TAG_CUPS_MASK; in ippAddInteger()
390 if (value_tag >= IPP_TAG_UNSUPPORTED_VALUE && value_tag <= IPP_TAG_ADMINDEFINE) in ippAddInteger()
391 return (ippAddOutOfBand(ipp, group, value_tag, name)); in ippAddInteger()
400 (value_tag != IPP_TAG_INTEGER && value_tag != IPP_TAG_ENUM)) in ippAddInteger()
412 if ((attr = ipp_add_attr(ipp, name, group, value_tag, 1)) == NULL) in ippAddInteger()
440 ipp_tag_t value_tag, /* I - Type of attribute */ in ippAddIntegers() argument
450 …s=%d, values=%p)", (void *)ipp, group, ippTagString(group), value_tag, ippTagString(value_tag), na… in ippAddIntegers()
[all …]
Dgetdevices.c196 attr->name, attr->value_tag)); in cupsGetDevices()
214 attr->value_tag == IPP_TAG_KEYWORD) in cupsGetDevices()
217 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices()
220 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices()
223 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices()
226 attr->value_tag == IPP_TAG_TEXT) in cupsGetDevices()
229 attr->value_tag == IPP_TAG_URI) in cupsGetDevices()
Dutil.c565 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
568 attr->value_tag == IPP_TAG_ENUM) in cupsGetJobs2()
571 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
574 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
577 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
580 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
583 attr->value_tag == IPP_TAG_INTEGER) in cupsGetJobs2()
586 attr->value_tag == IPP_TAG_URI) in cupsGetJobs2()
592 attr->value_tag == IPP_TAG_NAME) in cupsGetJobs2()
595 attr->value_tag == IPP_TAG_MIMETYPE) in cupsGetJobs2()
[all …]
Dipp-file.c104 ipp_tag_t value_tag; /* Value tag */ in _ippFileParse() local
113 else if ((value_tag = ippTagValue(syntax)) < IPP_TAG_UNSUPPORTED_VALUE) in _ippFileParse()
145 if (value_tag < IPP_TAG_INTEGER) in _ippFileParse()
151 ippAddOutOfBand(attrs, f.group_tag, value_tag, name); in _ippFileParse()
159 attr = ippAddString(attrs, f.group_tag, value_tag, name, NULL, NULL); in _ippFileParse()
459 ipp_tag_t value_tag; /* Value tag */ in parse_collection() local
470 else if ((value_tag = ippTagValue(syntax)) < IPP_TAG_UNSUPPORTED_VALUE) in parse_collection()
486 if (value_tag < IPP_TAG_INTEGER) in parse_collection()
492 ippAddOutOfBand(col, IPP_TAG_ZERO, value_tag, name); in parse_collection()
500 attr = ippAddString(col, IPP_TAG_ZERO, value_tag, name, NULL, NULL); in parse_collection()
Dtestipp.c473 printf("FAIL (wrong type - %s)\n", ippTagString(media_col->value_tag)); in main()
498 ippTagString(media_size->value_tag)); in main()
512 ippTagString(attr->value_tag)); in main()
531 ippTagString(attr->value_tag)); in main()
556 ippTagString(media_size->value_tag)); in main()
571 ippTagString(attr->value_tag)); in main()
590 ippTagString(attr->value_tag)); in main()
724 else if (attr->value_tag != IPP_TAG_RANGE) in main()
726 printf("FAIL (wrong type - %s)\n", ippTagString(attr->value_tag)); in main()
969 …tr->name : "(null)", attr->num_values > 1 ? "1setOf " : "", ippTagString(attr->value_tag), buffer); in print_attributes()
Dencode.c400 ipp_tag_t value_tag; /* IPP value tag */ in _cupsEncodeOption() local
416 value_tag = map->value_tag; in _cupsEncodeOption()
418 value_tag = IPP_TAG_BOOLEAN; in _cupsEncodeOption()
420 value_tag = IPP_TAG_BEGIN_COLLECTION; in _cupsEncodeOption()
422 value_tag = IPP_TAG_NAME; in _cupsEncodeOption()
451 DEBUG_printf(("2_cupsEncodeOption: value_tag=%s, count=%d", ippTagString(value_tag), count)); in _cupsEncodeOption()
457 if ((attr = ippAddStrings(ipp, group_tag, value_tag, name, count, NULL, NULL)) == NULL) in _cupsEncodeOption()
546 switch (attr->value_tag) in _cupsEncodeOption()
Dipp.h758 ipp_tag_t value_tag, const char *name,
761 ipp_tag_t value_tag, const char *name,
777 ipp_tag_t value_tag, const char *name,
780 ipp_tag_t value_tag, const char *name,
787 ipp_tag_t value_tag) _CUPS_PUBLIC;
789 ipp_tag_t value_tag) _CUPS_PUBLIC;
827 ipp_tag_t value_tag, const char *name)
900 ipp_tag_t value_tag) _CUPS_API_1_6;
906 ipp_tag_t value_tag, const char *name,
910 ipp_tag_t value_tag, const char *name,
Ddest-options.c276 switch (attr->value_tag) in cupsCheckDestSupported()
279 if (map && map->value_tag == IPP_TAG_STRING) in cupsCheckDestSupported()
294 if (map && map->value_tag == IPP_TAG_STRING) in cupsCheckDestSupported()
2076 …RO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELAN… in cups_create_media_db()
2082 …RO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELAN… in cups_create_media_db()
2085 …RO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELAN… in cups_create_media_db()
2088 …RO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELAN… in cups_create_media_db()
2091 …RO)) != NULL && (media_attr->value_tag == IPP_TAG_NAME || media_attr->value_tag == IPP_TAG_NAMELAN… in cups_create_media_db()
2201 (media_attr->value_tag == IPP_TAG_NAME || in cups_create_media_db()
2202 media_attr->value_tag == IPP_TAG_NAMELANG || in cups_create_media_db()
[all …]
Dipp-private.h115 value_tag; /* What type of value is it? */ member
144 ipp_tag_t value_tag; /* Value tag for this attribute */ member
Ddest.c1468 if (attr->value_tag != IPP_TAG_INTEGER && in _cupsGetDests()
1469 attr->value_tag != IPP_TAG_ENUM && in _cupsGetDests()
1470 attr->value_tag != IPP_TAG_BOOLEAN && in _cupsGetDests()
1471 attr->value_tag != IPP_TAG_TEXT && in _cupsGetDests()
1472 attr->value_tag != IPP_TAG_TEXTLANG && in _cupsGetDests()
1473 attr->value_tag != IPP_TAG_NAME && in _cupsGetDests()
1474 attr->value_tag != IPP_TAG_NAMELANG && in _cupsGetDests()
1475 attr->value_tag != IPP_TAG_KEYWORD && in _cupsGetDests()
1476 attr->value_tag != IPP_TAG_RANGE && in _cupsGetDests()
1477 attr->value_tag != IPP_TAG_URI) in _cupsGetDests()
[all …]
Dtestpwg.c100 media->value_tag != IPP_TAG_NAME && in main()
101 media->value_tag != IPP_TAG_KEYWORD) in main()
/external/libcups/systemv/
Dlpstat.c770 attr->value_tag == IPP_TAG_NAME) in show_accepting()
773 attr->value_tag == IPP_TAG_INTEGER) in show_accepting()
776 attr->value_tag == IPP_TAG_TEXT) in show_accepting()
779 attr->value_tag == IPP_TAG_BOOLEAN) in show_accepting()
956 attr->value_tag == IPP_TAG_NAME) in show_classes()
960 attr->value_tag == IPP_TAG_URI) in show_classes()
964 attr->value_tag == IPP_TAG_NAME) in show_classes()
1206 attr->value_tag == IPP_TAG_NAME) in show_devices()
1210 attr->value_tag == IPP_TAG_URI) in show_devices()
1214 attr->value_tag == IPP_TAG_URI) in show_devices()
[all …]
Dlpinfo.c409 attr->value_tag == IPP_TAG_TEXT) in show_models()
412 attr->value_tag == IPP_TAG_LANGUAGE) in show_models()
415 attr->value_tag == IPP_TAG_TEXT) in show_models()
418 attr->value_tag == IPP_TAG_NAME) in show_models()
/external/libcups/berkeley/
Dlpc.c286 attr->value_tag == IPP_TAG_URI) in show_status()
289 attr->value_tag == IPP_TAG_BOOLEAN) in show_status()
292 attr->value_tag == IPP_TAG_NAME) in show_status()
295 attr->value_tag == IPP_TAG_ENUM) in show_status()
298 attr->value_tag == IPP_TAG_INTEGER) in show_status()
Dlpq.c450 attr->value_tag == IPP_TAG_INTEGER) in show_jobs()
454 attr->value_tag == IPP_TAG_INTEGER) in show_jobs()
458 attr->value_tag == IPP_TAG_ENUM) in show_jobs()
462 attr->value_tag == IPP_TAG_URI) in show_jobs()
467 attr->value_tag == IPP_TAG_NAME) in show_jobs()
471 attr->value_tag == IPP_TAG_NAME) in show_jobs()
475 attr->value_tag == IPP_TAG_INTEGER) in show_jobs()
/external/libcups/scheduler/
Dutil.c374 ipp_tag_t value_tag, /* I - Value tag */ in cupsdSendIPPInteger() argument
386 putchar(value_tag); in cupsdSendIPPInteger()
410 ipp_tag_t value_tag, /* I - Value tag */ in cupsdSendIPPString() argument
423 putchar(value_tag); in cupsdSendIPPString()
Dutil.h50 extern void cupsdSendIPPInteger(ipp_tag_t value_tag,
52 extern void cupsdSendIPPString(ipp_tag_t value_tag,
Dcups-lpd.c554 attr->value_tag == IPP_TAG_BOOLEAN) in get_printer()
557 attr->value_tag == IPP_TAG_TEXT) in get_printer()
560 attr->value_tag == IPP_TAG_NAME) in get_printer()
563 attr->value_tag == IPP_TAG_BOOLEAN) in get_printer()
566 attr->value_tag == IPP_TAG_ENUM) in get_printer()
1472 attr->value_tag == IPP_TAG_INTEGER) in send_state()
1476 attr->value_tag == IPP_TAG_INTEGER) in send_state()
1480 attr->value_tag == IPP_TAG_ENUM) in send_state()
1484 attr->value_tag == IPP_TAG_URI) in send_state()
1489 attr->value_tag == IPP_TAG_NAME) in send_state()
[all …]
Djob.c1802 (attr->value_tag == IPP_TAG_NAME || in cupsdLoadJob()
1803 attr->value_tag == IPP_TAG_NAMELANG || in cupsdLoadJob()
1804 attr->value_tag == IPP_TAG_KEYWORD) && in cupsdLoadJob()
2345 attr->value_tag = IPP_TAG_NAME; in cupsdSetJobHoldUntil()
2347 attr->value_tag = IPP_TAG_KEYWORD; in cupsdSetJobHoldUntil()
3800 (attr->value_tag == IPP_TAG_KEYWORD || in get_options()
3801 attr->value_tag == IPP_TAG_NAME) && in get_options()
3914 attr->value_tag == IPP_TAG_INTEGER) in get_options()
3924 (attr->value_tag == IPP_TAG_NAME || in get_options()
3925 attr->value_tag == IPP_TAG_NAMELANG)) in get_options()
[all …]
Dipp.c244 …if (attr && attr->name && !strcmp(attr->name, "attributes-charset") && (attr->value_tag & IPP_TAG_… in cupsdProcessIPPRequest()
252 …r->name && !strcmp(attr->name, "attributes-natural-language") && (attr->value_tag & IPP_TAG_MASK) … in cupsdProcessIPPRequest()
342 attr->value_tag); in cupsdProcessIPPRequest()
368 else if (username->value_tag != IPP_TAG_NAME && username->value_tag != IPP_TAG_NAMELANG) in cupsdProcessIPPRequest()
1383 if (attr->value_tag != IPP_TAG_KEYWORD && in add_job()
1384 attr->value_tag != IPP_TAG_NAME) in add_job()
1535 else if ((attr->value_tag != IPP_TAG_NAME && in add_job()
1536 attr->value_tag != IPP_TAG_NAMELANG) || in add_job()
1638 if (attr->value_tag != IPP_TAG_NAME || in add_job()
1991 attr->value_tag == IPP_TAG_URI) in add_job_subscriptions()
[all …]
Dtestsub.c400 printf("%s):", tags[attr->value_tag]); in print_attributes()
402 switch (attr->value_tag) in print_attributes()
/external/libcups/cgi-bin/
Dipp-var.c204 switch (attr->value_tag) in cgiGetIPPObjects()
1161 switch (attr->value_tag) in cgiSetIPPObjectVars()
1232 if (attr->value_tag != IPP_TAG_BEGIN_COLLECTION) in cgiSetIPPObjectVars()
1301 (filter->value_tag == IPP_TAG_STRING || in cgiSetIPPVars()
1302 (filter->value_tag >= IPP_TAG_TEXTLANG && in cgiSetIPPVars()
1303 filter->value_tag <= IPP_TAG_MIMETYPE)) && in cgiSetIPPVars()
/external/libcups/notifier/
Dtestnotify.c109 ippTagString(attr->value_tag), buffer); in print_attributes()
Dmailto.c631 ippTagString(attr->value_tag), buffer); in print_attributes()
/external/libcups/backend/
Dipp.c2557 attr->value_tag == IPP_TAG_INTEGER) in monitor_printer()
2560 (attr->value_tag == IPP_TAG_NAME || in monitor_printer()
2561 attr->value_tag == IPP_TAG_NAMELANG)) in monitor_printer()
2564 attr->value_tag == IPP_TAG_ENUM) in monitor_printer()
2567 (attr->value_tag == IPP_TAG_NAME || in monitor_printer()
2568 attr->value_tag == IPP_TAG_NAMELANG)) in monitor_printer()
3011 switch (attr->value_tag) in report_attr()

12