/external/elfutils/src/libelf/ |
D | elf_begin.c | 53 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, in file_read_ar() argument 59 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_ar() 75 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset, in get_shnum() argument 171 if (unlikely (pread_retry (fildes, &size, sizeof (Elf32_Word), in get_shnum() 219 if (unlikely (pread_retry (fildes, &size, sizeof (Elf64_Word), in get_shnum() 248 file_read_elf (int fildes, void *map_address, unsigned char *e_ident, in file_read_elf() argument 264 size_t scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); in file_read_elf() 282 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_elf() 494 __libelf_read_mmaped_file (int fildes, void *map_address, off_t offset, in __libelf_read_mmaped_file() argument 509 return file_read_elf (fildes, map_address, e_ident, offset, maxsize, in __libelf_read_mmaped_file() [all …]
|
D | elf_update.c | 49 if (unlikely (fstat (elf->fildes, &st) != 0)) in write_file() 63 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 73 MAP_SHARED, elf->fildes, 0); in write_file() 101 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 113 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) in write_file() 185 else if (unlikely (elf->fildes == -1))
|
D | elf_readall.c | 75 if (elf->map_address == NULL && unlikely (elf->fildes == -1)) 96 if (fstat (elf->fildes, &st) < 0) 114 if (unlikely ((size_t) pread_retry (elf->fildes, mem,
|
D | elf_getarsym.c | 63 else if ((size_t) pread_retry (elf->fildes, &u, w, *offp) != w) in read_number_entries() 113 assert (elf->fildes != -1); 114 if (pread_retry (elf->fildes, &elf->state.ar.ar_hdr, 230 if ((size_t) pread_retry (elf->fildes, file_data, sz, off) != sz 231 || ((size_t) pread_retry (elf->fildes, new_str,
|
D | elf_cntl.c | 49 if (elf->fildes == -1) 71 elf->fildes = -1;
|
D | common.h | 71 allocate_elf (int fildes, void *map_address, off_t offset, size_t maxsize, in allocate_elf() argument 82 result->fildes = fildes; in allocate_elf()
|
D | elf32_updatefile.c | 531 if (unlikely (pwrite_retry (elf->fildes, out_ehdr, in __elfw2() 566 && unlikely (fill (elf->fildes, ehdr->e_ehsize, in __elfw2() 601 if (unlikely ((size_t) pwrite_retry (elf->fildes, out_phdr, in __elfw2() 684 if (unlikely (fill (elf->fildes, last_offset, in __elfw2() 728 ssize_t n = pwrite_retry (elf->fildes, buf, in __elfw2() 759 if (unlikely (fill (elf->fildes, last_offset, in __elfw2() 787 && unlikely (fill (elf->fildes, last_offset, in __elfw2() 794 && unlikely ((size_t) pwrite_retry (elf->fildes, shdr_data, in __elfw2()
|
D | elf_getshdrstrndx.c | 139 if (unlikely (pread_retry (elf->fildes, &shdr_mem, 200 if (unlikely (pread_retry (elf->fildes, &shdr_mem,
|
D | elf_clone.c | 56 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, in elf_clone()
|
D | elf32_getphdr.c | 168 else if (likely (elf->fildes != -1)) 182 ssize_t n = pread_retry (elf->fildes,
|
D | elf32_getshdr.c | 158 else if (likely (elf->fildes != -1)) in ElfW2() 161 ssize_t n = pread_retry (elf->fildes, in ElfW2()
|
D | elf_getdata_rawchunk.c | 97 if (unlikely ((size_t) pread_retry (elf->fildes, rawchunk, size,
|
D | elf_getdata.c | 259 else if (likely (elf->fildes != -1)) in __libelf_set_rawdata_wrlock() 271 ssize_t n = pread_retry (elf->fildes, scn->rawdata.d.d_buf, size, in __libelf_set_rawdata_wrlock()
|
D | libelfP.h | 281 int fildes; member 453 extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address,
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
D | opj_includes.h | 79 # define OPJ_FSTAT(fildes,stat_buff) _fstati64(fildes,/* struct _stati64 */ stat_buff) argument 85 # define OPJ_FSTAT(fildes,stat_buff) fstat(fildes,stat_buff) argument
|
/external/fio/os/windows/ |
D | posix.c | 278 int fildes, off_t off) in mmap() argument 375 int fcntl(int fildes, int cmd, ...) in fcntl() argument 400 status = ioctlsocket((SOCKET)fildes, opt, &val); in fcntl() 531 int fsync(int fildes) in fsync() argument 533 HANDLE hFile = (HANDLE)_get_osfhandle(fildes); in fsync() 681 int fdatasync(int fildes) in fdatasync() argument 683 return fsync(fildes); in fdatasync() 686 ssize_t pwrite(int fildes, const void *buf, size_t nbyte, in pwrite() argument 689 int64_t pos = _telli64(fildes); in pwrite() 690 ssize_t len = _write(fildes, buf, nbyte); in pwrite() [all …]
|
/external/fio/os/ |
D | os-windows.h | 102 int fsync(int fildes); 104 int fcntl(int fildes, int cmd, ...); 105 int fdatasync(int fildes); 109 ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 110 ssize_t pwrite(int fildes, const void *buf, size_t nbyte,
|
/external/fio/os/windows/posix/include/sys/ |
D | uio.h | 13 ssize_t readv(int fildes, const struct iovec *iov, int iovcnt); 14 ssize_t writev(int fildes, const struct iovec *iov, int iovcnt);
|
D | mman.h | 30 int fildes, off_t off);
|
/external/clang/test/Analysis/ |
D | unix-api.c | 12 int close(int fildes);
|
D | unix-fns.c | 47 int close(int fildes);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 361 /// FILE *fdopen(int fildes, const char *mode); 481 /// int fstat(int fildes, struct stat *buf); 487 /// int fstatvfs(int fildes, struct statvfs *buf); 490 /// int fstatvfs64(int fildes, struct statvfs64 *buf); 712 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 727 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 734 /// ssize_t read(int fildes, void *buf, size_t nbyte); 1020 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 719 #define __sanitizer_syscall_pre_pipe(fildes) \ argument 720 __sanitizer_syscall_pre_impl_pipe((long)(fildes)) 721 #define __sanitizer_syscall_post_pipe(res, fildes) \ argument 722 __sanitizer_syscall_post_impl_pipe(res, (long)(fildes)) 723 #define __sanitizer_syscall_pre_pipe2(fildes, flags) \ argument 724 __sanitizer_syscall_pre_impl_pipe2((long)(fildes), (long)(flags)) 725 #define __sanitizer_syscall_post_pipe2(res, fildes, flags) \ argument 726 __sanitizer_syscall_post_impl_pipe2(res, (long)(fildes), (long)(flags)) 727 #define __sanitizer_syscall_pre_dup(fildes) \ argument 728 __sanitizer_syscall_pre_impl_dup((long)(fildes)) [all …]
|
/external/netperf/ |
D | netlib.c | 1526 int fildes; in alloc_sendfile_buf_ring() local 1547 fildes = open(temp_file,O_RDWR | O_EXCL | O_CREAT,0600); in alloc_sendfile_buf_ring() 1548 if (-1 != fildes) { in alloc_sendfile_buf_ring() 1571 if (write(fildes,temp_buffer,buffer_size+sizeof(int)) != in alloc_sendfile_buf_ring() 1595 fildes = open(fill_file , O_RDONLY); in alloc_sendfile_buf_ring() 1596 if (fildes == -1){ in alloc_sendfile_buf_ring() 1645 temp_link->fildes = fildes; /* from which file do we send? */ in alloc_sendfile_buf_ring()
|
/external/elfutils/src/libdwfl/ |
D | core-file.c | 83 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand() 354 ssize_t nread = pread_retry (elf->fildes, into, *buffer_available, start); in dwfl_elf_phdr_memory_callback()
|