Searched refs:bcp_index (Results 1 – 5 of 5) sorted by relevance
/art/runtime/oat/ |
D | oat_file_assistant_context.cc | 79 size_t bcp_index = 0; local 84 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size()); 85 current_bcp_checksums = &bcp_checksums_by_index_[bcp_index++]; 89 DCHECK_EQ(bcp_index, runtime_options_->boot_class_path.size()); 151 const std::vector<std::string>* OatFileAssistantContext::GetBcpChecksums(size_t bcp_index, in GetBcpChecksums() argument 153 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size()); in GetBcpChecksums() 155 if (auto it = bcp_checksums_by_index_.find(bcp_index); it != bcp_checksums_by_index_.end()) { in GetBcpChecksums() 161 File* file = bcp_files.has_value() ? &(*bcp_files)[bcp_index] : &noFile; in GetBcpChecksums() 162 ArtDexFileLoader dex_loader(file, runtime_options_->boot_class_path[bcp_index]); in GetBcpChecksums() 170 std::vector<std::string>& bcp_checksums = bcp_checksums_by_index_[bcp_index]; in GetBcpChecksums()
|
D | oat_file_assistant_context.h | 76 const std::vector<std::string>* GetBcpChecksums(size_t bcp_index, std::string* error_msg);
|
D | oat_file_assistant.cc | 762 size_t bcp_index = 0; in ValidateBootClassPathChecksums() local 766 while (bcp_index < oat_bcp_size) { in ValidateBootClassPathChecksums() 774 bcp_locations[bcp_index].c_str(), in ValidateBootClassPathChecksums() 788 bcp_index += boot_image_info.component_count; in ValidateBootClassPathChecksums() 793 ofa_context->GetBcpChecksums(bcp_index, error_msg); in ValidateBootClassPathChecksums() 802 bcp_locations[bcp_index].c_str(), in ValidateBootClassPathChecksums() 809 bcp_index++; in ValidateBootClassPathChecksums() 817 if (bcp_index < oat_bcp_size) { in ValidateBootClassPathChecksums() 821 StringPrintf("Checksum too short, missing %zu components", oat_bcp_size - bcp_index); in ValidateBootClassPathChecksums()
|
/art/runtime/gc/space/ |
D | image_space.h | 383 size_t bcp_index; member 388 size_t bcp_index, in ExpandLocationImpl() argument 391 ArrayRef<const std::string>(boot_class_path_).SubArray(bcp_index, 1u), in ExpandLocationImpl() 398 std::string ExpandLocation(const std::string& location, size_t bcp_index) { in ExpandLocation() argument 399 if (bcp_index == 0u) { in ExpandLocation() 401 ExpandLocationImpl(location, bcp_index, /*boot_image_extension=*/false)); in ExpandLocation() 404 return ExpandLocationImpl(location, bcp_index, /*boot_image_extension=*/true); in ExpandLocation() 408 std::string GetBcpComponentPath(size_t bcp_index) { in GetBcpComponentPath() argument 409 DCHECK_LE(bcp_index, boot_class_path_.size()); in GetBcpComponentPath() 410 size_t bcp_slash_pos = boot_class_path_[bcp_index].rfind('/'); in GetBcpComponentPath() [all …]
|
D | image_space.cc | 1649 location.bcp_index = bcp_pos; in MatchNamedComponents() 1717 size_t bcp_index, in ValidateHeader() argument 1721 DCHECK_LT(bcp_index, bcp_component_count); in ValidateHeader() 1722 size_t allowed_component_count = bcp_component_count - bcp_index; in ValidateHeader() 1752 size_t bcp_index, in ValidateOatFile() argument 1755 std::string art_filename = ExpandLocation(base_filename, bcp_index); in ValidateOatFile() 1756 std::string art_location = ExpandLocation(base_location, bcp_index); in ValidateOatFile() 1759 int oat_fd = bcp_index < boot_class_path_oat_files_.size() in ValidateOatFile() 1760 ? boot_class_path_oat_files_[bcp_index].Fd() in ValidateOatFile() 1762 int vdex_fd = bcp_index < boot_class_path_vdex_files_.size() in ValidateOatFile() [all …]
|