Home
last modified time | relevance | path

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

12345678910>>...13

/OK3568_Linux_fs/external/recovery/update_engine/
H A Ddo_patch.c114 if (lseek(fd_img, offset + size - TAIL_SIZE, SEEK_SET) < 0) { in do_patch_rkimg()
176 if (fseeko(f, offset, SEEK_SET)) { in do_patch_rkimg()
223 if (fseeko(cpf, offset + 32, SEEK_SET)) { in do_patch_rkimg()
233 if (fseeko(dpf, offset + 32 + bzctrllen, SEEK_SET)) { in do_patch_rkimg()
246 if (fseeko(epf, offset + 32 + bzctrllen + bzdatalen, SEEK_SET)) { in do_patch_rkimg()
267 (lseek(fd, newsize - 1, SEEK_SET) != (newsize - 1)) || in do_patch_rkimg()
269 (lseek(fd, 0, SEEK_SET) != 0) || in do_patch_rkimg()
H A Drkbootloader.c222 fseek(f, offset, SEEK_SET); in writeMisc_block()
244 fseek(f, offset, SEEK_SET); in readMisc_block()
504 lseek(fd, 0, SEEK_SET); in readCustomMiscCmdline()
531 lseek(fd, 0, SEEK_SET); in writeCustomMiscCmdline()
H A Dflash_image.c67 if ( lseek64(fd_src, offset, SEEK_SET) == -1) { in is_ubi()
146 if (lseek64(fd_src, src_offset, SEEK_SET) == -1) { in block_write()
163 if ( lseek64(fd_dest, dest_offset, SEEK_SET) == -1 ) { in block_write()
232 (lseek(fd, 0, SEEK_SET) < 0)) { in flash_normal()
647 if (lseek64(fd_src, pcmd->offset, SEEK_SET) == -1) { in flash_parameter()
702 lseek64(fd_dest, 0, SEEK_SET); in flash_parameter()
762 if (lseek64(fd_src, pcmd->offset, SEEK_SET) == -1) { in flash_bootloader()
/OK3568_Linux_fs/external/rkupdate/
H A DRKImage.cpp117 fseek(m_pFile, m_bootOffset, SEEK_SET); in SaveBootFile()
145 fseeko(m_pFile, m_fwOffset, SEEK_SET); in SaveFWFile()
173 fseeko64(m_pFile, dwOffset, SEEK_SET); in GetData()
282 fseeko64(m_pFile, 0, SEEK_SET); in CRKImage()
312 fseeko64(m_pFile, ulFwSize, SEEK_SET); in CRKImage()
368 fseeko64(m_pFile, m_bootOffset, SEEK_SET); in CRKImage()
H A DRKComm.cpp311 lseek64(m_hLbaDev, 0, SEEK_SET); //reset the cfo to begin in RKU_ReadFlashInfo()
337 lseek64(m_hLbaDev, 0, SEEK_SET); //reset the cfo to begin in RKU_ReadFlashInfo()
382 ret = lseek64(m_hLbaDev, (off64_t)dwPosBuf * 512, SEEK_SET); in RKU_ReadLBA()
495 ret = lseek64(m_hLbaDev, (off64_t)dwPosBuf * 512, SEEK_SET); in RKU_WriteLBA()
556 ret = lseek64(m_hLbaDev, (off64_t)dwPosBuf * 512, SEEK_SET); in RKU_LoaderWriteLBA()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsymbol-minimal.c113 fseek(fp, 0, SEEK_SET); in filename__read_build_id()
133 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
157 fseek(fp, offset, SEEK_SET); in filename__read_build_id()
184 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
208 fseek(fp, offset, SEEK_SET); in filename__read_build_id()
305 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
/OK3568_Linux_fs/kernel/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c480 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
487 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek()
532 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte()
542 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte()
579 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes()
591 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes()
633 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes()
645 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dgsrt.c94 if (lsx_seeki(ft, (off_t)sizeof(file_size), SEEK_SET) != 0) in start_read()
169 if (!lsx_seeki(ft, (off_t)sizeof(uint32_t), SEEK_SET)) { in stop_write()
172 if (!lsx_seeki(ft, (off_t)HEADER_SIZE, SEEK_SET)) { in stop_write()
177 if (!lsx_seeki(ft, (off_t)0, SEEK_SET)) { in stop_write()
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dcompaction_test.c112 lseek(fd, 0, SEEK_SET); in check_compaction()
121 lseek(fd, 0, SEEK_SET); in check_compaction()
143 lseek(fd, 0, SEEK_SET); in check_compaction()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Delf.c80 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get()
141 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load()
184 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
/OK3568_Linux_fs/u-boot/tools/
H A Dsunxi-spl-image-builder.c173 fseek(dst, pos + offs, SEEK_SET); in write_page()
221 fseek(dst, pos + data_offs, SEEK_SET); in write_page()
223 fseek(dst, pos + ecc_offs - 4, SEEK_SET); in write_page()
228 fseek(dst, pos + info->page_size, SEEK_SET); in write_page()
233 fseek(dst, pos + info->page_size + info->oob_size, SEEK_SET); in write_page()
H A Drelocate-rela.c107 if (fseek(f, pos, SEEK_SET) < 0) { in main()
138 if (fseek(f, addr, SEEK_SET) < 0) { in main()
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpdump.c153 fseek(*file, 0, SEEK_SET); in OpenResumeFile()
181 fseek(*file, dataOffset, SEEK_SET); in OpenResumeFile()
202 fseeko(*file, pos, SEEK_SET); in OpenResumeFile()
221 fseeko(*file, pos + 11, SEEK_SET); in OpenResumeFile()
290 fseek(file, 4, SEEK_SET); in GetLastKeyframe()
318 fseeko(file, size - tsize - 4, SEEK_SET); in GetLastKeyframe()
345 fseeko(file, size - tsize, SEEK_SET); in GetLastKeyframe()
384 fseeko(file, size - tsize + 11, SEEK_SET); in GetLastKeyframe()
430 fseeko(file, size - tsize + prevTagSize + 4, SEEK_SET); in GetLastKeyframe()
/OK3568_Linux_fs/kernel/tools/power/acpi/tools/ec/
H A Dec_access.c151 lseek(fd, 0, SEEK_SET); in dump_ec()
180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val()
196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dstdio.h59 #ifndef SEEK_SET
60 #define SEEK_SET 0 /* set file offset to offset */ macro
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dstdio.h59 #ifndef SEEK_SET
60 #define SEEK_SET 0 /* set file offset to offset */ macro
/OK3568_Linux_fs/kernel/arch/mips/boot/tools/
H A Drelocs.c269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_shdrs()
309 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_strtabs()
333 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_symtabs()
377 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_relocs()
418 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) in remove_relocs()
432 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) in remove_relocs()
607 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { in emit_relocs()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/
H A Dgt9xx_update.c711 update_msg.cfg_file->f_op->llseek(update_msg.cfg_file, 0, SEEK_SET); in gup_update_config()
957 update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_SET); in gup_check_update_file()
969 update_msg.file->f_op->llseek(update_msg.file, 0, SEEK_SET); in gup_check_update_file()
1072 if(SEEK_SET == set_or_end) in gup_load_section_file()
1092 if(SEEK_SET == set_or_end) in gup_load_section_file()
1455 ret = gup_load_section_file(fw_ss51, FW_SECTION_LENGTH, FW_SECTION_LENGTH, SEEK_SET); in gup_burn_fw_ss51()
1473 ret = gup_load_section_file(fw_ss51, 2 * FW_SECTION_LENGTH, FW_SECTION_LENGTH, SEEK_SET); in gup_burn_fw_ss51()
1491 ret = gup_load_section_file(fw_ss51, 3 * FW_SECTION_LENGTH, FW_SECTION_LENGTH, SEEK_SET); in gup_burn_fw_ss51()
1548 ret = gup_load_section_file(fw_dsp, 4 * FW_SECTION_LENGTH, FW_DSP_LENGTH, SEEK_SET); in gup_burn_fw_dsp()
1677 … gup_load_section_file(fw_boot, (4 * FW_SECTION_LENGTH + FW_DSP_LENGTH), FW_BOOT_LENGTH, SEEK_SET); in gup_burn_fw_boot()
[all …]
/OK3568_Linux_fs/external/rktoolkit/update_recv/
H A Dupdate_recv.c94 fseek(pImgFile, dwOffset, SEEK_SET); in GetData()
109 fseeko(pImageFile, 0, SEEK_SET); in GetFwOffset()
215 fseek(pRecvNode, 0, SEEK_SET); in WriteFwData()
377 fseek(pRecvNode, 0, SEEK_SET); in CheckFwData()
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyportenv.h125 #ifndef SEEK_SET
126 #define SEEK_SET 0 macro
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dmktree.c110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main()
141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/screen/
H A Dibacklight.cpp54 lseek(m_fd, 0, SEEK_SET); in setValue()
64 lseek(m_fd, 0, SEEK_SET); in getValue()
/OK3568_Linux_fs/buildroot/package/bsdiff/
H A D0002-bspatch-adaption-to-embedded-system.patch73 - (lseek(fd,0,SEEK_SET)!=0) ||
81 + (lseek(fd,newsize-1,SEEK_SET)!=(newsize-1)) ||
83 + (lseek(fd,0,SEEK_SET)!=0) ||
/OK3568_Linux_fs/buildroot/package/qemu/
H A D0003-block-export-fuse.c-fix-fuse-lseek-on-uclibc-or-musl.patch14 …fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
17 | SEEK_SET
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch37 fseek (in32, 0, SEEK_SET);
46 fseek (in64, 0, SEEK_SET);

12345678910>>...13