Lines Matching refs:path
33 ns.AddSearchPath(apex_info.path + "/${LIB}"); in InitializeWithApex()
34 ns.AddPermittedPath(apex_info.path + "/${LIB}"); in InitializeWithApex()
78 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath() argument
79 search_paths_.push_back(path); in AddSearchPath()
81 if (RequiresAsanPath(path)) { in AddSearchPath()
82 asan_search_paths_.push_back(CreateAsanPath(path)); in AddSearchPath()
84 asan_search_paths_.push_back(path); in AddSearchPath()
87 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath() argument
88 permitted_paths_.push_back(path); in AddPermittedPath()
90 if (RequiresAsanPath(path)) { in AddPermittedPath()
91 asan_permitted_paths_.push_back(CreateAsanPath(path)); in AddPermittedPath()
93 asan_permitted_paths_.push_back(path); in AddPermittedPath()
96 void Namespace::AddWhitelisted(const std::string& path) { in AddWhitelisted() argument
97 whitelisted_.push_back(path); in AddWhitelisted()
104 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath() argument
105 return !android::base::StartsWith(path, "/apex"); in RequiresAsanPath()
108 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath() argument
109 return kDataAsanPath + path; in CreateAsanPath()