Searched refs:throwIfMinusOne (Results 1 – 1 of 1) sorted by relevance
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 287 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() function 1084 throwIfMinusOne(env, "capset", capset(&cap_header, &cap_data[0])); in Linux_capset() 1092 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode))); in Linux_chmod() 1100 throwIfMinusOne(env, "chown", TEMP_FAILURE_RETRY(chown(path.c_str(), uid, gid))); in Linux_chown() 1117 throwIfMinusOne(env, "close", android_fdsan_close_with_tag(fd, ownerId)); in Linux_close() 1122 throwIfMinusOne(env, "close", close(fd)); in Linux_close() 1195 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); in Linux_dup() 1201 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Linux_dup2() 1237 throwIfMinusOne(env, "fchmod", TEMP_FAILURE_RETRY(fchmod(fd, mode))); in Linux_fchmod() 1242 throwIfMinusOne(env, "fchown", TEMP_FAILURE_RETRY(fchown(fd, uid, gid))); in Linux_fchown() [all …]
|