/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3convertutf.h | 25 Conversions between UTF32, UTF-16, and UTF-8. Header file. 96 // typedef unsigned long UTF32; /* at least 32 bits */ 106 typedef ANTLR3_UINT32 UTF32; /* at least 32 bits */ 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)0xDBF [all...] |
/external/google-breakpad/src/common/ |
convert_UTF.h | 44 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned long UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 145 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags); 147 ConversionResult ConvertUTF32toUTF8 (const UTF32** sourceStart, const UTF32* sourceEnd [all...] |
convert_UTF.c | 41 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 65 static const UTF32 halfBase = 0x0010000UL; 66 static const UTF32 halfMask = 0x3FFUL; 68 #define UNI_SUR_HIGH_START (UTF32)0xD800 69 #define UNI_SUR_HIGH_END (UTF32)0xDBFF 70 #define UNI_SUR_LOW_START (UTF32)0xDC00 71 #define UNI_SUR_LOW_END (UTF32)0xDFFF 82 ConversionResult ConvertUTF32toUTF16 (const UTF32** sourceStart, const UTF32* sourceEnd, 85 const UTF32* source = *sourceStart [all...] |
string_conversion.cc | 87 const UTF32 *source_ptr = reinterpret_cast<const UTF32 *>(in); 88 const UTF32 *source_end_ptr = source_ptr + source_length; 103 const UTF32 *source_ptr = reinterpret_cast<const UTF32 *>(&in); 104 const UTF32 *source_end_ptr = source_ptr + 1;
|
/external/unicode/ |
ConvertUTF.h | 25 Conversions between UTF32, UTF-16, and UTF-8. Header file. 90 typedef unsigned long UTF32; /* at least 32 bits */ 96 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 97 #define UNI_MAX_BMP (UTF32)0x0000FFFF 98 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 99 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 100 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 129 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags); 132 const UTF32** sourceStart, const UTF32* sourceEnd, [all...] |
ConvertUTF.c | 25 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 49 static const UTF32 halfBase = 0x0010000UL; 50 static const UTF32 halfMask = 0x3FFUL; 52 #define UNI_SUR_HIGH_START (UTF32)0xD800 53 #define UNI_SUR_HIGH_END (UTF32)0xDBFF 54 #define UNI_SUR_LOW_START (UTF32)0xDC00 55 #define UNI_SUR_LOW_END (UTF32)0xDFFF 62 const UTF32** sourceStart, const UTF32* sourceEnd, 65 const UTF32* source = *sourceStart [all...] |
harness.c | 135 test02 - Test round trip UTF32 -> UTF16 -> UTF8 -> UTF16 -> UTF32 151 UTF32 utf32_buf[2], utf32_result[2]; 154 UTF32 *utf32SourceStart, *utf32TargetStart; 172 * Test UTF32 -> UTF16 174 result = ConvertUTF32toUTF16((const UTF32 **) &utf32SourceStart, &(utf32_buf[1]), &utf16TargetStart, &(utf16_buf[2]), strictConversion); 268 * Test UTF16 -> UTF32, with legality check on. If the result of our previous 270 * back to UTF32. 294 printf("Test02E for %d: utf32 input %08x; trip output %08x (utf_16buf is %04x,%04x)\n", i, utf32_buf[0], utf32_result[0], utf16_buf[0], utf16_buf[1]); 302 test03 - Test round trip UTF32 -> UTF8 -> UTF3 [all...] |
/external/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 101 typedef unsigned int UTF32; /* at least 32 bits */ 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 140 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 145 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
ConvertUTF.h | 33 Conversions between UTF32, UTF-16, and UTF-8. Header file. 109 typedef unsigned int UTF32; /* at least 32 bits */ 115 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD 116 #define UNI_MAX_BMP (UTF32)0x0000FFFF 117 #define UNI_MAX_UTF16 (UTF32)0x0010FFFF 118 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF 119 #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF 143 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 148 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) [all...] |
/external/llvm/lib/Support/ |
ConvertUTF.c | 33 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 58 static const UTF32 halfBase = 0x0010000UL; 59 static const UTF32 halfMask = 0x3FFUL; 61 #define UNI_SUR_HIGH_START (UTF32)0xD800 62 #define UNI_SUR_HIGH_END (UTF32)0xDBFF 63 #define UNI_SUR_LOW_START (UTF32)0xDC00 64 #define UNI_SUR_LOW_END (UTF32)0xDFFF 93 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, 119 const UTF32** sourceStart, const UTF32* sourceEnd, [all...] |
ConvertUTFWrapper.cpp | 51 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); 67 const UTF32 *SourceStart = &Source; 68 const UTF32 *SourceEnd = SourceStart + 1; 230 const UTF32 *Start = reinterpret_cast<const UTF32 *>(Source.data()); 231 const UTF32 *End = 232 reinterpret_cast<const UTF32 *>(Source.data() + Source.size());
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
ConvertUTF.cpp | 33 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 60 static const UTF32 halfBase = 0x0010000UL; 61 static const UTF32 halfMask = 0x3FFUL; 63 #define UNI_SUR_HIGH_START (UTF32)0xD800 64 #define UNI_SUR_HIGH_END (UTF32)0xDBFF 65 #define UNI_SUR_LOW_START (UTF32)0xDC00 66 #define UNI_SUR_LOW_END (UTF32)0xDFFF 93 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, 119 const UTF32** sourceStart, const UTF32* sourceEnd, [all...] |
ConvertUTFWrapper.cpp | 51 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); 67 const UTF32 *SourceStart = &Source; 68 const UTF32 *SourceEnd = SourceStart + 1; 230 const UTF32 *Start = reinterpret_cast<const UTF32 *>(Source.data()); 231 const UTF32 *End = 232 reinterpret_cast<const UTF32 *>(Source.data() + Source.size());
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3convertutf.c | 25 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 53 const UTF32** sourceStart, const UTF32* sourceEnd, 56 const UTF32* source = *sourceStart; 59 UTF32 ch; 103 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) { 106 UTF32* target = *targetStart; 107 UTF32 ch, ch2; 111 /* If we have a surrogate pair, convert to UTF32 first. * [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
UConverterSharedData.java | 384 static final int UTF32 = UTF16 + 1; // 30 385 static final int CESU8 = UTF32 + 1; // 31
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 258 TestEncodedInputStream<UTF32LE<>, UTF32<> >("utf32le.json");
259 TestEncodedInputStream<UTF32LE<>, UTF32<> >("utf32lebom.json");
260 TestEncodedInputStream<UTF32BE<>, UTF32<> >("utf32be.json");
261 TestEncodedInputStream<UTF32BE<>, UTF32<> >("utf32bebom.json");
293 TestEncodedOutputStream<UTF32LE<>, UTF32<> >("utf32le.json", false);
294 TestEncodedOutputStream<UTF32LE<>, UTF32<> >("utf32lebom.json",true);
295 TestEncodedOutputStream<UTF32BE<>, UTF32<> >("utf32be.json", false);
296 TestEncodedOutputStream<UTF32BE<>, UTF32<> >("utf32bebom.json",true);
|
encodingstest.cpp | 397 TEST(EncodingsTest, UTF32) {
398 GenericStringBuffer<UTF32<> > os, os2;
402 UTF32<>::Encode(os, codepoint);
403 const UTF32<>::Ch* encodedStr = os.GetString();
407 GenericStringStream<UTF32<> > is(encodedStr);
409 bool result = UTF32<>::Decode(is, &decodedCodepoint);
418 GenericStringStream<UTF32<> > is(encodedStr);
420 bool result = UTF32<>::Validate(is, os2);
|