Home
last modified time | relevance | path

Searched refs:kDexData (Results 1 – 3 of 3) sorted by relevance

/system/unwinding/libunwindstack/tests/
DDexFileTest.cpp56 ASSERT_EQ(sizeof(kDexData), in TEST()
57 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData))))); in TEST()
64 EXPECT_TRUE(DexFile::Create(0, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
72 memory.SetMemory(0x1000, kDexData, sizeof(kDexData)); in TEST()
77 EXPECT_TRUE(DexFile::Create(0x1000, sizeof(kDexData), &memory, nullptr) != nullptr); in TEST()
87 ASSERT_EQ(sizeof(kDexData), in TEST()
88 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData))))); in TEST()
92 EXPECT_TRUE(DexFile::Create(0x500, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
100 ASSERT_EQ(sizeof(kDexData), in TEST()
101 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData))))); in TEST()
[all …]
DDexFilesTest.cpp175 memory_->SetMemory(dex_file, kDexData, sizeof(kDexData)); in WriteDex()
192 WriteEntry32(0x200000, 0, 0, 0x300000, sizeof(kDexData)); in TEST_F()
207 WriteEntry64(0x200000, 0, 0, 0x301000, sizeof(kDexData)); in TEST_F()
220 WriteEntry32(0x200000, 0x200100, 0, 0x100000, sizeof(kDexData)); in TEST_F()
221 WriteEntry32(0x200100, 0, 0x200000, 0x300000, sizeof(kDexData)); in TEST_F()
236 WriteEntry64(0x200000, 0x200100, 0, 0x100000, sizeof(kDexData)); in TEST_F()
237 WriteEntry64(0x200100, 0, 0x200000, 0x300000, sizeof(kDexData)); in TEST_F()
250 WriteEntry32(0x200000, 0, 0, 0x300000, sizeof(kDexData)); in TEST_F()
269 WriteEntry32(0x200000, 0x200100, 0, 0x100000, sizeof(kDexData)); in TEST_F()
270 WriteEntry32(0x200100, 0, 0x200000, 0x300000, sizeof(kDexData)); in TEST_F()
[all …]
DDexFileData.h23 static constexpr uint32_t kDexData[] = { variable