H A D | libcore_io_Posix.cpp | 255 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { argument 256 if (rc == rc_t(-1)) { 259 return rc; 451 static bool fillInetSocketAddress(JNIEnv* env, jint rc, jobject javaInetSocketAddress, const sockaddr_storage& ss) { argument 452 if (rc == -1 || javaInetSocketAddress == NULL) { 561 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat(path.c_str(), &sb)) local 563 if (rc == -1) { 576 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) local 578 if (rc == -1) { 640 int rc local 777 int rc = IO_FAILURE_RETRY(env, int, fcntl, javaFd, cmd, &lock); local 806 int rc = TEMP_FAILURE_RETRY(fstat(fd, &sb)); local 817 int rc = TEMP_FAILURE_RETRY(fstatvfs(fd, &sb)); local 860 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); local 935 int rc = getnameinfo(reinterpret_cast<sockaddr*>(&ss), sa_len, buf, sizeof(buf), NULL, 0, flags); local 990 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); local 1011 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &l, &size)); local 1024 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &tv, &size)); local 1037 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &u, &size)); local 1048 int rc = pthread_threadid_np(NULL, &owner); // Requires Mac OS 10.6 local 1117 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); local 1130 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &arg))); local 1299 int rc; local 1621 int rc = TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &req, sizeof(req))); local 1661 int rc = TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &req, sizeof(req))); local 1742 int rc = throwIfMinusOne(env, "socketpair", TEMP_FAILURE_RETRY(socketpair(domain, type, protocol, fds))); local 1759 int rc = TEMP_FAILURE_RETRY(statvfs(path.c_str(), &sb)); local 1831 int rc = throwIfMinusOne(env, "waitpid", TEMP_FAILURE_RETRY(waitpid(pid, &status, options))); local [all...] |