Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 17 of 17) sorted by relevance

/system/core/libcutils/
Dload_file.c32 sz = lseek(fd, 0, SEEK_END); in load_file()
35 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
Dtztime.c438 if (lseek(fid, off, SEEK_SET) < 0) {
/system/extras/libpagemap/
Dpm_kernel.c122 off = lseek(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_count()
138 off = lseek(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_flags()
Dpm_process.c112 off = lseek(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
/system/core/mkbootimg/
Dmkbootimg.c38 sz = lseek(fd, 0, SEEK_END); in load_file()
41 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
/system/core/adb/
Dsysdeps.h363 return lseek(fd, pos, where); in adb_lseek()
365 #undef lseek
366 #define lseek ___xxx_lseek macro
Dframebuffer_service.c94 lseek(fb, offset, SEEK_SET); in framebuffer_service()
/system/core/toolbox/
Dhd.c60 lseek(fd, base, SEEK_SET); in hd_main()
Ddd.c299 else if (lseek(io->fd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) in getfdtype()
387 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in()
531 if (lseek(out.fd, pending, SEEK_CUR) == in dd_out()
631 if (lseek(in.fd, in pos_in()
702 if (lseek(out.fd, in pos_out()
Dnewfs_msdos.c394 if (opt_ofs && opt_ofs != lseek(fd, opt_ofs, SEEK_SET)) in newfs_msdos_main()
628 if (!x && lseek(fd1, opt_ofs, SEEK_SET)) in newfs_msdos_main()
/system/core/liblog/
Devent_tag_map.c81 end = lseek(fd, 0L, SEEK_END); in android_openEventTagMap()
82 (void) lseek(fd, 0L, SEEK_SET); in android_openEventTagMap()
/system/core/init/
Dutil.c174 sz = lseek(fd, 0, SEEK_END); in read_file()
177 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in read_file()
/system/extras/ext4_utils/
Dsimg2img.c33 #define lseek64 lseek
Doutput_file.c33 #define lseek64 lseek
/system/core/fastboot/
Dfastboot.c126 sz = lseek(fd, 0, SEEK_END); in load_file()
129 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
/system/extras/sound/
Dplaywav.c283 lseek(fd, 0, SEEK_SET); in wav_rec()
/system/vold/
DVolumeManager.cpp386 if (lseek(sbfd, (numImgSectors * 512), SEEK_SET) < 0) { in createAsec()
729 if (lseek(fd, ((nr_sec-1) * 512), SEEK_SET) < 0) { in mountAsec()