Lines Matching refs:CHECK_ERROR

52 #define CHECK_ERROR(expr) do { \
313 CHECK_ERROR(leaveMutex(stream));
316 CHECK_ERROR(enterMutex(stream, connection->shutdown));
341 CHECK_ERROR(leaveMutex(stream));
344 CHECK_ERROR(enterMutex(stream, connection->shutdown));
366 CHECK_ERROR(enterMutex(stream, NULL));
384 CHECK_ERROR(leaveMutex(stream));
386 CHECK_ERROR(enterMutex(stream, NULL));
391 CHECK_ERROR(leaveMutex(stream));
444 CHECK_ERROR(sysIPMutexOpen(stream->shared->mutexName, &stream->mutex));
837 CHECK_ERROR(sysEventWait(NULL, transport->attachEvent, timeout));
870 CHECK_ERROR(sysEventSignal(transport->attachEvent));
871 CHECK_ERROR(sysEventWait(NULL, transport->acceptEvent, timeout));
946 CHECK_ERROR(enterMutex(stream, connection->shutdown));
947 CHECK_ERROR(waitForSpace(connection, stream));
955 CHECK_ERROR(leaveMutex(stream));
957 CHECK_ERROR(signalData(stream));
971 CHECK_ERROR(enterMutex(stream, connection->shutdown));
972 CHECK_ERROR(waitForData(connection, stream));
980 CHECK_ERROR(leaveMutex(stream));
982 CHECK_ERROR(signalSpace(stream));
999 CHECK_ERROR(enterMutex(stream, connection->shutdown));
1001 CHECK_ERROR(waitForSpace(connection, stream));
1019 CHECK_ERROR(signalData(stream));
1022 CHECK_ERROR(leaveMutex(stream));
1038 CHECK_ERROR(sendBytes(connection, &packet->type.cmd.id, sizeof(jint)));
1039 CHECK_ERROR(sendBytes(connection, &packet->type.cmd.flags, sizeof(jbyte)));
1042 CHECK_ERROR(sendBytes(connection, &packet->type.reply.errorCode, sizeof(jshort)));
1044 CHECK_ERROR(sendBytes(connection, &packet->type.cmd.cmdSet, sizeof(jbyte)));
1045 CHECK_ERROR(sendBytes(connection, &packet->type.cmd.cmd, sizeof(jbyte)));
1050 CHECK_ERROR(sendBytes(connection, &data_length, sizeof(jint)));
1053 CHECK_ERROR(sendBytes(connection, packet->type.cmd.data, data_length));
1071 CHECK_ERROR(enterMutex(stream, connection->shutdown));
1073 CHECK_ERROR(waitForData(connection, stream));
1090 CHECK_ERROR(signalSpace(stream));
1092 CHECK_ERROR(leaveMutex(stream));
1109 CHECK_ERROR(receiveBytes(connection, &packet->type.cmd.id, sizeof(jint)));
1110 CHECK_ERROR(receiveBytes(connection, &packet->type.cmd.flags, sizeof(jbyte)));
1113 CHECK_ERROR(receiveBytes(connection, &packet->type.reply.errorCode, sizeof(jshort)));
1115 CHECK_ERROR(receiveBytes(connection, &packet->type.cmd.cmdSet, sizeof(jbyte)));
1116 CHECK_ERROR(receiveBytes(connection, &packet->type.cmd.cmd, sizeof(jbyte)));
1119 CHECK_ERROR(receiveBytes(connection, &data_length, sizeof(jint)));