Searched refs:listenSock1 (Results 1 - 8 of 8) sorted by relevance
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | poll_to.c | 81 PRFileDesc *listenSock1 = NULL, *listenSock2 = NULL; local 122 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 131 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 136 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 142 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 181 pds[0].fd = listenSock1; 202 if (listenSock1) { 203 PR_Close(listenSock1);
|
H A D | selct_to.c | 84 PRFileDesc *listenSock1, *listenSock2; local 124 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 132 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 137 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 143 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 180 PR_FD_SET(listenSock1, &readFdSet);
|
H A D | poll_er.c | 101 PRFileDesc *listenSock1, *listenSock2; local 143 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 151 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 156 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 162 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 201 pds[0].fd = listenSock1;
|
H A D | selct_er.c | 84 PRFileDesc *listenSock1, *listenSock2; local 125 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 133 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 138 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 144 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 181 PR_FD_SET(listenSock1, &readFdSet);
|
H A D | prselect.c | 121 PRFileDesc *listenSock1, *listenSock2; local 166 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 174 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 179 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 185 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 222 PR_FD_SET(listenSock1, &readFdSet); 251 PR_FD_SET(listenSock1, &readFdSet); 296 fds[0] = listenSock1; 299 PR_FD_SET(listenSock1, &readFdSet);
|
H A D | selct_nm.c | 105 PRFileDesc *listenSock1, *listenSock2; local 149 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 157 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 162 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 168 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 233 fds[0] = listenSock1; 238 PR_FD_SET(listenSock1, &readFdSet);
|
H A D | poll_nm.c | 130 PRFileDesc *listenSock1 = NULL, *listenSock2 = NULL; local 179 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 188 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 193 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 201 PR_SetSocketOption(listenSock1, &optval); 202 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 242 pds[0].fd = listenSock1; 385 if (listenSock1) { 386 PR_Close(listenSock1);
|
H A D | prpoll.c | 90 PRFileDesc *listenSock1, *listenSock2; local 113 if ((listenSock1 = PR_NewTCPSocket()) == NULL) { 120 if (PR_Bind(listenSock1, &addr) == PR_FAILURE) { 124 if (PR_GetSockName(listenSock1, &addr) == PR_FAILURE) { 129 if (PR_Listen(listenSock1, 5) == PR_FAILURE) { 159 pds[npds].fd = listenSock1;
|
Completed in 63 milliseconds