Searched refs:lseek (Results 1 – 17 of 17) sorted by relevance
/system/core/libcutils/ |
D | load_file.c | 32 sz = lseek(fd, 0, SEEK_END); in load_file() 35 if(lseek(fd, 0, SEEK_SET) != 0) goto oops; in load_file()
|
D | tztime.c | 438 if (lseek(fid, off, SEEK_SET) < 0) {
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 122 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()
|
D | pm_process.c | 112 off = lseek(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 38 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/ |
D | sysdeps.h | 363 return lseek(fd, pos, where); in adb_lseek() 365 #undef lseek 366 #define lseek ___xxx_lseek macro
|
D | framebuffer_service.c | 94 lseek(fb, offset, SEEK_SET); in framebuffer_service()
|
/system/core/toolbox/ |
D | hd.c | 60 lseek(fd, base, SEEK_SET); in hd_main()
|
D | dd.c | 299 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()
|
D | newfs_msdos.c | 394 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/ |
D | event_tag_map.c | 81 end = lseek(fd, 0L, SEEK_END); in android_openEventTagMap() 82 (void) lseek(fd, 0L, SEEK_SET); in android_openEventTagMap()
|
/system/core/init/ |
D | util.c | 174 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/ |
D | simg2img.c | 33 #define lseek64 lseek
|
D | output_file.c | 33 #define lseek64 lseek
|
/system/core/fastboot/ |
D | fastboot.c | 126 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/ |
D | playwav.c | 283 lseek(fd, 0, SEEK_SET); in wav_rec()
|
/system/vold/ |
D | VolumeManager.cpp | 386 if (lseek(sbfd, (numImgSectors * 512), SEEK_SET) < 0) { in createAsec() 729 if (lseek(fd, ((nr_sec-1) * 512), SEEK_SET) < 0) { in mountAsec()
|