Lines Matching refs:candidate
119 soinfo_list_.remove_if([&](soinfo* candidate) { in remove_soinfo() argument
120 return si == candidate; in remove_soinfo()
1861 const char* name, soinfo** candidate) { in find_loaded_library_by_soname() argument
1862 *candidate = nullptr; in find_loaded_library_by_soname()
1883 *candidate = si; in find_loaded_library_by_soname()
1885 } else if (*candidate == nullptr) { in find_loaded_library_by_soname()
1888 *candidate = si; in find_loaded_library_by_soname()
1901 soinfo* candidate; in find_library_internal() local
1903 if (find_loaded_library_by_soname(ns, task->get_name(), &candidate)) { in find_library_internal()
1904 task->set_soinfo(candidate); in find_library_internal()
1910 candidate = g_public_namespace.find_if([&](soinfo* si) { in find_library_internal()
1914 if (candidate != nullptr) { in find_library_internal()
1915 ns->add_soinfo(candidate); in find_library_internal()
1916 task->set_soinfo(candidate); in find_library_internal()
1924 task->get_name(), candidate == nullptr ? "n/a" : candidate->get_realpath(), candidate); in find_library_internal()
1932 if (candidate != nullptr) { in find_library_internal()
1933 task->set_soinfo(candidate); in find_library_internal()
2502 soinfo* candidate = nullptr; in init_namespaces() local
2504 find_loaded_library_by_soname(&g_default_namespace, soname.c_str(), &candidate); in init_namespaces()
2506 if (candidate == nullptr) { in init_namespaces()
2512 candidate->set_nodelete(); in init_namespaces()
2513 g_public_namespace.push_back(candidate); in init_namespaces()