Home
last modified time | relevance | path

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

/tools/dexter/slicer/
Ddex_ir_builder.cc79 auto new_index = dex_ir_->strings_indexes.AllocateIndex(); in GetAsciiString() local
80 auto& ir_node = dex_ir_->strings_map[new_index]; in GetAsciiString()
83 ir_string->orig_index = new_index; in GetAsciiString()
107 auto new_index = dex_ir_->types_indexes.AllocateIndex(); in GetType() local
108 auto& ir_node = dex_ir_->types_map[new_index]; in GetType()
111 ir_type->orig_index = new_index; in GetType()
166 auto new_index = dex_ir_->protos_indexes.AllocateIndex(); in GetProto() local
167 auto& ir_node = dex_ir_->protos_map[new_index]; in GetProto()
170 ir_proto->orig_index = new_index; in GetProto()
195 auto new_index = dex_ir_->fields_indexes.AllocateIndex(); in GetFieldDecl() local
[all …]
Dwriter.cc855 dex::u4 new_index = MapStringIndex(ReadU4(idx)); in WriteInstructions() local
856 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
857 WriteU4(idx, new_index); in WriteInstructions()
860 dex::u4 new_index = MapStringIndex(*idx); in WriteInstructions() local
861 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
862 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
863 *idx = dex::u2(new_index); in WriteInstructions()
869 dex::u4 new_index = MapTypeIndex(*idx); in WriteInstructions() local
870 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
871 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
[all …]