• Home
  • Raw
  • Download

Lines Matching refs:dex_

36     ADexFile_destroy(dex_);  in TearDown()
39 ADexFile* dex_ = nullptr; member in art_api::dex::ADexFileTest
44 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_OK); in TEST_F()
46 EXPECT_NE(dex_, nullptr); in TEST_F()
51 EXPECT_EQ(ADexFile_create(kDexData, size, nullptr, "", &dex_), ADEXFILE_ERROR_OK); in TEST_F()
52 EXPECT_NE(dex_, nullptr); in TEST_F()
57 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST_F()
59 EXPECT_EQ(dex_, nullptr); in TEST_F()
64 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST_F()
66 EXPECT_EQ(dex_, nullptr); in TEST_F()
79 dex_ = GetTestDexData(); in TEST_F()
80 ASSERT_NE(dex_, nullptr); in TEST_F()
94 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x102, check_init, &found_init), 1u); in TEST_F()
109 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x118, check_main, &found_main), 1u); in TEST_F()
114 dex_ = GetTestDexData(); in TEST_F()
115 ASSERT_NE(dex_, nullptr); in TEST_F()
118 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x99, no_cb, nullptr), 0); in TEST_F()
119 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x100, no_cb, nullptr), 1); in TEST_F()
120 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x107, no_cb, nullptr), 1); in TEST_F()
121 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x108, no_cb, nullptr), 0); in TEST_F()
122 EXPECT_EQ(ADexFile_findMethodAtOffset(dex_, 0x100000, no_cb, nullptr), 0); in TEST_F()
126 dex_ = GetTestDexData(); in TEST_F()
127 ASSERT_NE(dex_, nullptr); in TEST_F()
134 EXPECT_EQ(ADexFile_forEachMethod(dex_, add, &names), 2u); in TEST_F()