Home
last modified time | relevance | path

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

12345678910>>...16

/external/yaffs2/yaffs2/direct/
Dyaffs_fileem.c100 lseek(filedisk.handle,0,SEEK_SET); in CheckInit()
129 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); in yflash_WriteChunkToNAND()
137 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); in yflash_WriteChunkToNAND()
159 lseek(filedisk.handle,chunkInNAND * 528,SEEK_SET); in yflash_ReadChunkFromNAND()
167 lseek(filedisk.handle,chunkInNAND * 528 + 512,SEEK_SET); in yflash_ReadChunkFromNAND()
198 lseek(filedisk.handle, blockNumber * 32 * 528, SEEK_SET); in yflash_EraseBlockInNAND()
Dyaffs_fileem2k.c157 lseek(h,pos,SEEK_SET); in yflash_WriteChunkWithTagsToNAND()
173 lseek(h,pos,SEEK_SET); in yflash_WriteChunkWithTagsToNAND()
225 lseek(h,pos,SEEK_SET); in yflash_ReadChunkWithTagsFromNAND()
235 lseek(h,pos,SEEK_SET); in yflash_ReadChunkWithTagsFromNAND()
289 …ek(h,((blockNo % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE + PAGE_DATA_SIZE,SEEK_SET); in yflash_MarkNANDBlockBad()
326 lseek(h,((blockNumber % BLOCKS_PER_HANDLE) * dev->nChunksPerBlock) * PAGE_SIZE,SEEK_SET); in yflash_EraseBlockInNAND()
/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.fd, (off64_t)offset, SEEK_SET) < 0) in dev_read()
42 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_write()
56 if (lseek64(config.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump()
68 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill()
/external/libvpx/libvpx/third_party/libwebm/
Dmkvreader.cpp75 status = _fseeki64(m_file, 0L, SEEK_SET); in GetFileSize()
80 fseek(m_file, 0L, SEEK_SET); in GetFileSize()
127 const int status = _fseeki64(m_file, offset, SEEK_SET); in Read()
132 fseek(m_file, offset, SEEK_SET); in Read()
/external/chromium_org/third_party/libvpx/source/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()
/external/jpeg/
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()
Djmem-android.c27 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
28 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
103 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
116 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
Djmemname.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
/external/qemu/distrib/jpeg-6b/
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()
Djmem-android.c27 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
28 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
103 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
116 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
Djmemname.c25 #ifndef SEEK_SET /* pre-ANSI systems may not define this; */
26 #define SEEK_SET 0 /* if not, assume 0 is correct */ macro
208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
/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/chromium_org/third_party/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/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/chromium_org/sql/test/
Dtest_helpers.cc83 if (0 != fseek(file.get(), 0, SEEK_SET)) in CorruptSizeInHeader()
104 if (0 != fseek(file.get(), 0, SEEK_SET)) in CorruptSizeInHeader()
135 if (0 != fseek(file.get(), page_ofs, SEEK_SET)) in CorruptTableOrIndex()
160 if (0 != fseek(file.get(), page_ofs, SEEK_SET)) in CorruptTableOrIndex()
168 if (0 != fseek(file.get(), page_ofs, SEEK_SET)) in CorruptTableOrIndex()
/external/strace/xlat/
Dwhence_codes.h4 #if defined(SEEK_SET) || (defined(HAVE_DECL_SEEK_SET) && HAVE_DECL_SEEK_SET)
5 XLAT(SEEK_SET),
/external/chromium_org/tools/relocation_packer/src/
Delf_file_unittest.cc67 ASSERT_EQ(0, fseek(temporary, 0, SEEK_SET)); in OpenRelocsTestFile()
68 ASSERT_EQ(0, lseek(fileno(temporary), 0, SEEK_SET)); in OpenRelocsTestFile()
100 ASSERT_EQ(0, fseek(first, 0, SEEK_SET)); in CheckFileContentsEqual()
101 ASSERT_EQ(0, fseek(second, 0, SEEK_SET)); in CheckFileContentsEqual()
/external/qemu/distrib/ext4_utils/src/
Dext4fixup.c92 ret = lseek64(fd, 1024, SEEK_SET); in read_sb()
112 ret = lseek64(fd, offset, SEEK_SET); in write_sb()
132 lseek64(fd, 0, SEEK_SET); in get_fs_fixup_state()
181 lseek64(fd, 0, SEEK_SET); in set_fs_fixup_state()
223 ret = lseek64(fd, info.len, SEEK_SET); in read_ext()
227 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
270 if (lseek64(fd, inode_offset, SEEK_SET) < 0) { in read_inode()
289 if (lseek64(fd, off, SEEK_SET) , 0) { in read_block()
312 if (lseek64(fd, off, SEEK_SET) < 0) { in write_block()
432 (info.block_size * (aux_info.first_data_block + 1)), SEEK_SET); in update_superblocks_and_bg_desc()
Dext2simg.c62 ret = lseek64(fd, 1024, SEEK_SET); in read_ext()
74 ret = lseek64(fd, info.len, SEEK_SET); in read_ext()
78 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
138 SEEK_SET); in build_sparse_ext()
/external/chromium_org/third_party/ots/test/
Dfile-stream.h32 if (!::_fseeki64(file_, position, SEEK_SET)) { in Seek()
37 if (!::fseeko(file_, position, SEEK_SET)) { in Seek()
/external/bsdiff/
Dbspatch.c116 if (fseeko(cpf, 32, SEEK_SET)) in main()
123 if (fseeko(dpf, 32 + bzctrllen, SEEK_SET)) in main()
130 if (fseeko(epf, 32 + bzctrllen + bzdatalen, SEEK_SET)) in main()
139 (lseek(fd,0,SEEK_SET)!=0) || in main()
/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/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-minimal.c105 fseek(fp, 0, SEEK_SET); in filename__read_build_id()
125 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
147 fseek(fp, phdr->p_offset, SEEK_SET); in filename__read_build_id()
174 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
196 fseek(fp, phdr->p_offset, SEEK_SET); in filename__read_build_id()
/external/valgrind/main/none/tests/
Dmmap_fcntl_bug.c32 initial = lseek(fd, 123, SEEK_SET); in main()
39 fl.l_whence = SEEK_SET; in main()

12345678910>>...16