Home
last modified time | relevance | path

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

1234567

/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()
Ddtest.c69 yaffs_lseek(outh,size-1,SEEK_SET); in make_pattern_file()
75 yaffs_lseek(outh,i,SEEK_SET); in make_pattern_file()
95 yaffs_lseek(h,i,SEEK_SET); in check_pattern_file()
155 size = yaffs_lseek(h,0,SEEK_SET); in dump_file()
232 yaffs_lseek(h,0,SEEK_SET); in create_resized_file_of_size()
678 r= yaffs_lseek(f,0,SEEK_SET); in long_test()
1008 r = yaffs_lseek(a,i * 500,SEEK_SET); in resize_stress_test()
1261 yaffs_lseek(a,0,SEEK_SET); in cache_bypass_bug_test()
1266 yaffs_lseek(a,0,SEEK_SET); in cache_bypass_bug_test()
1270 yaffs_lseek(a,0,SEEK_SET); in cache_bypass_bug_test()
[all …]
Dyaffsfs.h51 #ifndef SEEK_SET
52 #define SEEK_SET 0 macro
/external/zlib/examples/
Dgzlog.c167 (void)lseek(log->fd, 0, SEEK_SET); in gzlog_open()
207 (void)lseek(log->fd, log->last_off, SEEK_SET); in gzlog_open()
217 (void)lseek(log->fd, log->last_off + 5, SEEK_SET); in gzlog_open()
252 (void)lseek(log->fd, log->last_off, SEEK_SET); in gzlog_write()
286 (void)lseek(log->fd, log->mark_off, SEEK_SET); in recomp()
332 (void)lseek(log->fd, log->mark_off, SEEK_SET); in recomp()
353 (void)lseek(log->fd, log->extra, SEEK_SET); in recomp()
376 (void)lseek(log->fd, log->last_off, SEEK_SET); in gzlog_close()
399 (void)lseek(log->fd, log->extra + 8, SEEK_SET); in gzlog_close()
/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/fsck_msdos/
Dboot.c109 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
136 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
156 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
261 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
275 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
/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/qemu/block/
Dvmdk.c222 if (lseek(p_fd, 0x0, SEEK_SET) == -1) in vmdk_snapshot_create()
228 if (lseek(snp_fd, 0x0, SEEK_SET) == -1) in vmdk_snapshot_create()
238 if (lseek(p_fd, 0x200, SEEK_SET) == -1) in vmdk_snapshot_create()
260 if (lseek(snp_fd, 0x200, SEEK_SET) == -1) in vmdk_snapshot_create()
280 if (lseek(p_fd, rgd_offset, SEEK_SET) == -1) in vmdk_snapshot_create()
284 if (lseek(snp_fd, rgd_offset, SEEK_SET) == -1) in vmdk_snapshot_create()
292 if (lseek(p_fd, gd_offset, SEEK_SET) == -1) in vmdk_snapshot_create()
296 if (lseek(snp_fd, gd_offset, SEEK_SET) == -1) in vmdk_snapshot_create()
780 lseek(fd, le64_to_cpu(header.rgd_offset) << 9, SEEK_SET); in vmdk_create()
786 lseek(fd, le64_to_cpu(header.gd_offset) << 9, SEEK_SET); in vmdk_create()
[all …]
Dbochs.c149 lseek(s->fd, le32_to_cpu(bochs.header), SEEK_SET); in bochs_open()
200 lseek(s->fd, bitmap_offset + (extent_offset / 8), SEEK_SET); in seek_to_sector()
211 lseek(s->fd, block_offset, SEEK_SET); in seek_to_sector()
Dvpc.c281 lseek(s->fd, bitmap_offset, SEEK_SET); in get_sector_offset()
295 lseek(s->fd, bitmap_offset + (pageentry_index / 8), SEEK_SET); in get_sector_offset()
548 if (lseek(fd, 1536 + ((num_bat_entries * 4 + 511) & ~511), SEEK_SET) < 0) in vpc_create()
554 if (lseek(fd, 3 * 512, SEEK_SET) < 0) in vpc_create()
577 if (lseek(fd, 512, SEEK_SET) < 0) in vpc_create()
/external/sonivox/arm-hybrid-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/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/sonivox/arm-fm-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/zlib/contrib/minizip/
Dioapi.c28 #ifndef SEEK_SET
29 #define SEEK_SET 0 macro
139 fseek_origin = SEEK_SET;
/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/skia/src/images/
DSkFDStream.cpp18 off_t value = ::lseek(fFD, 0, SEEK_SET); in rewind()
46 if (::lseek(fFD, curr, SEEK_SET) != curr) { in read()
/external/bluetooth/bluez/sbc/
Dsbctester.c95 sf_seek(sndref, 0, SEEK_SET); in calculate_rms_level()
96 sf_seek(sndtst, 0, SEEK_SET); in calculate_rms_level()
190 sf_seek(sndref, 0, SEEK_SET); in check_absolute_diff()
191 sf_seek(sndtst, 0, SEEK_SET); in check_absolute_diff()
/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/icu4c/samples/layout/
DUnicodeReader.cpp49 fseek(f, 0, SEEK_SET); in readFile()
82 fseek(f, signatureLength, SEEK_SET); in readFile()
/external/qemu/
Dloader.c74 lseek(fd, 0, SEEK_SET); in load_image()
234 lseek(fd, N_TXTOFF(e), SEEK_SET); in load_aout()
242 lseek(fd, N_TXTOFF(e), SEEK_SET); in load_aout()
266 if (lseek(fd, offset, SEEK_SET) < 0) in load_at()
340 lseek(fd, 0, SEEK_SET); in load_elf()
/external/freetype/src/base/
Dftsystem.c208 ft_fseek( file, offset, SEEK_SET ); in ft_ansi_stream_io()
237 ft_fseek( file, 0, SEEK_SET ); in FT_Stream_Open()
/external/e2fsprogs/ext2ed/
Ddisk.c60 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { /* Seek to the required offset */ in low_read()
116 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { in low_write()

1234567