Home
last modified time | relevance | path

Searched refs:UTF16 (Results 1 – 25 of 34) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3convertutf.h107 typedef ANTLR3_UINT16 UTF16; /* at least 16 bits */ typedef
146 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
149 const UTF16** sourceStart, const UTF16* sourceEnd,
161 const UTF16** sourceStart, const UTF16* sourceEnd,
166 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
/external/clang/include/clang/Basic/
DConvertUTF.h102 typedef unsigned short UTF16; /* at least 16 bits */ typedef
134 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
142 const UTF16** sourceStart, const UTF16* sourceEnd,
151 const UTF16** sourceStart, const UTF16* sourceEnd,
156 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c54 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF16()
57 UTF16* target = *targetStart; in ConvertUTF32toUTF16()
75 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
90 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
91 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
102 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF32()
105 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32()
109 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32()
206 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF8()
209 const UTF16* source = *sourceStart; in ConvertUTF16toUTF8()
[all …]
Dantlr3string.c364 UTF16 * inputEnd; in toUTF8_UTF16()
387 inputEnd = (UTF16 *) (string->chars); in toUTF8_UTF16()
394 (const UTF16**)&inputEnd, in toUTF8_UTF16()
395 ((const UTF16 *)(string->chars)) + string->len, in toUTF8_UTF16()
Dantlr3inputstream.c807 ch = *((UTF16*)input->nextChar); in antlr3UTF16Consume()
824 ch2 = *((UTF16*)input->nextChar); in antlr3UTF16Consume()
862 UTF16 * nextChar; in antlr3UTF16LA()
/external/clang/lib/Basic/
DConvertUTF.c119 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF16()
122 UTF16* target = *targetStart; in ConvertUTF32toUTF16()
140 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
155 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
156 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
167 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF32()
170 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32()
174 … const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32()
221 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF8()
224 const UTF16* source = *sourceStart; in ConvertUTF16toUTF8()
[all …]
DConvertUTFWrapper.cpp33 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide()
/external/icu4c/common/
Dunisetspan.h40 UTF16 = 8, enumerator
47 FWD_UTF16_CONTAINED = FWD | UTF16 | CONTAINED,
48 FWD_UTF16_NOT_CONTAINED = FWD | UTF16 | NOT_CONTAINED,
51 BACK_UTF16_CONTAINED = BACK | UTF16 | CONTAINED,
52 BACK_UTF16_NOT_CONTAINED= BACK | UTF16 | NOT_CONTAINED,
Dunisetspan.cpp237 if((which&UTF16) && length16>maxLength16) { in UnicodeSetStringSpan()
312 if(which&UTF16) { in UnicodeSetStringSpan()
/external/chromium/net/data/proxy_script_fetcher_unittest/
Dutf16be_pac.mock-http-headers2 Content-Type: text/javascript; charset=UTF16-BE
/external/clang/lib/Lex/
DLiteralSupport.cpp353 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape()
1312 UTF16 *ResultWidePtr = reinterpret_cast<UTF16*>(ResultPtr); in init()
1332 UTF16 *ResultWidePtr = reinterpret_cast<UTF16*>(ResultBuf.data()); in init()
/external/webkit/Source/WebCore/loader/
DTextResourceDecoder.cpp75 enum Type { ASCII, JIS, EUC, SJIS, UTF16, UTF8 }; enumerator
602 case KanjiCode::UTF16: in detectJapaneseEncoding()
/external/antlr/antlr-3.4/runtime/C/doxygen/
Dbuildrec.dox91 /// // For a UTF16 memory string use:
159 /// // (Use antlr38BitFileStreamNew for UTF16 input).
/external/icu4c/
Dconfigure.in1079 # GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
1080 # Since we have to use a different standard, if strict is enable, don't enable UTF16 string literal…
1093 char16_t test[] = u"This is a UTF16 literal string.";
Dconfigure.in.orig1073 # GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
1074 # Since we have to use a different standard, if strict is enable, don't enable UTF16 string literal…
1087 char16_t test[] = u"This is a UTF16 literal string.";
/external/clang/lib/AST/
DExpr.cpp632 case UTF16: in mapCharByteWidth()
684 case UTF16: OS << 'u'; break; in outputString()
698 if (getKind() == UTF16 && I != N - 1 && Char >= 0xd800 && in outputString()
DStmtPrinter.cpp665 case CharacterLiteral::UTF16: OS << 'u'; break; in VisitCharacterLiteral()
/external/clang/include/clang/AST/
DExpr.h1210 UTF16, enumerator
1348 UTF16, enumerator
1436 bool isUTF16() const { return Kind == UTF16; } in isUTF16()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1997 SmallVector<UTF16, 128> ToBuf(NumBytes + 1); // +1 for ending nulls. in GetConstantCFStringEntry()
1999 UTF16 *ToPtr = &ToBuf[0]; in GetConstantCFStringEntry()
/external/clang/lib/Sema/
DSemaExprObjC.cpp272 case CharacterLiteral::UTF16: in BuildObjCNumericLiteral()
527 case CharacterLiteral::UTF16: in BuildObjCBoxedExpr()
DSemaChecking.cpp1270 SmallVector<UTF16, 128> ToBuf(NumBytes); in CheckObjCString()
1272 UTF16 *ToPtr = &ToBuf[0]; in CheckObjCString()
DSemaExprCXX.cpp2324 case StringLiteral::UTF16: in IsStringLiteralToNonConstPointerConversion()
DSemaExpr.cpp1329 Kind = StringLiteral::UTF16; in ActOnStringLiteral()
2561 Kind = CharacterLiteral::UTF16; in ActOnCharacterConstant()
DSemaInit.cpp59 case StringLiteral::UTF16: in IsStringInit()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg282 /* If we have been told we can rely on the standard 8 bit or UTF16 input

12