Searched refs:CodePoint (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 800 return 0x20 <= CodePoint && CodePoint <= 0x7e; in isAsciiPrintable() 813 switch (CodePoint) { in demangleConstChar() 1071 if (0xD800 <= CodePoint && CodePoint <= 0xDFFF) in encodeUTF8() 1074 if (CodePoint <= 0x7F) { in encodeUTF8() 1075 Output[0] = CodePoint; in encodeUTF8() 1079 if (CodePoint <= 0x7FF) { in encodeUTF8() 1081 Output[1] = 0x80 | (CodePoint & 0x3F); in encodeUTF8() 1085 if (CodePoint <= 0xFFFF) { in encodeUTF8() 1086 Output[0] = 0xE0 | (CodePoint >> 12); in encodeUTF8() 1092 if (CodePoint <= 0x10FFFF) { in encodeUTF8() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/ |
| H A 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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A 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()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 1725 if (CodePoint == 0) { in tryConsumeIdentifierUCN() 1730 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUCN() 1763 llvm::UTF32 CodePoint; in tryConsumeIdentifierUTF8Char() local 1782 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUTF8Char() 3387 CodePoint <<= 4; in tryReadNumericUCN() 3388 CodePoint |= Value; in tryReadNumericUCN() 3440 return CodePoint; in tryReadNumericUCN() 3555 return CodePoint; in tryReadUCN() 3577 if (CodePoint < 0x20 || CodePoint >= 0x7F) in tryReadUCN() 3586 } else if (CodePoint >= 0xD800 && CodePoint <= 0xDFFF) { in tryReadUCN() [all …]
|
| H A D | LiteralSupport.cpp | 392 uint32_t CodePoint = 0; in expandUCNs() local 398 CodePoint <<= 4; in expandUCNs() 399 CodePoint += Value; in expandUCNs() 401 appendCodePoint(CodePoint, Buf); in expandUCNs() 414 CodePoint = Res->CodePoint; in expandUCNs() 415 assert(CodePoint != 0xFFFFFFFF); in expandUCNs() 416 appendCodePoint(CodePoint, Buf); in expandUCNs() 433 CodePoint <<= 4; in expandUCNs() 434 CodePoint += Value; in expandUCNs() 437 appendCodePoint(CodePoint, Buf); in expandUCNs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 76 const uint32_t CodePoint = I == N ? 0 : S->getCodeUnit(I); in createGlobalString() local 80 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 85 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString() 90 Field.deref<T>() = T::from(CodePoint, BitWidth); in createGlobalString()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Unicode.h | 73 char32_t CodePoint; member
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CommentHTMLNamedCharacterReferences.td | 4 int CodePoint = codePoint;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 11279 llvm::UTF32 CodePoint; in HandleInvalidConversionSpecifier() local 11284 llvm::convertUTF8Sequence(B, E, &CodePoint, llvm::strictConversion); in HandleInvalidConversionSpecifier() 11288 CodePoint = (llvm::UTF32)FirstChar; in HandleInvalidConversionSpecifier() 11292 if (CodePoint < 256) in HandleInvalidConversionSpecifier() 11293 OS << "\\x" << llvm::format("%02x", CodePoint); in HandleInvalidConversionSpecifier() 11294 else if (CodePoint <= 0xFFFF) in HandleInvalidConversionSpecifier() 11295 OS << "\\u" << llvm::format("%04x", CodePoint); in HandleInvalidConversionSpecifier() 11297 OS << "\\U" << llvm::format("%08x", CodePoint); in HandleInvalidConversionSpecifier()
|