Searched defs:fds (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DPollArrayWrapper.c42 ipoll(struct pollfd fds[], unsigned int nfds, int timeout) argument
53 int res = poll(fds, nfds, remaining);
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DPoller.java153 * (which is what waitMultiple() stores in fds[])
181 * @param maxRet the maximum number of fds[] and revents[] to return.
182 * @param fds[] (return) an array of ints in which to store fds with
184 * fds.length must be >= maxRet
186 * same-indexed fds[] (i.e. fds[0] has events revents[0])
189 * Note : both above arrays are "dense," i.e. only fds[] with events
194 * @return the number of fds with triggered events.
197 * or the maxRet parameter (in the case of no maxRet, fds
203 waitMultiple(int maxRet, int[] fds,short[] revents, long timeout) argument
229 waitMultiple(int maxRet, int[] fds, short[] revents) argument
244 waitMultiple(int[] fds, short[] revents, long timeout) argument
268 waitMultiple(int[] fds, short[] revents) argument
322 nativeWait(int handle, int maxRet, int[] fds, short[] events, long timeout) argument
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DUnixOperatingSystem_md.c368 struct proc_fdinfo *fds; local
390 fds = malloc(fds_size);
391 if (fds == NULL) {
398 res = proc_pidinfo(my_pid, PROC_PIDLISTFDS, 0, fds, fds_size);
400 free(fds);
405 free(fds);
418 jlong fds = 0;
430 fds++;
436 return (fds - 1);
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DWindowsSelectorImpl.c59 pollfd *fds = (pollfd *) pollAddress; local
82 if (fds[i].events & sun_nio_ch_PollArrayWrapper_POLLIN) {
83 readfds.fd_array[read_count] = fds[i].fd;
86 if (fds[i].events & (sun_nio_ch_PollArrayWrapper_POLLOUT |
89 writefds.fd_array[write_count] = fds[i].fd;
92 exceptfds.fd_array[except_count] = fds[i].fd;
113 if (fds[i].events & sun_nio_ch_PollArrayWrapper_POLLIN) {
114 errreadfds.fd_array[0] = fds[i].fd;
117 if (fds[i].events & (sun_nio_ch_PollArrayWrapper_POLLOUT |
120 errwritefds.fd_array[0] = fds[
[all...]
/openjdk7/jdk/src/solaris/transport/socket/
H A Dsocket_md.c246 struct pollfd fds[1]; local
249 fds[0].fd = fd;
250 fds[0].events = 0;
252 fds[0].events |= POLLIN;
255 fds[0].events |= POLLOUT;
257 fds[0].revents = 0;
259 rv = poll(&fds[0], 1, timeout);
262 if (fds[0].revents & POLLIN) {
265 if (fds[0].revents & POLLOUT) {
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsSelectorImpl.java338 private int processFDSet(long updateCount, int[] fds, int rOps, argument
342 for (int i = 1; i <= fds[0]; i++) {
343 int desc = fds[i];
/openjdk7/jdk/src/solaris/native/java/lang/
H A DUNIXProcess_md.c682 int fds[3]; member in struct:_ChildStuff
711 Closing pipe fds here is redundant, since closeDescriptors()
721 if ((moveDescriptor(p->in[0] != -1 ? p->in[0] : p->fds[0],
723 (moveDescriptor(p->out[1]!= -1 ? p->out[1] : p->fds[1],
732 if (moveDescriptor(p->err[1] != -1 ? p->err[1] : p->fds[2],
840 jint *fds = NULL; local
879 fds = (*env)->GetIntArrayElements(env, std_fds, NULL);
880 if (fds == NULL) goto Catch;
882 if ((fds[0] == -1 && pipe(in) < 0) ||
883 (fds[
[all...]

Completed in 40 milliseconds