Searched defs:rc (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/native/
H A DFileSystemPreferences.c70 int fd, rc; local
98 rc = fcntl(fd, F_SETLK, &fl);
100 rc = fcntl(fd, F_SETLK64, &fl);
103 if (rc < 0) {
124 int rc; local
132 rc = fcntl(fd, F_SETLK, &fl);
134 rc = fcntl(fd, F_SETLK64, &fl);
137 if (rc < 0) {
141 rc = close(fd);
142 if (rc <
[all...]
/libcore/luni/src/main/native/
H A DNetworkUtilities.cpp198 int rc = fcntl(fd, F_SETFL, flags); local
199 return (rc != -1);
H A Dlibcore_io_Linux.cpp270 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { argument
271 if (rc == rc_t(-1)) {
274 return rc;
676 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat64(path.c_str(), &sb)) local
678 if (rc == -1) {
691 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) local
693 if (rc == -1) {
903 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); local
904 if (rc == -1) {
907 return (rc
1117 int rc = IO_FAILURE_RETRY(env, int, fcntl, javaFd, cmd, &lock); local
1146 int rc = TEMP_FAILURE_RETRY(fstat64(fd, &sb)); local
1157 int rc = TEMP_FAILURE_RETRY(fstatvfs(fd, &sb)); local
1200 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); local
1275 int rc = getnameinfo(reinterpret_cast<sockaddr*>(&ss), sa_len, buf, sizeof(buf), NULL, 0, flags); local
1330 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); local
1351 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &l, &size)); local
1364 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &tv, &size)); local
1377 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &u, &size)); local
1441 int rc = TEMP_FAILURE_RETRY(getifaddrs(&ifaddr)); local
1581 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &req))); local
1594 int rc = throwIfMinusOne(env, "ioctl", TEMP_FAILURE_RETRY(ioctl(fd, cmd, &arg))); local
1803 int rc; local
2131 int rc = TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &req, sizeof(req))); local
2171 int rc = TEMP_FAILURE_RETRY(setsockopt(fd, level, option, &req, sizeof(req))); local
2251 int rc = throwIfMinusOne(env, "socketpair", TEMP_FAILURE_RETRY(socketpair(domain, type, protocol, fds))); local
2268 int rc = TEMP_FAILURE_RETRY(statvfs(path.c_str(), &sb)); local
2348 int rc = throwIfMinusOne(env, "waitpid", TEMP_FAILURE_RETRY(waitpid(pid, &status, options))); local
[all...]

Completed in 414 milliseconds