Home
last modified time | relevance | path

Searched refs:CUPS_HTTP_DEFAULT (Results 1 – 15 of 15) sorted by relevance

/external/libcups/berkeley/
Dlprm.c50 defdest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); in main()
90 if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, name, NULL)) == NULL) in main()
140 defdest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); in main()
156 if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, argv[i], NULL)) != NULL) in main()
184 if (cupsCancelJob2(CUPS_HTTP_DEFAULT, name, job_id, 0) != IPP_OK) in main()
199 if (!did_cancel && cupsCancelJob2(CUPS_HTTP_DEFAULT, name, 0, 0) != IPP_OK) in main()
Dlpr.c375 else if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, printer, in main()
389 status = cupsStartDocument(CUPS_HTTP_DEFAULT, printer, job_id, NULL, in main()
394 status = cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes); in main()
400 cupsFinishDocument(CUPS_HTTP_DEFAULT, printer); in main()
401 cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); in main()
405 if (cupsFinishDocument(CUPS_HTTP_DEFAULT, printer) != IPP_OK) in main()
408 cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); in main()
/external/libcups/systemv/
Dlp.c146 if ((dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, in main()
598 else if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, printer, in main()
612 status = cupsStartDocument(CUPS_HTTP_DEFAULT, printer, job_id, NULL, in main()
617 status = cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes); in main()
623 cupsFinishDocument(CUPS_HTTP_DEFAULT, printer); in main()
624 cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); in main()
628 if (cupsFinishDocument(CUPS_HTTP_DEFAULT, printer) != IPP_OK) in main()
631 cupsCancelJob2(CUPS_HTTP_DEFAULT, printer, job_id, 0); in main()
671 ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/jobs")); in restart_job()
721 ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/jobs")); in set_job_attrs()
Dcupsaccept.c190 ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/admin/")); in main()
220 ippDelete(cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/admin/")); in main()
Dlpstat.c228 dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); in main()
538 if ((*dests = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, pptr)) == NULL) in check_dest()
721 response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); in show_accepting()
901 response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); in show_classes()
983 http2 = CUPS_HTTP_DEFAULT; in show_classes()
1158 response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); in show_devices()
1350 response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); in show_jobs()
1587 response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/"); in show_printers()
1734 if ((jobs = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/")) != NULL) in show_printers()
Dlpinfo.c298 if (cupsGetDevices(CUPS_HTTP_DEFAULT, timeout, include_schemes, in show_devices()
372 if ((response = cupsDoRequest(CUPS_HTTP_DEFAULT, request, "/")) != NULL) in show_models()
/external/libcups/cups/
Dtestcups.c174 if ((http_status = cupsGetPPD3(CUPS_HTTP_DEFAULT, argv[2], &modtime, in main()
199 if ((job_id = cupsCreateJob(CUPS_HTTP_DEFAULT, argv[2], "testcups", 0, in main()
209 if (cupsStartDocument(CUPS_HTTP_DEFAULT, argv[1], job_id, argv[2], in main()
220 if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE) in main()
232 if (cupsFinishDocument(CUPS_HTTP_DEFAULT, in main()
Dutil.c42 return (cupsCancelJob2(CUPS_HTTP_DEFAULT, name, job_id, 0) in cupsCancelJob()
305 return (cupsGetDefault2(CUPS_HTTP_DEFAULT)); in cupsGetDefault()
399 return (cupsGetJobs2(CUPS_HTTP_DEFAULT, jobs, name, myjobs, whichjobs)); in cupsGetJobs()
710 return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, 1, &filename, title, in cupsPrintFile()
760 return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, num_files, files, title, in cupsPrintFiles()
Dcupspm.md22 `http_t`. The `CUPS_HTTP_DEFAULT` constant can be used when you want to talk to
328 typically the constant `CUPS_HTTP_DEFAULT`. The `dest` argument specifies the
399 cups_dinfo_t *info = cupsCopyDestInfo(CUPS_HTTP_DEFAULT,
402 if (cupsCheckDestSupported(CUPS_HTTP_DEFAULT, dest, info,
406 cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info,
422 cupsFindDestSupported(CUPS_HTTP_DEFAULT, dest, info,
451 cupsFindDestDefault(CUPS_HTTP_DEFAULT, dest, info,
490 cupsFindDestReady(CUPS_HTTP_DEFAULT, dest, info,
559 if (cupsGetDestMediaByName(CUPS_HTTP_DEFAULT, dest, info,
589 int count = cupsGetDestMediaCount(CUPS_HTTP_DEFAULT,
[all …]
Dtestdest.c54 int num_dests = cupsGetDests2(CUPS_HTTP_DEFAULT, &dests); in main()
126 dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); in main()
135 dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, argv[i], NULL); in main()
Dppd-util.c61 if (cupsGetPPD3(CUPS_HTTP_DEFAULT, name, &modtime, pg->ppd_filename, in cupsGetPPD()
Dcups.h62 # define CUPS_HTTP_DEFAULT (http_t *)0 macro
Ddest.c975 return (cups_enum_dests(CUPS_HTTP_DEFAULT, flags, msec, cancel, type, mask, cb, user_data)); in cupsEnumDests()
1619 return (cupsGetDests2(CUPS_HTTP_DEFAULT, dests)); in cupsGetDests()
2010 cupsSetDests2(CUPS_HTTP_DEFAULT, num_dests, dests); in cupsSetDests()
Dtestppd.c1117 if ((filename = cupsGetServerPPD(CUPS_HTTP_DEFAULT, argv[1])) == NULL) in main()
/external/libcups/scheduler/
Dcupsfilter.c1029 (dest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, printer, NULL)) != NULL) in exec_filters()