Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 8 of 8) sorted by relevance

/bionic/linker/
Dlinker_phdr.h45 bool Read(const char* name, int fd, off64_t file_offset, off64_t file_size);
122 ElfW(Addr) load_bias, int fd, size_t* file_offset);
125 ElfW(Addr) load_bias, int fd, size_t* file_offset);
Dlinker.cpp279 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument
288 file_offset, rtld_flags); in soinfo_alloc()
873 off64_t* file_offset, std::string* realpath) { in open_library_in_zipfile() argument
927 *file_offset = entry.offset; in open_library_in_zipfile()
953 const char* path, off64_t* file_offset, in open_library_at_path() argument
957 fd = open_library_in_zipfile(zip_archive_cache, path, file_offset, realpath); in open_library_at_path()
963 *file_offset = 0; in open_library_at_path()
978 const char* name, off64_t* file_offset, in open_library_on_paths() argument
987 int fd = open_library_at_path(zip_archive_cache, buf, file_offset, realpath); in open_library_on_paths()
999 off64_t* file_offset, std::string* realpath) { in open_library() argument
[all …]
Dlinker_phdr.cpp147 bool ElfReader::Read(const char* name, int fd, off64_t file_offset, off64_t file_size) { in Read() argument
153 file_offset_ = file_offset; in Read()
839 size_t* file_offset) { in phdr_table_serialize_gnu_relro() argument
857 MAP_PRIVATE|MAP_FIXED, fd, *file_offset); in phdr_table_serialize_gnu_relro()
861 *file_offset += size; in phdr_table_serialize_gnu_relro()
887 size_t* file_offset) { in phdr_table_map_gnu_relro() argument
914 char* file_base = static_cast<char*>(temp_mapping) + *file_offset; in phdr_table_map_gnu_relro()
919 if (file_size - *file_offset < size) { in phdr_table_map_gnu_relro()
943 PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, *file_offset + match_offset); in phdr_table_map_gnu_relro()
954 *file_offset += size; in phdr_table_map_gnu_relro()
Dlinker_main.h53 const struct stat* file_stat, off64_t file_offset,
Dlinker.h78 int open_executable(const char* path, off64_t* file_offset, std::string* realpath);
Dlinker_main.cpp275 off64_t file_offset; in load_executable() local
276 android::base::unique_fd fd(open_executable(orig_path, &file_offset, &result.path)); in load_executable()
286 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()
Dlinker_soinfo.cpp215 const struct stat* file_stat, off64_t file_offset, in soinfo() argument
229 this->file_offset_ = file_offset; in soinfo()
Dlinker_soinfo.h247 off64_t file_offset, int rtld_flags);