Home
last modified time | relevance | path

Searched refs:UTF32 (Results 1 – 20 of 20) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3convertutf.h106 typedef ANTLR3_UINT32 UTF32; /* at least 32 bits */ typedef
111 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
112 #define UNI_MAX_BMP (UTF32)0x0000FFFF
113 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF
114 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
115 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
117 #define UNI_SUR_HIGH_START (UTF32)0xD800
118 #define UNI_SUR_HIGH_END (UTF32)0xDBFF
119 #define UNI_SUR_LOW_START (UTF32)0xDC00
120 #define UNI_SUR_LOW_END (UTF32)0xDFFF
[all …]
/external/llvm/lib/Support/
DConvertUTF.c57 static const UTF32 halfBase = 0x0010000UL;
58 static const UTF32 halfMask = 0x3FFUL;
60 #define UNI_SUR_HIGH_START (UTF32)0xD800
61 #define UNI_SUR_HIGH_END (UTF32)0xDBFF
62 #define UNI_SUR_LOW_START (UTF32)0xDC00
63 #define UNI_SUR_LOW_END (UTF32)0xDFFF
92 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
118 const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF16()
121 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16()
124 UTF32 ch; in ConvertUTF32toUTF16()
[all …]
DConvertUTFWrapper.cpp48 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide()
64 const UTF32 *SourceStart = &Source; in ConvertCodePointToUTF8()
65 const UTF32 *SourceEnd = SourceStart + 1; in ConvertCodePointToUTF8()
DLocaleGeneric.inc366 UTF32 buf[1];
368 UTF32 *Target = &buf[0];
/external/llvm/include/llvm/Support/
DConvertUTF.h101 typedef unsigned int UTF32; /* at least 32 bits */ typedef
107 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
108 #define UNI_MAX_BMP (UTF32)0x0000FFFF
109 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF
110 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
111 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
141 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags);
148 const UTF32** sourceStart, const UTF32* sourceEnd,
153 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags);
156 const UTF32** sourceStart, const UTF32* sourceEnd,
[all …]
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c53 const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF16()
56 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16()
59 UTF32 ch; in ConvertUTF32toUTF16()
103 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF32()
106 UTF32* target = *targetStart; in ConvertUTF16toUTF32()
107 UTF32 ch, ch2; in ConvertUTF16toUTF32()
181 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
212 UTF32 ch; in ConvertUTF16toUTF8()
214 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8()
215 const UTF32 byteMark = 0x80; in ConvertUTF16toUTF8()
[all …]
Dantlr3inputstream.c781 UTF32 ch; in antlr3UTF16Consume()
782 UTF32 ch2; in antlr3UTF16Consume()
860 UTF32 ch; in antlr3UTF16LA()
861 UTF32 ch2; in antlr3UTF16LA()
1063 UTF32 ch; in antlr3UTF16ConsumeLE()
1064 UTF32 ch2; in antlr3UTF16ConsumeLE()
1140 UTF32 ch; in antlr3UTF16LALE()
1141 UTF32 ch2; in antlr3UTF16LALE()
1282 UTF32 ch; in antlr3UTF16ConsumeBE()
1283 UTF32 ch2; in antlr3UTF16ConsumeBE()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp330 typedef uint32_t UTF32; in EncodeUCNEscape() typedef
331 UTF32 UcnVal = 0; in EncodeUCNEscape()
348 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape()
359 if (UcnVal <= (UTF32)0xFFFF) { in EncodeUCNEscape()
382 if (UcnVal < (UTF32)0x80) in EncodeUCNEscape()
384 else if (UcnVal < (UTF32)0x800) in EncodeUCNEscape()
386 else if (UcnVal < (UTF32)0x10000) in EncodeUCNEscape()
1372 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultPtr); in init()
1393 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultBuf.data()); in init()
DLexer.cpp1499 UTF32 CodePoint; in LexIdentifier()
3398 UTF32 CodePoint; in LexTokenInternal()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp121 UTF32 c; in printableTextForNextCharacter()
122 UTF32 *cptr = &c; in printableTextForNextCharacter()
/external/clang/include/clang/AST/
DExpr.h1286 UTF32 enumerator
1444 UTF32 enumerator
1532 bool isUTF32() const { return Kind == UTF32; } in isUTF32()
/external/clang/lib/Sema/
DSemaExprObjC.cpp276 case CharacterLiteral::UTF32: in BuildObjCNumericLiteral()
531 case CharacterLiteral::UTF32: in BuildObjCBoxedExpr()
DSemaExprCXX.cpp2389 case StringLiteral::UTF32: in IsStringLiteralToNonConstPointerConversion()
DSemaExpr.cpp1507 Kind = StringLiteral::UTF32; in ActOnStringLiteral()
2834 Kind = CharacterLiteral::UTF32; in ActOnCharacterConstant()
DSemaInit.cpp102 case StringLiteral::UTF32: in IsStringInit()
DSemaTemplate.cpp5099 Kind = CharacterLiteral::UTF32; in BuildExpressionFromIntegralTemplateArgument()
/external/clang/lib/AST/
DStmtPrinter.cpp737 case CharacterLiteral::UTF32: OS << 'U'; break; in VisitCharacterLiteral()
DExpr.cpp748 case UTF32: in mapCharByteWidth()
798 case UTF32: OS << 'U'; break; in outputString()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg136 * get wchar_t, but wchar_t is 16 bits on Windows, which is not UTF32 and so
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg160 * get wchar_t, but wchar_t is 16 bits on Windows, which is not UTF32 and so