Searched refs:isASCII (Results 1 – 11 of 11) sorted by relevance
43 TEST(CharInfoTest, isASCII) { in TEST() argument44 EXPECT_TRUE(isASCII('\0')); in TEST()45 EXPECT_TRUE(isASCII('\n')); in TEST()46 EXPECT_TRUE(isASCII(' ')); in TEST()47 EXPECT_TRUE(isASCII('a')); in TEST()48 EXPECT_TRUE(isASCII('\x7f')); in TEST()49 EXPECT_FALSE(isASCII('\x80')); in TEST()50 EXPECT_FALSE(isASCII('\xc2')); in TEST()51 EXPECT_FALSE(isASCII('\xff')); in TEST()
21 bool isASCII(UChar c) { return !(c & ~0x7F); } in isASCII() function24 return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9)); in isSpaceOrNewLine()32 if (!isASCII(characters[i])) { in charactersToInteger()62 return isASCII(b0) ? 1 : inlineUTF8SequenceLengthNonASCII(b0); in inlineUTF8SequenceLength()
485 boolean isASCII=true; in markBadACELabel()495 isASCII=onlyLDH=false; in markBadACELabel()500 isASCII=false; in markBadACELabel()504 isASCII=onlyLDH=false; in markBadACELabel()511 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
484 boolean isASCII=true; in markBadACELabel()494 isASCII=onlyLDH=false; in markBadACELabel()499 isASCII=false; in markBadACELabel()503 isASCII=onlyLDH=false; in markBadACELabel()510 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
543 if(!hasCertainErrors(aNInfo, severeErrors) && !isASCII(aN)) { in TestSomeCases()548 if(!hasCertainErrors(aTInfo, severeErrors) && !isASCII(aT)) { in TestSomeCases()752 isASCII(CharSequence str) { in isASCII() method in UTS46Test
544 if(!hasCertainErrors(aNInfo, severeErrors) && !isASCII(aN)) { in TestSomeCases()549 if(!hasCertainErrors(aTInfo, severeErrors) && !isASCII(aT)) { in TestSomeCases()753 isASCII(CharSequence str) { in isASCII() method in UTS46Test
43 LLVM_READNONE static inline bool isASCII(char c) { in isASCII() function
87 static UBool isASCII(const UnicodeString &str) { in isASCII() function648 if((aNInfo.getErrors()&severeErrors)==0 && !isASCII(aN)) { in TestSomeCases()654 if((aTInfo.getErrors()&severeErrors)==0 && !isASCII(aT)) { in TestSomeCases()
914 UBool isASCII=TRUE; in markBadACELabel() local926 isASCII=onlyLDH=FALSE; in markBadACELabel()931 isASCII=FALSE; in markBadACELabel()935 isASCII=onlyLDH=FALSE; in markBadACELabel()946 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
1516 if (isASCII(C) && C != '\\' && C != '?' && in LexIdentifier()1558 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) { in LexIdentifier()1641 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexNumericConstant()1665 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexUDSuffix()1735 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) {} in LexUDSuffix()2865 !isASCII(*BufferPtr) && !isAllowedIDChar(C, LangOpts)) { in LexUnicode()3613 if (isASCII(Char)) { in LexTokenInternal()
1567 if (!isASCII(Str[i]) || !Str[i]) in containsNonAsciiOrNull()