/external/clang/utils/TableGen/ |
D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 29 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/llvm-project/clang/utils/TableGen/ |
D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 29 static bool translateCodePointToUTF8(unsigned CodePoint, in translateCodePointToUTF8() argument 33 if (!ConvertCodePointToUTF8(CodePoint, TranslatedPtr)) in translateCodePointToUTF8() 58 uint64_t CodePoint = Tag.getValueAsInt("CodePoint"); in EmitClangCommentHTMLNamedCharacterReferences() local 61 if (!translateCodePointToUTF8(CodePoint, CLiteral)) { in EmitClangCommentHTMLNamedCharacterReferences()
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 42 unsigned CodePoint) { in convertCodePointToUTF8() argument 45 if (llvm::ConvertCodePointToUTF8(CodePoint, ResolvedPtr)) in convertCodePointToUTF8() 71 unsigned CodePoint = 0; in resolveHTMLDecimalCharacterReference() local 74 CodePoint *= 10; in resolveHTMLDecimalCharacterReference() 75 CodePoint += Name[i] - '0'; in resolveHTMLDecimalCharacterReference() 77 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLDecimalCharacterReference() 81 unsigned CodePoint = 0; in resolveHTMLHexCharacterReference() local 83 CodePoint *= 16; in resolveHTMLHexCharacterReference() 86 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference() 88 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLHexCharacterReference()
|
/external/llvm-project/clang/lib/AST/ |
D | CommentLexer.cpp | 41 unsigned CodePoint) { in convertCodePointToUTF8() argument 44 if (llvm::ConvertCodePointToUTF8(CodePoint, ResolvedPtr)) in convertCodePointToUTF8() 70 unsigned CodePoint = 0; in resolveHTMLDecimalCharacterReference() local 73 CodePoint *= 10; in resolveHTMLDecimalCharacterReference() 74 CodePoint += Name[i] - '0'; in resolveHTMLDecimalCharacterReference() 76 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLDecimalCharacterReference() 80 unsigned CodePoint = 0; in resolveHTMLHexCharacterReference() local 82 CodePoint *= 16; in resolveHTMLHexCharacterReference() 85 CodePoint += llvm::hexDigitValue(C); in resolveHTMLHexCharacterReference() 87 return convertCodePointToUTF8(Allocator, CodePoint); in resolveHTMLHexCharacterReference()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 1462 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr); in tryConsumeIdentifierUCN() local 1463 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN() 1467 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN() 1483 UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local 1487 &CodePoint, in tryConsumeIdentifierUTF8Char() 1490 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char() 1494 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char() 2745 uint32_t CodePoint = 0; in tryReadUCN() local 2770 CodePoint <<= 4; in tryReadUCN() 2771 CodePoint += Value; in tryReadUCN() [all …]
|
D | LiteralSupport.cpp | 245 uint32_t CodePoint = 0; in expandUCNs() local 250 CodePoint <<= 4; in expandUCNs() 251 CodePoint += Value; in expandUCNs() 254 appendCodePoint(CodePoint, Buf); in expandUCNs()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 1599 uint32_t CodePoint = tryReadUCN(UCNPtr, CurPtr, /*Token=*/nullptr); in tryConsumeIdentifierUCN() local 1600 if (CodePoint == 0 || !isAllowedIDChar(CodePoint, LangOpts)) in tryConsumeIdentifierUCN() 1604 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUCN() 1620 llvm::UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local 1624 &CodePoint, in tryConsumeIdentifierUTF8Char() 1627 !isAllowedIDChar(static_cast<uint32_t>(CodePoint), LangOpts)) in tryConsumeIdentifierUTF8Char() 1631 maybeDiagnoseIDCharCompat(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char() 1634 maybeDiagnoseUTF8Homoglyph(PP->getDiagnostics(), CodePoint, in tryConsumeIdentifierUTF8Char() 3012 uint32_t CodePoint = 0; in tryReadUCN() local 3037 CodePoint <<= 4; in tryReadUCN() [all …]
|
D | LiteralSupport.cpp | 258 uint32_t CodePoint = 0; in expandUCNs() local 263 CodePoint <<= 4; in expandUCNs() 264 CodePoint += Value; in expandUCNs() 267 appendCodePoint(CodePoint, Buf); in expandUCNs()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Program.cpp | 58 const uint32_t CodePoint = I == N ? 0 : S->getCodeUnit(I); in createGlobalString() local 62 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 67 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 72 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Pick.java | 130 return new CodePoint(source); in codePoint() 337 private static class CodePoint extends FinalPick { class in Pick 340 private CodePoint(UnicodeSet source) { in CodePoint() method in Pick.CodePoint
|
/external/clang/include/clang/AST/ |
D | CommentHTMLNamedCharacterReferences.td | 4 int CodePoint = codePoint;
|
/external/llvm-project/clang/include/clang/AST/ |
D | CommentHTMLNamedCharacterReferences.td | 4 int CodePoint = codePoint;
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4456 UTF32 CodePoint; in HandleInvalidConversionSpecifier() local 4461 llvm::convertUTF8Sequence(B, E, &CodePoint, strictConversion); in HandleInvalidConversionSpecifier() 4465 CodePoint = (UTF32)FirstChar; in HandleInvalidConversionSpecifier() 4469 if (CodePoint < 256) in HandleInvalidConversionSpecifier() 4470 OS << "\\x" << llvm::format("%02x", CodePoint); in HandleInvalidConversionSpecifier() 4471 else if (CodePoint <= 0xFFFF) in HandleInvalidConversionSpecifier() 4472 OS << "\\u" << llvm::format("%04x", CodePoint); in HandleInvalidConversionSpecifier() 4474 OS << "\\U" << llvm::format("%08x", CodePoint); in HandleInvalidConversionSpecifier()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 7821 llvm::UTF32 CodePoint; in HandleInvalidConversionSpecifier() local 7826 llvm::convertUTF8Sequence(B, E, &CodePoint, llvm::strictConversion); in HandleInvalidConversionSpecifier() 7830 CodePoint = (llvm::UTF32)FirstChar; in HandleInvalidConversionSpecifier() 7834 if (CodePoint < 256) in HandleInvalidConversionSpecifier() 7835 OS << "\\x" << llvm::format("%02x", CodePoint); in HandleInvalidConversionSpecifier() 7836 else if (CodePoint <= 0xFFFF) in HandleInvalidConversionSpecifier() 7837 OS << "\\u" << llvm::format("%04x", CodePoint); in HandleInvalidConversionSpecifier() 7839 OS << "\\U" << llvm::format("%08x", CodePoint); in HandleInvalidConversionSpecifier()
|