Lines Matching refs:kData
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()
116 } kData[] = { in TEST() local
127 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
128 const char* text = to_cstr(kData[n].input); in TEST()
131 EXPECT_EQ(kData[n].expected, wcstold(kData[n].input, &end)); in TEST()
133 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
143 } kData[] = { in TEST() local
153 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
154 const char* text = to_cstr(kData[n].input); in TEST()
157 EXPECT_EQ(kData[n].expected, wcstol(kData[n].input, &end, kData[n].base)); in TEST()
159 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
169 } kData[] = { in TEST() local
179 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
180 const char* text = to_cstr(kData[n].input); in TEST()
183 EXPECT_EQ(kData[n].expected, wcstoul(kData[n].input, &end, kData[n].base)); in TEST()
185 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
195 } kData[] = { in TEST() local
205 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
206 const char* text = to_cstr(kData[n].input); in TEST()
209 EXPECT_EQ(kData[n].expected, wcstoll(kData[n].input, &end, kData[n].base)); in TEST()
211 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()
221 } kData[] = { in TEST() local
231 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
232 const char* text = to_cstr(kData[n].input); in TEST()
235 EXPECT_EQ(kData[n].expected, wcstoull(kData[n].input, &end, kData[n].base)); in TEST()
237 EXPECT_EQ(kData[n].expected_len, (int)(end - kData[n].input)); in TEST()