Searched refs:columnWidthUTF8 (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | UnicodeTest.cpp | 18 TEST(Unicode, columnWidthUTF8) { in TEST() argument 19 EXPECT_EQ(0, columnWidthUTF8("")); in TEST() 20 EXPECT_EQ(1, columnWidthUTF8(" ")); in TEST() 21 EXPECT_EQ(1, columnWidthUTF8("a")); in TEST() 22 EXPECT_EQ(1, columnWidthUTF8("~")); in TEST() 24 EXPECT_EQ(6, columnWidthUTF8("abcdef")); in TEST() 26 EXPECT_EQ(-1, columnWidthUTF8("\x01")); in TEST() 27 EXPECT_EQ(-1, columnWidthUTF8("aaaaaaaaaa\x01")); in TEST() 28 EXPECT_EQ(-1, columnWidthUTF8("\342\200\213")); // 200B ZERO WIDTH SPACE in TEST() 34 EXPECT_EQ(1, columnWidthUTF8("\302\255")); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | UnicodeTest.cpp | 18 TEST(Unicode, columnWidthUTF8) { in TEST() argument 19 EXPECT_EQ(0, columnWidthUTF8("")); in TEST() 20 EXPECT_EQ(1, columnWidthUTF8(" ")); in TEST() 21 EXPECT_EQ(1, columnWidthUTF8("a")); in TEST() 22 EXPECT_EQ(1, columnWidthUTF8("~")); in TEST() 24 EXPECT_EQ(6, columnWidthUTF8("abcdef")); in TEST() 26 EXPECT_EQ(-1, columnWidthUTF8("\x01")); in TEST() 27 EXPECT_EQ(-1, columnWidthUTF8("aaaaaaaaaa\x01")); in TEST() 28 EXPECT_EQ(-1, columnWidthUTF8("\342\200\213")); // 200B ZERO WIDTH SPACE in TEST() 34 EXPECT_EQ(1, columnWidthUTF8("\302\255")); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | Unicode.h | 61 int columnWidthUTF8(StringRef Text);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Unicode.h | 61 int columnWidthUTF8(StringRef Text);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Locale.cpp | 13 return llvm::sys::unicode::columnWidthUTF8(Text); in columnWidth()
|
D | Unicode.cpp | 343 int columnWidthUTF8(StringRef Text) { in columnWidthUTF8() function
|
/external/llvm/lib/Support/ |
D | Locale.cpp | 14 return llvm::sys::unicode::columnWidthUTF8(Text); in columnWidth()
|
D | Unicode.cpp | 343 int columnWidthUTF8(StringRef Text) { in columnWidthUTF8() function
|
/external/clang/lib/Format/ |
D | Encoding.h | 67 int ContentWidth = llvm::sys::unicode::columnWidthUTF8(Text); in columnWidth()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 789 if (!IsAggressive && llvm::sys::unicode::columnWidthUTF8(stringValue) < 2) in checkPreObjCMessage()
|