Lines Matching defs:ready
116 PRInt32 ready;
136 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
137 if ((1 != ready) /* if not 1, then we're dead */
164 ready = PR_Send(
168 PR_fprintf(logFile, "Client send status [%d]\n", ready);
169 if (0 < ready) bytes_sent += ready;
170 else if ((-1 == ready) && (PR_WOULD_BLOCK_ERROR == PR_GetError()))
175 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
176 if ((1 != ready) /* if not 1, then we're dead */
191 ready = PR_Recv(
196 logFile, "Client receive status [%d]\n", ready);
197 if (0 < ready) bytes_read += ready;
198 else if ((-1 == ready) && (PR_WOULD_BLOCK_ERROR == PR_GetError()))
203 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
204 if ((1 != ready) /* if not 1, then we're dead */
224 PRInt32 ready;
245 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
246 if ((1 != ready) /* if not 1, then we're dead */
265 ready = PR_Recv(
269 PR_fprintf(logFile, "Server receive status [%d]\n", ready);
270 if (0 < ready) bytes_read += ready;
271 else if ((-1 == ready) && (PR_WOULD_BLOCK_ERROR == PR_GetError()))
276 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
277 if ((1 != ready) /* if not 1, then we're dead */
293 ready = PR_Send(
296 if (0 < ready)
298 bytes_sent += ready;
300 else if ((-1 == ready) && (PR_WOULD_BLOCK_ERROR == PR_GetError()))
305 ready = PR_Poll(&polldesc, 1, PR_INTERVAL_NO_TIMEOUT);
306 if ((1 != ready) /* if not 1, then we're dead */