Lines Matching refs:retVal
93 PRStatus retVal;
110 retVal = PR_Connect(sock, &addr, PR_INTERVAL_NO_TIMEOUT);
111 if (retVal == PR_FAILURE && PR_GetError() == PR_IN_PROGRESS_ERROR) {
161 PRInt32 retVal;
238 retVal = PR_Recv(sock, buf, sizeof(buf), 0, PR_INTERVAL_NO_TIMEOUT);
239 if (retVal != -1 || PR_GetError() != PR_WOULD_BLOCK_ERROR) {
241 fprintf(stderr, "First PR_Recv: retVal: %ld, Error: %ld\n",
242 retVal, PR_GetError());
248 retVal = PR_Recv(sock, buf, sizeof(buf), 0, PR_INTERVAL_NO_TIMEOUT);
249 if (retVal != CHUNK_SIZE) {
251 fprintf(stderr, "Second PR_Recv: retVal: %ld, Error: %ld\n",
252 retVal, PR_GetError());
255 printf("read: %d bytes, good\n", retVal);