Home
last modified time | relevance | path

Searched refs:isASCII (Results 1 – 10 of 10) sorted by relevance

/external/clang/unittests/Basic/
DCharInfoTest.cpp43 TEST(CharInfoTest, isASCII) { in TEST() argument
44 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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java482 boolean isASCII=true; in markBadACELabel()
492 isASCII=onlyLDH=false; in markBadACELabel()
497 isASCII=false; in markBadACELabel()
501 isASCII=onlyLDH=false; in markBadACELabel()
508 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUTS46.java483 boolean isASCII=true; in markBadACELabel()
493 isASCII=onlyLDH=false; in markBadACELabel()
498 isASCII=false; in markBadACELabel()
502 isASCII=onlyLDH=false; in markBadACELabel()
509 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java539 if(!hasCertainErrors(aNInfo, severeErrors) && !isASCII(aN)) { in TestSomeCases()
544 if(!hasCertainErrors(aTInfo, severeErrors) && !isASCII(aT)) { in TestSomeCases()
748 isASCII(CharSequence str) { in isASCII() method in UTS46Test
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java543 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
/external/clang/include/clang/Basic/
DCharInfo.h43 LLVM_READNONE static inline bool isASCII(char c) { in isASCII() function
/external/icu/icu4c/source/test/intltest/
Duts46test.cpp85 static UBool isASCII(const UnicodeString &str) { in isASCII() function
646 if((aNInfo.getErrors()&severeErrors)==0 && !isASCII(aN)) { in TestSomeCases()
652 if((aTInfo.getErrors()&severeErrors)==0 && !isASCII(aT)) { in TestSomeCases()
/external/icu/icu4c/source/common/
Duts46.cpp912 UBool isASCII=TRUE; in markBadACELabel() local
924 isASCII=onlyLDH=FALSE; in markBadACELabel()
929 isASCII=FALSE; in markBadACELabel()
933 isASCII=onlyLDH=FALSE; in markBadACELabel()
944 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
/external/clang/lib/Lex/
DLexer.cpp1489 if (isASCII(C) && C != '\\' && C != '?' && in LexIdentifier()
1531 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) { in LexIdentifier()
1613 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexNumericConstant()
1637 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexUDSuffix()
1707 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) {} in LexUDSuffix()
2837 !isASCII(*BufferPtr) && !isAllowedIDChar(C, LangOpts)) { in LexUnicode()
3579 if (isASCII(Char)) { in LexTokenInternal()
/external/clang/include/clang/AST/
DExpr.h1609 if (!isASCII(Str[i]) || !Str[i]) in containsNonAsciiOrNull()