/external/libcups/cups/ |
D | testarray.c | 129 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 …]
|
D | testcreds.c | 76 printf(" Certificate Count: %d\n", cupsArrayCount(hcreds)); in main() 107 printf(" Certificate Count: %d\n", cupsArrayCount(tcreds)); in main()
|
D | testhttp.c | 673 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()
|
D | array.h | 52 extern int cupsArrayCount(cups_array_t *a) _CUPS_API_1_2;
|
D | ppd-attr.c | 114 cupsArrayIndex(ppd->sorted_attrs, cupsArrayCount(ppd->sorted_attrs)); in ppdFindNextAttr()
|
D | ppd-conflicts.c | 598 conflicts = cupsArrayCount(active); in ppdConflicts() 971 cupsArrayCount(ppd->cups_uiconstraints))); in ppd_test_constraints() 1185 cupsArrayCount(active))); in ppd_test_constraints()
|
D | tls-darwin.c | 502 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()
|
D | tls-gnutls.c | 555 if (cupsArrayCount(credentials) != (cupsArrayCount(tcreds) + 1)) in httpCredentialsGetTrust() 604 if (trust == HTTP_TRUST_OK && !cg->any_root && cupsArrayCount(credentials) == 1) in httpCredentialsGetTrust()
|
D | ppd-emit.c | 102 (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/ |
D | listen.c | 48 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()
|
D | main.c | 731 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 …]
|
D | sysman.c | 136 ((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()
|
D | mime.c | 485 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()
|
D | filter.c | 212 cupsArrayCount(filters), cost ? *cost : -1)); in mimeFilter2() 420 cupsArrayCount(temp), tempcost)); in mime_find_filters() 466 cupsArrayCount(mintemp), mincost)); in mime_find_filters()
|
D | cups-driverd.cxx | 254 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 …]
|
D | auth.c | 1310 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()
|
D | subscriptions.c | 286 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()
|
D | printers.c | 500 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/ |
D | testhi.c | 152 printf("%s (%d nodes):\n", title, cupsArrayCount(nodes)); in list_nodes() 163 printf(" (%d words)\n", cupsArrayCount(node->words)); in list_nodes()
|
D | makedocset.c | 183 int ret = cupsArrayCount(b->files) - cupsArrayCount(a->files); in compare_sections_files() 283 lines[min_column] += cupsArrayCount(section->files) + 2; in write_index()
|
D | help.c | 90 cupsArrayCount(hi->nodes)); in main() 197 si->sorted, cupsArrayCount(si->sorted)); in main()
|
D | classes.c | 343 count = cupsArrayCount(classes); in show_all_classes()
|
/external/libcups/locale/ |
D | checkpo.c | 200 if (cupsArrayCount(strfmts) != cupsArrayCount(idfmts) || strfmt) in main() 259 int count = cupsArrayCount(po); /* Total number of messages */ in main()
|
/external/libcups/notifier/ |
D | rss.c | 221 changed = cupsArrayCount(rss) == 0; in main() 360 while (cupsArrayCount(rss) > max_events) in main()
|
/external/libcups/systemv/ |
D | lpoptions.c | 425 cupsArrayCount(coption->params) == 0) in list_group() 434 if (cupsArrayCount(coption->params) == 1) in list_group()
|