Home
last modified time | relevance | path

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

123

/external/strace/linux/
Dasm_stat.h10 # undef off64_t
21 # define off64_t __kernel_off64_t macro
34 # undef off64_t
45 # define off64_t off64_t macro
/external/libchrome/libchrome_tools/patch/
Dfile_posix.patch13 static_assert(sizeof(int64_t) == sizeof(off64_t), "off64_t must be 64 bits");
14 return lseek64(file_.get(), static_cast<off64_t>(offset),
24 static_assert(sizeof(int64_t) == sizeof(off64_t),
/external/f2fs-tools/lib/
Dlibf2fs_io.c58 typedef off_t off64_t; typedef
60 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64()
73 if (lseek64(c.kd, (off64_t)offset, SEEK_SET) < 0) in dev_read_version()
173 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_read()
212 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_write()
226 if (lseek64(c.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump()
247 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill()
/external/ltp/testcases/kernel/syscalls/sync_file_range/
Dsync_file_range01.c113 off64_t offset;
114 off64_t nbytes;
196 static inline long syncfilerange(int fd, off64_t offset, off64_t nbytes, in syncfilerange()
/external/strace/tests/
Dsync_file_range2.c42 const off64_t offset = 0xdeadbeefbadc0ded; in main()
43 const off64_t nbytes = 0xfacefeedcafef00d; in main()
Dsync_file_range.c42 const off64_t offset = 0xdeadbeefbadc0dedULL; in main()
43 const off64_t nbytes = 0xfacefeedcafef00dULL; in main()
/external/strace/tests-m32/
Dsync_file_range2.c42 const off64_t offset = 0xdeadbeefbadc0ded; in main()
43 const off64_t nbytes = 0xfacefeedcafef00d; in main()
Dsync_file_range.c42 const off64_t offset = 0xdeadbeefbadc0dedULL; in main()
43 const off64_t nbytes = 0xfacefeedcafef00dULL; in main()
/external/strace/tests-mx32/
Dsync_file_range2.c42 const off64_t offset = 0xdeadbeefbadc0ded; in main()
43 const off64_t nbytes = 0xfacefeedcafef00d; in main()
Dsync_file_range.c42 const off64_t offset = 0xdeadbeefbadc0dedULL; in main()
43 const off64_t nbytes = 0xfacefeedcafef00dULL; in main()
/external/tensorflow/tensorflow/contrib/android/
Dasset_manager_filesystem.cc98 off64_t new_offset = AAsset_seek64(asset.get(), offset, SEEK_SET); in Read()
99 off64_t length = AAsset_getLength64(asset.get()); in Read()
104 const off64_t region_left = in Read()
105 std::min(length - new_offset, static_cast<off64_t>(to_read)); in Read()
158 off64_t start, length; in NewReadOnlyMemoryRegionFromFile()
/external/libbrillo/brillo/streams/
Dfile_stream.h43 virtual off64_t Seek(off64_t offset, int whence) = 0;
46 virtual int Truncate(off64_t length) const = 0;
Dfile_stream.cc49 off64_t Seek(off64_t offset, int whence) override { in Seek()
67 int Truncate(off64_t length) const override { in Truncate()
403 off64_t pos = fd_interface_->Seek(0, SEEK_CUR); in GetPosition()
404 const off64_t min_pos = 0; in GetPosition()
431 off64_t pos = fd_interface_->Seek(offset, raw_whence); in Seek()
/external/ltp/testcases/kernel/fs/ftest/
Dftest05.c89 static off64_t max_size; /* max file size */
255 #define CHUNK(i) (((off64_t)i) * csize)
331 if (lseek64(fd, CHUNK(chunk), 0) < (off64_t) 0) { in dotest()
413 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()
/external/libdivsufsort/CMakeModules/
DCheckLFS.cmake51 # LFS type2: 8 <= sizeof(off64_t), fopen64, fseeko64, ftello64
53 check_type_size("off64_t" SIZEOF_OFF64_T)
59 set(LFS_OFF_T "off64_t")
/external/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;
/external/e2fsprogs/util/
Dcopy_sparse.c95 off64_t offset = 0, should_be; in copy_sparse_file()
152 should_be = ((off64_t) lb) * bs; in copy_sparse_file()
/external/e2fsprogs/contrib/
Dfsstress.c246 off64_t maxfsize;
304 int truncate64_path(pathname_t *, off64_t);
447 if (lseek64(fd, (off64_t) (MAXFSIZE32 + 1ULL), SEEK_SET) < 0) in main()
448 maxfsize = (off64_t) MAXFSIZE32; in main()
450 maxfsize = (off64_t) MAXFSIZE; in main()
1351 int truncate64_path(pathname_t * name, off64_t length) in truncate64_path()
1803 off64_t off; in dread_f()
1868 off = (off64_t) (lr % stb.st_size); in dread_f()
1904 off64_t off; in dwrite_f()
1958 off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); in dwrite_f()
[all …]
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c219 off64_t maxfsize;
277 int truncate64_path(pathname_t *, off64_t);
420 if (lseek64(fd, (off64_t) (MAXFSIZE32 + 1ULL), SEEK_SET) < 0) in main()
421 maxfsize = (off64_t) MAXFSIZE32; in main()
423 maxfsize = (off64_t) MAXFSIZE; in main()
1326 int truncate64_path(pathname_t * name, off64_t length) in truncate64_path()
1778 off64_t off; in dread_f()
1843 off = (off64_t) (lr % stb.st_size); in dread_f()
1879 off64_t off; in dwrite_f()
1933 off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); in dwrite_f()
[all …]
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest2.c81 int runtest(int fd_r, int fd_w, int iter, off64_t offset, int action) in runtest()
139 off64_t offset = 0; /* Offset. Default 0 */ in main()
/external/compiler-rt/lib/interception/
Dinterception_type_test.cc28 COMPILER_CHECK(sizeof(::OFF64_T) == sizeof(off64_t));
/external/ltp/testcases/kernel/syscalls/sendfile/
DMakefile24 %_64: CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DOFF_T=off64_t -D_GNU_SOURCE

123