Home
last modified time | relevance | path

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

/ndk/sources/android/support/tests/
Dwchar_unittest.cc41 static const wchar_t kString[] = L"abcda"; in TEST() local
42 EXPECT_EQ(kString + 0, wcschr(kString, L'a')); in TEST()
43 EXPECT_EQ(kString + 1, wcschr(kString, L'b')); in TEST()
44 EXPECT_EQ(kString + 2, wcschr(kString, L'c')); in TEST()
45 EXPECT_EQ(kString + 3, wcschr(kString, L'd')); in TEST()
46 EXPECT_FALSE(wcschr(kString, L'e')); in TEST()
47 EXPECT_EQ(kString + 5, wcschr(kString, L'\0')); in TEST()
51 static const wchar_t kString[] = L"abcda"; in TEST() local
52 EXPECT_EQ(kString + 4, wcsrchr(kString, L'a')); in TEST()
53 EXPECT_EQ(kString + 1, wcsrchr(kString, L'b')); in TEST()
[all …]
Dstdio_unittest.cc12 static const char kString[] = "Hello, World"; in TEST() local
13 EXPECT_EQ(12, snprintf(char_buff, char_buff_len, "%s", kString)); in TEST()
14 EXPECT_EQ(12, snprintf(char_buff, 13, "%s", kString)); in TEST()
16 EXPECT_EQ(12, snprintf(char_buff, 12, "%s", kString)); in TEST()
18 EXPECT_EQ(12, snprintf(char_buff, 1, "%s", kString)); in TEST()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_system_unittest.cpp16 static const char kString[] = "Hello World"; in TEST() local
17 const size_t kStringLen = sizeof(kString) - 1; in TEST()
20 sys.AddRegularFile(kPath, kString, kStringLen); in TEST()
27 EXPECT_STREQ(kString, buff2); in TEST()
Dcrazy_linker_util_unittest.cpp12 const char kString[] = "/tmp/foo"; in TEST() local
13 EXPECT_EQ(kString + 5, GetBaseNamePtr(kString)); in TEST()