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_main.h53 const struct stat* file_stat, off64_t file_offset,
Dlinker_phdr.cpp149 bool ElfReader::Read(const char* name, int fd, off64_t file_offset, off64_t file_size) { in Read() argument
155 file_offset_ = file_offset; in Read()
842 size_t* file_offset) { in phdr_table_serialize_gnu_relro() argument
860 MAP_PRIVATE|MAP_FIXED, fd, *file_offset); in phdr_table_serialize_gnu_relro()
864 *file_offset += size; in phdr_table_serialize_gnu_relro()
890 size_t* file_offset) { in phdr_table_map_gnu_relro() argument
917 char* file_base = static_cast<char*>(temp_mapping) + *file_offset; in phdr_table_map_gnu_relro()
922 if (file_size - *file_offset < size) { in phdr_table_map_gnu_relro()
946 PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, *file_offset + match_offset); in phdr_table_map_gnu_relro()
957 *file_offset += size; in phdr_table_map_gnu_relro()
Dlinker.cpp334 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument
343 file_offset, rtld_flags); in soinfo_alloc()
1000 off64_t* file_offset, std::string* realpath) { in open_library_in_zipfile() argument
1054 *file_offset = entry.offset; in open_library_in_zipfile()
1080 const char* path, off64_t* file_offset, in open_library_at_path() argument
1084 fd = open_library_in_zipfile(zip_archive_cache, path, file_offset, realpath); in open_library_at_path()
1090 *file_offset = 0; in open_library_at_path()
1105 const char* name, off64_t* file_offset, in open_library_on_paths() argument
1114 int fd = open_library_at_path(zip_archive_cache, buf, file_offset, realpath); in open_library_on_paths()
1126 off64_t* file_offset, std::string* realpath) { in open_library() argument
[all …]
Dlinker.h106 int open_executable(const char* path, off64_t* file_offset, std::string* realpath);
Dlinker_main.cpp270 off64_t file_offset; in load_executable() local
271 android::base::unique_fd fd(open_executable(orig_path, &file_offset, &result.path)); in load_executable()
281 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable()
Dlinker_soinfo.cpp50 const struct stat* file_stat, off64_t file_offset, in soinfo() argument
64 this->file_offset_ = file_offset; in soinfo()
Dlinker_soinfo.h218 off64_t file_offset, int rtld_flags);