Home
last modified time | relevance | path

Searched refs:group_tag (Results 1 – 25 of 27) sorted by relevance

12

/external/libcups/cups/
Dencode.c387 ipp_tag_t group_tag, /* I - Group tag */ in _cupsEncodeOption() argument
406 …(void *)ipp, ipp ? ippOpString(ippGetOperation(ipp)) : "", ippTagString(group_tag), (void *)map, n… in _cupsEncodeOption()
457 if ((attr = ippAddStrings(ipp, group_tag, value_tag, name, count, NULL, NULL)) == NULL) in _cupsEncodeOption()
681 ipp_tag_t group_tag, /* I - Attribute group */ in cupsEncodeOption() argument
685 return (_cupsEncodeOption(ipp, group_tag, _ippFindOption(name), name, value)); in cupsEncodeOption()
729 ipp_tag_t group_tag) /* I - Group to encode */ in cupsEncodeOptions2() argument
738 …oid *)ipp, ipp ? ippOpString(ippGetOperation(ipp)) : "", num_options, (void *)options, group_tag)); in cupsEncodeOptions2()
753 …if (group_tag == IPP_TAG_OPERATION && (op == IPP_OP_PRINT_JOB || op == IPP_OP_PRINT_URI || op == I… in cupsEncodeOptions2()
788 if (match->group_tag != group_tag && match->alt_group_tag != group_tag) in cupsEncodeOptions2()
793 else if (group_tag == IPP_TAG_JOB) in cupsEncodeOptions2()
[all …]
Dipp-private.h114 ipp_tag_t group_tag, /* Job/Printer/Operation group tag */ member
145 ipp_tag_t group_tag; /* Group tag for this attribute */ member
185 ipp_tag_t group_tag; /* Current group for new attributes */ member
Dipp.c28 ipp_tag_t group_tag, ipp_tag_t value_tag,
1513 dstattr = ippAddOutOfBand(dst, srcattr->group_tag, srctag, srcattr->name); in ippCopyAttribute()
1522 …if ((dstattr = ipp_add_attr(dst, srcattr->name, srcattr->group_tag, srctag, srcattr->num_values)) … in ippCopyAttribute()
1535 …if ((dstattr = ippAddStrings(dst, srcattr->group_tag, (ipp_tag_t)(srctag | quickcopy), srcattr->na… in ippCopyAttribute()
1559 …if ((dstattr = ippAddStrings(dst, srcattr->group_tag, (ipp_tag_t)(srctag | quickcopy), srcattr->na… in ippCopyAttribute()
1589 …if ((dstattr = ippAddCollections(dst, srcattr->group_tag, srcattr->name, srcattr->num_values, NULL… in ippCopyAttribute()
1601 …if ((dstattr = ipp_add_attr(dst, srcattr->name, srcattr->group_tag, srctag, srcattr->num_values)) … in ippCopyAttribute()
2203 return (attr->group_tag); in ippGetGroupTag()
2757 attr->group_tag == IPP_TAG_OPERATION && in ippNewResponse()
2787 attr->group_tag == IPP_TAG_OPERATION && in ippNewResponse()
[all …]
Dtestipp.c960 if (group != attr->group_tag) in print_attributes()
962 group = attr->group_tag; in print_attributes()
1062 f->group_tag = IPP_TAG_PRINTER; in token_cb()
Dcups-private.h264 extern ipp_attribute_t *_cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, _ipp_option_t *map, cons…
Dutil.c540 while (attr && attr->group_tag != IPP_TAG_JOB) in cupsGetJobs2()
562 while (attr && attr->group_tag == IPP_TAG_JOB) in cupsGetJobs2()
Dipp-file.c151 ippAddOutOfBand(attrs, f.group_tag, value_tag, name); in _ippFileParse()
159 attr = ippAddString(attrs, f.group_tag, value_tag, name, NULL, NULL); in _ippFileParse()
Dcups.h416 ipp_tag_t group_tag) _CUPS_API_1_2;
605 extern ipp_attribute_t *cupsEncodeOption(ipp_t *ipp, ipp_tag_t group_tag, const char *name, const c…
Dipp.h877 ipp_tag_t group_tag) _CUPS_API_1_6;
Ddest.c1452 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in _cupsGetDests()
1466 for (; attr && attr->group_tag == IPP_TAG_PRINTER; attr = attr->next) in _cupsGetDests()
2129 if ((match = _ippFindOption(option->name)) != NULL && match->group_tag == IPP_TAG_PRINTER) in cupsSetDests2()
/external/libcups/notifier/
Dtestnotify.c91 if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) in print_attributes()
98 if (group != attr->group_tag) in print_attributes()
100 group = attr->group_tag; in print_attributes()
Dmailto.c613 if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) in print_attributes()
620 if (group != attr->group_tag) in print_attributes()
622 group = attr->group_tag; in print_attributes()
/external/libcups/cgi-bin/
Dipp-var.c170 if (attr->group_tag != group) in cgiGetIPPObjects()
172 group = attr->group_tag; in cgiGetIPPObjects()
188 if (attr->name && attr->group_tag != IPP_TAG_OPERATION && !add) in cgiGetIPPObjects()
956 for (attr = obj; attr && attr->group_tag != IPP_TAG_ZERO; attr = attr->next) in cgiSetIPPObjectVars()
1280 while (attr && attr->group_tag == IPP_TAG_OPERATION) in cgiSetIPPVars()
1289 while (attr && attr->group_tag == IPP_TAG_ZERO) in cgiSetIPPVars()
1298 filter != NULL && filter->group_tag != IPP_TAG_ZERO; in cgiSetIPPVars()
1311 if (filter->group_tag == IPP_TAG_ZERO) in cgiSetIPPVars()
Dadmin.c2016 while (attr && attr->group_tag != IPP_TAG_PRINTER) in do_list_printers()
2030 while (attr && attr->group_tag == IPP_TAG_PRINTER) in do_list_printers()
/external/libcups/scheduler/
Dtestsub.c376 if ((attr->group_tag == IPP_TAG_ZERO && indent <= 8) || !attr->name) in print_attributes()
383 if (group != attr->group_tag) in print_attributes()
385 group = attr->group_tag; in print_attributes()
Dutil.c329 cupsdSendIPPGroup(ipp_tag_t group_tag) /* I - Group tag */ in cupsdSendIPPGroup() argument
335 putchar(group_tag); in cupsdSendIPPGroup()
Dutil.h47 extern void cupsdSendIPPGroup(ipp_tag_t group_tag);
Dcups-lpd.c535 while (attr && attr->group_tag != IPP_TAG_PRINTER) in get_printer()
551 while (attr && attr->group_tag == IPP_TAG_PRINTER) in get_printer()
1451 while (attr && (attr->group_tag != IPP_TAG_JOB || !attr->name)) in send_state()
1469 while (attr && attr->group_tag == IPP_TAG_JOB) in send_state()
Dipp.c216 for (attr = con->request->attrs, group = attr->group_tag; in cupsdProcessIPPRequest()
219 if (attr->group_tag < group && attr->group_tag != IPP_TAG_ZERO) in cupsdProcessIPPRequest()
227 …ATUS_ERROR_BAD_REQUEST, _("Attribute groups are out of order (%x < %x)."), attr->group_tag, group); in cupsdProcessIPPRequest()
231 group = attr->group_tag; in cupsdProcessIPPRequest()
244 …arset") && (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_CHARSET && attr->group_tag == IPP_TAG_OPERA… in cupsdProcessIPPRequest()
252 …uage") && (attr->value_tag & IPP_TAG_MASK) == IPP_TAG_LANGUAGE && attr->group_tag == IPP_TAG_OPERA… in cupsdProcessIPPRequest()
270 …ndAttribute(con->request, "printer-uri", IPP_TAG_URI)) != NULL && attr->group_tag == IPP_TAG_OPERA… in cupsdProcessIPPRequest()
272 …ppFindAttribute(con->request, "job-uri", IPP_TAG_URI)) != NULL && attr->group_tag == IPP_TAG_OPERA… in cupsdProcessIPPRequest()
274 …FindAttribute(con->request, "ppd-name", IPP_TAG_NAME)) != NULL && attr->group_tag == IPP_TAG_OPERA… in cupsdProcessIPPRequest()
341 attr->name ? attr->name : "(null)", attr->group_tag, in cupsdProcessIPPRequest()
[all …]
/external/libcups/systemv/
Dlpstat.c752 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_accepting()
767 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_accepting()
939 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_classes()
953 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_classes()
1189 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_devices()
1203 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_devices()
1389 while (attr != NULL && attr->group_tag != IPP_TAG_JOB) in show_jobs()
1407 while (attr != NULL && attr->group_tag == IPP_TAG_JOB) in show_jobs()
1618 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_printers()
1642 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_printers()
Dlpinfo.c391 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_models()
406 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_models()
/external/libcups/berkeley/
Dlpc.c267 while (attr != NULL && attr->group_tag != IPP_TAG_PRINTER) in show_status()
283 while (attr != NULL && attr->group_tag == IPP_TAG_PRINTER) in show_status()
Dlpq.c429 while (attr != NULL && attr->group_tag != IPP_TAG_JOB) in show_jobs()
447 while (attr != NULL && attr->group_tag == IPP_TAG_JOB) in show_jobs()
/external/libcups/tools/
Dipptool.c3377 ipp_tag_t group_tag; /* Group tag */ in token_cb() local
3385 if ((group_tag = ippTagValue(temp)) == IPP_TAG_ZERO || group_tag >= IPP_TAG_UNSUPPORTED_VALUE) in token_cb()
3391 if (group_tag == f->group_tag) in token_cb()
3394 f->group_tag = group_tag; in token_cb()
4000 f->group_tag = IPP_TAG_ZERO; in token_cb()
Dippeveprinter.c171 ipp_tag_t group_tag; /* Group to copy */ member
259 static void copy_attributes(ipp_t *to, ipp_t *from, cups_array_t *ra, ipp_tag_t group_tag, int qui…
882 ipp_tag_t group_tag, /* I - Group to copy */ in copy_attributes() argument
889 filter.group_tag = group_tag; in copy_attributes()
1966 ipp_tag_t group_tag; /* Current group */ in debug_attributes() local
1986 for (attr = ippFirstAttribute(ipp), group_tag = IPP_TAG_ZERO; in debug_attributes()
1990 if (ippGetGroupTag(attr) != group_tag) in debug_attributes()
1992 group_tag = ippGetGroupTag(attr); in debug_attributes()
1993 fprintf(stderr, " %s\n", ippTagString(group_tag)); in debug_attributes()
2273 …if ((filter->group_tag != IPP_TAG_ZERO && group != filter->group_tag && group != IPP_TAG_ZERO) || … in filter_cb()
[all …]

12