Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/utils/TableGen/
H A 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()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A 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()
/minix3/external/bsd/llvm/dist/clang/lib/Lex/
H A DLexer.cpp1437 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr); in tryConsumeIdentifierUCN() local
1438 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN()
1442 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN()
1458 UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local
1462 &CodePoint, in tryConsumeIdentifierUTF8Char()
1465 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char()
1469 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char()
2719 uint32_t CodePoint = 0; in tryReadUCN() local
2744 CodePoint <<= 4; in tryReadUCN()
2745 CodePoint += Value; in tryReadUCN()
[all …]
H A DLiteralSupport.cpp244 uint32_t CodePoint = 0; in expandUCNs() local
249 CodePoint <<= 4; in expandUCNs()
250 CodePoint += Value; in expandUCNs()
253 appendCodePoint(CodePoint, Buf); in expandUCNs()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DCommentHTMLNamedCharacterReferences.td4 int CodePoint = codePoint;