/external/elfutils/lib/ |
D | system.h | 79 #ifndef TEMP_FAILURE_RETRY 80 #define TEMP_FAILURE_RETRY(expression) \ macro 95 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry() 114 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry() 132 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
|
D | crc32_file.c | 82 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer, in crc32_file()
|
D | ChangeLog | 86 * system.h: Remove semi-colon after TEMP_FAILURE_RETRY definition. 99 (TEMP_FAILURE_RETRY): Define when not yet defined.
|
/external/honggfuzz/libhfcommon/ |
D | files.c | 52 int fd = TEMP_FAILURE_RETRY(open(fileName, O_RDONLY | O_CLOEXEC)); in files_readFileToBufMax() 69 int fd = TEMP_FAILURE_RETRY(open(fileName, flags, 0644)); in files_writeBufToFile() 114 ssize_t sz = TEMP_FAILURE_RETRY(write(fd, &buf[writtenSz], fileSz - writtenSz)); in files_writeToFd() 130 ssize_t sz = TEMP_FAILURE_RETRY(read(fd, &buf[readSz], fileSz - readSz)); in files_readFromFd() 172 TEMP_FAILURE_RETRY(send(fd, &buf[writtenSz], fileSz - writtenSz, MSG_DONTWAIT)); in files_sendToSocketNB() 240 inFD = TEMP_FAILURE_RETRY(open(source, O_RDONLY | O_CLOEXEC)); in files_copyFile() 253 outFD = TEMP_FAILURE_RETRY(open(destination, dstOpenFlags, dstFilePerms)); in files_copyFile() 349 if ((*fd = TEMP_FAILURE_RETRY(open(fileName, O_RDONLY))) == -1) { in files_mapFile() 373 if ((*fd = TEMP_FAILURE_RETRY(open(fileName, O_RDONLY))) == -1) { in files_mapFileShared() 426 if (TEMP_FAILURE_RETRY(ftruncate(*fd, sz)) == -1) { in files_mapSharedMem()
|
D | common.h | 45 #ifndef TEMP_FAILURE_RETRY 46 #define TEMP_FAILURE_RETRY(exp) \ macro
|
/external/bsdiff/ |
D | file.cc | 19 #ifndef TEMP_FAILURE_RETRY 28 int fd = TEMP_FAILURE_RETRY(open(pathname, flags, 0644)); in FOpen() 43 ssize_t rc = TEMP_FAILURE_RETRY(read(fd_, buf, count)); in Read() 55 ssize_t rc = TEMP_FAILURE_RETRY(write(fd_, buf, count)); in Write()
|
/external/honggfuzz/libhfnetdriver/ |
D | netdriver.c | 146 if (TEMP_FAILURE_RETRY(connect(sock, addr, socklen)) == -1) { in netDriver_sockConnAddr() 334 if (TEMP_FAILURE_RETRY(shutdown(sock, SHUT_WR)) == -1) { in LLVMFuzzerTestOneInput() 348 while (TEMP_FAILURE_RETRY(recv(sock, b, sizeof(b), MSG_WAITALL)) > 0) in LLVMFuzzerTestOneInput()
|
/external/elfutils/libdw/ |
D | dwarf_getalt.c | 136 fd = TEMP_FAILURE_RETRY (open (id_path, O_RDONLY)); in find_debug_altlink() 145 fd = TEMP_FAILURE_RETRY (open (altpath, O_RDONLY)); in find_debug_altlink()
|
/external/honggfuzz/hfuzz_cc/ |
D | hfuzz-cc.c | 226 int fd = TEMP_FAILURE_RETRY(mkostemp(template, O_CLOEXEC)); in getLibPath() 241 if (TEMP_FAILURE_RETRY(rename(template, path)) == -1) { in getLibPath()
|
/external/honggfuzz/linux/ |
D | arch.c | 228 pid_t pid = TEMP_FAILURE_RETRY(waitpid(-1, &status, __WALL | __WNOTHREAD | WNOHANG)); in arch_checkWait() 317 TEMP_FAILURE_RETRY(open(hfuzz->exe.cmdline[0], O_RDONLY | O_CLOEXEC))) == -1) { in arch_archInit()
|
/external/elfutils/libdwfl/ |
D | dwfl_build_id_find_elf.c | 97 fd = TEMP_FAILURE_RETRY (open (name, O_RDONLY)); in __libdwfl_open_by_build_id()
|
D | find-debuginfo.c | 61 int fd = TEMP_FAILURE_RETRY (open (fname, O_RDONLY)); in try_open()
|
D | linux-kernel-modules.c | 102 : TEMP_FAILURE_RETRY (open (*fname, O_RDONLY))); in try_kernel_name() 137 fd = TEMP_FAILURE_RETRY (open (zname, O_RDONLY)); in try_kernel_name()
|
D | dwfl_module_getdwarf.c | 54 *fd = TEMP_FAILURE_RETRY (open (*name, O_RDONLY)); in open_elf_file()
|
D | ChangeLog | 2886 * find-debuginfo.c (try_open): Use TEMP_FAILURE_RETRY.
|
/external/honggfuzz/posix/ |
D | arch.c | 199 pid_t pid = TEMP_FAILURE_RETRY(waitpid(run->pid, &status, wflags)); in arch_checkWait()
|
/external/perf_data_converter/src/ |
D | builder.cc | 106 TEMP_FAILURE_RETRY(open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0444)); in MarshalToFile()
|
/external/honggfuzz/ |
D | input.c | 62 if (TEMP_FAILURE_RETRY(ftruncate(run->dynamicFileFd, sz)) == -1) { in input_setSize()
|
D | fuzz.c | 285 int fd = TEMP_FAILURE_RETRY(open(verFile, O_CREAT | O_EXCL | O_WRONLY, 0600)); in fuzz_runVerifier()
|
/external/elfutils/src/ |
D | strings.c | 513 ssize_t n = TEMP_FAILURE_RETRY (read (fd, buf + ntrailer, in read_block_no_mmap()
|
D | ar.c | 644 while ((n = TEMP_FAILURE_RETRY (write (xfd, data, nleft))) != -1) in do_oper_extract()
|
/external/elfutils/libelf/ |
D | ChangeLog | 1537 * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY.
|