Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
DFileSystemPreferences.c72 int fd, rc; in Java_java_util_prefs_FileSystemPreferences_lockFile0() local
102 rc = fcntl(fd, F_SETLK, &fl); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
104 rc = fcntl(fd, F_SETLK64, &fl); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
107 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_lockFile0()
128 int rc; in Java_java_util_prefs_FileSystemPreferences_unlockFile0() local
137 rc = fcntl(fd, F_SETLK, &fl); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
139 rc = fcntl(fd, F_SETLK64, &fl); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
142 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
146 rc = close(fd); in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
147 if (rc < 0) { in Java_java_util_prefs_FileSystemPreferences_unlockFile0()
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXRevocationCheckerTest.java42 CertPathChecker rc = cpb.getRevocationChecker(); in setUp() local
43 assertNotNull(rc); in setUp()
44 assertTrue(rc instanceof PKIXRevocationChecker); in setUp()
45 checker = (PKIXRevocationChecker) rc; in setUp()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp288 static rc_t throwIfMinusOne(JNIEnv* env, const char* name, rc_t rc) { in throwIfMinusOne() argument
289 if (rc == rc_t(-1)) { in throwIfMinusOne()
292 return rc; in throwIfMinusOne()
762 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat64(path.c_str(), &sb)) in doStat() local
764 if (rc == -1) { in doStat()
777 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName() local
779 if (rc == -1) { in doGetSockName()
989 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); in Linux_access() local
990 if (rc == -1) { in Linux_access()
993 return (rc == 0); in Linux_access()
[all …]
DAsynchronousCloseMonitor.cpp85 int rc = sigaction(BLOCKED_THREAD_SIGNAL, &sa, NULL); in init() local
86 if (rc == -1) { in init()
DNetworkUtilities.cpp214 int rc = fcntl(fd, F_SETFL, flags); in setBlocking() local
215 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.java2927 int rc = 0; in getRunningThreadCount() local
2932 ++rc; in getRunningThreadCount()
2935 return rc; in getRunningThreadCount()
3108 long qt = 0L, qs = 0L; int rc = 0; in toString() local
3123 ++rc; in toString()
3143 ", running = " + rc + in toString()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java266 int rc = Libcore.os.poll(pollFds, remainingTimeoutMs); in isConnected() local
267 if (rc == 0) { in isConnected()