Home
last modified time | relevance | path

Searched refs:dex_ (Results 1 – 4 of 4) sorted by relevance

/art/libdexfile/external/
Ddex_file_ext_test.cc36 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()
[all …]
/art/compiler/
Dexception_test.cc70 dex_ = my_klass_->GetDexCache()->GetDexFile(); in SetUp()
126 const DexFile* dex_; member in art::ExceptionTest
140 CodeItemDataAccessor accessor(*dex_, method_f_->GetCodeItem()); in TEST_F()
152 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
155 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
162 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
/art/runtime/
Dbacktrace_helper.cc58 dex_(unwindstack::CreateDexFiles(arch_, memory_)), in UnwindHelper()
63 unwinder_.SetDexFiles(dex_.get()); in UnwindHelper()
87 std::unique_ptr<unwindstack::DexFiles> dex_; member
/art/libelffile/elf/
Delf_builder.h468 dex_(this, ".dex", SHT_NOBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in ElfBuilder()
491 dex_.phdr_flags_ = PF_R; in ElfBuilder()
504 Section* GetDex() { return &dex_; } in GetDex()
661 dex_.AllocateVirtualMemory(dex_size); in PrepareDynamicSection()
728 dynsym_.Add(oatdex, &dex_, dex_.GetAddress(), /* size= */ 0, STB_GLOBAL, STT_OBJECT); in PrepareDynamicSection()
730 Elf_Word oatdexlastword_address = dex_.GetAddress() + dex_size - 4; in PrepareDynamicSection()
731 dynsym_.Add(oatdexlastword, &dex_, oatdexlastword_address, 4, STB_GLOBAL, STT_OBJECT); in PrepareDynamicSection()
976 Section dex_; variable