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.cc189 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder()
190 dex_file_->magic = slicer::MemView{kDexFileMagic, sizeof(kDexFileMagic)};
194 ::dex::Writer writer(dex_file_); in CreateImage()
217 ::dex::u4 const new_index = dex_file_->strings_indexes.AllocateIndex(); in GetOrAddString()
218 dex_file_->strings_map[new_index] = entry; in GetOrAddString()
244 type->orig_index = dex_file_->types_indexes.AllocateIndex(); in GetOrAddType()
245 dex_file_->types_map[type->orig_index] = type; in GetOrAddType()
260 field->orig_index = dex_file_->fields_indexes.AllocateIndex(); in GetOrAddField()
261 dex_file_->fields_map[field->orig_index] = field; in GetOrAddField()
664 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod()
[all …]
Ddex_builder.h544 return dex_file_->Alloc<T>(); in Alloc()
573 std::shared_ptr<ir::DexFile> dex_file_; variable