Lines Matching refs:loaded_package
361 for (const auto& loaded_package : packages_) { in GetPackageById() local
362 if (loaded_package->GetPackageId() == package_id) { in GetPackageById()
363 return loaded_package.get(); in GetPackageById()
373 std::unique_ptr<LoadedPackage> loaded_package(new LoadedPackage()); in Load() local
385 loaded_package->system_ = system; in Load()
387 loaded_package->package_id_ = dtohl(header->id); in Load()
388 if (loaded_package->package_id_ == 0 || in Load()
389 (loaded_package->package_id_ == kAppPackageId && load_as_shared_library)) { in Load()
391 loaded_package->dynamic_ = true; in Load()
396 loaded_package->package_id_ = loaded_idmap->TargetPackageId(); in Load()
397 loaded_package->overlay_ = true; in Load()
406 loaded_package->type_id_offset_ = static_cast<int>(type_id_offset); in Load()
410 &loaded_package->package_name_); in Load()
427 status_t err = loaded_package->type_string_pool_.setTo( in Load()
435 status_t err = loaded_package->key_string_pool_.setTo( in Load()
458 if (loaded_package->type_id_offset_ + static_cast<int>(type_spec->id) > in Load()
532 loaded_package->dynamic_package_map_.reserve(dtohl(lib->count)); in Load()
549 loaded_package->dynamic_package_map_.emplace_back(std::move(package_name), in Load()
584 loaded_package->type_specs_.editItemAt(type_idx) = std::move(type_spec_ptr); in Load()
588 return std::move(loaded_package); in Load()
630 std::unique_ptr<const LoadedPackage> loaded_package = in LoadTable() local
632 if (!loaded_package) { in LoadTable()
635 packages_.push_back(std::move(loaded_package)); in LoadTable()