H A D | libcore_io_Posix.cpp | 150 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { argument 151 if (rc == rc_t(-1)) { 154 return rc; 312 static bool fillInetSocketAddress(JNIEnv* env, jint rc, jobject javaInetSocketAddress, const sockaddr_storage& ss) { argument 313 if (rc == -1 || javaInetSocketAddress == NULL) { 335 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat(path.c_str(), &sb)) local 337 if (rc == -1) { 350 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) local 352 if (rc == -1) { 414 int rc local 549 int rc = throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, cmd, &lock))); local 568 int rc = TEMP_FAILURE_RETRY(fstat(fd, &sb)); local 579 int rc = TEMP_FAILURE_RETRY(fstatvfs(fd, &sb)); local 621 int rc = getaddrinfo(node.c_str(), NULL, &hints, &addressList); local 696 int rc = getnameinfo(reinterpret_cast<sockaddr*>(&ss), sa_len, buf, sizeof(buf), NULL, 0, flags); local 747 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); local 768 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &l, &size)); local 781 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &tv, &size)); local 794 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &u, &size)); local 841 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); local 854 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &arg))); local 999 int rc = poll(fds.get(), count, timeoutMs); local 1198 int rc = TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &req, sizeof(req))); local 1252 int rc = throwIfMinusOne(env, "socketpair", TEMP_FAILURE_RETRY(socketpair(domain, type, protocol, fds))); local 1269 int rc = TEMP_FAILURE_RETRY(statvfs(path.c_str(), &sb)); local 1341 int rc = throwIfMinusOne(env, "waitpid", TEMP_FAILURE_RETRY(waitpid(pid, &status, options))); local [all...] |