Home
last modified time | relevance | path

Searched refs:cupsArrayCount (Results 1 – 25 of 55) sorted by relevance

123

/external/libcups/cups/
Dtestarray.c129 if (cupsArrayCount(array) == 4) in main()
133 printf("FAIL (returned %d, expected 4)\n", cupsArrayCount(array)); in main()
227 cupsArrayCount(dup_array) == 4) in main()
231 …h %d elements, expected pointer with 4 elements)\n", (void *)dup_array, cupsArrayCount(dup_array)); in main()
241 cupsArrayCount(array) == 3) in main()
246 cupsArrayCount(array)); in main()
256 if (cupsArrayCount(array) == 0) in main()
261 cupsArrayCount(array)); in main()
295 printf("%d words in %.3f seconds (%.0f words/sec), ", cupsArrayCount(array), in main()
296 end - start, cupsArrayCount(array) / (end - start)); in main()
[all …]
Dtestcreds.c76 printf(" Certificate Count: %d\n", cupsArrayCount(hcreds)); in main()
107 printf(" Certificate Count: %d\n", cupsArrayCount(tcreds)); in main()
Dtesthttp.c673 printf("Count: %d\n", cupsArrayCount(creds)); in main()
681 printf(" Count: %d\n", cupsArrayCount(lcreds)); in main()
684 if (lcreds && cupsArrayCount(creds) == cupsArrayCount(lcreds)) in main()
Darray.h52 extern int cupsArrayCount(cups_array_t *a) _CUPS_API_1_2;
Dppd-attr.c114 cupsArrayIndex(ppd->sorted_attrs, cupsArrayCount(ppd->sorted_attrs)); in ppdFindNextAttr()
Dppd-conflicts.c598 conflicts = cupsArrayCount(active); in ppdConflicts()
971 cupsArrayCount(ppd->cups_uiconstraints))); in ppd_test_constraints()
1185 cupsArrayCount(active))); in ppd_test_constraints()
Dtls-darwin.c502 cupsArrayCount(credentials), in _httpCreateCredentials()
696 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust()
738 if (trust == HTTP_TRUST_OK && !cg->any_root && cupsArrayCount(credentials) == 1) in httpCredentialsGetTrust()
Dtls-gnutls.c555 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust()
604 if (trust == HTTP_TRUST_OK && !cg->any_root && cupsArrayCount(credentials) == 1) in httpCredentialsGetTrust()
Dppd-emit.c102 (size_t)cupsArrayCount(ppd->marked))) == NULL) in ppdCollect2()
108 if ((orders = calloc(sizeof(float), (size_t)cupsArrayCount(ppd->marked))) == NULL) in ppdCollect2()
/external/libcups/scheduler/
Dlisten.c48 if (cupsArrayCount(Listeners) == 0) in cupsdDeleteAllListeners()
66 if (cupsArrayCount(Listeners) < 1) in cupsdPauseListening()
69 if (cupsArrayCount(Clients) == MaxClients) in cupsdPauseListening()
98 if (cupsArrayCount(Listeners) < 1) in cupsdResumeListening()
135 cupsArrayCount(Listeners)); in cupsdStartListening()
Dmain.c731 if (cupsArrayCount(Clients) > 0) in main()
749 if ((cupsArrayCount(Clients) == 0 && in main()
750 (cupsArrayCount(PrintingJobs) == 0 || NeedReload != RELOAD_ALL)) || in main()
826 !cupsArrayCount(ActiveJobs)) in main()
922 cupsArrayCount(PrintingJobs) > 0) in main()
963 cupsArrayCount(Clients) < MaxClients) in main()
996 !RunUser && cupsArrayCount(Clients)) in main()
1078 cupsArrayCount(Clients)); in main()
1080 cupsArrayCount(Jobs)); in main()
1082 cupsArrayCount(ActiveJobs)); in main()
[all …]
Dmime.c485 cupsArrayCount(mime->filters))); in mimeNumFilters()
486 return (cupsArrayCount(mime->filters)); in mimeNumFilters()
508 cupsArrayCount(mime->types))); in mimeNumTypes()
509 return (cupsArrayCount(mime->types)); in mimeNumTypes()
Dsysman.c136 ((working || cupsArrayCount(ActiveClients) > 0) ? 4 : 0); in cupsdSetBusyState()
168 if (cupsArrayCount(PrintingJobs) > 0 && !keep_awake) in cupsdSetBusyState()
176 else if (cupsArrayCount(PrintingJobs) == 0 && keep_awake) in cupsdSetBusyState()
880 if (cupsArrayCount(PrintingJobs) == 0) in sysUpdate()
Dfilter.c212 cupsArrayCount(filters), cost ? *cost : -1)); in mimeFilter2()
420 cupsArrayCount(temp), tempcost)); in mime_find_filters()
466 cupsArrayCount(mintemp), mincost)); in mime_find_filters()
Dcups-driverd.cxx254 cupsArrayCount(PPDsByName)); in add_ppd()
1155 filename, cupsArrayCount(PPDsByName)); in list_ppds()
1281 if (limit <= 0 || limit > cupsArrayCount(PPDsByMakeModel)) in list_ppds()
1282 count = cupsArrayCount(PPDsByMakeModel); in list_ppds()
1550 cupsArrayCount(requested) == 1) in list_ppds()
2133 cupsArrayCount(products) > 0 && cupsArrayCount(psversions) > 0) in load_ppd()
2151 if (!make_model[0] || cupsArrayCount(products) == 0 || in load_ppd()
2152 cupsArrayCount(psversions) == 0) in load_ppd()
2162 if (cupsArrayCount(products) == 0) in load_ppd()
2165 if (cupsArrayCount(psversions) == 0) in load_ppd()
[all …]
Dauth.c1310 cupsArrayCount(loc->names), strerror(errno)); in cupsdCopyLocation()
1327 cupsArrayCount(loc->allow), strerror(errno)); in cupsdCopyLocation()
1343 cupsArrayCount(loc->deny), strerror(errno)); in cupsdCopyLocation()
1585 …%d", levels[best->level], types[type], best->satisfy ? "ANY" : "ALL", cupsArrayCount(best->names)); in cupsdIsAuthorized()
1656 (type == CUPSD_AUTH_NONE && cupsArrayCount(best->names) == 0)) in cupsdIsAuthorized()
1759 if (cupsArrayCount(best->names) == 0) in cupsdIsAuthorized()
Dsubscriptions.c286 if (MaxSubscriptions > 0 && cupsArrayCount(Subscriptions) >= MaxSubscriptions) in cupsdAddSubscription()
291 cupsArrayCount(Subscriptions)); in cupsdAddSubscription()
618 if (cupsArrayCount(Subscriptions) == 0) in cupsdExpireSubscriptions()
1355 if (cupsArrayCount(sub->events) >= MaxEvents) in cupsd_send_notification()
Dprinters.c500 if (cupsArrayCount(Banners) > 0) in cupsdCreateCommonData()
513 "job-sheets-supported", cupsArrayCount(Banners) + 1, in cupsdCreateCommonData()
614 if (cupsArrayCount(notifiers) > 0) in cupsdCreateCommonData()
618 cupsArrayCount(notifiers), NULL, NULL); in cupsdCreateCommonData()
673 "printer-op-policy-supported", cupsArrayCount(Policies), in cupsdCreateCommonData()
2337 if (cupsArrayCount(p->users) > 0) in cupsdSetPrinterAttrs()
2342 cupsArrayCount(p->users), NULL, NULL); in cupsdSetPrinterAttrs()
2346 cupsArrayCount(p->users), NULL, NULL); in cupsdSetPrinterAttrs()
2365 if (cupsArrayCount(Banners) > 0) in cupsdSetPrinterAttrs()
3652 p->name, mimetype, cupsArrayCount(filters)); in add_printer_formats()
[all …]
/external/libcups/cgi-bin/
Dtesthi.c152 printf("%s (%d nodes):\n", title, cupsArrayCount(nodes)); in list_nodes()
163 printf(" (%d words)\n", cupsArrayCount(node->words)); in list_nodes()
Dmakedocset.c183 int ret = cupsArrayCount(b->files) - cupsArrayCount(a->files); in compare_sections_files()
283 lines[min_column] += cupsArrayCount(section->files) + 2; in write_index()
Dhelp.c90 cupsArrayCount(hi->nodes)); in main()
197 si->sorted, cupsArrayCount(si->sorted)); in main()
Dclasses.c343 count = cupsArrayCount(classes); in show_all_classes()
/external/libcups/locale/
Dcheckpo.c200 if (cupsArrayCount(strfmts) != cupsArrayCount(idfmts) || strfmt) in main()
259 int count = cupsArrayCount(po); /* Total number of messages */ in main()
/external/libcups/notifier/
Drss.c221 changed = cupsArrayCount(rss) == 0; in main()
360 while (cupsArrayCount(rss) > max_events) in main()
/external/libcups/systemv/
Dlpoptions.c425 cupsArrayCount(coption->params) == 0) in list_group()
434 if (cupsArrayCount(coption->params) == 1) in list_group()

123