Searched refs:TEMP_FAILURE_RETRY (Results 1 - 9 of 9) sorted by relevance
/frameworks/native/include/utils/ |
H A D | Compat.h | 51 * TEMP_FAILURE_RETRY is defined by some, but not all, versions of 55 #ifndef TEMP_FAILURE_RETRY 57 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
/frameworks/base/libs/androidfw/ |
H A D | 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) ({ \ macro 211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead));
|
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 | 48 #ifndef TEMP_FAILURE_RETRY 50 #define TEMP_FAILURE_RETRY(exp) ({ \ macro 218 if (TEMP_FAILURE_RETRY(access(overlayPath.string(), R_OK)) == 0) { 245 if (TEMP_FAILURE_RETRY(stat(idmapPath.string(), &st)) == -1) { 257 int fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_RDONLY)); 265 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft, 268 TEMP_FAILURE_RETRY(close(fd)); 276 TEMP_FAILURE_RETRY(close(fd)); 357 fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_WRONLY | O_CREAT | O_TRUNC, 0644)); 363 ssize_t written = TEMP_FAILURE_RETRY(writ [all...] |
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 88 TEMP_FAILURE_RETRY(close(mFd)); 121 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY)); 129 TEMP_FAILURE_RETRY(close(fd)); 159 TEMP_FAILURE_RETRY(close(fd)); 189 ssize_t actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, sizeof(int32_t))); 228 actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, readAmount)); 541 TEMP_FAILURE_RETRY(pread64(mFd, lfhBuf, sizeof(lfhBuf), localHdrOffset)); 572 TEMP_FAILURE_RETRY(read(mFd, lfhBuf, sizeof(lfhBuf))); 752 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen)); 901 int cc = TEMP_FAILURE_RETRY(writ [all...] |
H A D | ZipUtils.cpp | 102 int cc = TEMP_FAILURE_RETRY(read(fd, readBuf, getSize));
|
/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 53 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
|
H A D | android_view_InputQueue.cpp | 103 nRead = TEMP_FAILURE_RETRY(read(mDispatchReadFd, &byteread, sizeof(byteread))); 178 int res = TEMP_FAILURE_RETRY(write(mDispatchWriteFd, &dummy, sizeof(dummy)));
|
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 4348 milliseconds