Home
last modified time | relevance | path

Searched refs:dex_file_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/startop/view_compiler/
Ddex_builder.cc172 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder()
173 dex_file_->magic = slicer::MemView{kDexFileMagic, sizeof(kDexFileMagic)};
177 ::dex::Writer writer(dex_file_); in CreateImage()
200 ::dex::u4 const new_index = dex_file_->strings_indexes.AllocateIndex(); in GetOrAddString()
201 dex_file_->strings_map[new_index] = entry; in GetOrAddString()
227 type->orig_index = dex_file_->types_indexes.AllocateIndex(); in GetOrAddType()
228 dex_file_->types_map[type->orig_index] = type; in GetOrAddType()
564 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod()
566 size_t id = dex_file_->methods.size() - 1; in GetOrDeclareMethod()
574 auto new_index = dex_file_->methods_indexes.AllocateIndex(); in GetOrDeclareMethod()
[all …]
Ddex_builder.h472 return dex_file_->Alloc<T>(); in Alloc()
496 std::shared_ptr<ir::DexFile> dex_file_; variable