Lines Matching refs:spec
108 std::unique_ptr<ClassLoaderContext> ClassLoaderContext::Create(const std::string& spec) { in Create() argument
110 if (result->Parse(spec)) { in Create()
117 static size_t FindMatchingSharedLibraryCloseMarker(const std::string& spec, in FindMatchingSharedLibraryCloseMarker() argument
126 spec.find_first_of(kClassLoaderSharedLibraryClosingMark, string_index); in FindMatchingSharedLibraryCloseMarker()
128 spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, string_index); in FindMatchingSharedLibraryCloseMarker()
308 bool ClassLoaderContext::Parse(const std::string& spec, bool parse_checksums) { in Parse() argument
309 if (spec.empty()) { in Parse()
319 if (spec == OatFile::kSpecialSharedLibrary) { in Parse()
326 class_loader_chain_.reset(ParseInternal(spec, parse_checksums)); in Parse()
331 const std::string& spec, bool parse_checksums) { in ParseInternal() argument
332 CHECK(!spec.empty()); in ParseInternal()
333 CHECK_NE(spec, OatFile::kSpecialSharedLibrary); in ParseInternal()
334 std::string remaining = spec; in ParseInternal()