Home
last modified time | relevance | path

Searched refs:num_dests (Results 1 – 13 of 13) sorted by relevance

/external/libcups/systemv/
Dlpoptions.c40 int num_dests; /* Number of destinations */ in main() local
56 num_dests = 0; in main()
90 if (num_dests == 0) in main()
91 num_dests = cupsGetDests(&dests); in main()
93 … if (num_dests == 0 || !dests || (dest = cupsGetDest(printer, instance, num_dests, dests)) == NULL) in main()
103 for (j = 0; j < num_dests; j ++) in main()
108 cupsSetDests(num_dests, dests); in main()
141 if (num_dests == 0) in main()
142 num_dests = cupsGetDests(&dests); in main()
144 if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) in main()
[all …]
Dlpstat.c23 int *num_dests, cups_dest_t **dests);
25 static int show_accepting(const char *printers, int num_dests,
29 static int show_devices(const char *printers, int num_dests,
33 static int show_printers(const char *printers, int num_dests,
50 int num_dests; /* Number of user destinations */ in main() local
64 num_dests = 0; in main()
168 check_dest(argv[0], opt + 1, &num_dests, &dests); in main()
170 status |= show_accepting(opt + 1, num_dests, dests); in main()
177 check_dest(argv[0], argv[i], &num_dests, &dests); in main()
179 status |= show_accepting(argv[i], num_dests, dests); in main()
[all …]
Dlpmove.c39 int num_dests; /* Number of destinations */ in main() local
51 num_dests = 0; in main()
101 if (num_dests == 0) in main()
102 num_dests = cupsGetDests(&dests); in main()
105 cupsGetDest(argv[i], NULL, num_dests, dests) == NULL) in main()
108 !cupsGetDest(argv[i], NULL, num_dests, dests)) in main()
Dcancel.c36 int num_dests; /* Number of destinations */ in main() local
60 num_dests = 0; in main()
179 if (num_dests == 0) in main()
180 num_dests = cupsGetDests(&dests); in main()
191 else if (cupsGetDest(argv[i], NULL, num_dests, dests) != NULL) in main()
238 cupsGetDest(argv[i + 1], NULL, num_dests, dests) != NULL) in main()
324 if (num_dests == 0 && op != IPP_CANCEL_JOB) in main()
/external/libcups/cups/
Ddest.c97 int num_dests; /* Number of lpoptions destinations */ member
127 int num_dests; /* Number of destinations */ member
156 int *num_dests, cups_dest_t **dests);
228 int num_dests, cups_dest_t *dests, int prev,
233 …h_name, const char *match_inst, int load_all, int user_default_set, int num_dests, cups_dest_t **d…
258 int num_dests, /* I - Number of destinations */ in cupsAddDest() argument
271 if (!cupsGetDest(name, instance, num_dests, *dests)) in cupsAddDest()
273 if (instance && !cupsGetDest(name, NULL, num_dests, *dests)) in cupsAddDest()
274 return (num_dests); in cupsAddDest()
276 if ((dest = cups_add_dest(name, instance, &num_dests, dests)) == NULL) in cupsAddDest()
[all …]
Dtestgetdests.c25 int num_dests; /* Number of destinations */ in main() local
34 num_dests = cupsGetDests(&dests); in main()
38 printf("Found %d printers in %.3f seconds...\n", num_dests, secs); in main()
40 cupsFreeDests(num_dests, dests); in main()
Dtestcups.c41 num_dests; /* Number of destinations */ in main() local
293 num_dests = cupsGetDests(&dests); in main()
295 if (num_dests == 0) in main()
302 printf("PASS (%d dests)\n", num_dests); in main()
304 for (i = num_dests, dest = dests; i > 0; i --, dest ++) in main()
325 if ((dest = cupsGetDest(NULL, NULL, num_dests, dests)) == NULL) in main()
327 for (i = num_dests, dest = dests; i > 0; i --, dest ++) in main()
378 for (i = 0, dest_name = NULL; i < num_dests; i ++) in main()
390 if ((dest = cupsGetDest(dest_name, NULL, num_dests, dests)) == NULL) in main()
494 cupsFreeDests(num_dests, dests); in main()
Dcups.h356 int num_dests, cups_dest_t **dests) _CUPS_PUBLIC;
357 extern void cupsFreeDests(int num_dests, cups_dest_t *dests) _CUPS_PUBLIC;
359 int num_dests, cups_dest_t *dests) _CUPS_PUBLIC;
361 extern void cupsSetDests(int num_dests, cups_dest_t *dests) _CUPS_PUBLIC;
410 extern int cupsSetDests2(http_t *http, int num_dests,
432 int num_dests, cups_dest_t **dests)
436 int num_dests,
498 extern int cupsCopyDest(cups_dest_t *dest, int num_dests,
Dtestdest.c54 int num_dests = cupsGetDests2(CUPS_HTTP_DEFAULT, &dests); in main() local
57 for (i = 0; i < num_dests; i ++) in main()
60 cupsFreeDests(num_dests, dests); in main()
Dcupspm.md216 int num_dests;
230 user_data->num_dests =
232 user_data->num_dests,
241 user_data->num_dests =
242 cupsCopyDest(dest, user_data->num_dests,
264 cupsFreeDests(user_data.num_dests, user_dasta.dests);
277 return (user_data.num_dests);
/external/kernel-headers/original/uapi/linux/
Dip_vs.h220 unsigned int num_dests; member
254 unsigned int num_dests; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h97583 unsigned int num_dests; member
Dvmlinux.h97583 unsigned int num_dests; member