Lines Matching refs:deps

45     std::unique_ptr<DexFileDeps> deps(new DexFileDeps(dex_file->NumClassDefs()));  in VerifierDeps()  local
46 dex_deps_.emplace(dex_file, std::move(deps)); in VerifierDeps()
150 DexFileDeps* deps = singleton->GetDexFileDeps(dex_file); in GetIdFromString() local
151 DCHECK(deps != nullptr); in GetIdFromString()
158 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
164 if (FindExistingStringId(deps->strings_, str, &found_id)) { in GetIdFromString()
167 deps->strings_.push_back(str); in GetIdFromString()
168 dex::StringIndex new_id(num_ids_in_dex + deps->strings_.size() - 1); in GetIdFromString()
181 const DexFileDeps* deps = GetDexFileDeps(dex_file); in GetStringFromId() local
182 DCHECK(deps != nullptr); in GetStringFromId()
184 CHECK_LT(string_id.index_, deps->strings_.size()); in GetStringFromId()
185 return deps->strings_[string_id.index_]; in GetStringFromId()
524 const DexFileDeps& deps = *GetDexFileDeps(*dex_file); in Encode() local
525 EncodeSetVector(buffer, deps.assignable_types_, deps.verified_classes_); in Encode()
528 EncodeStringVector(buffer, deps.strings_); in Encode()
533 bool VerifierDeps::DecodeDexFileDeps(DexFileDeps& deps, in DecodeDexFileDeps() argument
541 &deps.assignable_types_, in DecodeDexFileDeps()
542 &deps.verified_classes_, in DecodeDexFileDeps()
545 cursor, data_start, data_end, &deps.strings_); in DecodeDexFileDeps()
561 DexFileDeps* deps = GetDexFileDeps(*dex_file); in ParseStoredData() local
566 *deps, &cursor, data_start, data_end, num_class_defs))) { in ParseStoredData()
590 DexFileDeps deps(/*num_class_defs=*/0u); // Do not initialize vectors. in ParseVerifiedClasses() local
594 deps.verified_classes_.resize(num_class_defs); in ParseVerifiedClasses()
596 deps, &cursor, data_start, data_end, num_class_defs))) { in ParseVerifiedClasses()
600 verified_classes_per_dex->push_back(std::move(deps.verified_classes_)); in ParseVerifiedClasses()
708 DexFileDeps& deps, in VerifyDexFileAndUpdateStatus() argument
711 const std::vector<std::set<TypeAssignability>>& assignables = deps.assignable_types_; in VerifyDexFileAndUpdateStatus()
737 deps.verified_classes_[class_def_index] = false; in VerifyDexFileAndUpdateStatus()