/titanic_50/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 …]
|
/titanic_50/usr/src/lib/print/libipp-listener/common/ |
H A D | send-document.c | 82 if (status != PAPI_OK) { in ipp_send_document() 101 "job-attributes-group", &operational) == PAPI_OK) in ipp_send_document() 107 if (status != PAPI_OK) { in ipp_send_document() 114 while ((status == PAPI_OK) && ((rc = iread(fd, buf, sizeof (buf))) > 0)) in ipp_send_document() 116 if (status != PAPI_OK) { in ipp_send_document() 124 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 | 189 if (status != PAPI_OK) { in ipp_operation_handler() 216 if (status != PAPI_OK) { /* this should not be possible */ in ipp_operation_handler() 225 if ((status != PAPI_OK) || (configured != PAPI_TRUE)) { in ipp_operation_handler() 252 papi_status_t result = PAPI_OK; in ipp_configure_required_operations() 255 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++) in ipp_configure_required_operations() 268 papi_status_t result = PAPI_OK; in ipp_configure_all_operations() 271 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++) in ipp_configure_all_operations() 363 return (PAPI_OK); in ipp_initialize_response() 455 if (status != PAPI_OK) { in print_service_connect() 482 papi_status_t result = PAPI_OK; in ipp_process_request() [all …]
|
H A D | common.c | 92 if (result != PAPI_OK) { in get_printer_id() 95 if (result == PAPI_OK) in get_printer_id() 117 result == PAPI_OK; in get_string_list() 217 status == PAPI_OK; in massage_response() 225 status == PAPI_OK; in massage_response()
|
/titanic_50/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 | 108 return (PAPI_OK); in add_lpd_control_line() 156 papi_status_t status = PAPI_OK; in lpd_add_rfc1179_attributes() 171 return (PAPI_OK); in lpd_add_rfc1179_attributes() 175 "job-originating-host-name", &h1) == PAPI_OK) { in lpd_add_rfc1179_attributes() 335 result, size) != PAPI_OK); in unused_attributes() 436 return (PAPI_OK); in lpd_add_svr4_attributes() 451 return (PAPI_OK); in lpd_add_hpux_attributes() 478 return (PAPI_OK); in lpd_job_add_attributes() 561 return (PAPI_OK); in lpd_job_add_files() 600 status = PAPI_OK; in lpd_submit_job() [all …]
|
/titanic_50/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | printer.c | 81 if ((result = service_connect(svc, svc->name)) != PAPI_OK) in printers_from_service() 96 if ((result == PAPI_OK) && (svc_printers != NULL)) { in printers_from_service() 137 if (result != PAPI_OK) in printer_from_service() 142 if (result == PAPI_OK) { in printer_from_service() 207 return (PAPI_OK); in printers_from_name_service() 244 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterQuery() 263 result = PAPI_OK; in papiPrinterQuery() 280 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_disable_or_pause() 301 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_enable_or_resume() 352 if ((result = service_connect(svc, name)) != PAPI_OK) in _papi_printer_add_or_modify() [all …]
|
H A D | service.c | 108 return (PAPI_OK); in service_load() 111 return (PAPI_OK); in service_load() 138 case PAPI_OK: in service_load() 157 papi_status_t result = PAPI_OK; in service_send_peer() 191 return (PAPI_OK); in service_connect() 256 if ((result == PAPI_OK) && (svc->uri != NULL)) in papiServiceCreate() 259 result = PAPI_OK; in papiServiceCreate() 298 papi_status_t result = PAPI_OK; in papiServiceSetPeer() 314 papi_status_t result = PAPI_OK; in papiServiceSetUserName() 336 papi_status_t result = PAPI_OK; in papiServiceSetPassword() [all …]
|
H A D | job.c | 150 if ((result = service_connect(svc, printer)) != PAPI_OK) in _papi_job_submit_reference_or_validate() 207 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobStreamOpen() 271 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobQuery() 297 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobMove() 325 if ((result = service_connect(svc, printer)) != PAPI_OK) in _papi_job_handle_printer_id() 390 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobModify() 423 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobCreate() 449 if ((result = service_connect(svc, printer)) != PAPI_OK) in papiJobStreamAdd()
|
/titanic_50/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 113 return (PAPI_OK); in papi_ipp_type_match() 132 if ((status = papi_ipp_type_match(attribute->type, type)) != PAPI_OK) in ipp_write_attribute() 155 return (PAPI_OK); in ipp_write_attribute() 315 return (PAPI_OK); in ipp_write_attribute() 322 papi_status_t result = PAPI_OK; in ipp_write_attribute_group() 330 for (i = 0; ((attributes[i] != NULL) && (result == PAPI_OK)); i++) in ipp_write_attribute_group() 340 papi_status_t result = PAPI_OK; in ipp_write_attribute_groups() 352 ((status == PAPI_OK) && (result == PAPI_OK)); in ipp_write_attribute_groups() 399 return (PAPI_OK); in ipp_write_message_header() 411 if (result == PAPI_OK) in ipp_write_message()
|
H A D | ipp.c | 56 papi_status_t result = PAPI_OK; in ipp_validate_request() 65 if (result != PAPI_OK) { in ipp_validate_request() 74 if (result != PAPI_OK) { in ipp_validate_request() 82 if (result != PAPI_OK) { in ipp_validate_request()
|
H A D | read.c | 92 return (PAPI_OK); in read_name_with_language() 157 return (PAPI_OK); in validate_type() 160 return (PAPI_OK); in validate_type() 294 papi_status_t valid = PAPI_OK; in ipp_read_attribute_group() 328 if ((valid != PAPI_OK) && (valid != PAPI_NOT_FOUND)) in ipp_read_attribute_group() 583 return (PAPI_OK); in ipp_read_attribute_group() 631 return (PAPI_OK); in ipp_read_header() 638 papi_status_t result = PAPI_OK; in ipp_read_attribute_groups() 645 while ((tag != DTAG_END_OF_ATTRIBUTES) && (result == PAPI_OK)) { in ipp_read_attribute_groups() 656 papi_status_t result = PAPI_OK; in ipp_read_message() [all …]
|
/titanic_50/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 | 65 if ((status == PAPI_OK) && (j != NULL)) { in cancel_active_job() 128 if (status != PAPI_OK) { in main() 136 if (status == PAPI_OK) { in main()
|
/titanic_50/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 126 papi_status_t status = PAPI_OK; in collection_dup() 129 for (i = 0; ((collection[i] != NULL) && (status == PAPI_OK)); in collection_dup() 136 if ((status == PAPI_OK) && (a->values != NULL)) { in collection_dup() 140 (status == PAPI_OK)); j++) in collection_dup() 148 if (status != PAPI_OK) { in collection_dup() 236 return (PAPI_OK); in papiAttributeListAppendValue() 401 return (PAPI_OK); in papiAttributeListDelete() 473 return (PAPI_OK); in papiAttributeListGetValue() 488 if (status == PAPI_OK) in papiAttributeListGetString() 506 if (status == PAPI_OK) in papiAttributeListGetInteger() [all …]
|
/titanic_50/usr/src/lib/print/libpapi-ipp/common/ |
H A D | service.c | 66 papi_status_t result = PAPI_OK; in service_connect() 73 return (PAPI_OK); in service_connect() 161 result = PAPI_OK; in papiServiceCreate() 194 papi_status_t result = PAPI_OK; in papiServiceSetUserName() 213 papi_status_t result = PAPI_OK; in papiServiceSetPassword() 233 papi_status_t result = PAPI_OK; in papiServiceSetEncryption() 251 papi_status_t result = PAPI_OK; in papiServiceSetAuthCB() 267 papi_status_t result = PAPI_OK; in papiServiceSetAppData()
|
H A D | printer.c | 95 if ((result = service_connect(svc, DEFAULT_DEST)) != PAPI_OK) in papiPrintersList() 118 status == PAPI_OK; in papiPrintersList() 151 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterQuery() 197 if ((result = service_connect(svc, name)) != PAPI_OK) in _printer_enable_disable_pause_resume_delete() 281 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterModify() 331 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterPurgeJobs() 347 status == PAPI_OK; in papiPrinterPurgeJobs() 379 if ((result = service_connect(svc, name)) != PAPI_OK) in papiPrinterListJobs() 403 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 …]
|