Searched refs:TEMP_FAILURE_RETRY (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/cmds/idmap/ |
D | create.cpp | 34 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)); in open_idmap() 43 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX | LOCK_NB)) != 0) { in open_idmap() 64 ssize_t w = TEMP_FAILURE_RETRY(write(fd, data + size - bytesLeft, bytesLeft)); in write_idmap() 92 ssize_t r = TEMP_FAILURE_RETRY(read(idmap_fd, buf + N - bytesLeft, bytesLeft)); in is_idmap_stale_fd() 142 int idmap_fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY)); in is_idmap_stale_path()
|
D | idmap.h | 11 #ifndef TEMP_FAILURE_RETRY 13 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
D | inspect.cpp | 42 if ((fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY))) < 0) { in init()
|
/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 | ZipUtils.cpp | 184 return TEMP_FAILURE_RETRY(::read(mFd, mReadBuf, readSize)); in read()
|
D | AssetManager.cpp | 47 #ifndef TEMP_FAILURE_RETRY 49 #define TEMP_FAILURE_RETRY(exp) ({ \ macro
|
/frameworks/webview/chromium/loader/ |
D | loader.cpp | 73 int tmp_fd = TEMP_FAILURE_RETRY(mkstemp(relro_tmp)); in DoCreateRelroFile() 102 int relro_fd = TEMP_FAILURE_RETRY(open(relro, O_RDONLY)); in DoLoadWithRelroFile()
|
/frameworks/base/core/jni/ |
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 | android_ddm_DdmHandleNativeHeap.cpp | 61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) { in ReadFile()
|
D | com_android_internal_os_Zygote.cpp | 297 if (TEMP_FAILURE_RETRY(mount(source, target, NULL, MS_BIND, NULL)) == -1) { in MountEmulatedStorage() 303 if (TEMP_FAILURE_RETRY( in MountEmulatedStorage() 315 if (TEMP_FAILURE_RETRY( in MountEmulatedStorage()
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 130 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY)); in isFileDifferent() 139 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { in isFileDifferent()
|
D | android_hardware_camera2_CameraMetadata.cpp | 442 while ((res = TEMP_FAILURE_RETRY(read(readFd, &out[0], /*count*/1))) > 0) { in CameraMetadata_dump()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 758 pid_t actualPid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in notifyMediaScanner()
|