Home
last modified time | relevance | path

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

1234567

/external/f2fs-tools/lib/
Dlibf2fs_io.c71 typedef off_t off64_t; typedef
73 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64()
85 static off64_t *dcache_blk; /* which block it cached */
175 if ((dcache_blk = (off64_t *) malloc(sizeof(off64_t) * n)) == NULL in dcache_alloc_all()
260 static long dcache_find(off64_t blk) in dcache_find()
281 static int dcache_io_read(int fd, long entry, off64_t offset, off64_t blk) in dcache_io_read()
311 static int dcache_update_rw(int fd, void *buf, off64_t offset, in dcache_update_rw()
314 off64_t blk; in dcache_update_rw()
316 off64_t start; in dcache_update_rw()
380 int dcache_update_cache(int fd, void *buf, off64_t offset, size_t count) in dcache_update_cache()
[all …]
/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/trace-cmd/lib/trace-cmd/include/
Dtrace-cmd-local.h88 off64_t offset;
94 off64_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off64_t offset, int whence);
/external/crosvm/base/src/sys/unix/
Dfile_traits.rs32 pub use libc::off64_t;
161 offset as $crate::platform::file_traits::lib::off64_t,
191 offset as $crate::platform::file_traits::lib::off64_t,
213 offset as $crate::platform::file_traits::lib::off64_t,
243 offset as $crate::platform::file_traits::lib::off64_t,
/external/strace/tests-m32/
Dsync_file_range.c42 const off64_t offset = 0xdeadbeefbadc0dedULL; in main()
43 const off64_t nbytes = 0xfacefeedcafef00dULL; in main()
Dsync_file_range2.c42 const off64_t offset = 0xdeadbeefbadc0ded; in main()
43 const off64_t nbytes = 0xfacefeedcafef00d; in main()
/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-mx32/
Dsync_file_range.c42 const off64_t offset = 0xdeadbeefbadc0dedULL; in main()
43 const off64_t nbytes = 0xfacefeedcafef00dULL; in main()
Dsync_file_range2.c42 const off64_t offset = 0xdeadbeefbadc0ded; in main()
43 const off64_t nbytes = 0xfacefeedcafef00d; in main()
/external/trace-cmd/lib/trace-cmd/
Dtrace-compress.c120 off64_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off64_t offset, int whence) in tracecmd_compress_lseek()
125 return (off64_t)-1; in tracecmd_compress_lseek()
138 return (off64_t)-1; in tracecmd_compress_lseek()
142 return (off64_t)-1; in tracecmd_compress_lseek()
681 off64_t offset; in tracecmd_compress_copy_from()
799 off64_t offset; in tracecmd_load_chunks_info()
808 if (offset == (off64_t)-1) in tracecmd_load_chunks_info()
836 if (lseek64(handle->fd, chunks[i].zsize, SEEK_CUR) == (off64_t)-1) in tracecmd_load_chunks_info()
842 if (lseek64(handle->fd, offset, SEEK_SET) == (off64_t)-1) in tracecmd_load_chunks_info()
Dtrace-output.c114 static inline off64_t do_lseek(struct tracecmd_output *handle, off_t offset, int whence) in do_lseek()
520 return (off64_t)-1; in out_write_section_header()
525 return (off64_t)-1; in out_write_section_header()
534 return (off64_t)-1; in out_write_section_header()
540 return (off64_t)-1; in out_write_section_header()
561 if (do_lseek(handle, offset, SEEK_SET) == (off64_t)-1) in out_update_section_header()
567 if (do_lseek(handle, current, SEEK_SET) == (off64_t)-1) in out_update_section_header()
589 if (offset == (off64_t)-1) in save_string_section()
639 if (offset == (off64_t)-1) in read_header_files()
967 if (offset == (off64_t)-1) in read_ftrace_files()
[all …]
/external/libbrillo/brillo/streams/
Dfile_stream.h47 virtual off64_t Seek(off64_t offset, int whence) = 0;
50 virtual int Truncate(off64_t length) const = 0;
Dfile_stream.cc52 off64_t Seek(off64_t offset, int whence) override { in Seek()
70 int Truncate(off64_t length) const override { in Truncate()
393 off64_t pos = fd_interface_->Seek(0, SEEK_CUR); in GetPosition()
394 const off64_t min_pos = 0; in GetPosition()
421 off64_t pos = fd_interface_->Seek(offset, raw_whence); in Seek()
/external/crosvm/cros_async/src/sys/unix/
Dpoll_source.rs107 offset as libc::off64_t, in read_to_vec()
155 offset as libc::off64_t, in read_to_mem()
229 offset as libc::off64_t, in write_from_vec()
278 offset as libc::off64_t, in write_from_mem()
317 file_offset as libc::off64_t, in fallocate()
318 len as libc::off64_t, in fallocate()
/external/tensorflow/tensorflow/tools/android/inference_interface/
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()
161 off64_t start, length; in NewReadOnlyMemoryRegionFromFile()
/external/ltp/include/lapi/
Dsync_file_range.h19 static inline long sync_file_range(int fd, off64_t offset, off64_t nbytes, in sync_file_range()
/external/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()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl_common.h21 off64_t l_start;
22 off64_t l_len;
/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/
Dmmapstress10.c140 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;
/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DNDKExtractor.cpp38 static_cast<off64_t>(start), in decode()
39 static_cast<off64_t>(length)); in decode()
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dfilesystem_test_helper.h106 using off64_t = std::int64_t; variable
108 using off64_t = ::off_t; variable
110 using ::off64_t;
123 inline int ftruncate64(int fd, off64_t length) { in ftruncate64()
223 static_cast<typename std::make_unsigned<utils::off64_t>::type>(
224 std::numeric_limits<utils::off64_t>::max())) {
243 fileno(file), static_cast<utils::off64_t>(size)) == -1) {
/external/erofs-utils/lib/
Dio.c175 ret = pwrite64(erofs_devfd, buf, len, (off64_t)offset); in dev_write()
280 ret = pread64(fd, buf, len, (off64_t)offset); in dev_read()
369 off64_t off64_in = *off_in, off64_out = *off_out; in erofs_copy_file_range()

1234567