Searched defs:fds (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/native/ |
H A D | libcore_net_RawSocket.cpp | 170 pollfd fds[1]; local 171 fds[0].fd = fd.get(); 172 fds[0].events = POLLIN; 173 int retval = poll(fds, 1, timeout_millis);
|
H A D | libcore_io_Posix.cpp | 950 int fds[2]; local 951 throwIfMinusOne(env, "pipe", TEMP_FAILURE_RETRY(pipe(&fds[0]))); 957 ScopedLocalRef<jobject> fd(env, jniCreateFileDescriptor(env, fds[i])); 976 UniquePtr<struct pollfd[]> fds(new struct pollfd[arrayLength]); 977 memset(fds.get(), 0, sizeof(struct pollfd) * arrayLength); 988 fds[count].fd = jniGetFDFromFileDescriptor(env, javaFd.get()); 989 fds[count].events = env->GetShortField(javaStruct.get(), eventsFid); 993 // Since we don't know which fds -- if any -- are sockets, be conservative and register 994 // all fds for asynchronous socket close monitoring. 997 monitors.push_back(new AsynchronousSocketCloseMonitor(fds[ 1251 int fds[2]; local [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 113 @Override public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { argument 119 return os.poll(fds, timeoutMs);
|
H A D | ForwardingOs.java | 100 public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return os.poll(fds, timeoutMs); } argument
|
H A D | Os.java | 93 public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; argument
|
H A D | Posix.java | 94 public native int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; argument
|
Completed in 463 milliseconds