Searched refs:isPrintable (Results 1 – 15 of 15) sorted by relevance
63 TEST(Unicode, isPrintable) { in TEST() argument64 EXPECT_FALSE(isPrintable(0)); // <control-0000>-<control-001F> in TEST()65 EXPECT_FALSE(isPrintable(0x01)); in TEST()66 EXPECT_FALSE(isPrintable(0x1F)); in TEST()67 EXPECT_TRUE(isPrintable(' ')); in TEST()68 EXPECT_TRUE(isPrintable('A')); in TEST()69 EXPECT_TRUE(isPrintable('~')); in TEST()70 EXPECT_FALSE(isPrintable(0x7F)); // <control-007F>..<control-009F> in TEST()71 EXPECT_FALSE(isPrintable(0x90)); in TEST()72 EXPECT_FALSE(isPrintable(0x9F)); in TEST()[all …]
315 TEST(CharInfoTest, isPrintable) { in TEST() argument316 EXPECT_TRUE(isPrintable('0')); in TEST()317 EXPECT_TRUE(isPrintable('9')); in TEST()319 EXPECT_TRUE(isPrintable('a')); in TEST()320 EXPECT_TRUE(isPrintable('A')); in TEST()322 EXPECT_TRUE(isPrintable('z')); in TEST()323 EXPECT_TRUE(isPrintable('Z')); in TEST()325 EXPECT_TRUE(isPrintable('.')); in TEST()326 EXPECT_TRUE(isPrintable('_')); in TEST()328 EXPECT_TRUE(isPrintable('/')); in TEST()[all …]
23 bool isPrintable(int UCS) { in isPrintable() function229 if (!isPrintable(UCS)) in charWidth()
25 return llvm::sys::unicode::isPrintable(UCS); in isPrint()
34 inline boolean isPrintable(int c) __attribute__((always_inline));104 inline boolean isPrintable(int c) in isPrintable() function
88 inline bool isPrintable(char c) in isPrintable() function213 else if (isPrintable(c)) in readConfig()228 else if (isPrintable(c)) in readConfig()332 else if (isPrintable(c)) in readConfig()
88 inline bool isPrintable(char c) in isPrintable() function202 else if (isPrintable(c)) in readConfig()217 else if (isPrintable(c)) in readConfig()321 else if (isPrintable(c)) in readConfig()
45 bool isPrintable(int UCS);
140 LLVM_READONLY static inline bool isPrintable(unsigned char c) { in isPrintable() function
261 static inline UBool isPrintable(UChar32 c) { in isPrintable() function280 if (!isPrintable(ch)) in prettify()315 if (!isPrintable(ch)) in prettify()
293 static inline UBool isPrintable(UChar32 c) { in isPrintable() function312 if (!isPrintable(ch)) in prettify()347 if (!isPrintable(ch)) in prettify()
377 if (isPrintable(Char) && Char != '\\' && Char != '"') in outputPrintable()
201 if (isPrintable(ResultChar)) in ProcessCharEscape()
968 if (value < 256 && isPrintable((unsigned char)value)) in VisitCharacterLiteral()
904 if (isPrintable(Char)) in outputString()