Home
last modified time | relevance | path

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

123456

/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_pwrite64.c63 size_t nbytes, off64_t offset) in file_pwrite64()
65 off64_t savepos; in file_pwrite64()
66 off64_t pos; in file_pwrite64()
75 if (savepos == (off64_t)-1) in file_pwrite64()
85 if (pos == (off64_t)-1) in file_pwrite64()
100 if (pos == (off64_t)-1 && ret >= 0) in file_pwrite64()
147 ssize_t pwrite64(int fd, const void *buf, size_t nbytes, off64_t offset) in pwrite64()
Dfs_pread64.c63 off64_t offset) in file_pread64()
65 off64_t savepos; in file_pread64()
66 off64_t pos; in file_pread64()
75 if (savepos == (off64_t)-1) in file_pread64()
85 if (pos == (off64_t)-1) in file_pread64()
100 if (pos == (off64_t)-1 && ret >= 0) in file_pread64()
143 ssize_t pread64(int fd, void *buf, size_t nbytes, off64_t offset) in pread64()
Dfs_lseek64.c73 off64_t file_seek64(struct file *filep, off64_t offset, int whence) in file_seek64()
77 off64_t pos; in file_seek64()
138 return (off64_t)VFS_ERROR; in file_seek64()
178 off64_t lseek64(int fd, off64_t offset, int whence) in lseek64()
188 return (off64_t)VFS_ERROR; in lseek64()
Dfs_truncate64.c60 static int file_truncate64(struct file *filep, off64_t length) in file_truncate64()
135 int ftruncate64(int fd, off64_t length) in ftruncate64()
/third_party/f2fs-tools/lib/
Dlibf2fs_io.c66 typedef off_t off64_t; typedef
68 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64()
80 static off64_t *dcache_blk; /* which block it cached */
170 if ((dcache_blk = (off64_t *) malloc(sizeof(off64_t) * n)) == NULL in dcache_alloc_all()
255 static long dcache_find(off64_t blk) in dcache_find()
276 static int dcache_io_read(int fd, long entry, off64_t offset, off64_t blk) in dcache_io_read()
306 static int dcache_update_rw(int fd, void *buf, off64_t offset, in dcache_update_rw()
309 off64_t blk; in dcache_update_rw()
311 off64_t start; in dcache_update_rw()
375 int dcache_update_cache(int fd, void *buf, off64_t offset, size_t count) in dcache_update_cache()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dslice.h27 #define off64_t off_t macro
43 ReadableSlice(const ReadableSlice &src, off64_t offset, size_t len) { in ReadableSlice()
47 …ReadableSlice(const ReadableSlice &src, off64_t offset) : ReadableSlice(src, offset, src.sz_ - off… in ReadableSlice()
100 WritableSlice(const WritableSlice &src, off64_t offset, size_t len);
101 WritableSlice(const WritableSlice &src, off64_t offset);
Dslice.cc20 WritableSlice::WritableSlice(const WritableSlice &src, off64_t offset, size_t len) : ReadableSlice(… in WritableSlice()
23 WritableSlice::WritableSlice(const WritableSlice &src, off64_t offset) in WritableSlice()
/third_party/musl/porting/liteos_a/kernel/include/
Dunistd.h195 off64_t lseek64(int, off64_t, int);
196 ssize_t pread64(int, void *, size_t, off64_t);
197 ssize_t pwrite64(int, const void *, size_t, off64_t);
198 int truncate64(const char *, off64_t);
199 int ftruncate64(int, off64_t);
201 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/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dstorage_container.h51 Status Insert(const std::vector<ReadableSlice> &buf, off64_t *offset) noexcept;
53 Status Write(const ReadableSlice &dest, off64_t offset) const noexcept;
55 Status Read(WritableSlice *dest, off64_t offset) const noexcept;
Dstorage_container.cc58 Status StorageContainer::Read(WritableSlice *dest, off64_t offset) const noexcept { in Read()
84 Status StorageContainer::Write(const ReadableSlice &dest, off64_t offset) const noexcept { in Write()
113 Status StorageContainer::Insert(const std::vector<ReadableSlice> &buf, off64_t *offset) noexcept { in Insert()
127 *offset = static_cast<off64_t>(addr); in Insert()
/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.h142 int (*fallocate64)(struct file *filep, int mode, off64_t offset, off64_t len);
458 off64_t file_seek64(struct file *filep, off64_t offset, int whence);
/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/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()
/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/ndk_musl_include/sys/
Dsendfile.h15 #define off64_t off_t macro
/third_party/musl/include/sys/
Dsendfile.h15 #define off64_t off_t macro

123456