Home
last modified time | relevance | path

Searched refs:TEMP_FAILURE_RETRY (Results 1 – 22 of 22) sorted by relevance

/external/elfutils/lib/
Dsystem.h79 #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()
Dcrc32_file.c82 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer, in crc32_file()
DChangeLog86 * system.h: Remove semi-colon after TEMP_FAILURE_RETRY definition.
99 (TEMP_FAILURE_RETRY): Define when not yet defined.
/external/honggfuzz/libhfcommon/
Dfiles.c52 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()
Dcommon.h45 #ifndef TEMP_FAILURE_RETRY
46 #define TEMP_FAILURE_RETRY(exp) \ macro
/external/bsdiff/
Dfile.cc19 #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/
Dnetdriver.c146 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/
Ddwarf_getalt.c136 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/
Dhfuzz-cc.c226 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/
Darch.c228 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/
Ddwfl_build_id_find_elf.c97 fd = TEMP_FAILURE_RETRY (open (name, O_RDONLY)); in __libdwfl_open_by_build_id()
Dfind-debuginfo.c61 int fd = TEMP_FAILURE_RETRY (open (fname, O_RDONLY)); in try_open()
Dlinux-kernel-modules.c102 : TEMP_FAILURE_RETRY (open (*fname, O_RDONLY))); in try_kernel_name()
137 fd = TEMP_FAILURE_RETRY (open (zname, O_RDONLY)); in try_kernel_name()
Ddwfl_module_getdwarf.c54 *fd = TEMP_FAILURE_RETRY (open (*name, O_RDONLY)); in open_elf_file()
DChangeLog2886 * find-debuginfo.c (try_open): Use TEMP_FAILURE_RETRY.
/external/honggfuzz/posix/
Darch.c199 pid_t pid = TEMP_FAILURE_RETRY(waitpid(run->pid, &status, wflags)); in arch_checkWait()
/external/perf_data_converter/src/
Dbuilder.cc106 TEMP_FAILURE_RETRY(open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0444)); in MarshalToFile()
/external/honggfuzz/
Dinput.c62 if (TEMP_FAILURE_RETRY(ftruncate(run->dynamicFileFd, sz)) == -1) { in input_setSize()
Dfuzz.c285 int fd = TEMP_FAILURE_RETRY(open(verFile, O_CREAT | O_EXCL | O_WRONLY, 0600)); in fuzz_runVerifier()
/external/elfutils/src/
Dstrings.c513 ssize_t n = TEMP_FAILURE_RETRY (read (fd, buf + ntrailer, in read_block_no_mmap()
Dar.c644 while ((n = TEMP_FAILURE_RETRY (write (xfd, data, nleft))) != -1) in do_oper_extract()
/external/elfutils/libelf/
DChangeLog1537 * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY.