Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_phdr.cpp136 ElfReader::ElfReader(const char* name, int fd, off64_t file_offset, off64_t file_size) in ElfReader() argument
137 : name_(name), fd_(fd), file_offset_(file_offset), file_size_(file_size), in ElfReader()
586 ssize_t file_offset = 0; in phdr_table_serialize_gnu_relro() local
602 MAP_PRIVATE|MAP_FIXED, fd, file_offset); in phdr_table_serialize_gnu_relro()
606 file_offset += size; in phdr_table_serialize_gnu_relro()
644 size_t file_offset = 0; in phdr_table_map_gnu_relro() local
658 char* file_base = static_cast<char*>(temp_mapping) + file_offset; in phdr_table_map_gnu_relro()
663 if (file_size - file_offset < size) { in phdr_table_map_gnu_relro()
698 file_offset += size; in phdr_table_map_gnu_relro()
Dlinker.cpp230 off64_t file_offset, uint32_t rtld_flags) { in soinfo_alloc() argument
236 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(name, file_stat, file_offset, rtld_flags); in soinfo_alloc()
644 off64_t file_offset, int rtld_flags) { in soinfo() argument
657 this->file_offset_ = file_offset; in soinfo()
1090 off64_t* file_offset) { in open_library_in_zipfile() argument
1142 *file_offset = entry.offset; in open_library_in_zipfile()
1156 static int open_library_on_default_path(const char* name, off64_t* file_offset) { in open_library_on_default_path() argument
1165 *file_offset = 0; in open_library_on_default_path()
1173 static int open_library_on_ld_library_path(const char* name, off64_t* file_offset) { in open_library_on_ld_library_path() argument
1183 fd = open_library_in_zipfile(buf, file_offset); in open_library_on_ld_library_path()
[all …]
Dlinker_phdr.h42 ElfReader(const char* name, int fd, off64_t file_offset, off64_t file_size);
Dlinker.h271 soinfo(const char* name, const struct stat* file_stat, off64_t file_offset, int rtld_flags);