Searched refs:kData (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/android/support/tests/ |
D | wchar_unittest.cc | 65 } kData[] = { in TEST() local 75 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 76 const char* text = to_cstr(kData[n].input); in TEST() 79 EXPECT_EQ(kData[n].expected, wcstof(kData[n].input, &end)); in TEST() 81 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST() 90 } kData[] = { in TEST() local 101 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 102 const char* text = to_cstr(kData[n].input); in TEST() 105 EXPECT_EQ(kData[n].expected, wcstod(kData[n].input, &end)); in TEST() 107 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST() [all …]
|
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_proc_maps_unittest.cpp | 75 } kData[] = {{0x4000afff, false, 0}, in TEST() local 87 for (size_t n = 0; n < ARRAY_LEN(kData); ++n) { in TEST() 88 void* address = reinterpret_cast<void*>(kData[n].address); in TEST() 90 EXPECT_EQ(kData[n].success, FindProtectionFlagsForAddress(address, &prot)); in TEST() 91 if (kData[n].success) { in TEST() 93 EXPECT_EQ(kData[n].prot, prot); in TEST() 105 } kData[] = {{true, 0x4005c000, 0, "mksh"}, in TEST() local 111 for (size_t n = 0; n < ARRAY_LEN(kData); ++n) { in TEST() 113 TEST_TEXT << "Checking " << kData[n].name; in TEST() 114 bool success = FindLoadAddressForFile(kData[n].name, &address, &offset); in TEST() [all …]
|
D | crazy_linker_system_unittest.cpp | 47 } kData[] = { in TEST() local 65 for (size_t n = 0; n < ARRAY_LEN(kData); ++n) { in TEST() 66 TEST_TEXT << "Checking " << kData[n].name; in TEST() 67 EXPECT_EQ(kData[n].success, IsSystemLibrary(kData[n].name)); in TEST()
|