/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | __stdio_seek.c | 5 static off64_t __stdio_lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence)
7 off64_t ret;
9 off64_t offset = ((off64_t)offsetHigh << 32) + (uint)offsetLow; /* 32: offsetHigh is high 32 bits */
15 return (off64_t)-get_errno();
23 return (off64_t)-EINVAL;
32 return (off64_t)-get_errno();
40 return (off64_t)-get_errno();
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | __stdio_seek.c | 5 static off64_t __stdio_lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence)
7 off64_t ret;
9 off64_t offset = ((off64_t)offsetHigh << 32) + (uint)offsetLow; /* 32: offsetHigh is high 32 bits */
15 return (off64_t)-get_errno();
23 return (off64_t)-EINVAL;
32 return (off64_t)-get_errno();
40 return (off64_t)-get_errno();
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_pread64.c | 66 off64_t offset)
in file_pread64() 68 off64_t savepos;
in file_pread64() 69 off64_t pos;
in file_pread64() 78 if (savepos == (off64_t)-1)
in file_pread64() 88 if (pos == (off64_t)-1)
in file_pread64() 103 if (pos == (off64_t)-1 && ret >= 0)
in file_pread64() 146 ssize_t pread64(int fd, void *buf, size_t nbytes, off64_t offset)
in pread64()
|
H A D | fs_pwrite64.c | 66 size_t nbytes, off64_t offset)
in file_pwrite64() 68 off64_t savepos;
in file_pwrite64() 69 off64_t pos;
in file_pwrite64() 78 if (savepos == (off64_t)-1)
in file_pwrite64() 88 if (pos == (off64_t)-1)
in file_pwrite64() 103 if (pos == (off64_t)-1 && ret >= 0)
in file_pwrite64() 150 ssize_t pwrite64(int fd, const void *buf, size_t nbytes, off64_t offset)
in pwrite64()
|
H A D | fs_lseek64.c | 76 off64_t file_seek64(struct file *filep, off64_t offset, int whence) in file_seek64() 80 off64_t pos; in file_seek64() 141 return (off64_t)VFS_ERROR; in file_seek64() 181 off64_t lseek64(int fd, off64_t offset, int whence) in lseek64() 191 return (off64_t)VFS_ERROR; in lseek64()
|
H A D | fs_truncate64.c | 63 static int file_truncate64(struct file *filep, off64_t length) in file_truncate64() 138 int ftruncate64(int fd, off64_t length) in ftruncate64()
|
/third_party/f2fs-tools/lib/ |
H A D | libf2fs_io.c | 73 typedef off_t off64_t; typedef 75 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64() 87 static off64_t *dcache_blk; /* which block it cached */ 177 if ((dcache_blk = (off64_t *) malloc(sizeof(off64_t) * n)) == NULL in dcache_alloc_all() 262 static long dcache_find(off64_t blk) in dcache_find() 283 static int dcache_io_read(int fd, long entry, off64_t offset, off64_t blk) in dcache_io_read() 310 static int dcache_update_rw(int fd, void *buf, off64_t offset, in dcache_update_rw() 313 off64_t bl in dcache_update_rw() [all...] |
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 201 off64_t lseek64(int, off64_t, int); 202 ssize_t pread64(int, void *, size_t, off64_t); 203 ssize_t pwrite64(int, const void *, size_t, off64_t); 204 int truncate64(const char *, off64_t); 205 int ftruncate64(int, off64_t); 207 off64_t _lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence);
|
H A D | fcntl.h | 183 int fallocate64(int, int, off64_t, off64_t);
|
/third_party/NuttX/fs/vfs/include/ |
H A D | file.h | 145 int (*fallocate64)(struct file *filep, int mode, off64_t offset, off64_t len); 461 off64_t file_seek64(struct file *filep, off64_t offset, int whence);
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest05.c | 89 static off64_t max_size; /* max file size */ 254 #define CHUNK(i) (((off64_t)i) * csize) 330 if (lseek64(fd, CHUNK(chunk), 0) < (off64_t) 0) { in dotest() 412 if (lseek64(fd, -((off64_t) xfr), 1) < (off64_t) 0) { in dotest()
|
H A D | ftest08.c | 82 static off64_t max_size; /* max file size */ 221 #define CHUNK(i) ((((off64_t)i) * testers + me) * csize) 456 (off64_t) 0) { in dotest()
|
H A D | ftest06.c | 271 off64_t seekval; in crfile() 286 seekval = lseek64(fd, (off64_t) (rand() % M), 0); in crfile() 292 seekval = lseek(fd, -((off64_t) sizeof(crmsg) - 1), 1); in crfile()
|
/third_party/ltp/include/lapi/ |
H A D | sync_file_range.h | 19 static inline long sync_file_range(int fd, off64_t offset, off64_t nbytes, in sync_file_range()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl_common.h | 21 off64_t l_start; 22 off64_t l_len;
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | offset.rs | 28 lseek64 as libc_lseek, off64_t as libc_off_t, 245 offset: c::off64_t, 252 fn preadv64(c::c_int, *const c::iovec, c::c_int, c::off64_t) -> c::ssize_t in preadv64() 278 offset: c::off64_t, 282 fn pwritev64(c::c_int, *const c::iovec, c::c_int, c::off64_t) -> c::ssize_t in pwritev64()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress10.c | 140 off64_t filesize = FILESIZE; 141 off64_t sparseoffset = 0; 184 off64_t bytes_left; 525 off64_t filesize; 526 off64_t offset; 704 off64_t off;
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | lseek.c | 37 off64_t DataArry[TEST_BUFFER_SIZE] = {1, 2, 4, 8}; in lseek64_0100() 38 off64_t offset = 0; in lseek64_0100()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/ |
H A D | NDKExtractor.cpp | 38 static_cast<off64_t>(start), in decode() 39 static_cast<off64_t>(length)); in decode()
|
/third_party/gptfdisk/ |
H A D | diskio-unix.cc | 43 #define off64_t off_t macro 320 off64_t seekTo, sought; in Seek() 437 off64_t bytes = 0; // size in bytes in DiskSize()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | sendfile.h | 15 #define off64_t off_t macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | sendfile.h | 15 #define off64_t off_t macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | sendfile.h | 15 #define off64_t off_t macro
|
/third_party/musl/include/sys/ |
H A D | sendfile.h | 15 #define off64_t off_t macro
|
/third_party/ltp/testcases/kernel/fs/fsstress/ |
H A D | fsstress.c | 220 off64_t maxfsize; 278 int truncate64_path(pathname_t *, off64_t); 421 if (lseek64(fd, (off64_t) (MAXFSIZE32 + 1ULL), SEEK_SET) < 0) in main() 422 maxfsize = (off64_t) MAXFSIZE32; in main() 424 maxfsize = (off64_t) MAXFSIZE; in main() 1327 int truncate64_path(pathname_t * name, off64_t length) in truncate64_path() 1779 off64_t off; in dread_f() 1844 off = (off64_t) (lr % stb.st_size); in dread_f() 1880 off64_t off; in dwrite_f() 1934 off = (off64_t) (l in dwrite_f() [all...] |