Home
last modified time | relevance | path

Searched refs:isASCII (Results 1 – 19 of 19) 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/chromium_org/third_party/WebKit/Source/wtf/text/
DTextCodecUTF8.cpp95 ASSERT(!isASCII(sequence[0])); in decodeNonASCIISequence()
179 if (isASCII(m_partialSequence[0])) { in handlePartialSequence()
222 if (isASCII(m_partialSequence[0])) { in handlePartialSequence()
298 if (isASCII(*source)) { in decode()
311 if (!isASCII(*source)) in decode()
375 if (isASCII(*source)) { in decode()
388 if (!isASCII(*source)) in decode()
DTextCodecLatin1.cpp134 if (isASCII(*source)) { in decode()
185 if (isASCII(*source)) { in decode()
DAtomicString.cpp219 ASSERT(isASCII(buffer.characters[i])); in equal()
230 ASSERT(isASCII(buffer.characters[i])); in equal()
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
DUTF8.cpp52 return isASCII(b0) ? 1 : inlineUTF8SequenceLengthNonASCII(b0); in inlineUTF8SequenceLength()
57 return isASCII(b0) ? 1 : inlineUTF8SequenceLengthNonASCII(b0); in UTF8SequenceLength()
380 if (isASCII(*data)) { in calculateStringHashAndLengthFromUTF8MaskingTop8Bits()
402 ASSERT(!isASCII(character)); in calculateStringHashAndLengthFromUTF8MaskingTop8Bits()
425 if (isASCII(*b)) { in equalWithUTF8Internal()
440 ASSERT(!isASCII(character)); in equalWithUTF8Internal()
/external/chromium_org/third_party/WebKit/Source/wtf/
DASCIICType.h46 template<typename CharType> inline bool isASCII(CharType c) in isASCII() function
168 using WTF::isASCII;
Ddtoa.h69 conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0; in parseDouble()
Ddtoa.cpp1310 conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0; in dtoa()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DEmailInputType.cpp112 if (!isASCII(ch)) in isInvalidLocalPartCharacter()
120 if (!isASCII(ch)) in isInvalidDomainCharacter()
/external/clang/include/clang/Basic/
DCharInfo.h43 LLVM_READNONE static inline bool isASCII(char c) { in isASCII() function
/external/chromium_org/third_party/icu/source/test/intltest/
Duts46test.cpp85 static UBool isASCII(const UnicodeString &str) { in isASCII() function
619 if((aNInfo.getErrors()&severeErrors)==0 && !isASCII(aN)) { in TestSomeCases()
625 if((aTInfo.getErrors()&severeErrors)==0 && !isASCII(aT)) { in TestSomeCases()
/external/icu/icu4c/source/test/intltest/
Duts46test.cpp86 static UBool isASCII(const UnicodeString &str) { in isASCII() function
645 if((aNInfo.getErrors()&severeErrors)==0 && !isASCII(aN)) { in TestSomeCases()
651 if((aTInfo.getErrors()&severeErrors)==0 && !isASCII(aT)) { in TestSomeCases()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DMediaQueryTokenizer.cpp25 return !isASCII(c); in isNameStart()
246 if (isASCII(cc)) { in nextToken()
/external/icu/icu4c/source/common/
Duts46.cpp901 UBool isASCII=TRUE; in markBadACELabel() local
913 isASCII=onlyLDH=FALSE; in markBadACELabel()
918 isASCII=FALSE; in markBadACELabel()
922 isASCII=onlyLDH=FALSE; in markBadACELabel()
929 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
/external/chromium_org/third_party/icu/source/common/
Duts46.cpp894 UBool isASCII=TRUE; in markBadACELabel() local
906 isASCII=onlyLDH=FALSE; in markBadACELabel()
911 isASCII=FALSE; in markBadACELabel()
915 isASCII=onlyLDH=FALSE; in markBadACELabel()
922 if(toASCII && isASCII && labelLength>63) { in markBadACELabel()
/external/clang/lib/Lex/
DLexer.cpp1491 if (isASCII(C) && C != '\\' && C != '?' && in LexIdentifier()
1533 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) { in LexIdentifier()
1615 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexNumericConstant()
1639 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) in LexUDSuffix()
1709 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr)) {} in LexUDSuffix()
2836 !isASCII(*BufferPtr) && !isAllowedIDChar(C, LangOpts)) { in LexUnicode()
3573 if (isASCII(Char)) { in LexTokenInternal()
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DNormalizeAlgorithm.cpp151 if (!isASCII(c2)) in algorithmNameComparator()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLInputElement.cpp1221 …return isASCII(ch) && ch > ' ' && ch != '"' && ch != '(' && ch != ')' && ch != ',' && ch != '/' &&… in isRFC2616TokenCharacter()
/external/clang/include/clang/AST/
DExpr.h1560 if (!isASCII(Str[i]) || !Str[i]) in containsNonAsciiOrNull()