/external/libfuse/include/ |
D | fuse.h | 83 const struct stat *stbuf, off_t off, 387 int (*truncate) (const char *, off_t, struct fuse_file_info *fi); 447 int (*read) (const char *, char *, size_t, off_t, 459 int (*write) (const char *, const char *, size_t, off_t, 556 int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t, 713 int (*write_buf) (const char *, struct fuse_bufvec *buf, off_t off, 731 size_t size, off_t off, struct fuse_file_info *); 760 int (*fallocate) (const char *, int, off_t, off_t, 776 off_t offset_in, const char *path_out, 778 off_t offset_out, size_t size, int flags); [all …]
|
D | fuse_lowlevel.h | 547 void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, 577 size_t size, off_t off, struct fuse_file_info *fi); 738 void (*readdir) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, 1097 struct fuse_bufvec *bufv, off_t off, 1113 off_t offset, struct fuse_bufvec *bufv); 1168 off_t offset, off_t length, struct fuse_file_info *fi); 1195 void (*readdirplus) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, 1229 off_t off_in, struct fuse_file_info *fi_in, 1230 fuse_ino_t ino_out, off_t off_out, 1252 void (*lseek) (fuse_req_t req, fuse_ino_t ino, off_t off, int whence, [all …]
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | llseek.c | 32 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek() 37 static off_t my_lseek(int fd, off_t off, int whence) in my_lseek() 102 if ((sizeof(off_t) >= sizeof(llse_loff_t)) || in llse_llseek() 103 (offset < ((llse_loff_t) 1 << ((sizeof(off_t) * 8) - 1)))) in llse_llseek() 104 return lseek(fd, (off_t) offset, origin); in llse_llseek() 115 if ((sizeof(off_t) < sizeof(llse_loff_t)) && in llse_llseek() 116 (offset >= ((llse_loff_t) 1 << ((sizeof(off_t) * 8) - 1)))) { in llse_llseek() 120 return lseek(fd, (off_t) offset, origin); in llse_llseek()
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | File.h | 172 virtual off_t SeekFromStart(off_t offset, Status *error_ptr = nullptr); 192 virtual off_t SeekFromCurrent(off_t offset, Status *error_ptr = nullptr); 213 virtual off_t SeekFromEnd(off_t offset, Status *error_ptr = nullptr); 236 virtual Status Read(void *dst, size_t &num_bytes, off_t &offset); 261 virtual Status Write(const void *src, size_t &num_bytes, off_t &offset); 401 off_t SeekFromStart(off_t offset, Status *error_ptr = nullptr) override; 402 off_t SeekFromCurrent(off_t offset, Status *error_ptr = nullptr) override; 403 off_t SeekFromEnd(off_t offset, Status *error_ptr = nullptr) override; 404 Status Read(void *dst, size_t &num_bytes, off_t &offset) override; 405 Status Write(const void *src, size_t &num_bytes, off_t &offset) override;
|
/external/elfutils/src/ |
D | strings.c | 52 static int read_fd (int fd, const char *fname, off_t fdlen); 53 static int read_elf (Elf *elf, int fd, const char *fname, off_t fdlen); 140 static off_t elfmap_off; 192 off_t fdlen = (fstat_fail in main() 194 if (fdlen > (off_t) min_len_bytes) in main() 314 process_chunk_mb (const char *fname, const unsigned char *buf, off_t to, in process_chunk_mb() 391 process_chunk (const char *fname, const unsigned char *buf, off_t to, in process_chunk() 455 map_file (int fd, off_t start_off, off_t fdlen, size_t *map_sizep) in map_file() 468 size_t map_size = MIN ((off_t) mmap_max, fdlen); in map_file() 503 read_block_no_mmap (int fd, const char *fname, off_t from, off_t fdlen) in read_block_no_mmap() [all …]
|
/external/google-breakpad/src/common/mac/ |
D | macho_walker.h | 53 off_t offset, bool swap, void *context); 70 bool ReadBytes(void *buffer, size_t size, off_t offset); 73 bool CurrentHeader(struct mach_header_64 *header, off_t *offset); 80 off_t &offset); 84 bool WalkHeaderAtOffset(off_t offset); 85 bool WalkHeader64AtOffset(off_t offset); 88 bool WalkHeaderCore(off_t offset, uint32_t number_of_commands, bool swap); 110 off_t current_header_offset_;
|
D | macho_walker.cc | 90 off_t offset; in WalkHeader() 101 bool MachoWalker::ReadBytes(void *buffer, size_t size, off_t offset) { in ReadBytes() 119 bool MachoWalker::CurrentHeader(struct mach_header_64 *header, off_t *offset) { in CurrentHeader() 131 off_t &offset) { in FindHeader() 202 bool MachoWalker::WalkHeaderAtOffset(off_t offset) { in WalkHeaderAtOffset() 228 bool MachoWalker::WalkHeader64AtOffset(off_t offset) { in WalkHeader64AtOffset() 248 bool MachoWalker::WalkHeaderCore(off_t offset, uint32_t number_of_commands, in WalkHeaderCore()
|
/external/openssh/ |
D | progressmeter.c | 55 static void format_size(char *, int, off_t); 56 static void format_rate(char *, int, off_t); 68 static off_t start_pos; /* initial position of transfer */ 69 static off_t end_pos; /* ending position of transfer */ 70 static off_t cur_pos; /* transfer position as of last refresh */ 71 static volatile off_t *counter; /* progress counter */ 88 format_rate(char *buf, int size, off_t bytes) in format_rate() 107 format_size(char *buf, int size, off_t bytes) in format_size() 123 off_t transferred; in refresh_progress_meter() 126 off_t bytes_left; in refresh_progress_meter() [all …]
|
/external/openssh/openbsd-compat/ |
D | sha2.h | 88 char *SHA224FileChunk(const char *, char *, off_t, off_t) 107 char *SHA256FileChunk(const char *, char *, off_t, off_t) 126 char *SHA384FileChunk(const char *, char *, off_t, off_t) 145 char *SHA512FileChunk(const char *, char *, off_t, off_t) 164 char *SHA512_256FileChunk(const char *, char *, off_t, off_t)
|
/external/rust/crates/nix/src/sys/ |
D | sendfile.rs | 5 use libc::{self, off_t}; 26 offset: Option<&mut off_t>, in sendfile() argument 131 offset: off_t, 137 ) -> (Result<()>, off_t) { 143 let mut bytes_sent: off_t = 0; 152 &mut bytes_sent as *mut off_t, 184 offset: off_t, 185 count: Option<off_t>, 188 ) -> (Result<()>, off_t) { 196 &mut len as *mut off_t,
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-posix-return.cpp | 8 typedef long off_t; typedef 23 extern "C" int posix_fadvise(int fd, off_t offset, off_t len, int advice); 24 extern "C" int posix_fallocate(int fd, off_t offset, off_t len); 168 int posix_fadvise(int fd, off_t offset, off_t len, int advice); 190 int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
/external/e2fsprogs/lib/blkid/ |
D | llseek.c | 100 if ((sizeof(off_t) >= sizeof(blkid_loff_t)) || in blkid_llseek() 101 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1)))) in blkid_llseek() 102 return lseek(fd, (off_t) offset, whence); in blkid_llseek() 136 if ((sizeof(off_t) < sizeof(blkid_loff_t)) && in blkid_llseek() 137 (offset >= ((blkid_loff_t) 1 << ((sizeof(off_t)*8) - 1)))) { in blkid_llseek() 141 return lseek(fd, (off_t) offset, origin); in blkid_llseek()
|
/external/libevent/cmake/ |
D | CheckFileOffsetBits.c | 3 #define KB ((off_t)1024) 4 #define MB ((off_t)1024 * KB) 5 #define GB ((off_t)1024 * MB) 6 #define TB ((off_t)1024 * GB)
|
/external/mtools/ |
D | llong.h | 27 # define MT_OFF_T off_t 30 # define MT_SIZE_T off_t 65 # define MT_OFF_T off_t 96 # define SEEK_BITS (sizeof(off_t) * 8 - 1) 103 extern off_t truncBytes32(mt_off_t off);
|
/external/strace/linux/ |
D | asm_stat.h | 11 # undef off_t 22 # define off_t __kernel_off_t macro 35 # undef off_t 46 # define off_t off_t macro
|
/external/ltp/testcases/kernel/fs/fsx-linux/ |
D | fsx-linux.c | 101 off_t file_size = 0; 102 off_t biggest = 0; 269 void save_buffer(char *buffer, off_t bufferlength, int fd) in save_buffer() 271 off_t ret; in save_buffer() 282 off_t size_by_seek = lseek(fd, (off_t) 0, SEEK_END); in save_buffer() 283 if (size_by_seek == (off_t) - 1) in save_buffer() 294 ret = lseek(fd, (off_t) 0, SEEK_SET); in save_buffer() 295 if (ret == (off_t) - 1) in save_buffer() 475 off_t size_by_seek; in check_size() 482 size_by_seek = lseek(fd, (off_t) 0, SEEK_END); in check_size() [all …]
|
/external/strace/tests/ |
D | fallocate.c | 48 static const off_t bogus_offset = (off_t) 0xbadc0dedda7a1057LLU; in main() 49 static const off_t bogus_len = (off_t) 0xbadfaceca7b0d1e5LLU; in main()
|
/external/strace/tests-mx32/ |
D | fallocate.c | 48 static const off_t bogus_offset = (off_t) 0xbadc0dedda7a1057LLU; in main() 49 static const off_t bogus_len = (off_t) 0xbadfaceca7b0d1e5LLU; in main()
|
/external/strace/tests-m32/ |
D | fallocate.c | 48 static const off_t bogus_offset = (off_t) 0xbadc0dedda7a1057LLU; in main() 49 static const off_t bogus_len = (off_t) 0xbadfaceca7b0d1e5LLU; in main()
|
/external/llvm-project/lldb/source/Host/common/ |
D | File.cpp | 124 off_t File::SeekFromStart(off_t offset, Status *error_ptr) { in SeekFromStart() 130 off_t File::SeekFromCurrent(off_t offset, Status *error_ptr) { in SeekFromCurrent() 136 off_t File::SeekFromEnd(off_t offset, Status *error_ptr) { in SeekFromEnd() 142 Status File::Read(void *dst, size_t &num_bytes, off_t &offset) { in Read() 146 Status File::Write(const void *src, size_t &num_bytes, off_t &offset) { in Write() 368 off_t NativeFile::SeekFromStart(off_t offset, Status *error_ptr) { in SeekFromStart() 369 off_t result = 0; in SeekFromStart() 394 off_t NativeFile::SeekFromCurrent(off_t offset, Status *error_ptr) { in SeekFromCurrent() 395 off_t result = -1; in SeekFromCurrent() 420 off_t NativeFile::SeekFromEnd(off_t offset, Status *error_ptr) { in SeekFromEnd() [all …]
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.h | 107 int mode, off_t offset, off_t len); 109 int mode, off_t offset, off_t len); 111 off_t length); 113 off_t length); 121 int prot, int flags, int fd, off_t offset); 123 size_t length, int prot, int flags, int fd, off_t offset);
|
/external/ltp/include/lapi/ |
D | fallocate.h | 62 __LONG_LONG_PAIR((off_t) (offset >> 32), in fallocate() 63 (off_t) offset), in fallocate() 64 __LONG_LONG_PAIR((off_t) (len >> 32), in fallocate() 65 (off_t) len)); in fallocate()
|
/external/e2fsprogs/lib/ext2fs/ |
D | llseek.c | 114 if (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1))) in ext2fs_llseek() 115 return lseek(fd, (off_t) offset, origin); in ext2fs_llseek() 134 if ((sizeof(off_t) < sizeof(ext2_loff_t)) && in ext2fs_llseek() 135 (offset >= ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))) { in ext2fs_llseek() 139 return lseek (fd, (off_t) offset, origin); in ext2fs_llseek()
|
/external/kmod/libkmod/ |
D | libkmod-builtin.c | 44 off_t pos; 47 off_t next; 118 static off_t get_string(struct kmod_builtin_iter *iter, off_t offset, in get_string() 141 offset += (off_t) partsz; in get_string() 172 off_t pos, offset, modlen; in kmod_builtin_iter_next() 181 off_t len; in kmod_builtin_iter_next() 225 off_t offset; in kmod_builtin_iter_get_modname() 270 off_t pos, offset; in kmod_builtin_get_modinfo()
|
/external/libcups/cups/ |
D | file.h | 30 typedef off_t ssize_t; /* @private@ */ 81 extern off_t cupsFileRewind(cups_file_t *fp) _CUPS_API_1_2; 82 extern off_t cupsFileSeek(cups_file_t *fp, off_t pos) _CUPS_API_1_2; 86 extern off_t cupsFileTell(cups_file_t *fp) _CUPS_API_1_2;
|