Home
last modified time | relevance | path

Searched refs:PAPI_OK (Results 1 – 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c226 result = PAPI_OK; in authorized()
276 PAPI_OK; in authorized()
324 return (PAPI_OK); in copy_file()
650 return (PAPI_OK); in papiJobSubmit()
778 return (PAPI_OK); in papiJobSubmitByReference()
876 return (PAPI_OK); in papiJobStreamOpen()
892 return (PAPI_OK); in papiJobStreamWrite()
931 return (PAPI_OK); in papiJobStreamClose()
986 return (PAPI_OK); in papiJobQuery()
1315 return (PAPI_OK); in papiJobCreate()
[all …]
H A Dlpsched-msgs.c148 return (PAPI_OK); in lpsched_status_to_papi_status()
195 papi_status_t result = PAPI_OK; in lpsched_alloc_files()
451 if (result == PAPI_OK) { in lpsched_remove_class()
482 if (result == PAPI_OK) { in lpsched_remove_printer()
521 result == PAPI_OK; in lpsched_add_modify_class()
540 result = PAPI_OK; in lpsched_add_modify_class()
547 if (result == PAPI_OK) in lpsched_add_modify_class()
574 result = PAPI_OK; in lpsched_add_printer()
580 if (result == PAPI_OK) in lpsched_add_printer()
612 result = PAPI_OK; in lpsched_add_modify_printer()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dprinter.c63 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterQuery()
71 if ((status == PAPI_OK) && (*printer == NULL)) { in papiPrinterQuery()
105 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiPrinterPurgeJobs()
122 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiPrinterListJobs()
170 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterDisable()
184 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterEnable()
199 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterResume()
214 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterPause()
H A Djob.c49 papi_status_t status = PAPI_OK; in papiJobSubmit()
64 if ((status = service_fill_in(svc, name)) != PAPI_OK) in papiJobSubmit()
83 &j->attributes)) != PAPI_OK) { in papiJobSubmit()
110 papi_status_t status = PAPI_OK; in papiJobStreamOpen()
121 if ((status = service_fill_in(svc, name)) != PAPI_OK) in papiJobStreamOpen()
182 return (PAPI_OK); in papiJobStreamWrite()
212 status = PAPI_OK; in papiJobStreamClose()
226 papi_status_t status = PAPI_OK; in papiJobQuery()
232 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiJobQuery()
247 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiJobCancel()
H A Dlpd-job.c109 return (PAPI_OK); in add_lpd_control_line()
157 papi_status_t status = PAPI_OK; in lpd_add_rfc1179_attributes()
172 return (PAPI_OK); in lpd_add_rfc1179_attributes()
176 "job-originating-host-name", &h1) == PAPI_OK) { in lpd_add_rfc1179_attributes()
336 result, size) != PAPI_OK); in unused_attributes()
437 return (PAPI_OK); in lpd_add_svr4_attributes()
452 return (PAPI_OK); in lpd_add_hpux_attributes()
479 return (PAPI_OK); in lpd_job_add_attributes()
562 return (PAPI_OK); in lpd_job_add_files()
601 status = PAPI_OK; in lpd_submit_job()
[all …]
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dsend-document.c80 if (status != PAPI_OK) { in ipp_send_document()
99 "job-attributes-group", &operational) == PAPI_OK) in ipp_send_document()
105 if (status != PAPI_OK) { in ipp_send_document()
112 while ((status == PAPI_OK) && ((rc = iread(fd, buf, sizeof (buf))) > 0)) in ipp_send_document()
114 if (status != PAPI_OK) { in ipp_send_document()
122 if (status != PAPI_OK) { in ipp_send_document()
H A Dprint-job.c91 "job-attributes-group", &operational) == PAPI_OK) { in ipp_print_job()
97 "requesting-user-name", &user) == PAPI_OK) { in ipp_print_job()
153 if (status != PAPI_OK) { in ipp_print_job()
160 while ((status == PAPI_OK) && ((rc = iread(fd, buf, sizeof (buf))) > 0)) in ipp_print_job()
162 if (status != PAPI_OK) { in ipp_print_job()
170 if (status != PAPI_OK) { in ipp_print_job()
H A Dipp-listener.c187 if (status != PAPI_OK) { in ipp_operation_handler()
214 if (status != PAPI_OK) { /* this should not be possible */ in ipp_operation_handler()
223 if ((status != PAPI_OK) || (configured != PAPI_TRUE)) { in ipp_operation_handler()
250 papi_status_t result = PAPI_OK; in ipp_configure_required_operations()
253 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++) in ipp_configure_required_operations()
266 papi_status_t result = PAPI_OK; in ipp_configure_all_operations()
269 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++) in ipp_configure_all_operations()
361 return (PAPI_OK); in ipp_initialize_response()
453 if (status != PAPI_OK) { in print_service_connect()
480 papi_status_t result = PAPI_OK; in ipp_process_request()
[all …]
H A Dcommon.c82 if (result != PAPI_OK) { in get_printer_id()
85 if (result == PAPI_OK) in get_printer_id()
107 result == PAPI_OK; in get_string_list()
207 status == PAPI_OK; in massage_response()
214 status == PAPI_OK; in massage_response()
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c94 if ((result == PAPI_OK) && (svc_printers != NULL)) { in printers_from_service()
135 if (result != PAPI_OK) in printer_from_service()
140 if (result == PAPI_OK) { in printer_from_service()
205 return (PAPI_OK); in printers_from_name_service()
242 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterQuery()
261 result = PAPI_OK; in papiPrinterQuery()
278 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_disable_or_pause()
299 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_enable_or_resume()
350 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_add_or_modify()
392 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterRemove()
[all …]
H A Dservice.c103 return (PAPI_OK); in service_load()
106 return (PAPI_OK); in service_load()
133 case PAPI_OK: in service_load()
152 papi_status_t result = PAPI_OK; in service_send_peer()
186 return (PAPI_OK); in service_connect()
254 result = PAPI_OK; in papiServiceCreate()
293 papi_status_t result = PAPI_OK; in papiServiceSetPeer()
309 papi_status_t result = PAPI_OK; in papiServiceSetUserName()
331 papi_status_t result = PAPI_OK; in papiServiceSetPassword()
353 papi_status_t result = PAPI_OK; in papiServiceSetEncryption()
[all …]
H A Djob.c148 if ((result = service_connect(svc, printer)) != PAPI_OK) in _papi_job_submit_reference_or_validate()
205 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobStreamOpen()
269 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobQuery()
295 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobMove()
323 if ((result = service_connect(svc, printer)) != PAPI_OK) in _papi_job_handle_printer_id()
388 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobModify()
421 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobCreate()
447 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobStreamAdd()
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dwrite.c111 return (PAPI_OK); in papi_ipp_type_match()
130 if ((status = papi_ipp_type_match(attribute->type, type)) != PAPI_OK) in ipp_write_attribute()
153 return (PAPI_OK); in ipp_write_attribute()
313 return (PAPI_OK); in ipp_write_attribute()
320 papi_status_t result = PAPI_OK; in ipp_write_attribute_group()
328 for (i = 0; ((attributes[i] != NULL) && (result == PAPI_OK)); i++) in ipp_write_attribute_group()
338 papi_status_t result = PAPI_OK; in ipp_write_attribute_groups()
350 ((status == PAPI_OK) && (result == PAPI_OK)); in ipp_write_attribute_groups()
397 return (PAPI_OK); in ipp_write_message_header()
409 if (result == PAPI_OK) in ipp_write_message()
H A Dipp.c54 papi_status_t result = PAPI_OK; in ipp_validate_request()
63 if (result != PAPI_OK) { in ipp_validate_request()
72 if (result != PAPI_OK) { in ipp_validate_request()
80 if (result != PAPI_OK) { in ipp_validate_request()
H A Dread.c90 return (PAPI_OK); in read_name_with_language()
155 return (PAPI_OK); in validate_type()
158 return (PAPI_OK); in validate_type()
292 papi_status_t valid = PAPI_OK; in ipp_read_attribute_group()
326 if ((valid != PAPI_OK) && (valid != PAPI_NOT_FOUND)) in ipp_read_attribute_group()
581 return (PAPI_OK); in ipp_read_attribute_group()
629 return (PAPI_OK); in ipp_read_header()
636 papi_status_t result = PAPI_OK; in ipp_read_attribute_groups()
643 while ((tag != DTAG_END_OF_ATTRIBUTES) && (result == PAPI_OK)) { in ipp_read_attribute_groups()
654 papi_status_t result = PAPI_OK; in ipp_read_message()
[all …]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c96 if (status == PAPI_OK) { in lpstat_default_printer()
127 if (status != PAPI_OK) { in lpstat_service_status()
212 if (status != PAPI_OK) in report_device()
263 if (status != PAPI_OK) in report_accepting()
316 if (status != PAPI_OK) in report_class()
325 == PAPI_OK) in report_class()
392 if (status != PAPI_OK) in report_printer()
529 == PAPI_OK) in report_printer()
542 == PAPI_OK) in report_printer()
1164 status == PAPI_OK; in report_form()
[all …]
H A Dlpc.c62 if (status == PAPI_OK) { in lpc_status()
120 if (status == PAPI_OK) { in lpc_abort()
144 if (status != PAPI_OK) { in lpc_clean()
175 if (status != PAPI_OK) { in lpc_disable()
196 if (status != PAPI_OK) { in lpc_enable()
228 if (status != PAPI_OK) { in lpc_start()
249 if (status != PAPI_OK) { in lpc_stop()
273 if (status != PAPI_OK) { in lpc_topq()
408 if (status != PAPI_OK) { in process_one()
415 if (status == PAPI_OK) in process_one()
[all …]
H A Dcancel.c90 if (status != PAPI_OK) { in cancel_jobs_for_user()
145 if (status != PAPI_OK) { in main()
151 if (status != PAPI_OK) { in main()
163 #define OUT ((status == PAPI_OK) ? stdout : stderr) in main()
188 } else if (status != PAPI_OK) { in main()
205 if (status != PAPI_OK) { in main()
222 } else if (status != PAPI_OK) { in main()
H A Dcommon.c234 == PAPI_OK) in print_job_line()
292 if (status != PAPI_OK) in cancel_job()
317 if (status != PAPI_OK) { in berkeley_queue_report()
326 if (status != PAPI_OK) { in berkeley_queue_report()
365 if (status != PAPI_OK) { in berkeley_cancel_request()
451 while ((status == PAPI_OK) && ((rc = read(0, buf, sizeof (buf))) > 0)) in jobSubmitSTDIN()
454 if (status == PAPI_OK) in jobSubmitSTDIN()
508 if ((status == PAPI_OK) && (printer != NULL)) { in all_list()
517 status == PAPI_OK; in all_list()
537 if ((status == PAPI_OK) && (printers != NULL)) { in printers_list()
[all …]
H A Dlpmove.c61 if (status != PAPI_OK) { in move_job()
106 if (status != PAPI_OK) { in main()
123 if (status != PAPI_OK) { in main()
180 if (status != PAPI_OK) { in main()
H A Ddisable.c66 if ((status == PAPI_OK) && (j != NULL)) { in cancel_active_job()
127 if (status != PAPI_OK) { in main()
135 if (status == PAPI_OK) { in main()
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c142 if (status != PAPI_OK) { in collection_dup()
231 return (PAPI_OK); in papiAttributeListAppendValue()
395 return (PAPI_OK); in papiAttributeListDelete()
468 return (PAPI_OK); in papiAttributeListGetValue()
483 if (status == PAPI_OK) in papiAttributeListGetString()
501 if (status == PAPI_OK) in papiAttributeListGetInteger()
519 if (status == PAPI_OK) in papiAttributeListGetBoolean()
537 if (status == PAPI_OK) { in papiAttributeListGetRange()
616 if (status == PAPI_OK) in papiAttributeListGetMetadata()
903 return (PAPI_OK); in papiAttributeToString()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dservice.c61 papi_status_t result = PAPI_OK; in service_connect()
68 return (PAPI_OK); in service_connect()
156 result = PAPI_OK; in papiServiceCreate()
189 papi_status_t result = PAPI_OK; in papiServiceSetUserName()
208 papi_status_t result = PAPI_OK; in papiServiceSetPassword()
228 papi_status_t result = PAPI_OK; in papiServiceSetEncryption()
246 papi_status_t result = PAPI_OK; in papiServiceSetAuthCB()
262 papi_status_t result = PAPI_OK; in papiServiceSetAppData()
H A Dprinter.c93 if ((result = service_connect(svc, DEFAULT_DEST)) != PAPI_OK) in papiPrintersList()
116 status == PAPI_OK; in papiPrintersList()
149 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterQuery()
195 if ((result = service_connect(svc, name)) != PAPI_OK) in _printer_enable_disable_pause_resume_delete()
279 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterModify()
329 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterPurgeJobs()
345 status == PAPI_OK; in papiPrinterPurgeJobs()
377 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterListJobs()
401 status == PAPI_OK; in papiPrinterListJobs()
H A Djob.c277 if ((result = service_connect(svc, printer)) != PAPI_OK) in internal_job_submit()
307 if (result == PAPI_OK) { in internal_job_submit()
321 for (i = 0; ((result == PAPI_OK) && (files[i] != NULL)); in internal_job_submit()
375 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobStreamOpen()
397 papi_status_t result = PAPI_OK; in papiJobStreamWrite()
411 while ((result == PAPI_OK) && (buflen > 0)) { in papiJobStreamWrite()
457 if (result == PAPI_OK) in papiJobStreamClose()
460 if (result == PAPI_OK) { in papiJobStreamClose()
487 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobQuery()
534 if ((result = service_connect(svc, printer)) != PAPI_OK) in _job_cancel_hold_release_restart_promote()
[all …]

123