Lines Matching refs:dex
56 std::unique_ptr<const DexFile> dex(OpenTestDexFile("Nested")); in TEST_F() local
57 ASSERT_TRUE(dex.get() != nullptr); in TEST_F()
111 const dex::ClassDef& c0 = raw->GetClassDef(0); in TEST_F()
114 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F()
117 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F()
126 const dex::ClassDef& class_def = raw->GetClassDef(0); in TEST_F()
137 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
211 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
236 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F()
244 const char* type_str = java_lang_dex_file_->StringByTypeIdx(dex::TypeIndex(i)); in TEST_F()
245 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F()
247 dex::StringIndex type_str_idx = java_lang_dex_file_->GetIndexForStringId(*type_str_id); in TEST_F()
248 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F()
257 const dex::ProtoId& to_find = java_lang_dex_file_->GetProtoId(dex::ProtoIndex(i)); in TEST_F()
258 const dex::TypeList* to_find_tl = java_lang_dex_file_->GetProtoParameters(to_find); in TEST_F()
259 std::vector<dex::TypeIndex> to_find_types; in TEST_F()
265 const dex::ProtoId* found = in TEST_F()
268 EXPECT_EQ(java_lang_dex_file_->GetIndexForProtoId(*found), dex::ProtoIndex(i)); in TEST_F()
274 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F()
275 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
276 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
277 const dex::ProtoId& signature = java_lang_dex_file_->GetProtoId(to_find.proto_idx_); in TEST_F()
278 const dex::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
289 const dex::FieldId& to_find = java_lang_dex_file_->GetFieldId(i); in TEST_F()
290 const dex::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
291 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
292 const dex::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); in TEST_F()
293 const dex::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type); in TEST_F()