HomeSort by relevance Sort by last modified time
    Searched defs:TEMP_FAILURE_RETRY (Results 1 - 19 of 19) sorted by null

  /system/core/libcutils/include/cutils/
fs.h 24 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of
28 #ifndef TEMP_FAILURE_RETRY
30 #define TEMP_FAILURE_RETRY(exp) ({ \
  /frameworks/base/cmds/idmap/
idmap.h 13 #ifndef TEMP_FAILURE_RETRY
15 #define TEMP_FAILURE_RETRY(exp) ({ \
  /libcore/luni/src/main/native/
Portability.h 39 // TEMP_FAILURE_RETRY so the return value here gets truncated for
41 #undef TEMP_FAILURE_RETRY
42 #define TEMP_FAILURE_RETRY(exp) ({ \
  /system/core/liblog/
log_portability.h 72 #ifndef TEMP_FAILURE_RETRY
74 #define TEMP_FAILURE_RETRY(exp) \
  /device/generic/goldfish/libqemu/
test_host_2.c 35 #undef TEMP_FAILURE_RETRY
36 #define TEMP_FAILURE_RETRY(exp) ({ \
43 #define TFR TEMP_FAILURE_RETRY
test_host_1.c 37 #undef TEMP_FAILURE_RETRY
38 #define TEMP_FAILURE_RETRY(exp) ({ \
45 #define TFR TEMP_FAILURE_RETRY
  /system/core/base/include/android-base/
macros.h 21 #include <unistd.h> // for TEMP_FAILURE_RETRY
23 // bionic and glibc both have TEMP_FAILURE_RETRY, but eg Mac OS' libc doesn't.
24 #ifndef TEMP_FAILURE_RETRY
25 #define TEMP_FAILURE_RETRY(exp) \
  /system/core/libcutils/
android_get_control_file.cpp 44 #ifndef TEMP_FAILURE_RETRY
45 #define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation
77 if (TEMP_FAILURE_RETRY(fcntl(fd, F_GETFD)) < 0) return -1;
79 if (TEMP_FAILURE_RETRY(fcntl(fd, F_GETFL)) < 0) return -1;
82 if (TEMP_FAILURE_RETRY(fstat(fd, &s)) < 0) return -1;
104 ssize_t ret = TEMP_FAILURE_RETRY(readlink(proc, buf, len + 1));
sockets_unix.cpp 35 #ifndef TEMP_FAILURE_RETRY
36 #define TEMP_FAILURE_RETRY(exp) (exp) // KISS implementation
105 int ret = TEMP_FAILURE_RETRY(getsockname(fd, (struct sockaddr *)&addr, &addrlen));
  /system/core/libutils/include/utils/
Compat.h 67 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of
71 #ifndef TEMP_FAILURE_RETRY
73 #define TEMP_FAILURE_RETRY(exp) ({ \
  /frameworks/base/libs/androidfw/
StreamingZipInflater.cpp 30 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of
34 #ifndef TEMP_FAILURE_RETRY
36 #define TEMP_FAILURE_RETRY(exp) ({ \
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
ObbFile.cpp 58 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of
62 #ifndef TEMP_FAILURE_RETRY
64 #define TEMP_FAILURE_RETRY(exp) ({ \
137 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize));
179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
AssetManager.cpp 48 #ifndef TEMP_FAILURE_RETRY
50 #define TEMP_FAILURE_RETRY(exp) ({ \
709 if (TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_SH)) != 0) {
747 TEMP_FAILURE_RETRY(flock(fileno(fin), LOCK_UN));
    [all...]
  /libnativehelper/include/nativehelper/
JNIHelp.h 208 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of
212 #ifndef TEMP_FAILURE_RETRY
214 #define TEMP_FAILURE_RETRY(exp) ({ \
  /bionic/libc/include/
unistd.h 229 #define TEMP_FAILURE_RETRY(exp) ({ \
  /build/make/tools/makeparallel/
makeparallel.cpp 45 #define TEMP_FAILURE_RETRY(exp) (exp)
247 while ((ret = TEMP_FAILURE_RETRY(poll(pollfds, 1, 0))) != 0) {
279 int ret = TEMP_FAILURE_RETRY(write(out_fd, &buf, 1));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
unistd.h     [all...]
  /test/vts/runners/target/gtest/
gtest_main.cpp 37 #ifndef TEMP_FAILURE_RETRY
40 #define TEMP_FAILURE_RETRY(exp) \
730 ssize_t bytes_read = TEMP_FAILURE_RETRY(
754 while ((result = TEMP_FAILURE_RETRY(waitpid(-1, &status, WNOHANG))) > 0) {
789 pid_t result = TEMP_FAILURE_RETRY(waitpid(pid, &exit_status, 0));
    [all...]
  /bionic/tests/
gtest_main.cpp 43 #ifndef TEMP_FAILURE_RETRY
46 #define TEMP_FAILURE_RETRY(exp) ({ \
325 if (TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)) != pid) {
775 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(child_proc.child_read_fd, buf, sizeof(buf) - 1));
798 while ((result = TEMP_FAILURE_RETRY(waitpid(-1, &status, WNOHANG))) > 0) {
833 pid_t result = TEMP_FAILURE_RETRY(waitpid(pid, &exit_status, 0));
    [all...]

Completed in 1223 milliseconds