Lines Matching defs:cases
38 } cases[] = {
99 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i)
100 EXPECT_EQ(cases[i].direction,
101 GetFirstStrongCharacterDirection(WideToUTF16(cases[i].text)));
105 // Note that the cases with LRE, LRO, RLE and RLO are invalid for
112 } cases[] = {
161 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i)
162 EXPECT_EQ(cases[i].direction,
163 GetLastStrongCharacterDirection(WideToUTF16(cases[i].text)));
170 } cases[] = {
239 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i)
240 EXPECT_EQ(cases[i].direction,
241 GetStringDirection(WideToUTF16(cases[i].text)));
245 const wchar_t* cases[] = {
274 for (size_t i = 0; i < arraysize(cases); ++i) {
277 std::wstring win_path(cases[i]);
283 path = FilePath(base::SysWideToNativeMB(cases[i]));
285 std::wstring(L"\x202a") + cases[i] + L"\x202c";
296 const wchar_t* cases[] = {
318 for (size_t i = 0; i < arraysize(cases); ++i) {
319 string16 input = WideToUTF16(cases[i]);
342 } cases[] = {
358 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) {
359 string16 input = WideToUTF16(cases[i].path);
362 if (IsRTL() ? cases[i].wrap_rtl : cases[i].wrap_ltr)
404 const wchar_t* cases[] = {
423 for (size_t i = 0; i < arraysize(cases); ++i) {
424 string16 test_case = WideToUTF16(cases[i]);