Searched refs:TEMP_FAILURE_RETRY (Results 1 - 4 of 4) sorted by relevance
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 52 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of 56 #ifndef TEMP_FAILURE_RETRY 58 #define TEMP_FAILURE_RETRY(exp) ({ \ macro 110 TEMP_FAILURE_RETRY(close(mFd)); 143 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY)); 151 TEMP_FAILURE_RETRY(close(fd)); 181 TEMP_FAILURE_RETRY(close(fd)); 211 ssize_t actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, sizeof(int32_t))); 250 actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, readAmount)); 563 TEMP_FAILURE_RETRY(pread6 [all...] |
/frameworks/base/libs/androidfw/ |
H A D | 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) ({ \ macro 137 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize)); 179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
|
H A D | AssetManager.cpp | 44 #ifndef TEMP_FAILURE_RETRY 46 #define TEMP_FAILURE_RETRY(exp) ({ \ macro 206 if (TEMP_FAILURE_RETRY(access(overlayPath.string(), R_OK)) == 0) { 233 if (TEMP_FAILURE_RETRY(stat(idmapPath.string(), &st)) == -1) { 245 int fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_RDONLY)); 253 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft, 256 TEMP_FAILURE_RETRY(close(fd)); 264 TEMP_FAILURE_RETRY(close(fd)); 345 fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_WRONLY | O_CREAT | O_TRUNC, 0644)); 351 ssize_t written = TEMP_FAILURE_RETRY(writ [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY)); 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) {
|
Completed in 4392 milliseconds