Searched refs:file_len (Results 1 – 2 of 2) sorted by relevance
71 rt_size_t file_len; /* Length of the ELF file */ member212 static int elf_file_length(char *filename, rt_size_t *file_len) in elf_file_length() argument223 *file_len = (rt_size_t)s.st_size; in elf_file_length()269 static rt_int32_t elf_check_ehdr(const Elf_Ehdr *ehdr, rt_uint32_t file_len) in elf_check_ehdr() argument295 if (ehdr->e_phoff > file_len) in elf_check_ehdr()360 ret = elf_file_length(elf_info->filename, &elf_info->file_len); in elf_load_ehdr()373 ret = elf_check_ehdr(&elf_info->ehdr, elf_info->file_len); in elf_load_ehdr()409 if ((ehdr->e_phoff + size) > elf_info->file_len) in elf_load_phdr()467 if (phdr->p_offset + phdr->p_filesz > load_info->exec_info.file_len) in elf_load_interp()
727 size_t file_len, alloc_len; in httpc_fs_init() local730 file_len = strlen(local_file_name); in httpc_fs_init()731 alloc_len = sizeof(httpc_filestate_t) + file_len + 1; in httpc_fs_init()739 memcpy((char *)(filestate + 1), local_file_name, file_len + 1); in httpc_fs_init()
Completed in 6 milliseconds