Lines Matching refs:loaded_package

446   for (const auto& loaded_package : packages_) {  in GetPackageById()  local
447 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
448 return loaded_package.get(); in GetPackageById()
458 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage(optimize_name_lookups)); in Load() local
471 loaded_package->property_flags_ |= PROPERTY_SYSTEM; in Load()
475 loaded_package->property_flags_ |= PROPERTY_LOADER; in Load()
481 loaded_package->property_flags_ |= PROPERTY_OVERLAY | PROPERTY_DYNAMIC; in Load()
484 loaded_package->package_id_ = dtohl(header->id); in Load()
485 if (loaded_package->package_id_ == 0 || in Load()
486 (loaded_package->package_id_ == kAppPackageId && (property_flags & PROPERTY_DYNAMIC) != 0)) { in Load()
487 loaded_package->property_flags_ |= PROPERTY_DYNAMIC; in Load()
496 loaded_package->type_id_offset_ = static_cast<int>(type_id_offset); in Load()
500 &loaded_package->package_name_); in Load()
525 status_t err = loaded_package->type_string_pool_.setTo( in Load()
534 status_t err = loaded_package->key_string_pool_.setTo( in Load()
557 if (loaded_package->type_id_offset_ + static_cast<int>(type_spec->id) > in Load()
583 loaded_package->resource_ids_.set(type_spec->id, entry_count); in Load()
625 loaded_package->dynamic_package_map_.reserve(dtohl(lib->count)); in Load()
645 loaded_package->dynamic_package_map_.emplace_back(std::move(package_name), in Load()
662 loaded_package->overlayable_map_.emplace(std::move(name), std::move(actor)); in Load()
710loaded_package->overlayable_infos_.emplace_back(std::move(overlayable_info), std::move(ids)); in Load()
711 loaded_package->defines_overlayable_ = true; in Load()
731 if (loaded_package->package_id_ != kFrameworkPackageId) { in Load()
733 << loaded_package->package_name_ << "'"; in Load()
751 loaded_package->alias_id_map_.reserve(entry_end - entry_begin); in Load()
765 loaded_package->alias_id_map_.emplace_back(staged_id, finalized_id); in Load()
768 std::sort(loaded_package->alias_id_map_.begin(), loaded_package->alias_id_map_.end(), in Load()
771 std::adjacent_find(loaded_package->alias_id_map_.begin(), in Load()
772 loaded_package->alias_id_map_.end(), in Load()
774 if (duplicate_it != loaded_package->alias_id_map_.end()) { in Load()
798 loaded_package->type_specs_[type_id] = std::move(type_spec); in Load()
801 return std::move(loaded_package); in Load()
854 std::unique_ptr<const LoadedPackage> loaded_package = in LoadTable() local
856 if (!loaded_package) { in LoadTable()
859 packages_.push_back(std::move(loaded_package)); in LoadTable()