/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | job.c | 64 if (status != PAPI_OK) { in check_job_id() 225 if (s != PAPI_OK) /* true root/lp are almighty */ in authorized() 226 result = PAPI_OK; in authorized() 229 if (result != PAPI_OK) { in authorized() 231 result = PAPI_OK; in authorized() 256 result = PAPI_OK; in authorized() 276 PAPI_OK; in authorized() 282 result = PAPI_OK; in authorized() 290 result = PAPI_OK; in authorized() 324 return (PAPI_OK); in copy_file() [all …]
|
H A D | lpsched-msgs.c | 148 return (PAPI_OK); in lpsched_status_to_papi_status() 195 papi_status_t result = PAPI_OK; in lpsched_alloc_files() 219 papi_status_t result = PAPI_OK; in lpsched_commit_job() 243 papi_status_t result = PAPI_OK; in lpsched_start_change() 273 papi_status_t result = PAPI_OK; in lpsched_end_change() 303 papi_status_t result = PAPI_OK; in lpsched_accept_printer() 329 papi_status_t result = PAPI_OK; in lpsched_reject_printer() 358 papi_status_t result = PAPI_OK; in lpsched_enable_printer() 384 papi_status_t result = PAPI_OK; in lpsched_disable_printer() 451 if (result == PAPI_OK) { in lpsched_remove_class() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | printer.c | 63 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 D | job.c | 49 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 D | lpd-job.c | 109 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 D | send-document.c | 80 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 D | print-job.c | 91 "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 D | ipp-listener.c | 187 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 D | common.c | 82 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 D | printer.c | 79 if ((result = service_connect(svc, svc->name)) != PAPI_OK) in printers_from_service() 94 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() [all …]
|
H A D | service.c | 103 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() 251 if ((result == PAPI_OK) && (svc->uri != NULL)) in papiServiceCreate() 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() [all …]
|
H A D | job.c | 148 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 D | write.c | 111 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 D | ipp.c | 54 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 D | read.c | 90 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 D | lpstat.c | 96 if (status == PAPI_OK) { in lpstat_default_printer() 127 if (status != PAPI_OK) { in lpstat_service_status() 145 if ((status == PAPI_OK) && (p != NULL)) { in get_device_uri() 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() 386 if (status == PAPI_OK) /* it's a class */ in report_printer() 392 if (status != PAPI_OK) in report_printer() 413 if (status == PAPI_OK) { in report_printer() [all …]
|
H A D | lpc.c | 62 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() 401 papi_status_t status = PAPI_OK; in process_one() 408 if (status != PAPI_OK) { in process_one() [all …]
|
H A D | cancel.c | 90 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 D | common.c | 234 == 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 D | lpmove.c | 61 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 D | disable.c | 66 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 D | attribute.c | 123 papi_status_t status = PAPI_OK; in collection_dup() 126 for (i = 0; ((collection[i] != NULL) && (status == PAPI_OK)); in collection_dup() 132 if ((status == PAPI_OK) && (a->values != NULL)) { in collection_dup() 136 (status == PAPI_OK)); j++) in collection_dup() 142 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() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | service.c | 61 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 D | printer.c | 93 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 D | job.c | 277 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 …]
|