Lines Matching refs:err

353     const status_t err = mLastError;
355 return err;
518 LOG_THREADPOOL("**** THREAD %p (PID %d) IS LEAVING THE THREAD POOL err=%d\n",
563 status_t err = data.errorCheck();
574 if (err == NO_ERROR) {
577 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
580 if (err != NO_ERROR) {
581 if (reply) reply->setError(err);
582 return (mLastError = err);
594 err = waitForResponse(reply);
597 err = waitForResponse(&fakeReply);
615 err = waitForResponse(NULL, NULL);
618 return err;
714 status_t err;
716 err = writeTransactionData(BC_REPLY, flags, -1, 0, reply, &statusBuffer);
717 if (err < NO_ERROR) return err;
725 int32_t err;
728 if ((err=talkWithDriver()) < NO_ERROR) break;
729 err = mIn.errorCheck();
730 if (err < NO_ERROR) break;
746 err = DEAD_OBJECT;
750 err = FAILED_TRANSACTION;
765 err = mIn.read(&tr, sizeof(tr));
766 ALOG_ASSERT(err == NO_ERROR, "Not enough command data for brREPLY");
767 if (err != NO_ERROR) goto finish;
778 err = *reinterpret_cast<const status_t*>(tr.data.ptr.buffer);
797 err = executeCommand(cmd);
798 if (err != NO_ERROR) goto finish;
804 if (err != NO_ERROR) {
805 if (acquireResult) *acquireResult = err;
806 if (reply) reply->setError(err);
807 mLastError = err;
810 return err;
860 status_t err;
867 err = NO_ERROR;
869 err = -errno;
871 err = INVALID_OPERATION;
874 err = -EBADF;
879 } while (err == -EINTR);
882 alog << "Our err: " << (void*)(intptr_t)err << ", write consumed: "
887 if (err >= NO_ERROR) {
911 return err;
927 const status_t err = data.errorCheck();
928 if (err == NO_ERROR) {
935 *statusBuffer = err;
941 return (mLastError = err);