/external/google-breakpad/src/common/ |
convert_UTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 138 ConversionResult ConvertUTF8toUTF16 (const UTF8** sourceStart, const UTF8* sourceEnd, 142 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 144 ConversionResult ConvertUTF8toUTF32 (const UTF8** sourceStart, const UTF8* sourceEnd, 148 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 156 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) [all...] |
string_conversion.cc | 43 const UTF8 *source_ptr = reinterpret_cast<const UTF8 *>(in); 44 const UTF8 *source_end_ptr = source_ptr + source_length; 59 const UTF8 *source_ptr = reinterpret_cast<const UTF8 *>(in); 60 const UTF8 *source_end_ptr = source_ptr + sizeof(char); 72 return static_cast<int>(source_ptr - reinterpret_cast<const UTF8 *>(in)); 75 source_ptr = reinterpret_cast<const UTF8 *>(in); 78 if (source_end_ptr > reinterpret_cast<const UTF8 *>(in) + in_length) 140 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]) [all...] |
convert_UTF.c | 50 Jan 2004: updated switches in from-UTF8 conversions. 205 * Magic values subtracted from a buffer value during UTF8 conversion. 219 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 234 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 237 UTF8* target = *targetStart; 288 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 289 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 290 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 291 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]) [all...] |
/external/unicode/ |
ConvertUTF.h | 92 typedef unsigned char UTF8; /* typically 8 bits */ 120 const UTF8** sourceStart, const UTF8* sourceEnd, 125 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 128 const UTF8** sourceStart, const UTF8* sourceEnd, 133 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 143 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) [all...] |
ConvertUTF.c | 34 Jan 2004: updated switches in from-UTF8 conversions. 186 * Magic values subtracted from a buffer value during UTF8 conversion. 200 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 216 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 219 UTF8* target = *targetStart; 280 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 281 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 282 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 283 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]) [all...] |
/external/llvm/include/llvm/Support/ |
ConvertUTF.h | 103 typedef unsigned char UTF8; /* typically 8 bits */ 136 const UTF8** sourceStart, const UTF8* sourceEnd, 140 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 144 const UTF8** sourceStart, const UTF8* sourceEnd, 148 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 152 const UTF8** sourceStart, const UTF8* sourceEnd, 157 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 111 typedef unsigned char UTF8; /* typically 8 bits */ 139 const UTF8** sourceStart, const UTF8* sourceEnd, 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 147 const UTF8** sourceStart, const UTF8* sourceEnd, 151 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 155 const UTF8** sourceStart, const UTF8* sourceEnd, 160 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
StringEncodings.java | 56 String UTF8 = "UTF-8";
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3convertutf.h | 98 // typedef unsigned char UTF8; /* typically 8 bits */ 108 typedef ANTLR3_UINT8 UTF8; /* typically 8 bits */ 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) [all...] |
/external/llvm/lib/Support/ |
ConvertUTFWrapper.cpp | 21 char *&ResultPtr, const UTF8 *&ErrorPtr) { 26 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); 27 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 35 const UTF8 *sourceStart = (const UTF8*)Source.data(); 48 const UTF8 *sourceStart = (const UTF8*)Source.data(); 69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr) [all...] |
ConvertUTF.c | 42 Jan 2004: updated switches in from-UTF8 conversions. 89 * Magic values subtracted from a buffer value during UTF8 conversion. 103 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 223 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 226 UTF8* target = *targetStart; 277 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 278 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 279 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 280 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]) [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
ConvertUTFWrapper.cpp | 21 char *&ResultPtr, const UTF8 *&ErrorPtr) { 26 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); 27 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 35 const UTF8 *sourceStart = (const UTF8*)Source.data(); 48 const UTF8 *sourceStart = (const UTF8*)Source.data(); 69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr) [all...] |
ConvertUTF.cpp | 42 Jan 2004: updated switches in from-UTF8 conversions. 89 * Magic values subtracted from a buffer value during UTF8 conversion. 103 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 223 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 226 UTF8* target = *targetStart; 277 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 278 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 279 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 280 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]) [all...] |
/external/regex-re2/re2/testing/ |
exhaustive_test.cc | 33 TEST(EgrepLiterals, UTF8) {
|
exhaustive3_test.cc | 28 // Returns UTF8 for Rune r 29 static string UTF8(Rune r) { 35 // Returns a vector of "interesting" UTF8 characters. 48 v.push_back(UTF8(i)); 53 v.push_back(UTF8(256 + j)); 56 v.push_back(UTF8(i + j)); 60 v.push_back(UTF8(Runemax + j));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
prettyauto.cpp | 3 // The input firstly convert to UTF8, and then write to the original encoding with pretty formatting.
27 GenericReader<AutoUTF<unsigned>, UTF8<> > reader; // CHANGED
40 PrettyWriter<OutputStream, UTF8<>, AutoUTF<unsigned> > writer(eos); // CHANGED
45 PrettyWriter<OutputStream, UTF8<>, UTF16LE<> > writer(eos); // CHANGED
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3convertutf.c | 34 Jan 2004: updated switches in from-UTF8 conversions. 177 * Magic values subtracted from a buffer value during UTF8 conversion. 191 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 207 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 210 UTF8* target = *targetStart; 261 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 262 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 263 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 264 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]) [all...] |