/aosp_15_r20/external/libxkbcommon/test/data/locale/ |
H A D | locale.dir | 8 iso8859-1/XLC_LOCALE af_ZA.ISO8859-1 9 iso8859-6/XLC_LOCALE ar_AA.ISO8859-6 10 iso8859-6/XLC_LOCALE ar_BH.ISO8859-6 11 iso8859-6/XLC_LOCALE ar_DZ.ISO8859-6 12 iso8859-6/XLC_LOCALE ar_EG.ISO8859-6 13 iso8859-6/XLC_LOCALE ar_IQ.ISO8859-6 14 iso8859-6/XLC_LOCALE ar_JO.ISO8859-6 15 iso8859-6/XLC_LOCALE ar_KW.ISO8859-6 16 iso8859-6/XLC_LOCALE ar_LB.ISO8859-6 17 iso8859-6/XLC_LOCALE ar_LY.ISO8859-6 [all …]
|
H A D | compose.dir | 7 iso8859-1/Compose C 8 iso8859-1/Compose af_ZA.ISO8859-1 9 iso8859-6/Compose ar_AA.ISO8859-6 10 iso8859-6/Compose ar_AE.ISO8859-6 11 iso8859-6/Compose ar_BH.ISO8859-6 12 iso8859-6/Compose ar_DZ.ISO8859-6 13 iso8859-6/Compose ar_EG.ISO8859-6 14 iso8859-6/Compose ar_IQ.ISO8859-6 15 iso8859-6/Compose ar_JO.ISO8859-6 16 iso8859-6/Compose ar_KW.ISO8859-6 [all …]
|
H A D | locale.alias | 9 POSIX-UTF2 C 13 C.iso88591 en_US.ISO8859-1 14 Cextend en_US.ISO8859-1 15 Cextend.en en_US.ISO8859-1 16 English_United-States.437 C 17 C.UTF-8 en_US.UTF-8 19 a3 az_AZ.KOI8-C 20 a3_AZ az_AZ.KOI8-C 21 a3_AZ.koi8c az_AZ.KOI8-C 22 a3_AZ.KOI-C az_AZ.KOI8-C [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 25 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 34 """ strcoll(string,string) -> int. 37 return (a > b) - (a < b) 40 """ strxfrm(string) -> string. 41 Returns a string that behaves for cmp locale-aware. 64 """ localeconv() -> dict. 65 Returns numeric and monetary locale-specific parameters. 88 """ setlocale(integer,string=None) -> string. 125 # if grouping is -1, we are done [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | locale.py | 3 The module provides low-level access to the C lib's locale APIs and adds high 35 # Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before 62 """ localeconv() -> dict. 63 Returns numeric and monetary locale-specific parameters. 86 """ setlocale(integer,string=None) -> string. 94 """ strcoll(string,string) -> int. 100 """ strxfrm(string) -> string. 101 Returns a string that behaves for cmp locale-aware. 129 # if grouping is -1, we are done 132 # 0: re-use last group ad infinitum [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/ |
H A D | unicode_transcode_op_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 26 # Note: for now only tests for algorithmic converters since no file-based 37 input_encoding="UTF-8", 38 output_encoding="UTF-8", 47 input_encoding="ISO-8859-1", 48 output_encoding="UTF-8", 57 input_encoding="US-ASCII", 58 output_encoding="UTF-8", 67 expected = [s.decode("UTF-16-BE").encode("UTF-8") for s in strings] 72 input_encoding="UTF-16", [all …]
|
H A D | unicode_decode_op_test.py | 1 # -*- coding: utf-8 -*- 8 # http://www.apache.org/licenses/LICENSE-2.0 47 b = list(x.encode("utf-32-be")) 50 return [(b0 << 24) + (b1 << 16) + (b2 << 8) + b3 61 encoded_x = x.encode("utf-32-be") 64 len(c.decode("utf-32-be").encode(encoding)) for c in encoded_chars 66 return [0] + np.cumsum(char_lens).tolist()[:-1] 74 b = x.encode("utf-32-be") 77 return [b"".join(c).decode("utf-32-be").encode(encoding) for c in chars] 79 return [bytes(c).decode("utf-32-be").encode(encoding) for c in chars] [all …]
|
/aosp_15_r20/external/pcre/testdata/ |
H A D | testoutput10 | 1 # This set of tests is for UTF-8 support and Unicode property support, with 2 # relevance only for the 8-bit library. 6 # The next 5 patterns have UTF-8 errors 8 /[�]/utf 9 Failed: error -8 at offset 1: UTF-8 error: byte 2 top bits not 0x80 11 /�/utf 12 Failed: error -3 at offset 0: UTF-8 error: 1 byte missing at end 14 /���xxx/utf 15 Failed: error -8 at offset 0: UTF-8 error: byte 2 top bits not 0x80 17 /Â��������/utf [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/mime/ |
D | encodedword_test.go | 2 // Use of this source code is governed by a BSD-style 15 utf8, iso88591 := "utf-8", "iso-8859-1" 21 {QEncoding, utf8, "François-Jérôme", "=?utf-8?q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?="}, 22 {BEncoding, utf8, "Café", "=?utf-8?b?Q2Fmw6k=?="}, 23 {QEncoding, iso88591, "La Seleção", "=?iso-8859-1?q?La_Sele=C3=A7=C3=A3o?="}, 28 …{QEncoding, utf8, "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~", "\t !\"#$%&'()*+,-./ :;<>?@[\\]^_`{|}~"… 29 {QEncoding, utf8, strings.Repeat("é", 10), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?="}, 30 …{QEncoding, utf8, strings.Repeat("é", 11), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?= =?utf… 31 …{QEncoding, iso88591, strings.Repeat("\xe9", 22), "=?iso-8859-1?q?" + strings.Repeat("=E9", 22) + … 32 …{QEncoding, utf8, strings.Repeat("\x80", 22), "=?utf-8?q?" + strings.Repeat("=80", 21) + "?= =?utf… [all …]
|
/aosp_15_r20/external/libcups/examples/ |
H A D | ipp-everywhere.test | 4 # Copyright © 2007-2018 by Apple Inc. 5 # Copyright © 2001-2006 by Easy Software Products. All rights reserved. 12 # ./ipptool -V 2.0 -tf filename.ext printer-uri ipp-everywhere.test 16 INCLUDE "ipp-2.0.test" 23 NAME "PWG 5100.14 section 5.1/5.2 - Required Operations and Attributes" 24 OPERATION Get-Printer-Attributes 25 GROUP operation-attributes-tag 26 ATTR charset attributes-charset utf-8 27 ATTR naturalLanguage attributes-natural-language en 28 ATTR uri printer-uri $uri [all …]
|
/aosp_15_r20/bionic/tests/ |
H A D | uchar_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 // Modern versions of UTF-8 (https://datatracker.ietf.org/doc/html/rfc3629 and 30 // newer) explicitly disallow code points beyond U+10FFFF, which exclude all 5- 31 // and 6-byte sequences. Earlier versions of UTF-8 allowed the wider range: 65 // ever do this (what does it mean to begin decoding a UTF-32 character while in TEST() 66 // still in the middle of a UTF-8 sequence?), considering that a decoding in TEST() 70 // UTF-32 character. in TEST() 72 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST() 79 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xc2", 1, &ps)); in TEST() 81 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST() [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
H A D | CharsetDetectionTests.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. --> 4 <!-- License & terms of use: http://www.unicode.org/copyright.html --> 5 <!-- Copyright (c) 2005-2015 IBM Corporation and others. All rights reserved --> 6 <!-- See individual test cases for their specific copyright. --> 8 <charset-detection-tests> 9 …<test-case id="IUC10-ar" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE ISO-8859-6/ar window… 10 <!-- Copyright © 1991-2005 Unicode, Inc. All rights reserved. --> 15 تسجّل الآن لحضور المؤتمر الدولي العاشر ليونيكود, الذي سيعقد في 10-12 آذار 1997 بمدينة ماينتس, 23 </test-case> [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/test/charsetdet/ |
H A D | CharsetDetectionTests.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. --> 4 <!-- License & terms of use: http://www.unicode.org/copyright.html --> 5 <!-- Copyright (c) 2005-2015 IBM Corporation and others. All rights reserved --> 6 <!-- See individual test cases for their specific copyright. --> 8 <charset-detection-tests> 9 …<test-case id="IUC10-ar" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE ISO-8859-6/ar window… 10 <!-- Copyright © 1991-2005 Unicode, Inc. All rights reserved. --> 15 تسجّل الآن لحضور المؤتمر الدولي العاشر ليونيكود, الذي سيعقد في 10-12 آذار 1997 بمدينة ماينتس, 23 </test-case> [all …]
|
/aosp_15_r20/external/icu/icu4c/source/test/testdata/ |
H A D | csdetest.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.uni… 4 <!-- Copyright (c) 2005-2013 IBM Corporation and others. All rights reserved --> 5 <!-- See individual test cases for their specific copyright. --> 7 <charset-detection-tests> 8 …<test-case id="IUC10-ar" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE ISO-8859-6/ar window… 9 <!-- Copyright © 1991-2005 Unicode, Inc. All rights reserved. --> 14 تسجّل الآن لحضور المؤتمر الدولي العاشر ليونيكود, الذي سيعقد في 10-12 آذار 1997 بمدينة ماينتس, 22 </test-case> 24 … <test-case id="IUC10-da-Q" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE windows-1252/da"> [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/testdata/ |
H A D | csdetest.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.uni… 4 <!-- Copyright (c) 2005-2013 IBM Corporation and others. All rights reserved --> 5 <!-- See individual test cases for their specific copyright. --> 7 <charset-detection-tests> 8 …<test-case id="IUC10-ar" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE ISO-8859-6/ar window… 9 <!-- Copyright © 1991-2005 Unicode, Inc. All rights reserved. --> 14 تسجّل الآن لحضور المؤتمر الدولي العاشر ليونيكود, الذي سيعقد في 10-12 آذار 1997 بمدينة ماينتس, 22 </test-case> 24 … <test-case id="IUC10-da-Q" encodings="UTF-8 UTF-16LE UTF-16BE UTF-32BE UTF-32LE windows-1252/da"> [all …]
|
/aosp_15_r20/external/libcups/cups/ |
H A D | transcode.c | 4 * Copyright 2007-2014 by Apple Inc. 5 * Copyright 1997-2007 by Easy Software Products. 14 #include "cups-private.h" 15 #include "debug-internal.h" 30 static iconv_t map_from_utf8 = (iconv_t)-1; 31 /* Convert from UTF-8 to charset */ 32 static iconv_t map_to_utf8 = (iconv_t)-1; 33 /* Convert from charset to UTF-8 */ 40 * '_cupsCharmapFlush()' - Flush all character set maps out of cache. 47 if (map_from_utf8 != (iconv_t)-1) in _cupsCharmapFlush() [all …]
|
/aosp_15_r20/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
H A D | XmlStreamReaderUtilitiesTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 46 private static final String APPXML_UTF8 = "application/xml;charset=UTF-8"; 47 private static final String APPXML_UTF16 = "application/xml;charset=UTF-16"; 48 private static final String APPXML_UTF32 = "application/xml;charset=UTF-32"; 49 private static final String APPXML_UTF16BE = "application/xml;charset=UTF-16BE"; 50 private static final String APPXML_UTF16LE = "application/xml;charset=UTF-16LE"; 51 private static final String APPXML_UTF32BE = "application/xml;charset=UTF-32BE"; 52 private static final String APPXML_UTF32LE = "application/xml;charset=UTF-32LE"; 156 checkAppXml(true, "application/xml-dtd"); in testAppXml() 157 checkAppXml(true, "application/xml-external-parsed-entity"); in testAppXml() [all …]
|
H A D | XmlStreamReaderTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 59 private static final String UTF_32 = "UTF-32"; 60 private static final String UTF_32LE = "UTF-32LE"; 61 private static final String UTF_32BE = "UTF-32BE"; 63 private static final String XML5 = "xml-prolog-encoding-spaced-single-quotes"; 64 private static final String XML4 = "xml-prolog-encoding-single-quotes"; 65 private static final String XML3 = "xml-prolog-encoding-double-quotes"; 66 private static final String XML2 = "xml-prolog"; 91 BOMs.put("no-bom", NO_BOM_BYTES); 92 BOMs.put("UTF-16BE-bom", UTF_16BE_BOM_BYTES); [all …]
|
/aosp_15_r20/external/lzma/CPP/Common/ |
H A D | UTFConvert.h | 49 if (NonUtf) s.Add_OptSpaced("non-UTF8"); in PrintStatus() 84 if (allowReduced == false) - all UTF-8 character sequences must be finished. 85 if (allowReduced == true) - it allows truncated last character-Utf8-sequence 100 it processes SINGLE-SURROGATE-8 as valid Unicode point. 101 it converts SINGLE-SURROGATE-8 to SINGLE-SURROGATE-16 102 Note: some sequencies of two SINGLE-SURROGATE-8 points 103 will generate correct SURROGATE-16-PAIR, and 104 that SURROGATE-16-PAIR later will be converted to correct 105 UTF8-SURROGATE-21 point. So we don't restore original 106 STR-8 sequence in that case. [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/utf8_range/utf8_corpus_dir/ |
D | utf8_corpus_kuhn.txt | 1 UTF-8 decoder capability and stress test 2 ---------------------------------------- 4 Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> - 2015-08-28 - CC BY 4.0 6 This test file can help you examine, how your UTF-8 decoder handles 7 various types of correct, malformed, or otherwise interesting UTF-8 12 help you think about, and test, the behaviour of your UTF-8 decoder on a 14 that most first-time authors of UTF-8 decoders find at least one 17 The test lines below cover boundary conditions, malformed UTF-8 18 sequences, as well as correctly encoded UTF-8 sequences of Unicode code 19 points that should never occur in a correct UTF-8 file. [all …]
|