/external/clang/unittests/Basic/ |
D | CharInfoTest.cpp | 43 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/syzkaller/vendor/golang.org/x/net/http/httpguts/ |
D | httplex.go | 312 func isASCII(s string) bool { func 324 if isASCII(v) {
|
/external/v8/src/inspector/ |
D | string-16.cc | 21 bool isASCII(UChar c) { return !(c & ~0x7F); } in isASCII() function 24 return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9)); in isSpaceOrNewLine() 32 if (!isASCII(characters[i])) { in charactersToInteger() 59 return isASCII(b0) ? 1 : inlineUTF8SequenceLengthNonASCII(b0); in inlineUTF8SequenceLength()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UTS46.java | 498 boolean isASCII=true; in markBadACELabel() 508 isASCII=onlyLDH=false; in markBadACELabel() 513 isASCII=false; in markBadACELabel() 517 isASCII=onlyLDH=false; in markBadACELabel() 524 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UTS46.java | 497 boolean isASCII=true; in markBadACELabel() 507 isASCII=onlyLDH=false; in markBadACELabel() 512 isASCII=false; in markBadACELabel() 516 isASCII=onlyLDH=false; in markBadACELabel() 523 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | StringExtras.h | 92 inline bool isASCII(char C) { return static_cast<unsigned char>(C) <= 127; } in isASCII() function 95 inline bool isASCII(llvm::StringRef S) { in isASCII() function 97 if (LLVM_UNLIKELY(!isASCII(C))) in isASCII()
|
/external/clang/include/clang/Basic/ |
D | CharInfo.h | 43 LLVM_READNONE static inline bool isASCII(char c) { in isASCII() function
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | UTS46Test.java | 557 if(!hasCertainErrors(aNInfo, severeErrors) && !isASCII(aN)) { in TestSomeCases() 562 if(!hasCertainErrors(aTInfo, severeErrors) && !isASCII(aT)) { in TestSomeCases() 874 isASCII(CharSequence str) { in isASCII() method in UTS46Test
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | UTS46Test.java | 554 if(!hasCertainErrors(aNInfo, severeErrors) && !isASCII(aN)) { in TestSomeCases() 559 if(!hasCertainErrors(aTInfo, severeErrors) && !isASCII(aT)) { in TestSomeCases() 871 isASCII(CharSequence str) { in isASCII() method in UTS46Test
|
/external/icu/icu4c/source/test/intltest/ |
D | uts46test.cpp | 97 static UBool isASCII(const UnicodeString &str) { in isASCII() function 661 if((aNInfo.getErrors()&severeErrors)==0 && !isASCII(aN)) { in TestSomeCases() 667 if((aTInfo.getErrors()&severeErrors)==0 && !isASCII(aT)) { in TestSomeCases()
|
/external/icu/icu4c/source/common/ |
D | uts46.cpp | 925 UBool isASCII=TRUE; in markBadACELabel() local 937 isASCII=onlyLDH=FALSE; in markBadACELabel() 942 isASCII=FALSE; in markBadACELabel() 946 isASCII=onlyLDH=FALSE; in markBadACELabel() 957 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | JSON.cpp | 529 if (LLVM_LIKELY(isASCII(S))) in isUTF8()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1567 if (!isASCII(Str[i]) || !Str[i]) in containsNonAsciiOrNull()
|