Lines Matching refs:OK
494 return OK; in _recycle_handle()
510 return OK; in _stop_status_thread()
600 cb_param.job_done_result = OK; in _job_status_callback()
649 cb_param.job_done_result = OK; in _job_status_callback()
673 result = OK; in _start_status_thread()
680 if (result == OK) { in _start_status_thread()
692 if (result == OK) { in _start_status_thread()
792 while (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), WAIT_FOREVER)) { in _job_thread()
817 job_result = OK; in _job_thread()
821 while (sem_trywait(&_job_start_wait_sem) == OK) { in _job_thread()
823 while (sem_trywait(&_job_end_wait_sem) == OK) { in _job_thread()
890 cb_param.job_done_result = OK; in _job_thread()
906 PRINT_STATUS_IDLE) ? OK : ERROR); in _job_thread()
911 if (job_result == OK) { in _job_thread()
920 if (job_result == OK) { in _job_thread()
927 if ((job_result == OK) && jq->cb_fn) { in _job_thread()
930 cb_param.job_done_result = OK; in _job_thread()
936 if (job_result == OK) { in _job_thread()
948 if ((job_result == OK) && (jq->print_ifc->start_job != NULL) && in _job_thread()
955 if (job_result == OK && jq->plugin->start_job != NULL) { in _job_thread()
961 if (job_result == OK) { in _job_thread()
966 if (jq->is_dir && (job_result == OK)) { in _job_thread()
969 ((job_result == OK) || (job_result == CORRUPT)) && in _job_thread()
989 while (OK == msgQReceive(jq->pageQ, (char *) &page, sizeof(page), in _job_thread()
1119 if (job_result == OK) { in _job_thread()
1128 } else if (job_result == OK) { in _job_thread()
1130 for (i = 0; ((i < jq->job_params.num_copies) && (job_result == OK)); i++) { in _job_thread()
1183 if (job_result == OK) { in _job_thread()
1206 if (result == OK) { in _job_thread()
1257 case OK: in _job_thread()
1326 result = OK; in _start_thread()
1333 if (result == OK) { in _start_thread()
1345 if (result == OK) { in _start_thread()
1364 return OK; in _stop_thread()
1422 if (_start_thread() != OK) { in wprintInit()
1564 result = OK; in wprintGetCapabilities()
1583 if (result == OK) { in wprintGetCapabilities()
1615 errno = OK; in _get_print_format()
1664 return OK; in wprintGetDefaultJobParams()
1676 result = OK; in wprintGetFinalJobParams()
1841 if (OK == stat(pathname, &stat_buf)) { in wprintStartJob()
1962 (msgQSend(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT, MSG_Q_FIFO) == OK)) { in wprintStartJob()
1963 errno = OK; in wprintStartJob()
1998 result = OK; in wprintEndJob()
2002 WAIT_FOREVER) == OK)) { in wprintEndJob()
2011 WAIT_FOREVER) == OK)) { in wprintEndJob()
2043 } else if (OK == stat(filename, &stat_buf)) { in wprintPage()
2081 if (result == OK) { in wprintPage()
2113 errno = OK; in wprintCancelJob()
2116 if ((jq->cancel_ok == true) && (errno != OK)) { in wprintCancelJob()
2130 errno = (jq->cancel_ok ? OK : ENOTSUP); in wprintCancelJob()
2132 result = OK; in wprintCancelJob()
2135 result = OK; in wprintCancelJob()
2136 errno = (jq->cancel_ok ? OK : ENOTSUP); in wprintCancelJob()
2152 errno = OK; in wprintCancelJob()
2153 result = OK; in wprintCancelJob()
2176 (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT))) {} in wprintExit()
2186 while (sem_trywait(&_job_end_wait_sem) == OK); in wprintExit()
2187 while (sem_trywait(&_job_start_wait_sem) == OK); in wprintExit()
2191 && (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), NO_WAIT))) {} in wprintExit()
2202 return OK; in wprintExit()