Home
last modified time | relevance | path

Searched refs:CodePoint (Results 1 – 7 of 7) sorted by relevance

/external/clang/utils/TableGen/
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp29 static bool translateCodePointToUTF8(unsigned CodePoint, in translateCodePointToUTF8() argument
33 if (!ConvertCodePointToUTF8(CodePoint, TranslatedPtr)) in translateCodePointToUTF8()
59 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences() local
62 if (!translateCodePointToUTF8(CodePoint, CLiteral)) { in EmitClangCommentHTMLNamedCharacterReferences()
/external/clang/lib/AST/
DCommentLexer.cpp33 unsigned CodePoint) { in convertCodePointToUTF8() argument
36 if (llvm::ConvertCodePointToUTF8(CodePoint, ResolvedPtr)) in convertCodePointToUTF8()
62 unsigned CodePoint = 0; in resolveHTMLDecimalCharacterReference() local
65 CodePoint *= 10; in resolveHTMLDecimalCharacterReference()
66 CodePoint += Name[i] - '0'; in resolveHTMLDecimalCharacterReference()
68 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLDecimalCharacterReference()
72 unsigned CodePoint = 0; in resolveHTMLHexCharacterReference() local
74 CodePoint *= 16; in resolveHTMLHexCharacterReference()
77 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference()
79 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLHexCharacterReference()
/external/clang/lib/Lex/
DLexer.cpp1435 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr); in tryConsumeIdentifierUCN() local
1436 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1440 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1456 UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1460 &CodePoint, in tryConsumeIdentifierUTF8Char()
1463 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1467 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
2717 uint32_t CodePoint = 0; in tryReadUCN() local
2742 CodePoint <<= 4; in tryReadUCN()
2743 CodePoint += Value; in tryReadUCN()
[all …]
DLiteralSupport.cpp245 uint32_t CodePoint = 0; in expandUCNs() local
250 CodePoint <<= 4; in expandUCNs()
251 CodePoint += Value; in expandUCNs()
254 appendCodePoint(CodePoint, Buf); in expandUCNs()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DPick.java122 return new CodePoint(source); in codePoint()
303 private static class CodePoint extends FinalPick { class in Pick
306 private CodePoint(UnicodeSet source) { in CodePoint() method in Pick.CodePoint
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DPick.java123 return new CodePoint(source); in codePoint()
304 private static class CodePoint extends FinalPick { class in Pick
307 private CodePoint(UnicodeSet source) { in CodePoint() method in Pick.CodePoint
/external/clang/include/clang/AST/
DCommentHTMLNamedCharacterReferences.td4 int CodePoint = codePoint;