/external/valgrind/none/tests/s390x/ |
cu24.stdout.exp | 3 UTF32: <none> 9 UTF32: <none> 13 UTF32: <none> 17 UTF32: <none> 21 UTF32: <none> 25 UTF32: <none> 31 UTF32: 00 35 UTF32: 00 d7ff 39 UTF32: <none> 43 UTF32: 1000 [all...] |
cu24_1.stdout.exp | 3 UTF32: <none> 9 UTF32: <none> 13 UTF32: <none> 17 UTF32: <none> 21 UTF32: <none> 25 UTF32: <none> 31 UTF32: 00 35 UTF32: 00 d7ff 39 UTF32: <none> 43 UTF32: 1000 [all...] |
cu14.stdout.exp | 5 UTF32: 00000000 0000007f 00000001 00000010 0000007e 0000005d 12 UTF32: <none> 17 UTF32: <none> 22 UTF32: <none> 27 UTF32: <none> 32 UTF32: <none> 37 UTF32: <none> 42 UTF32: <none> 47 UTF32: <none> 54 UTF32: <none [all...] |
cu14_1.stdout.exp | 5 UTF32: 00000000 0000007f 00000001 00000010 0000007e 0000005d 12 UTF32: <none> 17 UTF32: <none> 22 UTF32: <none> 27 UTF32: <none> 32 UTF32: <none> 37 UTF32: <none> 42 UTF32: <none> 47 UTF32: <none> 54 UTF32: <none [all...] |
cu42.c | 142 run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */ 143 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 utf16 */ 144 run_test(buff, sizeof buff, pattern4, 5); /* 1 utf32 -> 2 utf16 */ 145 run_test(buff, sizeof buff, pattern4, 11); /* 2 utf32 -> 4 utf16 */ 146 run_test(buff, sizeof buff, pattern4, 18); /* 4 utf32 -> 8 utf16 */
|
/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/svox/pico/lib/ |
picobase.c | 98 static picoos_uint32 base_utf32_lowercase (picoos_uint32 utf32) 103 lc = utf32; 104 if (((utf32 >= 65313) && (utf32 <= 65338))) { 105 lc = (utf32 + 32); 106 } else if (((utf32 >= 66560) && (utf32 <= 66599))) { 107 lc = (utf32 + 40); 108 } else if (((utf32 >= 7680) && (utf32 <= 9423))) 1144 picobase_utf32 utf32; local 1175 picobase_utf32 utf32; local 1203 picoos_uint32 utf32; local 1222 picoos_uint32 utf32; local [all...] |
/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...] |
antlr3inputstream.c | 88 // UTF32 (also covers UCS2) 150 input->istream->_LA = antlr38BitLA; // Return the UTF32 character at offset n (1 based) 347 * \return Next input character in internal ANTLR3 encoding (UTF32) 374 * \return Next input character in internal ANTLR3 encoding (UTF32) 399 * \return Next input character in internal ANTLR3 encoding (UTF32) 680 * - The supplied newLineChar is in UTF32 encoding (which means ASCII and latin1 etc 734 input->istream->_LA = antlr3UTF16LA; // Return the UTF32 character at offset n (1 based) 741 input->istream->_LA = antlr3UTF16LALE; // Return the UTF32 character at offset n (1 based) 756 input->istream->_LA = antlr3UTF16LA; // Return the UTF32 character at offset n (1 based) 763 input->istream->_LA = antlr3UTF16LABE; // Return the UTF32 character at offset n (1 based) [all...] |
/external/icu/icu4c/source/common/unicode/ |
utf32.h | 8 * file name: utf32.h
|
/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 | 48 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); 64 const UTF32 *SourceStart = &Source; 65 const UTF32 *SourceEnd = SourceStart + 1;
|
/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/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;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
utilityclass.dot | 22 Encoding -> { UTF8; UTF16; UTF32; ASCII; AutoUTF } 24 UTF32 -> { UTF32LE; UTF32BE }
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 34 static const uint32_t utf32[7] = {'a', 'b', 0x20000, 'd', 'e', 'f', 'g'}; variable 49 "utf32", 73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) 74 hb_buffer_add (b, utf32[i], i); 78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]) 761 const uint32_t utf32[8]; member in struct:__anon13149 [all...] |
/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);
|
writertest.cpp | 336 Writer<StringBuffer, UTF32<> > writer(buffer);
337 static const UTF32<>::Ch s[] = { 0x110000, 0 }; // Out of U+0000 to U+10FFFF
344 Writer<StringBuffer, UTF32<>, ASCII<> > writer(buffer);
345 static const UTF32<>::Ch s[] = { 0x110000, 0 }; // Out of U+0000 to U+10FFFF
|
/system/core/libutils/ |
Unicode.cpp | 140 char32_t utf32 = first_char; local 145 utf32 = (utf32 << 6) + (*cur++ & 0x3F); 148 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1))); 151 return static_cast<int32_t>(utf32); 365 char32_t utf32; 369 utf32 = (*cur_utf16++ - 0xD800) << 10; 370 utf32 |= *cur_utf16++ - 0xDC00; 371 utf32 += 0x10000; 373 utf32 = (char32_t) *cur_utf16++ [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
encoding.md | 54 struct UTF32; 65 For processing text in memory, we normally use `UTF8`, `UTF16` or `UTF32`. For processing text via I/O, we may use `UTF8`, `UTF16LE`, `UTF16BE`, `UTF32LE` or `UTF32BE`. 67 When using the DOM-style API, the `Encoding` template parameter in `GenericValue<Encoding>` and `GenericDocument<Encoding>` indicates the encoding to be used to represent JSON string in memory. So normally we will use `UTF8`, `UTF16` or `UTF32` for this template parameter. The choice depends on operating systems and other libraries that the application is using. For example, Windows API represents Unicode characters in UTF-16, while most Linux distributions and applications prefer UTF-8. 82 For `UTF16(LE|BE)`, `UTF32(LE|BE)`, the `CharType` must be integer type of at least 2 and 4 bytes respectively. 84 Note that C++11 introduces `char16_t` and `char32_t`, which can be used for `UTF16` and `UTF32` respectively.
|
/external/libchrome/base/strings/ |
utf_string_conversions_unittest.cc | 158 const wchar_t* utf32; member in struct:base::WideToUTF8Case 179 WideToUTF8(test.utf32, wcslen(test.utf32), &converted));
|
/external/skia/tests/ |
UnicodeTest.cpp | 42 // result (for the same text) when using UTF8, UTF16, UTF32.
|