Searched refs:file_stat (Results 1 – 8 of 8) sorted by relevance
/bionic/linker/ |
D | linker_crt_pad_segment_test.cpp | 61 struct stat file_stat; in GetPadSegment() local 62 EXPECT_NE(TEMP_FAILURE_RETRY(fstat(fd.get(), &file_stat)), -1) in GetPadSegment() 66 EXPECT_TRUE(elf_reader.Read(path.c_str(), fd.get(), 0, file_stat.st_size)) in GetPadSegment()
|
D | linker_main.cpp | 202 struct stat file_stat; member 216 if (TEMP_FAILURE_RETRY(stat(exe_path, &result.file_stat) == -1)) { in get_executable_info() 218 if (TEMP_FAILURE_RETRY(stat(arg_path, &result.file_stat) == -1)) { in get_executable_info() 279 if (TEMP_FAILURE_RETRY(fstat(fd.get(), &result.file_stat)) == -1) { in load_executable() 284 if (!elf_reader.Read(result.path.c_str(), fd.get(), file_offset, result.file_stat.st_size)) { in load_executable() 364 exe_info.path.c_str(), &exe_info.file_stat, in linker_main()
|
D | linker_main.h | 53 const struct stat* file_stat, off64_t file_offset,
|
D | linker_soinfo.cpp | 214 soinfo::soinfo(android_namespace_t* ns, const char* realpath, const struct stat* file_stat, in soinfo() argument 223 if (file_stat != nullptr) { in soinfo() 224 this->st_dev_ = file_stat->st_dev; in soinfo() 225 this->st_ino_ = file_stat->st_ino; in soinfo()
|
D | linker.cpp | 313 const struct stat* file_stat, off64_t file_offset, in soinfo_alloc() argument 321 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, in soinfo_alloc() 1110 const struct stat& file_stat, in find_loaded_library_by_inode() argument 1114 if (file_stat.st_dev == 0 || file_stat.st_ino == 0) { in find_loaded_library_by_inode() 1120 return si->get_st_ino() == file_stat.st_ino && in find_loaded_library_by_inode() 1121 si->get_st_dev() == file_stat.st_dev && in find_loaded_library_by_inode() 1186 struct stat file_stat; in load_library() local 1187 if (TEMP_FAILURE_RETRY(fstat(task->get_fd(), &file_stat)) != 0) { in load_library() 1191 if (file_offset >= file_stat.st_size) { in load_library() 1193 name, file_offset, file_stat.st_size); in load_library() [all …]
|
D | linker_phdr.cpp | 1256 struct stat file_stat; in phdr_table_map_gnu_relro() local 1257 if (TEMP_FAILURE_RETRY(fstat(fd, &file_stat)) != 0) { in phdr_table_map_gnu_relro() 1260 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro()
|
D | linker_soinfo.h | 248 soinfo(android_namespace_t* ns, const char* name, const struct stat* file_stat,
|
/bionic/tests/ |
D | dlext_test.cpp | 2050 struct stat file_stat; in TEST() local 2051 int ret = TEMP_FAILURE_RETRY(stat(private_library_absolute_path.c_str(), &file_stat)); in TEST() 2053 size_t file_size = file_stat.st_size; in TEST()
|