Home
last modified time | relevance | path

Searched refs:UTF8 (Results 1 – 25 of 122) sorted by relevance

12345

/external/llvm/include/llvm/Support/
DConvertUTF.h103 typedef unsigned char UTF8; /* typically 8 bits */ typedef
133 const UTF8** sourceStart, const UTF8* sourceEnd,
137 const UTF8** sourceStart, const UTF8* sourceEnd,
142 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
146 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
156 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
158 Boolean isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd);
160 unsigned getNumBytesForUTF8(UTF8 firstByte);
182 char *&ResultPtr, const UTF8 *&ErrorPtr);
211 static inline ConversionResult convertUTF8Sequence(const UTF8 **source, in convertUTF8Sequence()
[all …]
/external/llvm/lib/Support/
DConvertUTF.c102 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
222 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF8()
225 UTF8* target = *targetStart; in ConvertUTF16toUTF8()
276 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
277 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
278 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
279 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8()
292 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF8()
295 UTF8* target = *targetStart; in ConvertUTF32toUTF8()
329 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
[all …]
DConvertUTFWrapper.cpp15 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide()
20 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide()
21 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide()
29 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
42 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
63 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8()
64 UTF8 *TargetEnd = TargetStart + 4; in ConvertCodePointToUTF8()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3convertutf.h108 typedef ANTLR3_UINT8 UTF8; /* typically 8 bits */ typedef
145 const UTF8** sourceStart, const UTF8* sourceEnd,
150 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
153 const UTF8** sourceStart, const UTF8* sourceEnd,
158 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags);
168 ANTLR3_BOOLEAN isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c191 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
207 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF8()
210 UTF8* target = *targetStart; in ConvertUTF16toUTF8()
261 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
262 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
263 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
264 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8()
287 isLegalUTF8(const UTF8 *source, int length) { in isLegalUTF8()
288 UTF8 a; in isLegalUTF8()
289 const UTF8 *srcptr = source+length; in isLegalUTF8()
[all …]
/external/regex-re2/re2/testing/
Dexhaustive3_test.cc29 static string UTF8(Rune r) { in UTF8() function
48 v.push_back(UTF8(i)); in InterestingUTF8()
53 v.push_back(UTF8(256 + j)); in InterestingUTF8()
56 v.push_back(UTF8(i + j)); in InterestingUTF8()
60 v.push_back(UTF8(Runemax + j)); in InterestingUTF8()
Dexhaustive_test.cc33 TEST(EgrepLiterals, UTF8) { in TEST() argument
Dregexp_benchmark.cc69 PCRE re(regexp, PCRE::UTF8); in MemoryUsage()
78 PCRE* re = new PCRE(regexp, PCRE::UTF8); in MemoryUsage()
644 PCRE re(regexp, PCRE::UTF8); in CompilePCRE()
864 PCRE re(regexp, PCRE::UTF8); in SearchPCRE()
949 PCRE re(regexp, PCRE::UTF8); in SearchCachedPCRE()
1030 PCRE re(regexp, PCRE::UTF8); in Parse3PCRE()
1097 PCRE re(regexp, PCRE::UTF8); in Parse3CachedPCRE()
1160 PCRE re(regexp, PCRE::UTF8); in Parse1PCRE()
1227 PCRE re(regexp, PCRE::UTF8); in Parse1CachedPCRE()
1246 PCRE re(regexp, PCRE::UTF8); in SearchParse2CachedPCRE()
[all …]
Dstring_generator_test.cc97 TEST(StringGenerator, UTF8) { in TEST() argument
/external/icu4c/common/
Dunisetspan.h41 UTF8 = 4, enumerator
49 FWD_UTF8_CONTAINED = FWD | UTF8 | CONTAINED,
50 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED,
53 BACK_UTF8_CONTAINED = BACK | UTF8 | CONTAINED,
54 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED
Dunisetspan.cpp242 if((which&UTF8) && (thisRelevant || (which&CONTAINED))) { in UnicodeSetStringSpan()
272 if(which&UTF8) { in UnicodeSetStringSpan()
296 if(which&UTF8) { in UnicodeSetStringSpan()
327 if(which&UTF8) { in UnicodeSetStringSpan()
364 if(which&UTF8) { in UnicodeSetStringSpan()
/external/clang/utils/TableGen/
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp36 StringRef UTF8(Translated, TranslatedPtr - Translated); in translateCodePointToUTF8() local
40 for (size_t i = 0, e = UTF8.size(); i != e; ++i) { in translateCodePointToUTF8()
42 OS.write_hex(static_cast<unsigned char>(UTF8[i])); in translateCodePointToUTF8()
/external/openfst/src/include/fst/
Dstring.h42 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 }; enumerator
75 } else if (token_type_ == UTF8) { in ConvertStringToLabels()
166 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 }; enumerator
196 } else if (token_type_ == UTF8) { in operator()
/external/apache-http/src/org/apache/commons/codec/net/
DStringEncodings.java51 String UTF8 = "UTF-8"; field
DBCodec.java49 private String charset = StringEncodings.UTF8;
/external/clang/lib/Lex/
DLiteralSupport.cpp379 typedef uint8_t UTF8; in EncodeUCNEscape() typedef
396 static const UTF8 firstByteMark[5] = { in EncodeUCNEscape()
402 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
403 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
404 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
405 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()
949 ConvertUTF8toUTF32(reinterpret_cast<UTF8 const **>(&start), in CharLiteralParser()
950 reinterpret_cast<UTF8 const *>(begin), in CharLiteralParser()
1393 const UTF8 *ErrorPtrTmp; in CopyStringFragment()
/external/webkit/Source/JavaScriptCore/wtf/
DCMakeLists.txt106 unicode/UTF8.h
139 unicode/UTF8.cpp
Dwtf.pri41 wtf/unicode/UTF8.cpp
/external/chromium/base/third_party/icu/
DREADME.chromium5 UTF8/16/32 conversions. Components are copied from utf.h utf8.h utf16.h and
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs84 Update(Encoding.UTF8.GetBytes(data)); in Update()
/external/webkit/Source/JavaScriptCore/
DAndroid.v8.wtf.mk66 wtf/unicode/UTF8.cpp \
/external/icu4c/test/perf/ubrkperf/
Dubrkperfold.cpp488 enum {UTF16LE, UTF16BE, UTF8} fEncoding; enumerator
522 fEncoding = UTF8; } in UCharFile()
566 case UTF8: in get()
/external/openfst/src/include/fst/extensions/far/
Dprint-strings.h52 token_type = StringPrinter<Arc>::UTF8; in FarPrintStrings()
/external/chromium/chrome/browser/history/
Dsnippet_unittest.cc159 TEST(Snippets, UTF8) { in TEST() argument
/external/llvm/test/CodeGen/X86/
Dpr3317.ll17 %UTF8 = type { %JavaObject, i8*, [0 x i16] }

12345