Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DFileSystemPreferences.c70 int fd, rc; in Java_java_util_prefs_FileSystemPreferences_lockFile0() local
98 rc = fcntl(fd, F_SETLK, &fl); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
100 rc = fcntl(fd, F_SETLK64, &fl); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
103 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_lockFile0()
124 int rc; in Java_java_util_prefs_FileSystemPreferences_unlockFile0() local
132 rc = fcntl(fd, F_SETLK, &fl); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
134 rc = fcntl(fd, F_SETLK64, &fl); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
137 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
141 rc = close(fd); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
142 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXRevocationCheckerTest.java32 CertPathChecker rc = cpb.getRevocationChecker(); in setUp() local
33 assertNotNull(rc); in setUp()
34 assertTrue(rc instanceof PKIXRevocationChecker); in setUp()
35 checker = (PKIXRevocationChecker) rc; in setUp()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp270 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() argument
271 if (rc == rc_t(-1)) { in throwIfMinusOne()
274 return rc; in throwIfMinusOne()
676 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat64(path.c_str(), &sb)) in doStat() local
678 if (rc == -1) { in doStat()
691 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName() local
693 if (rc == -1) { in doGetSockName()
903 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); in Linux_access() local
904 if (rc == -1) { in Linux_access()
907 return (rc == 0); in Linux_access()
[all …]
DNetworkUtilities.cpp198 int rc = fcntl(fd, F_SETFL, flags); in setBlocking() local
199 return (rc != -1); in setBlocking()
/libcore/ojluni/src/main/java/java/util/
DArraysParallelSortHelpers.java135 Relay rc = new Relay(new Merger<T>(fc, a, w, b+h, q, in compute() local
137 new Sorter<T>(rc, a, w, b+u, n-u, wb+u, g, c).fork(); in compute()
138 new Sorter<T>(rc, a, w, b+h, q, wb+h, g, c).fork();; in compute()
253 Relay rc = new Relay(new Merger(fc, a, w, b+h, q, in compute() local
255 new Sorter(rc, a, w, b+u, n-u, wb+u, g).fork(); in compute()
256 new Sorter(rc, a, w, b+h, q, wb+h, g).fork();; in compute()
364 Relay rc = new Relay(new Merger(fc, a, w, b+h, q, in compute() local
366 new Sorter(rc, a, w, b+u, n-u, wb+u, g).fork(); in compute()
367 new Sorter(rc, a, w, b+h, q, wb+h, g).fork();; in compute()
475 Relay rc = new Relay(new Merger(fc, a, w, b+h, q, in compute() local
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java2924 int rc = 0; in getRunningThreadCount() local
2929 ++rc; in getRunningThreadCount()
2932 return rc; in getRunningThreadCount()
3105 long qt = 0L, qs = 0L; int rc = 0; in toString() local
3120 ++rc; in toString()
3140 ", running = " + rc + in toString()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java254 int rc = Libcore.os.poll(pollFds, remainingTimeoutMs); in isConnected() local
255 if (rc == 0) { in isConnected()