Lines Matching refs:kDexData
56 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()
105 EXPECT_TRUE(DexFile::Create(0x600, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
113 ASSERT_EQ(sizeof(kDexData), in TEST()
114 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData))))); in TEST()
118 EXPECT_TRUE(DexFile::Create(0x400, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
123 memory.SetMemory(0x4000, kDexData, sizeof(kDexData)); in TEST()
125 EXPECT_TRUE(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
130 memory.SetMemory(0x4000, kDexData, sizeof(kDexData)); in TEST()
132 EXPECT_TRUE(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info) != nullptr); in TEST()
139 ASSERT_EQ(sizeof(kDexData) - 10, in TEST()
140 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData) - 10)))); in TEST()
143 memory.SetMemory(0x4000, kDexData, sizeof(kDexData)); in TEST()
145 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
150 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
157 memory.SetMemory(0x4000, kDexData, size); in TEST()
163 size_t size = sizeof(kDexData) - 1; in TEST()
164 memory.SetMemory(0x4000, kDexData, size); in TEST()
170 memory.SetMemory(0x4000, kDexData, sizeof(kDexData)); in TEST()
172 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST()
188 memory.SetMemory(0x4000, kDexData, sizeof(kDexData)); in TEST()
190 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST()
204 ASSERT_EQ(sizeof(kDexData), in TEST()
205 static_cast<size_t>(TEMP_FAILURE_RETRY(write(tf.fd, kDexData, sizeof(kDexData))))); in TEST()
209 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST()
219 int main = std::string(reinterpret_cast<const char*>(kDexData), sizeof(kDexData)).find("Main"); in TEST()