Lines Matching refs:spec
112 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Create(const std::string& spec) { in Create() argument
114 if (result->Parse(spec)) { in Create()
121 static size_t FindMatchingSharedLibraryCloseMarker(const std::string& spec, in FindMatchingSharedLibraryCloseMarker() argument
130 spec.find_first_of(kClassLoaderSharedLibraryClosingMark, string_index); in FindMatchingSharedLibraryCloseMarker()
132 spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, string_index); in FindMatchingSharedLibraryCloseMarker()
312 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() argument
313 if (spec.empty()) { in Parse()
323 if (spec == OatFile::kSpecialSharedLibrary) { in Parse()
331 class_loader_chain_.reset(ParseInternal(spec, parse_checksums)); in Parse()
336 const std::string& spec, bool parse_checksums) { in ParseInternal() argument
337 CHECK(!spec.empty()); in ParseInternal()
338 CHECK_NE(spec, OatFile::kSpecialSharedLibrary); in ParseInternal()
339 std::string remaining = spec; in ParseInternal()