Home
last modified time | relevance | path

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

12345678910>>...15

/external/e2fsprogs/lib/ext2fs/
Dqcow2.c62 if (ext2fs_llseek(fd, 0, SEEK_SET < 0)) { in qcow2_read_header()
95 if (ext2fs_llseek(fd, img->l1_offset, SEEK_SET) < 0) { in qcow2_read_l1_table()
119 if (ext2fs_llseek(fd, offset, SEEK_SET) < 0) in qcow2_read_l2_table()
136 if (ext2fs_llseek(fdout, off_out, SEEK_SET) < 0) in qcow2_copy_data()
139 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data()
188 if (ext2fs_llseek(raw_fd, 0, SEEK_SET) < 0) { in qcow2_write_raw_image()
237 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) in qcow2_write_raw_image()
/external/f2fs-tools/lib/
Dlibf2fs_io.c33 if (lseek64(config.kd, (off64_t)offset, SEEK_SET) < 0) in dev_read_version()
42 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_read()
60 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_write()
74 if (lseek64(config.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump()
86 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill()
/external/libvpx/libvpx/third_party/libwebm/
Dmkvreader.cpp68 status = _fseeki64(m_file, 0L, SEEK_SET); in GetFileSize()
73 fseek(m_file, 0L, SEEK_SET); in GetFileSize()
116 const int status = _fseeki64(m_file, offset, SEEK_SET); in Read()
121 fseek(m_file, offset, SEEK_SET); in Read()
Dmkvwriter.cpp80 return _fseeki64(file_, position, SEEK_SET); in Position()
82 return fseek(file_, position, SEEK_SET); in Position()
/external/opencv3/3rdparty/libjpeg/
Djmemansi.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
101 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
114 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
/external/strace/
Dlseek.c62 if (whence == SEEK_SET) in SYS_FUNC()
79 if (whence == SEEK_SET) in SYS_FUNC()
106 if (tcp->u_arg[4] == SEEK_SET) in SYS_FUNC()
/external/sfntly/cpp/src/sfntly/port/
Dfile_input_stream.cc119 fseek(file_, position_, SEEK_SET); in Skip()
142 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
145 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
165 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()
121 if(_lseeki64(fd, where, SEEK_SET) < 0) in tool_ftruncate64()
/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/strace/tests/
Dlseek.c49 rc = lseek(-1, offset, SEEK_SET); in main()
51 rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
/external/strace/xlat/
Dwhence_codes.h6 #if defined(SEEK_SET) || (defined(HAVE_DECL_SEEK_SET) && HAVE_DECL_SEEK_SET)
7 XLAT(SEEK_SET),
/external/fsck_msdos/
Dboot.c128 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
155 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
289 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
303 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
/external/toybox/toys/other/
Dmkswap.c35 xlseek(fd, 1024, SEEK_SET);
39 xlseek(fd, pagesize-10, SEEK_SET);
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c251 if (fseek(wFile->file, 0L, SEEK_SET) == 0) in WaveFileClose()
366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
393 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen()
/external/valgrind/none/tests/
Dmmap_fcntl_bug.c32 initial = lseek(fd, 123, SEEK_SET); in main()
39 fl.l_whence = SEEK_SET; in main()
/external/dng_sdk/source/
Ddng_file_stream.cpp92 if (fseek (fFile, (long) offset, SEEK_SET) != 0) in DoRead()
117 if (fseek (fFile, (uint32) offset, SEEK_SET) != 0) in DoWrite()
/external/e2fsprogs/e2fsck/
Dextend.c60 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
70 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
/external/deqp/framework/common/
DtcuResource.cpp72 fseek(m_file, curPos, SEEK_SET); in getSize()
83 fseek(m_file, (size_t)position, SEEK_SET); in setPosition()
/external/compiler-rt/test/msan/Linux/
Dfopencookie.cc54 fseek(f, 100, SEEK_SET); in main()
61 fseek(f, 100, SEEK_SET); in main()
/external/e2fsprogs/misc/
De2label.c60 if (lseek(fd, 1024, SEEK_SET) != 1024) { in open_e2fs()
97 if (lseek(fd, 1024, SEEK_SET) != 1024) { in change_label()
/external/toybox/toys/posix/
Dtail.c85 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET); in try_lseek()
99 if (pos != lseek(fd, pos, SEEK_SET)) { in try_lseek()
128 lseek(fd, bytes, SEEK_SET); in try_lseek()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dkeyfile.py51 def seek(self, pos, whence=os.SEEK_SET):
69 if whence == os.SEEK_SET:
/external/autotest/client/site_tests/platform_DMVerityBitCorruption/
Dplatform_DMVerityBitCorruption.py35 dev.seek(block_count * block_size, os.SEEK_SET)
39 dev.seek(block_count * block_size, os.SEEK_SET)
/external/icu/icu4c/source/samples/layout/
DUnicodeReader.cpp49 fseek(f, 0, SEEK_SET); in readFile()
82 fseek(f, signatureLength, SEEK_SET); in readFile()

12345678910>>...15