Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/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()
/freebsd-10-stable/contrib/llvm/tools/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()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
DLexer.cpp1505 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/0); in LexIdentifier() local
1506 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in LexIdentifier()
1510 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in LexIdentifier()
1527 UTF32 CodePoint; in LexIdentifier() local
1531 &CodePoint, in LexIdentifier()
1534 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in LexIdentifier()
1538 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in LexIdentifier()
2691 uint32_t CodePoint = 0; in tryReadUCN() local
2716 CodePoint <<= 4; in tryReadUCN()
2717 CodePoint += Value; in tryReadUCN()
[all …]
DPreprocessor.cpp534 uint32_t CodePoint = 0; in expandUCNs() local
539 CodePoint <<= 4; in expandUCNs()
540 CodePoint += Value; in expandUCNs()
543 appendCodePoint(CodePoint, Buf); in expandUCNs()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DCommentHTMLNamedCharacterReferences.td4 int CodePoint = codePoint;