Searched refs:TEMP_FAILURE_RETRY (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/include/utils/ |
D | Compat.h | 55 #ifndef TEMP_FAILURE_RETRY 57 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
/frameworks/native/libs/utils/ |
D | ZipFileRO.cpp | 88 TEMP_FAILURE_RETRY(close(mFd)); in ~ZipFileRO() 121 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY)); in open() 129 TEMP_FAILURE_RETRY(close(fd)); in open() 159 TEMP_FAILURE_RETRY(close(fd)); in open() 189 ssize_t actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, sizeof(int32_t))); in mapCentralDirectory() 228 actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, readAmount)); in mapCentralDirectory() 541 TEMP_FAILURE_RETRY(pread64(mFd, lfhBuf, sizeof(lfhBuf), localHdrOffset)); in getEntryInfo() 572 TEMP_FAILURE_RETRY(read(mFd, lfhBuf, sizeof(lfhBuf))); in getEntryInfo() 752 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen)); in uncompressEntry() 901 int cc = TEMP_FAILURE_RETRY(write(fd, writeBuf, writeSize)); in inflateBuffer()
|
D | ZipUtils.cpp | 102 int cc = TEMP_FAILURE_RETRY(read(fd, readBuf, getSize)); in inflateToBuffer()
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 62 #ifndef TEMP_FAILURE_RETRY 64 #define TEMP_FAILURE_RETRY(exp) ({ \ macro 137 actual = TEMP_FAILURE_RETRY(read(fd, footer, kFooterTagSize)); in parseObbFile() 179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize)); in parseObbFile()
|
D | StreamingZipInflater.cpp | 34 #ifndef TEMP_FAILURE_RETRY 36 #define TEMP_FAILURE_RETRY(exp) ({ \ macro 211 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); in readNextChunk()
|
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) { in addAssetPath() 245 if (TEMP_FAILURE_RETRY(stat(idmapPath.string(), &st)) == -1) { in isIdmapStaleLocked() 257 int fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_RDONLY)); in isIdmapStaleLocked() 265 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft, in isIdmapStaleLocked() 268 TEMP_FAILURE_RETRY(close(fd)); in isIdmapStaleLocked() 276 TEMP_FAILURE_RETRY(close(fd)); in isIdmapStaleLocked() 357 fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_WRONLY | O_CREAT | O_TRUNC, 0644)); in createIdmapFileLocked() 363 ssize_t written = TEMP_FAILURE_RETRY(write(fd, data + offset, size)); in createIdmapFileLocked() [all …]
|
/frameworks/base/core/jni/ |
D | android_ddm_DdmHandleNativeHeap.cpp | 53 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) { in ReadFile()
|
D | android_view_InputQueue.cpp | 103 nRead = TEMP_FAILURE_RETRY(read(mDispatchReadFd, &byteread, sizeof(byteread))); in getEvent() 178 int res = TEMP_FAILURE_RETRY(write(mDispatchWriteFd, &dummy, sizeof(dummy))); in enqueueEvent()
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY)); in isFileDifferent() 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { in isFileDifferent()
|