Lines Matching refs:needed_by
191 static bool is_greylisted(android_namespace_t* ns, const char* name, const soinfo* needed_by) { in is_greylisted() argument
217 if (needed_by != nullptr && is_system_library(needed_by->get_realpath())) { in is_greylisted()
506 static LoadTask* create(const char* _Nonnull name, soinfo* _Nullable needed_by, in create() argument
510 return new (ptr) LoadTask(name, needed_by, start_from, readers_map); in create()
614 soinfo* needed_by, in LoadTask() argument
617 : name_(name), needed_by_(needed_by), si_(nullptr), in LoadTask()
1009 const char* name, soinfo *needed_by, in open_library() argument
1024 if (fd == -1 && needed_by != nullptr) { in open_library()
1025 …fd = open_library_on_paths(zip_archive_cache, name, file_offset, needed_by->get_dt_runpath(), real… in open_library()
1194 const soinfo* needed_by = task->is_dt_needed() ? task->get_needed_by() : nullptr; in load_library() local
1195 if (is_greylisted(ns, name, needed_by)) { in load_library()
1197 if (needed_by == nullptr || !is_system_library(needed_by->get_realpath())) { in load_library()
1284 soinfo* needed_by = task->get_needed_by(); in load_library() local
1317 int fd = open_library(ns, zip_archive_cache, name, needed_by, &file_offset, &realpath); in load_library()
1320 if (needed_by->is_main_executable()) { in load_library()
1324 needed_by->get_realpath(), task->get_start_from()->get_name()); in load_library()
1561 soinfo* needed_by = task->get_needed_by(); in find_libraries() local
1563 bool is_dt_needed = needed_by != nullptr && (needed_by != start_with || add_as_children); in find_libraries()
1585 needed_by->add_child(si); in find_libraries()
1701 soinfo* needed_by = task->get_needed_by(); in find_libraries() local
1702 bool is_dt_needed = needed_by != nullptr && (needed_by != start_with || add_as_children); in find_libraries()
1704 is_dt_needed ? needed_by->get_primary_namespace() : ns; in find_libraries()
1714 needed_by == nullptr ? "(nullptr)" : needed_by->get_realpath(), in find_libraries()
1715 needed_by, in find_libraries()
1791 soinfo* needed_by = task->get_needed_by(); in find_libraries() local
1792 if (needed_by != nullptr && in find_libraries()
1793 needed_by != start_with && in find_libraries()
1794 needed_by->get_local_group_root() != si->get_local_group_root()) { in find_libraries()
1806 soinfo* needed_by) { in find_library() argument
1812 needed_by, in find_library()