Home
last modified time | relevance | path

Searched refs:boot_class_path (Results 1 – 21 of 21) sorted by relevance

/art/runtime/oat/
Doat_file_assistant_context.cc44 DCHECK_EQ(runtime_options_->boot_class_path.size(), in OatFileAssistantContext()
48 runtime_options_->boot_class_path.size() == runtime_options_->boot_class_path_files->size()); in OatFileAssistantContext()
57 .boot_class_path = runtime->GetBootClassPath(), in OatFileAssistantContext()
84 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size());
89 DCHECK_EQ(bcp_index, runtime_options_->boot_class_path.size());
107 for (size_t i = 0; i < runtime_options_->boot_class_path.size(); i++) { in FetchAll()
124 ArrayRef<const std::string>(runtime_options_->boot_class_path), in GetBootImageInfoList()
153 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size()); in GetBcpChecksums()
162 ArtDexFileLoader dex_loader(file, runtime_options_->boot_class_path[bcp_index]); in GetBcpChecksums()
Doat_file_assistant_context.h44 const std::vector<std::string>& boot_class_path; member
Doat_file_assistant_test.cc195 .boot_class_path = runtime_->GetBootClassPath(), in CreateOatFileAssistantContext()
/art/runtime/
Dparsed_options_test.cc38 std::string boot_class_path; in TEST_F() local
40 boot_class_path += "-Xbootclasspath:"; in TEST_F()
51 boot_class_path += class_path; in TEST_F()
56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
Dparsed_options.cc544 auto boot_class_path = static_cast<std::vector<std::unique_ptr<const DexFile>>*>( in ProcessSpecialOptions() local
548 runtime_options->Set(M::BootClassPathDexList, boot_class_path); in ProcessSpecialOptions()
757 const ParseStringList<':'>* boot_class_path = args.Get(M::BootClassPath); in DoParse() local
758 if (boot_class_path == nullptr || in DoParse()
759 boot_class_path_locations->Size() != boot_class_path->Size()) { in DoParse()
764 (boot_class_path != nullptr) ? boot_class_path->Size() : 0u, in DoParse()
765 (boot_class_path != nullptr) ? boot_class_path->Join().c_str() : "<nil>", in DoParse()
Druntime.cc2012 std::vector<std::unique_ptr<const DexFile>> boot_class_path; in Init() local
2014 boot_class_path.swap(*runtime_options.GetOrDefault(Opt::BootClassPathDexList)); in Init()
2019 &boot_class_path); in Init()
2021 if (!class_linker_->InitWithoutImage(std::move(boot_class_path), &error_msg)) { in Init()
Dclass_linker.h171 bool InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path,
Dclass_linker.cc668 bool ClassLinker::InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path, in InitWithoutImage() argument
837 if (boot_class_path.empty()) { in InitWithoutImage()
841 for (auto& dex_file : boot_class_path) { in InitWithoutImage()
/art/runtime/gc/space/
Dimage_space.h136 static bool LoadBootImage(const std::vector<std::string>& boot_class_path,
242 ArrayRef<ImageSpace* const> image_spaces, ArrayRef<const DexFile* const> boot_class_path);
254 ArrayRef<const std::string> boot_class_path,
313 ArrayRef<const std::string> boot_class_path,
348 ArrayRef<const std::string> boot_class_path, in BootImageLayout() argument
356 boot_class_path_(boot_class_path), in BootImageLayout()
Dimage_space.cc1976 std::string boot_class_path = head_bcp.empty() ? in CompileBootclasspathElements() local
1987 args.push_back("-Xbootclasspath:" + boot_class_path); in CompileBootclasspathElements()
2224 BootImageLoader(const std::vector<std::string>& boot_class_path, in BootImageLoader() argument
2235 : boot_class_path_(boot_class_path), in BootImageLoader()
3298 bool ImageSpace::LoadBootImage(const std::vector<std::string>& boot_class_path, in LoadBootImage() argument
3325 BootImageLoader loader(boot_class_path, in LoadBootImage()
3503 ArrayRef<const DexFile* const> boot_class_path) { in GetBootClassPathChecksums() argument
3504 DCHECK(!boot_class_path.empty()); in GetBootClassPathChecksums()
3513 boot_class_path[bcp_pos]->GetLocation()); in GetBootClassPathChecksums()
3529 CHECK_LE(oat_file->GetOatDexFiles().size(), boot_class_path.size() - bcp_pos); in GetBootClassPathChecksums()
[all …]
/art/compiler/optimizing/
Dstack_map_stream.cc242 const std::vector<const DexFile*>& boot_class_path = class_linker->GetBootClassPath(); in BeginInlineInfoEntry() local
244 boot_class_path.begin(), boot_class_path.end(), [dex_file](const DexFile* df) { in BeginInlineInfoEntry()
248 dexfile_index = std::distance(boot_class_path.begin(), it); in BeginInlineInfoEntry()
288 const std::vector<const DexFile*>& boot_class_path = class_linker->GetBootClassPath(); in BeginInlineInfoEntry() local
289 DCHECK_LT(method_info.GetDexFileIndex(), boot_class_path.size()); in BeginInlineInfoEntry()
290 CHECK(IsSameDexFile(*boot_class_path[method_info.GetDexFileIndex()], in BeginInlineInfoEntry()
/art/dex2oat/linker/
Doat_writer.cc2101 ArrayRef<const DexFile* const> boot_class_path( in InitIndexBssMappings() local
2113 DCHECK_GE(boot_class_path.size(), to_exclude.size()); in InitIndexBssMappings()
2114 DCHECK(std::equal(to_exclude.rbegin(), to_exclude.rend(), boot_class_path.rbegin())); in InitIndexBssMappings()
2115 boot_class_path = boot_class_path.SubArray(0, boot_class_path.size() - to_exclude.size()); in InitIndexBssMappings()
2119 bcp_bss_info_.resize(boot_class_path.size()); in InitIndexBssMappings()
2121 const DexFile* dex_file = boot_class_path[i]; in InitIndexBssMappings()
3041 ArrayRef<const DexFile* const> boot_class_path( in WriteIndexBssMappings() local
3050 DCHECK_GE(boot_class_path.size(), to_exclude.size()); in WriteIndexBssMappings()
3051 DCHECK(std::equal(to_exclude.rbegin(), to_exclude.rend(), boot_class_path.rbegin())); in WriteIndexBssMappings()
3052 boot_class_path = boot_class_path.SubArray(0, boot_class_path.size() - to_exclude.size()); in WriteIndexBssMappings()
[all …]
/art/dex2oat/
Ddex2oat_image_test.cc414 std::vector<std::string> boot_class_path = libcore_dex_files; in TEST_F() local
423 /*boot_class_path=*/boot_class_path, in TEST_F()
502 CopyDexFiles(scratch_dir, &boot_class_path); in TEST_F()
Ddex2oat.cc2674 std::string boot_class_path = "-Xbootclasspath:"; in PrepareRuntimeOptions() local
2675 boot_class_path += android::base::Join(dex_filenames_, ':'); in PrepareRuntimeOptions()
2676 raw_options.push_back(std::make_pair(boot_class_path, nullptr)); in PrepareRuntimeOptions()
/art/runtime/jit/
Djit.cc805 const std::vector<const DexFile*>& boot_class_path = in Run() local
812 for (const DexFile* dex_file : boot_class_path) { in Run()
852 const std::vector<const DexFile*>& boot_class_path = in Run() local
864 self, boot_class_path, boot_profile, null_handle, /* add_to_queue= */ true); in Run()
871 self, boot_class_path, profile_file, null_handle, /* add_to_queue= */ true); in Run()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc209 std::string boot_class_path = android::base::Join(Runtime::Current()->GetBootClassPath(), ':'); in VMRuntime_bootClassPath() local
210 return env->NewStringUTF(DefaultToDot(boot_class_path)); in VMRuntime_bootClassPath()
/art/cmdline/
Dcmdline.h281 .boot_class_path = boot_class_path_, in GetOatFileAssistantContext()
/art/runtime/interpreter/
Dunstarted_runtime.cc580 const std::vector<std::string>& boot_class_path = Runtime::Current()->GetBootClassPath(); in GetResourceAsStream() local
581 if (boot_class_path.empty()) { in GetResourceAsStream()
587 DCHECK(boot_class_path_files.empty() || boot_class_path_files.size() == boot_class_path.size()); in GetResourceAsStream()
594 for (size_t i = 0; i < boot_class_path.size(); ++i) { in GetResourceAsStream()
595 const std::string& jar_file = boot_class_path[i]; in GetResourceAsStream()
/art/runtime/gc/
Dheap.h211 const std::vector<std::string>& boot_class_path,
Dheap.cc283 const std::vector<std::string>& boot_class_path, in Heap() argument
509 if (space::ImageSpace::LoadBootImage(boot_class_path, in Heap()
/art/artd/
Dartd.cc1509 .boot_class_path = *OR_RETURN(GetBootClassPath()), in GetOatFileAssistantContext()