Home
last modified time | relevance | path

Searched refs:cupsArrayFirst (Results 1 – 25 of 66) sorted by relevance

123

/external/libcups/scheduler/
Dlisten.c37 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in cupsdDeleteAllListeners()
79 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in cupsdPauseListening()
105 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in cupsdResumeListening()
141 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners), LocalPort = 0, in cupsdStartListening()
276 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in cupsdStopListening()
Dsysman.c60 for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); in cupsdCleanDirty()
138 for (job = (cupsd_job_t *)cupsArrayFirst(PrintingJobs); in cupsdSetBusyState()
834 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdate()
894 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdate()
944 for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); in sysUpdate()
1017 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdateNames()
1034 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdateNames()
Dpolicy.c159 for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdDeleteAllPolicies()
311 if ((name = (char *)cupsArrayFirst(attrs_ptr)) != NULL && in cupsdGetPrivateAttrs()
350 for (name = (char *)cupsArrayFirst(access_ptr); in cupsdGetPrivateAttrs()
362 for (acl = (char *)cupsArrayFirst(printer->users); in cupsdGetPrivateAttrs()
Dmain.c733 for (con = (cupsd_client_t *)cupsArrayFirst(Clients); in main()
832 …for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Prin… in main()
867 for (i = 0, con = (cupsd_client_t *)cupsArrayFirst(Clients); in main()
874 for (i = 0, lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in main()
886 for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); in main()
896 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in main()
1028 for (con = (cupsd_client_t *)cupsArrayFirst(Clients); in main()
1648 for (con = (cupsd_client_t *)cupsArrayFirst(Clients); in select_timeout()
1702 for (con = (cupsd_client_t *)cupsArrayFirst(Clients); in select_timeout()
1725 for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); in select_timeout()
[all …]
Dmime.c73 for (filter = (mime_filter_t *)cupsArrayFirst(mime->filters); in mimeDelete()
82 for (type = (mime_type_t *)cupsArrayFirst(mime->types); in mimeDelete()
206 mime_filter_t *first = (mime_filter_t *)cupsArrayFirst(mime->filters); in mimeFirstFilter()
231 mime_type_t *first = (mime_type_t *)cupsArrayFirst(mime->types); in mimeFirstType()
600 for (current = (_mime_fcache_t *)cupsArrayFirst(filtercache); in mime_delete_fcache()
827 for (temptype = (mime_type_t *)cupsArrayFirst(mime->types); in mime_load_convs()
Dtestmime.c137 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in main()
314 for (value = (const char *)cupsArrayFirst(pc->filters); in add_ppd_filters()
329 for (value = (const char *)cupsArrayFirst(pc->prefilters); in add_ppd_filters()
478 filter = (mime_filter_t *)cupsArrayFirst(filters); in type_dir()
Dsubscriptions.c95 for (temp = NULL, sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdAddEvent()
299 for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), in cupsdAddSubscription()
320 for (temp = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions), in cupsdAddSubscription()
406 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdDeleteAllSubscriptions()
626 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdExpireSubscriptions()
1062 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdSaveAllSubscriptions()
1169 for (sub = (cupsd_subscription_t *)cupsArrayFirst(Subscriptions); in cupsdStopAllNotifiers()
1361 cupsArrayRemove(sub->events, cupsArrayFirst(sub->events)); in cupsd_send_notification()
Dquotas.c67 for (q = (cupsd_quota_t *)cupsArrayFirst(p->quotas); in cupsdFreeQuotas()
127 for (job = (cupsd_job_t *)cupsArrayFirst(Jobs); in cupsdUpdateQuota()
Dselect.c534 for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds), pfd = cupsd_pollfds; in cupsdDoSelect()
620 for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds); in cupsdDoSelect()
650 for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_inactive_fds); in cupsdDoSelect()
833 for (fdptr = (_cupsd_fd_t *)cupsArrayFirst(cupsd_fds); in cupsdStopSelect()
Dcups-driverd.cxx797 for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); in dump_ppds_dat()
823 for (ptr = (char *)cupsArrayFirst(a); in free_array()
1109 for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); in list_ppds()
1143 for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByName); in list_ppds()
1301 for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByMakeModel); in list_ppds()
1419 for (ppd = (ppd_info_t *)cupsArrayFirst(PPDsByMakeModel); in list_ppds()
1441 for (ppd = (ppd_info_t *)cupsArrayFirst(matches); in list_ppds()
1781 for (scheme = (char *)cupsArrayFirst(exclude); in load_drivers()
1808 for (scheme = (char *)cupsArrayFirst(include); in load_drivers()
2287 …rsion, manufacturer, make_model, device_id, (char *)cupsArrayFirst(products), (char *)cupsArrayFir… in load_ppd()
[all …]
Dfilter.c217 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in mimeFilter2()
423 for (current = (mime_filter_t *)cupsArrayFirst(temp); in mime_find_filters()
469 for (current = (mime_filter_t *)cupsArrayFirst(mintemp); in mime_find_filters()
Dprinters.c527 for (i = 1, banner = (cupsd_banner_t *)cupsArrayFirst(Banners); in cupsdCreateCommonData()
620 for (i = 0, notifier = (char *)cupsArrayFirst(notifiers); in cupsdCreateCommonData()
675 for (i = 0, p = (cupsd_policy_t *)cupsArrayFirst(Policies); in cupsdCreateCommonData()
707 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdDeleteAllPrinters()
889 …for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Prin… in cupsdDeleteTemporaryPrinters()
1515 for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdSaveAllPrinters()
1628 for (name = (char *)cupsArrayFirst(printer->users); in cupsdSaveAllPrinters()
2348 for (i = 0, name = (char *)cupsArrayFirst(p->users); in cupsdSetPrinterAttrs()
2448 for (filter = (char *)cupsArrayFirst(p->pc->filters); in cupsdSetPrinterAttrs()
2475 for (filter = (char *)cupsArrayFirst(p->pc->prefilters); in cupsdSetPrinterAttrs()
[all …]
Dnetwork.c69 for (current = (cupsd_netif_t *)cupsArrayFirst(NetIFList); in cupsdNetIFFree()
226 for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners); in cupsdNetIFUpdate()
Dauth.c411 for (name = (char *)cupsArrayFirst(con->best->names); in cupsdAuthorize()
963 for (mask = (cupsd_authmask_t *)cupsArrayFirst(masks); in cupsdCheckAuth()
1000 for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); in cupsdCheckAuth()
1047 for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); in cupsdCheckAuth()
1443 for (loc = (cupsd_location_t *)cupsArrayFirst(Locations); in cupsdFindBest()
1776 for (name = (char *)cupsArrayFirst(best->names); in cupsdIsAuthorized()
1791 for (name = (char *)cupsArrayFirst(best->names); in cupsdIsAuthorized()
1826 for (name = (char *)cupsArrayFirst(best->names); in cupsdIsAuthorized()
Dcupsfilter.c464 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in main()
487 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in main()
682 for (value = (const char *)cupsArrayFirst(pc->filters); in add_printer_filters()
699 for (value = (const char *)cupsArrayFirst(pc->prefilters); in add_printer_filters()
983 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in exec_filters()
1111 for (filter = (mime_filter_t *)cupsArrayFirst(filters); in exec_filters()
/external/libcups/cups/
Dtestarray.c142 if ((text = (char *)cupsArrayFirst(array)) != NULL && in main()
299 for (text = (char *)cupsArrayFirst(array); text;) in main()
334 text = (char *)cupsArrayFirst(array); in main()
353 for (i = 0, text = (char *)cupsArrayFirst(array); in main()
407 else if (strcmp(text = (char *)cupsArrayFirst(array), "bar")) in main()
438 else if (strcmp(text = (char *)cupsArrayFirst(array), "bar")) in main()
Dppd-custom.c59 for (param = (ppd_cparam_t *)cupsArrayFirst(opt->params); in ppdFindCustomParam()
81 return ((ppd_cparam_t *)cupsArrayFirst(opt->params)); in ppdFirstCustomParam()
Dppd-emit.c119 for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked); in ppdCollect2()
661 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
710 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
804 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
1005 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdEmitString()
1013 for (cparam = (ppd_cparam_t *)cupsArrayFirst(params); in ppdEmitString()
Dppd-localize.c110 for (coption = (ppd_coption_t *)cupsArrayFirst(ppd->coptions); in ppdLocalize()
114 for (cparam = (ppd_cparam_t *)cupsArrayFirst(coption->params); in ppdLocalize()
480 for (language = (char *)cupsArrayFirst(languages); in _ppdFreeLanguages()
/external/libcups/cgi-bin/
Dmakedocset.c220 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in write_index()
251 for (section = (_cups_section_t *)cupsArrayFirst(sections); in write_index()
267 for (section = (_cups_section_t *)cupsArrayFirst(sections_files); in write_index()
317 for (section = (_cups_section_t *)cupsArrayFirst(columns[column]); in write_index()
322 for (html = (_cups_html_t *)cupsArrayFirst(section->files); in write_index()
417 for (node = (help_node_t *)cupsArrayFirst(hi->nodes), id = 1, subnodes = 0, in write_nodes()
Dhelp-index.c157 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpDeleteIndex()
385 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpLoadIndex()
402 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpLoadIndex()
450 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpSaveIndex()
479 for (word = (help_word_t *)cupsArrayFirst(node->words); in helpSaveIndex()
525 for (node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpSearchIndex()
541 node = (help_node_t *)cupsArrayFirst(hi->nodes); in helpSearchIndex()
590 for (word = (help_word_t *)cupsArrayFirst(node->words); in helpSearchIndex()
701 for (w = (help_word_t *)cupsArrayFirst(n->words); in help_delete_node()
1011 for (word = (help_word_t *)cupsArrayFirst(node->words); in help_load_file()
Dhelp.c199 for (i = 0, n = (help_node_t *)cupsArrayFirst(si->sorted); in main()
241 for (i = 0, section = NULL, n = (help_node_t *)cupsArrayFirst(hi->sorted); in main()
293 for (nn = (help_node_t *)cupsArrayFirst(hi->sorted); in main()
/external/libcups/locale/
Dcheckpo.c94 for (msg = (_cups_message_t *)cupsArrayFirst(po); in main()
170 for (strfmt = (char *)cupsArrayFirst(strfmts); in main()
212 for (strfmt = (char *)cupsArrayFirst(strfmts); in main()
217 for (idfmt = (char *)cupsArrayFirst(idfmts); in main()
399 for (s = (char *)cupsArrayFirst(fmts); s; s = (char *)cupsArrayNext(fmts)) in free_formats()
/external/libcups/ppdc/
Dppdmerge.cxx180 for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); in main()
212 if ((locale = (char *)cupsArrayFirst(languages)) != NULL) in main()
227 for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); in main()
/external/libcups/backend/
Dsnmp.c554 for (s = (char *)cupsArrayFirst(a); s; s = (char *)cupsArrayNext(a)) in free_array()
571 for (cache = (snmp_cache_t *)cupsArrayFirst(Devices); in free_cache()
701 for (device_uri = (device_uri_t *)cupsArrayFirst(DeviceURIs); in probe_device()
711 for (format = (char *)cupsArrayFirst(device_uri->uris); in probe_device()
1167 for (address = (char *)cupsArrayFirst(Addresses); in scan_devices()
1192 for (community = (char *)cupsArrayFirst(Communities); in scan_devices()
1266 for (device = (snmp_cache_t *)cupsArrayFirst(Devices); in scan_devices()

123