/system/core/toolbox/ |
hd.c | 61 lseek(fd, base, SEEK_SET);
|
/device/samsung/tuna/recovery/ |
bootloader.c | 199 if (lseek(mmcfd, SECTOR_SIZE, SEEK_SET) < 0) { 214 if (lseek(mmcfd, SECTOR_SIZE, SEEK_SET) < 0) { 267 if (lseek(mmcfd, PIT_PARTITION_TABLE_LOCATION, SEEK_SET) < 0) {
|
recovery_updater.c | 104 if (lseek(fd, 0, SEEK_SET) == 0) {
|
/dalvik/vm/analysis/ |
DexPrepare.cpp | 660 depsOffset = lseek(fd, 0, SEEK_END); 662 ALOGE("lseek to EOF failed: %s", strerror(errno)); 670 lseek(fd, depsOffset, SEEK_SET); 682 optOffset = lseek(fd, 0, SEEK_END); 690 lseek(fd, optOffset, SEEK_SET); 701 endOffset = lseek(fd, 0, SEEK_END); 734 lseek(fd, 0, SEEK_SET); [all...] |
/external/qemu/block/ |
vmdk.c | 212 if (lseek(p_fd, 0x0, SEEK_SET) == -1) { 222 if (lseek(snp_fd, 0x0, SEEK_SET) == -1) { 239 if (lseek(p_fd, 0x200, SEEK_SET) == -1) { 265 if (lseek(snp_fd, 0x200, SEEK_SET) == -1) { 291 if (lseek(p_fd, rgd_offset, SEEK_SET) == -1) { 299 if (lseek(snp_fd, rgd_offset, SEEK_SET) == -1) { 310 if (lseek(p_fd, gd_offset, SEEK_SET) == -1) { 318 if (lseek(snp_fd, gd_offset, SEEK_SET) == -1) { 770 lseek(fd, le64_to_cpu(header.rgd_offset) << 9, SEEK_SET); 781 lseek(fd, le64_to_cpu(header.gd_offset) << 9, SEEK_SET) [all...] |
vpc.c | 276 lseek(s->fd, bitmap_offset, SEEK_SET); 290 lseek(s->fd, bitmap_offset + (pageentry_index / 8), SEEK_SET); 564 if (lseek(fd, 1536 + ((num_bat_entries * 4 + 511) & ~511), SEEK_SET) < 0) 570 if (lseek(fd, 3 * 512, SEEK_SET) < 0) 593 if (lseek(fd, 512, SEEK_SET) < 0)
|
/external/e2fsprogs/misc/ |
e2image.c | 68 if (lseek(fd, 0, SEEK_SET) < 0) { 69 perror("lseek while writing header"); 99 hdr.offset_super = lseek(fd, 0, SEEK_CUR); 106 hdr.offset_inode = lseek(fd, 0, SEEK_CUR); 114 hdr.offset_blockmap = lseek(fd, 0, SEEK_CUR); 121 hdr.offset_inodemap = lseek(fd, 0, SEEK_CUR); 320 perror("lseek"); 322 if (lseek(fd, sparse_offset, SEEK_CUR) < 0) 323 perror("lseek"); 614 if (lseek(fd, fs->image_header->offset_inode, SEEK_SET) < 0) [all...] |
/dalvik/libdex/ |
SysUtil.cpp | 88 start = lseek(fd, 0L, SEEK_CUR); 89 end = lseek(fd, 0L, SEEK_END); 90 (void) lseek(fd, start, SEEK_SET);
|
ZipArchive.cpp | 149 if (lseek(fd, searchStart, SEEK_SET) != searchStart) { 234 off_t fileLength = lseek(fd, 0, SEEK_END); 539 if (lseek(pArchive->mFd, localHdrOffset, SEEK_SET) != localHdrOffset) { 715 if (lseek(pArchive->mFd, dataOffset, SEEK_SET) != dataOffset) { 716 ALOGW("Zip: lseek to data at %ld failed", (long) dataOffset);
|
/external/linux-tools-perf/util/ |
trace-event-read.c | 320 save_seek = lseek(input_fd, 0, SEEK_CUR); 322 ret = lseek(input_fd, cpu_data[cpu].offset, SEEK_SET); 324 die("failed to lseek"); 330 lseek(input_fd, save_seek, SEEK_SET);
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 270 if (lseek(fd, 0, SEEK_END) < 0) { 274 if ((file->fileSize = lseek(fd, 0, SEEK_CUR)) == -1L) { 332 lseek(file->fd, file->filePos + file->offset, SEEK_SET);
|
/external/valgrind/main/include/ |
pub_tool_libcfile.h | 80 extern Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence );
|
/frameworks/base/core/jni/ |
android_os_ParcelFileDescriptor.cpp | 107 return lseek(fd, pos, SEEK_SET);
|
/external/bsdiff/ |
bspatch.c | 137 ((oldsize=lseek(fd,0,SEEK_END))==-1) || 139 (lseek(fd,0,SEEK_SET)!=0) ||
|
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerFactory.cpp | 179 lseek(fd, offset, SEEK_SET); 181 lseek(fd, offset, SEEK_SET);
|
/system/core/liblog/ |
event_tag_map.c | 81 end = lseek(fd, 0L, SEEK_END); 82 (void) lseek(fd, 0L, SEEK_SET);
|
/system/core/mkbootimg/ |
mkbootimg.c | 38 sz = lseek(fd, 0, SEEK_END); 41 if(lseek(fd, 0, SEEK_SET) != 0) goto oops;
|
/external/libmtp/src/ |
playlist-spl.c | 227 f->filesize = lseek(fd, 0, SEEK_CUR); // file desc is currently at end of file 234 lseek(fd, 0, SEEK_SET); // reset file desc. to start of file 346 offcnt = lseek(fd, 0, SEEK_SET); 352 offcnt = lseek(fd, 0, SEEK_CUR); 364 rdcnt = lseek(fd, 0, SEEK_CUR) - offcnt;
|
/external/dropbear/ |
loginrec.c | 712 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); 725 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); 1015 if (lseek(fd, -(off_t)sizeof(struct utmp), SEEK_END) == -1) { 1048 if (lseek(fd, -(off_t)(2 * sizeof(struct utmp)), SEEK_CUR) == -1) { 1171 if (lseek(fd, -(off_t)sizeof(struct utmpx), SEEK_END) == -1 ) { 1202 if (lseek(fd, -(off_t)(2 * sizeof(struct utmpx)), SEEK_CUR) == -1) { [all...] |
/external/openssh/ |
loginrec.c | 874 if ((ret = lseek(fd, pos, SEEK_SET)) == -1) { 875 logit("%s: lseek: %s", __func__, strerror(errno)); 896 if ((ret = lseek(fd, pos, SEEK_SET)) == -1) { 897 logit("%s: lseek: %s", __func__, strerror(errno)); 1202 if (lseek(fd, -(off_t)sizeof(struct utmp), SEEK_END) == -1) { 1237 if (lseek(fd, -(off_t)(2 * sizeof(struct utmp)), SEEK_CUR) == -1) { [all...] |
/bootable/recovery/minadbd/ |
sysdeps.h | 383 return lseek(fd, pos, where); 385 #undef lseek macro 386 #define lseek ___xxx_lseek macro
|
/system/core/adb/ |
sysdeps.h | 375 return lseek(fd, pos, where); 377 #undef lseek macro 378 #define lseek ___xxx_lseek macro
|
/bionic/libc/include/ |
unistd.h | 46 /* Values for whence in fseek and lseek */ 133 extern off_t lseek(int, off_t, int);
|
/bootable/recovery/mtdutils/ |
flash_image.c | 125 if (lseek(fd, headerlen, SEEK_SET) != headerlen)
|
mtdutils.c | 412 off_t pos = lseek(fd, 0, SEEK_CUR); 438 if (lseek(fd, pos, SEEK_SET) != pos || 445 if (lseek(fd, pos, SEEK_SET) != pos || 515 off_t pos = lseek(ctx->fd, 0, SEEK_CUR);
|