Searched defs:fds (Results 1 - 9 of 9) sorted by relevance
/libcore/ojluni/src/main/native/ |
H A D | PollArrayWrapper.c | 42 ipoll(struct pollfd fds[], unsigned int nfds, int timeout) argument 53 int res = poll(fds, nfds, remaining);
|
H A D | UNIXProcess_md.c | 692 int fds[3]; member in struct:_ChildStuff 721 Closing pipe fds here is redundant, since closeDescriptors() 731 if ((moveDescriptor(p->in[0] != -1 ? p->in[0] : p->fds[0], 733 (moveDescriptor(p->out[1]!= -1 ? p->out[1] : p->fds[1], 742 if (moveDescriptor(p->err[1] != -1 ? p->err[1] : p->fds[2], 850 jint *fds = NULL; local 889 fds = (*env)->GetIntArrayElements(env, std_fds, NULL); 890 if (fds == NULL) goto Catch; 892 if ((fds[0] == -1 && pipe(in) < 0) || 893 (fds[ [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | UNIXProcess.java | 70 * @param fds an array of three file descriptors. 85 int[] fds, 129 final int[] fds, 137 fds, 143 initStreams(fds); 157 void initStreams(int[] fds) throws IOException { argument 158 stdin = (fds[0] == -1) ? 160 new ProcessPipeOutputStream(fds[0]); 162 stdout = (fds[1] == -1) ? 164 new ProcessPipeInputStream(fds[ 81 forkAndExec(byte[] prog, byte[] argBlock, int argc, byte[] envBlock, int envc, byte[] dir, int[] fds, boolean redirectErrorStream) argument 125 UNIXProcess(final byte[] prog, final byte[] argBlock, final int argc, final byte[] envBlock, final int envc, final byte[] dir, final int[] fds, final boolean redirectErrorStream) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 213 @Override public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { argument 219 return os.poll(fds, timeoutMs);
|
H A D | ForwardingOs.java | 139 public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return os.poll(fds, timeoutMs); } argument
|
H A D | Linux.java | 130 public native int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; argument
|
H A D | Os.java | 126 public int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException; argument
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 374 public static int poll(StructPollfd[] fds, int timeoutMs) throws ErrnoException { return Libcore.os.poll(fds, timeoutMs); } argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Linux.cpp | 130 * by Java API calls, which always create IPv6 socket fds, and pass it in as is. */ \ 1841 int fds[2]; local 1842 int pipe2_result = throwIfMinusOne(env, "pipe2", TEMP_FAILURE_RETRY(pipe2(&fds[0], flags))); 1851 ScopedLocalRef<jobject> fd(env, jniCreateFileDescriptor(env, fds[i])); 1870 std::unique_ptr<struct pollfd[]> fds(new struct pollfd[arrayLength]); 1871 memset(fds.get(), 0, sizeof(struct pollfd) * arrayLength); 1882 fds[count].fd = jniGetFDFromFileDescriptor(env, javaFd.get()); 1883 fds[count].events = env->GetShortField(javaStruct.get(), eventsFid); 1889 monitors.push_back(new AsynchronousCloseMonitor(fds[i].fd)); 1897 rc = poll(fds 2299 int fds[2]; local [all...] |
Completed in 203 milliseconds