Home
last modified time | relevance | path

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

/art/libdexfile/external/
Ddex_file_ext_test.cc43 size_t size = sizeof(kDexData); in TEST_F()
44 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_OK); in TEST_F()
45 EXPECT_EQ(size, sizeof(kDexData)); in TEST_F()
50 const size_t size = sizeof(kDexData); in TEST_F()
51 EXPECT_EQ(ADexFile_create(kDexData, size, nullptr, "", &dex_), ADEXFILE_ERROR_OK); in TEST_F()
57 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST_F()
64 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex_), ADEXFILE_ERROR_NOT_ENOUGH_DATA); in TEST_F()
65 EXPECT_EQ(size, sizeof(kDexData)); in TEST_F()
70 size_t size = sizeof(kDexData); in GetTestDexData()
72 EXPECT_EQ(ADexFile_create(kDexData, size, &size, "", &dex), ADEXFILE_ERROR_OK); in GetTestDexData()
[all …]
Ddex_file_supp_test.cc34 size_t size = sizeof(kDexData); in TEST()
36 EXPECT_TRUE(DexFile::Create(kDexData, size, &size, "", &dex_file).Ok()); in TEST()
37 EXPECT_EQ(size, sizeof(kDexData)); in TEST()
44 DexFile::Error error = DexFile::Create(kDexData, size, &size, "", &dex_file); in TEST()
55 DexFile::Error error = DexFile::Create(kDexData, size, &size, "", &dex_file); in TEST()
59 EXPECT_EQ(size, sizeof(kDexData)); in TEST()
64 size_t size = sizeof(kDexData); in GetTestDexData()
66 EXPECT_TRUE(DexFile::Create(kDexData, size, &size, "", &dex_file).Ok()); in GetTestDexData()
67 EXPECT_EQ(size, sizeof(kDexData)); in GetTestDexData()
Ddex_file_test_data.h25 static constexpr uint32_t kDexData[] = { variable