Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 – 25 of 603) sorted by relevance

12345678910>>...25

/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvreader.cc69 status = _fseeki64(m_file, 0L, SEEK_SET); in GetFileSize()
74 fseek(m_file, 0L, SEEK_SET); in GetFileSize()
117 const int status = _fseeki64(m_file, offset, SEEK_SET); in Read()
122 fseeko64(m_file, static_cast<off_t>(offset), SEEK_SET); in Read()
124 fseeko(m_file, static_cast<off_t>(offset), SEEK_SET); in Read()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvreader.cc69 status = _fseeki64(m_file, 0L, SEEK_SET); in GetFileSize()
74 fseek(m_file, 0L, SEEK_SET); in GetFileSize()
117 const int status = _fseeki64(m_file, offset, SEEK_SET); in Read()
122 fseeko64(m_file, static_cast<off_t>(offset), SEEK_SET); in Read()
124 fseeko(m_file, static_cast<off_t>(offset), SEEK_SET); in Read()
/external/e2fsprogs/lib/ext2fs/
Dqcow2.c67 if (ext2fs_llseek(fd, 0, SEEK_SET < 0)) { in qcow2_read_header()
100 if (ext2fs_llseek(fd, img->l1_offset, SEEK_SET) < 0) { in qcow2_read_l1_table()
124 if (ext2fs_llseek(fd, offset, SEEK_SET) < 0) in qcow2_read_l2_table()
141 if (ext2fs_llseek(fdout, off_out, SEEK_SET) < 0) in qcow2_copy_data()
144 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data()
203 if (ext2fs_llseek(raw_fd, 0, SEEK_SET) < 0) { in qcow2_write_raw_image()
252 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) { in qcow2_write_raw_image()
/external/ltp/testcases/kernel/io/direct_io/
Ddiotest4.c103 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f()
118 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f()
144 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s()
155 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s()
250 ret = lseek(fd, offset, SEEK_SET); in main()
266 lseek(fd, 0, SEEK_SET); in main()
287 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
394 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
420 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
469 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
[all …]
Ddiotest1.c145 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main()
148 SAFE_LSEEK(cleanup, fd2, offset, SEEK_SET); in main()
153 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl36.c92 .l_whence = SEEK_SET, in fn_ofd_w()
105 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_w()
132 .l_whence = SEEK_SET, in fn_posix_w()
144 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_w()
171 .l_whence = SEEK_SET, in fn_ofd_r()
185 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_r()
232 .l_whence = SEEK_SET, in fn_posix_r()
245 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_r()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress07.c169 if (lseek64(rwfd, sparseoff, SEEK_SET) < 0) {
171 if (lseek(rwfd, sparseoff, SEEK_SET) < 0) {
229 if (lseek64(rwfd, sparseoff + e_pageskip * pagesize, SEEK_SET) == -1) {
231 if (lseek(rwfd, sparseoff + e_pageskip * pagesize, SEEK_SET) == -1) {
248 if (lseek64(rofd, sparseoff, SEEK_SET) == -1) {
250 if (lseek(rofd, sparseoff, SEEK_SET) == -1) {
/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek02.c52 {&bad_fd, SEEK_SET, EBADF},
58 {&pfd1, SEEK_SET, ESPIPE},
61 {&pfds[0], SEEK_SET, ESPIPE},
64 {&pfd2, SEEK_SET, ESPIPE},
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.c66 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0) in main()
69 lseek(fd, offset, SEEK_SET); in main()
74 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0) in main()
/external/sfntly/cpp/src/sfntly/port/
Dfile_input_stream.cc121 fseek(file_, position_, SEEK_SET); in Skip()
144 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
147 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
167 fseek(file_, 0, SEEK_SET); in Open()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvwriter.cc80 return _fseeki64(file_, position, SEEK_SET); in Position()
82 return fseeko64(file_, static_cast<off_t>(position), SEEK_SET); in Position()
84 return fseeko(file_, static_cast<off_t>(position), SEEK_SET); in Position()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvwriter.cc80 return _fseeki64(file_, position, SEEK_SET); in Position()
82 return fseeko64(file_, static_cast<off_t>(position), SEEK_SET); in Position()
84 return fseeko(file_, static_cast<off_t>(position), SEEK_SET); in Position()
/external/google-breakpad/src/client/mac/handler/
Dbreakpad_nlist_64.cc207 if (lseek(fd, 0, SEEK_SET) == -1) { in __breakpad_fdnlist()
263 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist()
275 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist()
335 if (lseek(fd, sa, SEEK_SET) == -1) { in __breakpad_fdnlist()
365 if (lseek(fd, ss+q->n_un.n_strx, SEEK_SET) == -1) { in __breakpad_fdnlist()
397 if (lseek(fd, savpos, SEEK_SET) == -1) { in __breakpad_fdnlist()
/external/curl/src/
Dtool_cb_see.c63 if(whence != SEEK_SET) in tool_seek_cb()
67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET)) in tool_seek_cb()
123 if(_lseeki64(fd, where, SEEK_SET) < 0) in tool_ftruncate64()
/external/ltp/testcases/kernel/syscalls/pwrite/
Dpwrite01.c135 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in main()
153 l_seek(fildes, K3, SEEK_SET, K3); in main()
188 l_seek(fildes, 0, SEEK_SET, 0); in main()
284 offloc = lseek(fildes, count * K1, SEEK_SET); in check_file_contents()
/external/f2fs-tools/lib/
Dlibf2fs_io.c73 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()
333 lseek(c.devices[0].fd, 0, SEEK_SET); in f2fs_finalize_device()
/external/clang/test/Analysis/
Dstream.c5 #define SEEK_SET 0 /* Seek from beginning of file. */ macro
25 fseek(p, 1, SEEK_SET); // expected-warning {{Stream pointer might be NULL}} in f2()
45 fseek(p, 1, SEEK_SET); // no-warning in f5()
/external/ltp/testcases/kernel/syscalls/pread/
Dpread01.c133 l_seek(fildes, 0, SEEK_SET, 0); in main()
176 l_seek(fildes, K4, SEEK_SET, K4); in main()
219 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in setup()
232 l_seek(fildes, K3, SEEK_SET, K3); in setup()
/external/fsck_msdos/
Dboot.c131 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
157 boot->bpbBytesPerSec, SEEK_SET) in readboot()
178 SEEK_SET) in readboot()
264 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
278 if (lseek(dosfs, boot->bpbFSInfo * boot->bpbBytesPerSec, SEEK_SET) in writefsinfo()
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev07.c69 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec()
84 SAFE_LSEEK(fd, 0, SEEK_SET); in test_partially_valid_iovec()
111 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec()
/external/strace/tests/
Dlseek.c46 long long rc = lseek(-1, offset, SEEK_SET); in main()
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
/external/strace/tests-m32/
Dlseek.c46 long long rc = lseek(-1, offset, SEEK_SET); in main()
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
/external/strace/tests-mx32/
Dlseek.c46 long long rc = lseek(-1, offset, SEEK_SET); in main()
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
/external/strace/xlat/
Dwhence_codes.h12 #if defined(SEEK_SET) || (defined(HAVE_DECL_SEEK_SET) && HAVE_DECL_SEEK_SET)
13 XLAT(SEEK_SET),
/external/swiftshader/third_party/LLVM/runtime/libprofile/
DPathProfiling.c103 lseek(outFile, arrayHeaderLocation, SEEK_SET); in writeArrayTable()
111 lseek(outFile, arrayCurrentLocation, SEEK_SET); in writeArrayTable()
254 lseek(outFile, headerLocation, SEEK_SET); in pathProfAtExitHandler()
262 lseek(outFile, currentLocation, SEEK_SET); in pathProfAtExitHandler()

12345678910>>...25