Searched refs:UTF16 (Results 1 - 25 of 33) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3convertutf.h97 // typedef unsigned short UTF16; /* at least 16 bits */
107 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* targetEn
[all...]
/external/llvm/include/llvm/Support/
H A DConvertUTF.h102 typedef unsigned short UTF16; /* at least 16 bits */ typedef
137 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
144 const UTF16** sourceStart, const UTF16* sourceEnd,
152 const UTF16** sourceStart, const UTF16* sourceEnd,
157 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
177 * Convert an UTF8 StringRef to UTF8, UTF16, o
[all...]
/external/chromium_org/chrome/browser/ui/android/autofill/
H A Dautofill_dialog_result.cc47 FETCH_JSTRING(UTF16, env, address, ResultAddress, Name);
49 FETCH_JSTRING(UTF16, env, address, ResultAddress, Address1);
51 FETCH_JSTRING(UTF16, env, address, ResultAddress, Address2);
53 FETCH_JSTRING(UTF16, env, address, ResultAddress, City);
55 FETCH_JSTRING(UTF16, env, address, ResultAddress, State);
57 FETCH_JSTRING(UTF16, env, address, ResultAddress, PostalCode);
59 FETCH_JSTRING(UTF16, env, address, ResultAddress, PhoneNumber);
103 return FETCH_JSTRING(UTF16, env, wallet, ResultWallet, Email);
/external/chromium_org/ui/base/resource/
H A Dresource_handle.h25 UTF16 enumerator in enum:ui::ResourceHandle::TextEncodingType
H A Ddata_pack.cc126 if (text_encoding_type_ != UTF8 && text_encoding_type_ != UTF16 &&
129 << ", expected between " << BINARY << " and " << UTF16; local
238 if (textEncodingType != UTF8 && textEncodingType != UTF16 &&
241 << ", expected between " << BINARY << " and " << UTF16; local
H A Ddata_pack_unittest.cc101 DataPack::UTF16));
H A Dresource_bundle.cc447 DCHECK(encoding == ResourceHandle::UTF16 || encoding == ResourceHandle::UTF8)
450 // Data pack encodes strings as either UTF8 or UTF16.
452 if (encoding == ResourceHandle::UTF16) {
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3convertutf.c54 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
57 UTF16* target = *targetStart;
75 *target++ = (UTF16)ch; /* normal case */
90 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
91 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
102 const UTF16** sourceStart, const UTF16* sourceEnd,
105 const UTF16* source = *sourceStart;
109 const UTF16* oldSourc
[all...]
H A Dantlr3string.c125 // UTF16 and 8Bit if I am going to support those encodings in the STRING stuff.
304 /* API for UTF16 strings */
354 // Convert a UTF16 string into a UTF8 representation using the Unicode.org
357 // UCS2 has the same encoding as UTF16 so we can use UTF16 converter.
364 UTF16 * inputEnd;
387 inputEnd = (UTF16 *) (string->chars);
394 (const UTF16**)&inputEnd,
395 ((const UTF16 *)(string->chars)) + string->len,
442 * Creates a new string with enough capacity for size UTF16 character
[all...]
H A Dantlr3inputstream.c70 // UTF16 (also covers UCS2)
83 // UTF16 Charstream API functions
99 // UTF16 Charstream API functions
691 /// \brief Common function to setup function interface for a UTF16 or UCS2 input stream.
698 /// essentially UTF16 without any surrogates and so the standard UTF16
704 // Build a string factory for this stream. This is a UTF16 string factory which is a standard
712 input->istream->index = antlr3UTF16Index; // Calculate current index in input stream, UTF16 based
716 // We must install different UTF16 routines according to whether the input
733 input->istream->consume = antlr3UTF16Consume; // Consume the next UTF16 characte
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dunisetspan.h40 UTF16 = 8, enumerator in enum:UnicodeSetStringSpan::__anon10918
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,
H A Dunisetspan.cpp237 if((which&UTF16) && length16>maxLength16) {
312 if(which&UTF16) {
/external/icu4c/common/
H A Dunisetspan.h40 UTF16 = 8, enumerator in enum:UnicodeSetStringSpan::__anon18235
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,
H A Dunisetspan.cpp239 if((which&UTF16) && length16>maxLength16) {
314 if(which&UTF16) {
/external/llvm/lib/Support/
H A DConvertUTF.c119 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) {
122 UTF16* target = *targetStart;
140 *target++ = (UTF16)ch; /* normal case */
155 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
156 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);
167 const UTF16** sourceStart, const UTF16* sourceEnd,
170 const UTF16* source = *sourceStart;
174 const UTF16* oldSourc
[all...]
H A DConvertUTFWrapper.cpp35 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr);
95 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin());
96 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end());
99 std::vector<UTF16> ByteSwapped;
/external/chromium_org/tools/grit/grit/format/
H A Ddata_pack.py28 BINARY, UTF8, UTF16 = range(3)
137 # Encoding is 0 for BINARY, 1 for UTF8 and 2 for UTF16
/external/clang/lib/Lex/
H A DLiteralSupport.cpp321 /// convert the UTF32 to UTF8 or UTF16. This is a subroutine of
357 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf);
365 // Convert to UTF16.
1378 UTF16 *ResultWidePtr = reinterpret_cast<UTF16*>(ResultPtr);
1398 UTF16 *ResultWidePtr = reinterpret_cast<UTF16*>(ResultBuf.data());
/external/chromium_org/tools/grit/grit/
H A Dutil.py30 _, UTF8, UTF16 = range(3)
40 if encoding == UTF16:
/external/chromium_org/chrome_frame/
H A Dsimple_resource_loader.cc247 // Data pack encodes strings as either UTF8 or UTF16.
249 if (data_pack_->GetTextEncodingType() == ui::DataPack::UTF16) {
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DTextResourceDecoder.cpp104 enum Type { ASCII, JIS, EUC, SJIS, UTF16, UTF8 }; enumerator in enum:WebCore::KanjiCode::Type
582 case KanjiCode::UTF16:
/external/clang/lib/AST/
H A DStmtPrinter.cpp736 case CharacterLiteral::UTF16: OS << 'u'; break;
H A DExpr.cpp745 case UTF16:
797 case UTF16: OS << 'u'; break;
811 if (getKind() == UTF16 && I != N - 1 && Char >= 0xd800 &&
/external/clang/include/clang/AST/
H A DExpr.h1285 UTF16, enumerator in enum:clang::CharacterLiteral::CharacterKind
1443 UTF16, enumerator in enum:clang::StringLiteral::StringKind
1531 bool isUTF16() const { return Kind == UTF16; }
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp2200 SmallVector<UTF16, 128> ToBuf(NumBytes + 1); // +1 for ending nulls.
2202 UTF16 *ToPtr = &ToBuf[0];
2313 // Cast the UTF16 string to the correct type.

Completed in 1604 milliseconds

12