Home
last modified time | relevance | path

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

12345678910>>...28

/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/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/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/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()
390 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
416 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
465 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/llseek/
Dllseek03.c46 {SEEK_SET, 1, 1, 3, "bcd"},
51 {SEEK_SET, 8, 8, 0, NULL},
56 {SEEK_SET, 10, 10, 0, NULL},
64 case SEEK_SET: in str_whence()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl36.c77 .l_whence = SEEK_SET, in fn_ofd_w()
90 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_w()
117 .l_whence = SEEK_SET, in fn_posix_w()
129 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_w()
156 .l_whence = SEEK_SET, in fn_ofd_r()
170 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_r()
217 .l_whence = SEEK_SET, in fn_posix_r()
230 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_r()
/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek02.c35 {&bad_fd, SEEK_SET, EBADF},
41 {&pfd1, SEEK_SET, ESPIPE},
44 {&pfds[0], SEEK_SET, ESPIPE},
47 {&pfd2, SEEK_SET, ESPIPE},
/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/perfetto/src/profiling/common/
Dprofiler_guardrails_unittest.cc44 ASSERT_NE(lseek(f.fd(), 0, SEEK_SET), -1); in TEST()
64 ASSERT_NE(lseek(f.fd(), 0, SEEK_SET), -1); in TEST()
93 ASSERT_NE(lseek(f.fd(), 0, SEEK_SET), -1); in TEST()
121 ASSERT_NE(lseek(f.fd(), 0, SEEK_SET), -1); in TEST()
/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/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/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/sfntly/cpp/src/sfntly/port/
Dfile_input_stream.cc125 fseek(file_, position_, SEEK_SET); in Skip()
148 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
151 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
171 fseek(file_, 0, SEEK_SET); in Open()
/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/ms-tpm-20-ref/TPMCmd/Platform/src/
DNVMem.c102 fseek(s_NvFile, 0, SEEK_SET); in NvFileCommit()
130 case SEEK_SET: in NvFileSize()
133 fseek(s_NvFile, filePos, SEEK_SET); in NvFileSize()
192 long fileSize = NvFileSize(SEEK_SET); // get the file size and leave the in _plat__NVEnable()
/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/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/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/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/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/
Dlseek.c46 long long rc = lseek(-1, offset, SEEK_SET); in main()
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()

12345678910>>...28