Home
last modified time | relevance | path

Searched refs:throwIfMinusOne (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/ravenwood/runtime-jni/
Dravenwood_runtime.cpp37 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() function
56 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd, arg))); in nFcntlInt()
60 return throwIfMinusOne(env, "lseek", TEMP_FAILURE_RETRY(lseek(fd, offset, whence))); in nLseek()
65 throwIfMinusOne(env, "pipe2", TEMP_FAILURE_RETRY(pipe2(fds, flags))); in nPipe2()
77 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, F_DUPFD_CLOEXEC, 0))); in nDup()