Home
last modified time | relevance | path

Searched refs:cupsArrayFind (Results 1 – 25 of 46) sorted by relevance

12

/external/libcups/scheduler/
Dcups-deviced.c185 if (!requested || cupsArrayFind(requested, "all") != NULL) in main()
192 send_class = cupsArrayFind(requested, "device-class") != NULL; in main()
193 send_info = cupsArrayFind(requested, "device-info") != NULL; in main()
194 send_make_and_model = cupsArrayFind(requested, "device-make-and-model") != NULL; in main()
195 send_uri = cupsArrayFind(requested, "device-uri") != NULL; in main()
196 send_id = cupsArrayFind(requested, "device-id") != NULL; in main()
197 send_location = cupsArrayFind(requested, "device-location") != NULL; in main()
259 if (cupsArrayFind(exclude, dent->filename) || in main()
260 (include && !cupsArrayFind(include, dent->filename))) in main()
380 if (cupsArrayFind(devices, device)) in add_device()
Dselect.c428 if (cupsArrayFind(cupsd_inactive_fds, fdptr)) in cupsdDoSelect()
437 !cupsArrayFind(cupsd_inactive_fds, fdptr)) in cupsdDoSelect()
474 if (cupsArrayFind(cupsd_inactive_fds, fdptr)) in cupsdDoSelect()
484 !cupsArrayFind(cupsd_inactive_fds, fdptr)) in cupsdDoSelect()
918 fdptr = (_cupsd_fd_t *)cupsArrayFind(cupsd_fds, &key); in find_fd()
Dcups-driverd.cxx1236 if (!requested || cupsArrayFind(requested, (void *)"all") != NULL) in list_ppds()
1250 send_name = cupsArrayFind(requested, in list_ppds()
1252 send_make = cupsArrayFind(requested, in list_ppds()
1254 send_make_and_model = cupsArrayFind(requested, in list_ppds()
1256 send_model_number = cupsArrayFind(requested, in list_ppds()
1258 send_natural_language = cupsArrayFind(requested, in list_ppds()
1260 send_device_id = cupsArrayFind(requested, in list_ppds()
1262 send_product = cupsArrayFind(requested, in list_ppds()
1264 send_psversion = cupsArrayFind(requested, in list_ppds()
1266 send_type = cupsArrayFind(requested, in list_ppds()
[all …]
Dipp.c1349 !cupsArrayFind(printer->filetypes, filetype)) in add_job()
4049 (cupsArrayFind(exclude, fromattr->name) || in copy_attrs()
4050 cupsArrayFind(exclude, "all"))) in copy_attrs()
4066 if (!ra || cupsArrayFind(ra, fromattr->name)) in copy_attrs()
4726 if (!cupsArrayFind(exclude, "all")) in copy_job_attrs()
4728 if ((!exclude || !cupsArrayFind(exclude, "number-of-documents")) && in copy_job_attrs()
4729 (!ra || cupsArrayFind(ra, "number-of-documents"))) in copy_job_attrs()
4733 if ((!exclude || !cupsArrayFind(exclude, "job-media-progress")) && in copy_job_attrs()
4734 (!ra || cupsArrayFind(ra, "job-media-progress"))) in copy_job_attrs()
4738 if ((!exclude || !cupsArrayFind(exclude, "job-more-info")) && in copy_job_attrs()
[all …]
Dpolicy.c198 return ((cupsd_policy_t *)cupsArrayFind(Policies, &key)); in cupsdFindPolicy()
229 if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) in cupsdFindPolicyOp()
237 if ((po = (cupsd_location_t *)cupsArrayFind(p->ops, &key)) != NULL) in cupsdFindPolicyOp()
Dmime.c119 if (!cupsArrayFind(mime->filters, filter)) in mimeDeleteFilter()
155 if (!cupsArrayFind(mime->types, mt)) in mimeDeleteType()
551 if ((temp = (_mime_fcache_t *)cupsArrayFind(filtercache, &key)) != NULL) in mime_add_fcache()
Dbanners.c40 return ((cupsd_banner_t *)cupsArrayFind(Banners, &key)); in cupsdFindBanner()
Dfilter.c250 filter = (mime_filter_t *)cupsArrayFind(mime->filters, &key); in mimeFilterLookup()
379 for (current = (mime_filter_t *)cupsArrayFind(mime->srcs, &srckey); in mime_find_filters()
Dquotas.c47 if ((q = (cupsd_quota_t *)cupsArrayFind(p->quotas, &match)) != NULL) in cupsdFindQuota()
Dnetwork.c51 return ((cupsd_netif_t *)cupsArrayFind(NetIFList, &key)); in cupsdNetIFFind()
/external/libcups/cups/
Dppd-mark.c407 marked = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key); in ppdFindMarkedChoice()
442 return ((ppd_option_t *)cupsArrayFind(ppd->options, &key)); in ppdFindOption()
486 if ((c = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) == NULL) in ppdIsMarked()
794 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) in ppd_mark_option()
1002 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, c)) != NULL) in ppd_mark_option()
1030 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) in ppd_mark_option()
1042 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) in ppd_mark_option()
1063 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) in ppd_mark_option()
1084 if ((oldc = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) != NULL) in ppd_mark_option()
Ddest-localization.c108 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia()
119 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia()
251 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestOption()
310 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestValue()
Dppd-custom.c39 return ((ppd_coption_t *)cupsArrayFind(ppd->coptions, &key)); in ppdFindCustomOption()
Dtestarray.c198 if ((text = (char *)cupsArrayFind(array, (void *)"One Fish")) != NULL && in main()
534 if (!cupsArrayFind(array, word)) in load_words()
Darray.h56 extern void *cupsArrayFind(cups_array_t *a, void *e) _CUPS_API_1_2;
Darray.c152 if (!cupsArrayFind(a, (void *)s)) in _cupsArrayAddStrings()
184 if (!cupsArrayFind(a, start)) in _cupsArrayAddStrings()
436 cupsArrayFind(cups_array_t *a, /* I - Array */ in cupsArrayFind() function
Dstring.c80 if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL) in _cupsStrAlloc()
315 if ((item = (_cups_sp_item_t *)cupsArrayFind(stringpool, key)) != NULL && in _cupsStrFree()
Dppd-attr.c56 if ((attr = (ppd_attr_t *)cupsArrayFind(ppd->sorted_attrs, &key)) != NULL) in ppdFindAttr()
Dpwg-media.c604 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); in pwgMediaForLegacy()
661 if ((size = (pwg_media_t *)cupsArrayFind(cg->ppd_size_lut, &key)) == NULL) in pwgMediaForPPD()
837 if ((size = (pwg_media_t *)cupsArrayFind(cg->pwg_size_lut, &key)) == NULL && in pwgMediaForPWG()
Dppd-conflicts.c243 if (cupsArrayFind(pass, consts->resolver)) in cupsResolveConflicts()
246 if (cupsArrayFind(resolvers, consts->resolver)) in cupsResolveConflicts()
1160 if ((marked = (ppd_choice_t *)cupsArrayFind(ppd->marked, &key)) in ppd_test_constraints()
/external/libcups/tools/
Dippeveprinter.c907 if (!ra || cupsArrayFind(ra, "date-time-at-completed")) in copy_job_attributes()
915 if (!ra || cupsArrayFind(ra, "date-time-at-processing")) in copy_job_attributes()
923 if (!ra || cupsArrayFind(ra, "job-impressions")) in copy_job_attributes()
926 if (!ra || cupsArrayFind(ra, "job-impressions-completed")) in copy_job_attributes()
929 if (!ra || cupsArrayFind(ra, "job-printer-up-time")) in copy_job_attributes()
932 if (!ra || cupsArrayFind(ra, "job-state")) in copy_job_attributes()
935 if (!ra || cupsArrayFind(ra, "job-state-message")) in copy_job_attributes()
984 if (!ra || cupsArrayFind(ra, "job-state-reasons")) in copy_job_attributes()
1046 if (!ra || cupsArrayFind(ra, "time-at-completed")) in copy_job_attributes()
1051 if (!ra || cupsArrayFind(ra, "time-at-processing")) in copy_job_attributes()
[all …]
/external/libcups/ppdc/
Dppdmerge.cxx186 if (cupsArrayFind(languages, (void *)locale)) in main()
Dppdc.cxx352 if (cupsArrayFind(filenames, filename)) in main()
/external/libcups/cgi-bin/
Dmakedocset.c228 if ((section = (_cups_section_t *)cupsArrayFind(sections, &key)) == NULL) in write_index()
Dhelp-index.c202 return ((help_node_t *)cupsArrayFind(hi->nodes, &key)); in helpFindNode()
648 if ((w = (help_word_t *)cupsArrayFind(n->words, &key)) == NULL) in help_add_word()

12