Home
last modified time | relevance | path

Searched refs:off64_t (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/musl/porting/liteos_m/kernel/src/stdio/
D__stdio_seek.c5 static off64_t __stdio_lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence)
7 off64_t ret;
9off64_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/uniproton/kernel/src/stdio/
D__stdio_seek.c5 static off64_t __stdio_lseek64(int fd, int offsetHigh, int offsetLow, off64_t *result, int whence)
7 off64_t ret;
9off64_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/
Dfs_pread64.c66 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()
Dfs_pwrite64.c66 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()
Dfs_lseek64.c76 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()
Dfs_truncate64.c63 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/
Dlibf2fs_io.c73 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()
313 static int dcache_update_rw(int fd, void *buf, off64_t offset, in dcache_update_rw()
316 off64_t blk; in dcache_update_rw()
318 off64_t start; in dcache_update_rw()
382 int dcache_update_cache(int fd, void *buf, off64_t offset, size_t count) in dcache_update_cache()
[all …]
/third_party/musl/porting/liteos_a/kernel/include/
Dunistd.h201 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);
Dfcntl.h183 int fallocate64(int, int, off64_t, off64_t);
/third_party/ltp/testcases/kernel/syscalls/sync_file_range/
Dsync_file_range02.c34 off64_t sync_off;
35 off64_t sync_size;
37 off64_t write_off;
Dsync_file_range01.c47 off64_t offset;
48 off64_t nbytes;
/third_party/NuttX/fs/vfs/include/
Dfile.h145 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/
Dftest05.c89 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()
Dftest08.c82 static off64_t max_size; /* max file size */
221 #define CHUNK(i) ((((off64_t)i) * testers + me) * csize)
456 (off64_t) 0) { in dotest()
Dftest06.c271 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/
Dsync_file_range.h25 static inline long sync_file_range(int fd, off64_t offset, off64_t nbytes, in sync_file_range()
/third_party/rust/crates/rustix/src/backend/libc/
Doffset.rs28 lseek64 as libc_lseek, off64_t as libc_off_t,
245 offset: c::off64_t, in preadv64() argument
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, in pwritev64() argument
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/
Dmmapstress01.c124 off64_t filesize = FILESIZE;
125 off64_t sparseoffset = 0;
157 off64_t bytes_left;
462 off64_t filesize;
463 off64_t offset;
Dmmapstress10.c141 off64_t filesize = FILESIZE;
142 off64_t sparseoffset = 0;
185 off64_t bytes_left;
526 off64_t filesize;
527 off64_t offset;
705 off64_t off;
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DNDKExtractor.cpp38 static_cast<off64_t>(start), in decode()
39 static_cast<off64_t>(length)); in decode()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dlseek.c37 off64_t DataArry[TEST_BUFFER_SIZE] = {1, 2, 4, 8}; in lseek64_0100()
38 off64_t offset = 0; in lseek64_0100()
/third_party/gptfdisk/
Ddiskio-unix.cc43 #define off64_t off_t macro
316 off64_t seekTo, sought; in Seek()
433 off64_t bytes = 0; // size in bytes in DiskSize()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsendfile.h15 #define off64_t off_t macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsendfile.h15 #define off64_t off_t macro
/third_party/musl/ndk_musl_include/sys/
Dsendfile.h15 #define off64_t off_t macro

1234567