Lines Matching refs:OK

483         return OK;  in _recycle_handle()
499 return OK; in _stop_status_thread()
587 cb_param.job_done_result = OK; in _job_status_callback()
636 cb_param.job_done_result = OK; in _job_status_callback()
660 result = OK; in _start_status_thread()
667 if (result == OK) { in _start_status_thread()
679 if (result == OK) { in _start_status_thread()
703 while (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), WAIT_FOREVER)) { in _job_thread()
728 job_result = OK; in _job_thread()
732 while (sem_trywait(&_job_start_wait_sem) == OK) { in _job_thread()
734 while (sem_trywait(&_job_end_wait_sem) == OK) { in _job_thread()
808 cb_param.job_done_result = OK; in _job_thread()
829 PRINT_STATUS_IDLE) ? OK : ERROR); in _job_thread()
834 if (job_result == OK) { in _job_thread()
843 if (job_result == OK) { in _job_thread()
850 if ((job_result == OK) && jq->cb_fn) { in _job_thread()
853 cb_param.job_done_result = OK; in _job_thread()
859 if (job_result == OK) { in _job_thread()
871 if ((job_result == OK) && (jq->print_ifc->start_job != NULL) && in _job_thread()
878 if (job_result == OK && jq->plugin->start_job != NULL) { in _job_thread()
884 if (job_result == OK) { in _job_thread()
889 if (jq->is_dir && (job_result == OK)) { in _job_thread()
892 ((job_result == OK) || (job_result == CORRUPT)) && in _job_thread()
912 while (OK == msgQReceive(jq->pageQ, (char *) &page, sizeof(page), in _job_thread()
1042 if (job_result == OK) { in _job_thread()
1051 } else if (job_result == OK) { in _job_thread()
1053 for (i = 0; ((i < jq->job_params.num_copies) && (job_result == OK)); i++) { in _job_thread()
1106 if (job_result == OK) { in _job_thread()
1129 if (result == OK) { in _job_thread()
1180 case OK: in _job_thread()
1249 result = OK; in _start_thread()
1256 if (result == OK) { in _start_thread()
1268 if (result == OK) { in _start_thread()
1287 return OK; in _stop_thread()
1345 if (_start_thread() != OK) { in wprintInit()
1477 result = OK; in wprintGetCapabilities()
1496 if (result == OK) { in wprintGetCapabilities()
1528 errno = OK; in _get_print_format()
1577 return OK; in wprintGetDefaultJobParams()
1589 result = OK; in wprintGetFinalJobParams()
1748 if (OK == stat(pathname, &stat_buf)) { in wprintStartJob()
1858 (msgQSend(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT, MSG_Q_FIFO) == OK)) { in wprintStartJob()
1859 errno = OK; in wprintStartJob()
1894 result = OK; in wprintEndJob()
1898 WAIT_FOREVER) == OK)) { in wprintEndJob()
1907 WAIT_FOREVER) == OK)) { in wprintEndJob()
1939 } else if (OK == stat(filename, &stat_buf)) { in wprintPage()
1977 if (result == OK) { in wprintPage()
2009 errno = OK; in wprintCancelJob()
2012 if ((jq->cancel_ok == true) && (errno != OK)) { in wprintCancelJob()
2026 errno = (jq->cancel_ok ? OK : ENOTSUP); in wprintCancelJob()
2028 result = OK; in wprintCancelJob()
2031 result = OK; in wprintCancelJob()
2032 errno = (jq->cancel_ok ? OK : ENOTSUP); in wprintCancelJob()
2046 errno = OK; in wprintCancelJob()
2047 result = OK; in wprintCancelJob()
2070 (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT))) {} in wprintExit()
2080 while (sem_trywait(&_job_end_wait_sem) == OK); in wprintExit()
2081 while (sem_trywait(&_job_start_wait_sem) == OK); in wprintExit()
2085 && (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT))) {} in wprintExit()
2096 return OK; in wprintExit()