Lines Matching refs:libname
918 bool IsAndroidSystemLib(const String& libname) { in IsAndroidSystemLib() argument
936 if (!libname.compare(kAndroidSystemLibs[n])) in IsAndroidSystemLib()
945 bool IsAndroidNdkCompatibleLib(const String& libname) { in IsAndroidNdkCompatibleLib() argument
946 return libname.size() > 6 && in IsAndroidNdkCompatibleLib()
947 !libname.compare(0, 3, _T("lib")) && in IsAndroidNdkCompatibleLib()
948 !libname.compare(libname.size() - 3, 3, _T(".so")); in IsAndroidNdkCompatibleLib()
954 bool FindLibraryPath(const String& libname, in FindLibraryPath() argument
958 LOG2(_T(" looking for library: %s\n"), libname.c_str()); in FindLibraryPath()
967 file_path.append(libname); in FindLibraryPath()
1019 const String& libname, in UpdateDependencies() argument
1023 DLOG(_T("UPDATE libname=%s path=%s\n"), libname.c_str(), libpath.c_str()); in UpdateDependencies()
1025 if (!libname.empty() && deps.find(libname) != deps.end()) { in UpdateDependencies()
1027 panic(_T("INTERNAL: Library already in graph: %s"), libname.c_str()); in UpdateDependencies()
1033 String soname = libname; in UpdateDependencies()
1039 soname = libname; in UpdateDependencies()
1040 else if (soname != libname) { in UpdateDependencies()
1080 String libname = queue.front(); in BuildDependencyGraph() local
1084 DependencyGraph::iterator iter = deps.find(libname); in BuildDependencyGraph()
1092 if (FindLibraryPath(libname, lib_search_path, &libpath)) { in BuildDependencyGraph()
1093 UpdateDependencies(libname, libpath, deps, queue); in BuildDependencyGraph()
1097 if (IsAndroidSystemLib(libname)) { in BuildDependencyGraph()
1098 LOG(_T("Android system library: %s\n"), libname.c_str()); in BuildDependencyGraph()
1100 node.Set(LibNode::NODE_SYSTEM, libname); in BuildDependencyGraph()
1101 deps[libname] = node; in BuildDependencyGraph()
1107 libname.c_str()); in BuildDependencyGraph()
1110 deps[libname] = node; in BuildDependencyGraph()
1121 const String& libname = iter->first; in DumpDependencyGraph() local
1139 libname.c_str(), in DumpDependencyGraph()
1170 const String& libname = needed_libs[n]; in GetTopologicalSortedLibraries() local
1171 VisitorMap::iterator lib_iter = visitors.find(libname); in GetTopologicalSortedLibraries()
1175 visitors[libname] = 1; in GetTopologicalSortedLibraries()
1426 const String& libname = needed_libs[i]; local
1427 const std::vector<String>& libdeps = deps[libname].needed_libs;
1431 _tprintf(_T(" \"%s\" -> \"%s\"\n"), libname.c_str(), libdeps[n].c_str());