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.cc850 dex::u4 new_index = MapStringIndex(*index32); in WriteInstructions() local
851 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
852 *index32 = new_index; in WriteInstructions()
854 dex::u4 new_index = MapStringIndex(*index16); in WriteInstructions() local
855 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
856 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
857 *index16 = dex::u2(new_index); in WriteInstructions()
863 dex::u4 new_index = MapTypeIndex(*index16); in WriteInstructions() local
864 SLICER_CHECK(new_index != dex::kNoIndex); in WriteInstructions()
865 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
[all …]