Searched refs:PR_Select (Results 1 - 9 of 9) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/
H A Dprobslet.h50 #define PR_Select VBoxNsprPR_Select macro
91 ** FUNCTION: PR_Select
97 ** zero is returned. On return, PR_Select replaces the given descriptor sets with
144 NSPR_API(PRInt32) PR_Select(
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dprselect.c43 ** Description: tests PR_Select with sockets Error condition functions.
161 printf("This program tests PR_Select with sockets. Timeout, error\n");
226 if (debug_mode) printf("PR_Select should time out in 5 seconds\n");
227 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
231 "PR_Select should time out and return 0, but it returns %ld\n",
241 if (debug_mode) printf("PR_Select timed out. Test passed.\n\n");
245 printf("PR_Select should detect a bad file descriptor\n");
255 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
259 "PR_Select returns %d\n", retVal);
266 printf("PR_Select detecte
[all...]
H A Dselct_to.c43 ** Description: tests PR_Select with sockets. Time out functions
119 printf("This program tests PR_Select with sockets. Timeout \n");
184 if (debug_mode) printf("PR_Select should time out in 5 seconds\n");
185 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
189 "PR_Select should time out and return 0, but it returns %ld\n",
199 if (debug_mode) printf("PR_Select timed out. Test passed.\n\n");
H A Dselect2.c42 ** Description: Measure PR_Select and Empty_Select performance.
111 rv = PR_Select(0, NULL, NULL, NULL, PR_INTERVAL_NO_WAIT);
182 rv = PR_Select(0, &rdset, 0, 0, PR_INTERVAL_NO_TIMEOUT);
H A Dselct_er.c43 ** Description: tests PR_Select with sockets Error condition functions.
120 printf("This program tests PR_Select with sockets. Error\n");
186 if (debug_mode) printf("PR_Select should detect a bad file descriptor\n");
209 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
213 "PR_Select returns %d\n", retVal);
221 if (debug_mode) printf("PR_Select detected a bad fd. Test passed.\n\n");
H A Dnonblock.c66 #undef USE_PR_SELECT /* If defined, we use PR_Select.
127 n = PR_Select(0, NULL, &writeSet, NULL, PR_INTERVAL_NO_TIMEOUT);
H A Dselct_nm.c43 ** Description: tests PR_Select with sockets - Normal operations.
144 printf("This program tests PR_Select with sockets. \n");
248 retVal = PR_Select(0 /* unused */, &readFdSet, NULL, NULL,
252 fprintf(stderr, "PR_Select failed (%d, %d)\n", PR_GetError(),
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprsocket.c1759 PR_IMPLEMENT(PRInt32) PR_Select(
1775 if (warning) warning = _PR_Obsolete( "PR_Select()", "PR_Poll()");
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c4684 if (unwarned) unwarned = _PR_Obsolete("PR_FD_ZERO (PR_Select)", "PR_Poll");
4691 if (unwarned) unwarned = _PR_Obsolete("PR_FD_SET (PR_Select)", "PR_Poll");
4701 if (unwarned) unwarned = _PR_Obsolete("PR_FD_CLR (PR_Select)", "PR_Poll");
4717 if (unwarned) unwarned = _PR_Obsolete("PR_FD_ISSET (PR_Select)", "PR_Poll");
4728 if (unwarned) unwarned = _PR_Obsolete("PR_FD_NSET (PR_Select)", "PR_Poll");
4738 if (unwarned) unwarned = _PR_Obsolete("PR_FD_NCLR (PR_Select)", "PR_Poll");
4754 if (unwarned) unwarned = _PR_Obsolete("PR_FD_NISSET (PR_Select)", "PR_Poll");
4817 PR_IMPLEMENT(PRInt32) PR_Select(
4833 if (unwarned) unwarned = _PR_Obsolete( "PR_Select", "PR_Poll");

Completed in 311 milliseconds