Lines Matching refs:bcp_index
1457 size_t bcp_index; member
1462 size_t bcp_index, in ExpandLocationImpl() argument
1465 ArrayRef<const std::string>(boot_class_path_).SubArray(bcp_index, 1u), in ExpandLocationImpl()
1472 std::string ExpandLocation(const std::string& location, size_t bcp_index) { in ExpandLocation() argument
1473 if (bcp_index == 0u) { in ExpandLocation()
1474 DCHECK_EQ(location, ExpandLocationImpl(location, bcp_index, /*boot_image_extension=*/ false)); in ExpandLocation()
1477 return ExpandLocationImpl(location, bcp_index, /*boot_image_extension=*/ true); in ExpandLocation()
1481 std::string GetBcpComponentPath(size_t bcp_index) { in GetBcpComponentPath() argument
1482 DCHECK_LE(bcp_index, boot_class_path_.size()); in GetBcpComponentPath()
1483 size_t bcp_slash_pos = boot_class_path_[bcp_index].rfind('/'); in GetBcpComponentPath()
1485 return boot_class_path_[bcp_index].substr(0u, bcp_slash_pos + 1u); in GetBcpComponentPath()
1502 size_t bcp_index,
1508 size_t bcp_index,
1513 size_t bcp_index,
1714 location.bcp_index = bcp_pos; in MatchNamedComponents()
1782 size_t bcp_index, in ValidateHeader() argument
1786 DCHECK_LT(bcp_index, bcp_component_count); in ValidateHeader()
1787 size_t allowed_component_count = bcp_component_count - bcp_index; in ValidateHeader()
1816 size_t bcp_index, in ReadHeader() argument
1818 DCHECK_LE(next_bcp_index_, bcp_index); in ReadHeader()
1819 DCHECK_LT(bcp_index, boot_class_path_.size()); in ReadHeader()
1821 std::string actual_filename = ExpandLocation(base_filename, bcp_index); in ReadHeader()
1827 if (!ValidateHeader(header, bcp_index, file_description, error_msg)) { in ReadHeader()
1837 chunk.start_index = bcp_index; in ReadHeader()
1846 next_bcp_index_ = bcp_index + header.GetComponentCount(); in ReadHeader()
1854 size_t bcp_index, in CompileExtension() argument
1859 DCHECK_LE(next_bcp_index_, bcp_index); in CompileExtension()
1861 DCHECK_LT(bcp_index, bcp_component_count); in CompileExtension()
1863 if (total_component_count_ != bcp_index) { in CompileExtension()
1912 size_t bcp_end = bcp_index; in CompileExtension()
1923 if (bcp_end == bcp_index) { in CompileExtension()
1926 boot_class_path_locations_[bcp_index].c_str()); in CompileExtension()
1931 std::string art_filename = ExpandLocation(base_filename, bcp_index); in CompileExtension()
1939 boot_class_path_locations_[bcp_index].c_str()); in CompileExtension()
1950 boot_class_path_.SubArray(/*pos=*/ bcp_index, /*length=*/ bcp_end - bcp_index); in CompileExtension()
1952 boot_class_path_locations_.SubArray(/*pos=*/ bcp_index, /*length=*/ bcp_end - bcp_index); in CompileExtension()
1964 for (size_t i = bcp_index; i != bcp_end; ++i) { in CompileExtension()
1997 VLOG(image) << "Compiling boot image extension for " << (bcp_end - bcp_index) in CompileExtension()
1998 << " components, starting from " << boot_class_path_locations_[bcp_index]; in CompileExtension()
2013 if (!ValidateHeader(header, bcp_index, file_description, error_msg)) { in CompileExtension()
2022 chunk.start_index = bcp_index; in CompileExtension()
2034 next_bcp_index_ = bcp_index + header.GetComponentCount(); in CompileExtension()
2105 size_t bcp_index = named_component_locations[i].bcp_index; in LoadOrValidate() local
2113 if (bcp_index < bcp_pos) { in LoadOrValidate()
2118 if (validate && bcp_index > bcp_pos) { in LoadOrValidate()
2127 !ReadHeader(base_location, base_filename, bcp_index, err_msg)) { in LoadOrValidate()
2136 bcp_index, in LoadOrValidate()
2141 VLOG(image) << "Error compiling extension for " << boot_class_path_[bcp_index] in LoadOrValidate()
2144 bcp_pos = bcp_index + 1u; // Skip at least this component. in LoadOrValidate()