Home
last modified time | relevance | path

Searched +full:utf +full:- +full:8 (Results 1 – 25 of 1313) sorted by relevance

12345678910>>...53

/external/libxkbcommon/test/data/locale/
Dlocale.dir8 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 …]
Dcompose.dir7 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 …]
Dlocale.alias9 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 …]
/external/python/cpython3/Lib/
Dlocale.py3 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 …]
/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/
Dunicode_transcode_op_test.py7 # 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 …]
Dunicode_decode_op_test.py1 # -*- 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 …]
/external/python/cpython2/Lib/
Dlocale.py3 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 …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DXmlStreamReaderUtilitiesTest.java9 * 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 …]
DXmlStreamReaderTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
52 private static final String UTF_32 = "UTF-32";
53 private static final String UTF_32LE = "UTF-32LE";
54 private static final String UTF_32BE = "UTF-32BE";
56 private static final String XML5 = "xml-prolog-encoding-spaced-single-quotes";
57 private static final String XML4 = "xml-prolog-encoding-single-quotes";
58 private static final String XML3 = "xml-prolog-encoding-double-quotes";
59 private static final String XML2 = "xml-prolog";
84 BOMs.put("no-bom", NO_BOM_BYTES);
85 BOMs.put("UTF-16BE-bom", UTF_16BE_BOM_BYTES);
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
DCharsetDetectionTests.xml1 <?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 …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
DCharsetDetectionTests.xml1 <?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 …]
/external/icu/icu4c/source/test/testdata/
Dcsdetest.xml1 <?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 …]
/external/cronet/third_party/icu/source/test/testdata/
Dcsdetest.xml1 <?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 …]
/external/libcups/cups/
Dtranscode.c4 * 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 …]
/external/tensorflow/tensorflow/python/
Dpywrap_mlir.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 # pylint: disable=invalid-import-order, g-bad-import-order, wildcard-import, unused-import, undefin…
32 str(graphdef).encode('utf-8'), pass_pipeline.encode('utf-8'),
33 show_debug_info, ','.join(input_names).encode('utf-8'),
34 ','.join(input_data_types).encode('utf-8'),
35 ':'.join(input_data_shapes).encode('utf-8'),
36 ','.join(output_names).encode('utf-8'))
38 str(graphdef).encode('utf-8'), pass_pipeline.encode('utf-8'),
46 str(concrete_function.function_def).encode('utf-8'),
47 pass_pipeline.encode('utf-8'), show_debug_info)
[all …]
/external/pcre/testdata/
Dtestoutput101 # This set of tests is for UTF-8 support and Unicode property support, with
2 # relevance only for the 8-bit library.
4 # The next 5 patterns have UTF-8 errors
6 /[�]/utf
7 Failed: error -8 at offset 1: UTF-8 error: byte 2 top bits not 0x80
9 /�/utf
10 Failed: error -3 at offset 0: UTF-8 error: 1 byte missing at end
12 /���xxx/utf
13 Failed: error -8 at offset 0: UTF-8 error: byte 2 top bits not 0x80
15 /��������/utf
[all …]
Dtestoutput14-81 # These test special UTF and UCP features of DFA matching. The output is
6 # ----------------------------------------------------
8 # non-DFA matching.
10 /X/utf
12 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
14 Error -36 (bad UTF-8 offset)
18 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
22 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
26 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
30 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
[all …]
Dtestinput101 # This set of tests is for UTF-8 support and Unicode property support, with
2 # relevance only for the 8-bit library.
4 # The next 5 patterns have UTF-8 errors
6 /[�]/utf
8 /�/utf
10 /���xxx/utf
12 /��������/utf
18 /badutf/utf
19 \= Expect UTF-8 errors
60 /badutf/utf
[all …]
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DCheckUtf8Test.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
47 * UTF-8 checks.
75 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRequiredStringWithBadUtf8()
77 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildRequiredStringWithBadUtf8()
85 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildOptionalStringWithBadUtf8()
87 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildOptionalStringWithBadUtf8()
95 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRepeatedStringWithBadUtf8()
97 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildRepeatedStringWithBadUtf8()
112 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRequiredStringWithBadUtf8Size()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCheckUtf8Test.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
47 * UTF-8 checks.
74 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRequiredStringWithBadUtf8()
76 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildRequiredStringWithBadUtf8()
84 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildOptionalStringWithBadUtf8()
86 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildOptionalStringWithBadUtf8()
94 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRepeatedStringWithBadUtf8()
96 assertThat(exception).hasMessageThat().isEqualTo("Byte string is not UTF-8."); in testBuildRepeatedStringWithBadUtf8()
111 assertWithMessage("Expected IllegalArgumentException for non UTF-8 byte string.").fail(); in testBuildRequiredStringWithBadUtf8Size()
[all …]
/external/rust/crates/bstr/src/
Dlib.rs5 difference: byte strings are only *conventionally* UTF-8 while Rust's standard
6 Unicode strings are *guaranteed* to be valid UTF-8. The primary motivation for
7 byte strings is for handling arbitrary bytes that are mostly UTF-8.
48 assert_eq!(matches, [0, 8, 12, 21]);
65 invalid UTF-8:
105 This library reflects my belief that UTF-8 by convention is a better trade
106 off in some circumstances than guaranteed UTF-8.
110 about searching valid UTF-8 encoded strings. Indeed, internally, the
112 just deals with raw bytes. UTF-8 match boundaries are then guaranteed by the
118 standard library's [`Read`](https://doc.rust-lang.org/std/io/trait.Read.html)
[all …]
/external/libcups/examples/
Dipp-everywhere.test4 # 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 …]
/external/icu/icu4j/perf-tests/
Dnormperf.pl5 # * Copyright (C) 2002-2007 International Business Machines Corporation and *
15 #---------------------------------------------------------------------
39 [ "TestNames_SerbianSH.txt", "UTF-8", "b"],
40 # [ "arabic.txt", "UTF-8", "b"],
41 # [ "french.txt", "UTF-8", "b"],
42 # [ "greek.txt", "UTF-8", "b"],
43 # [ "hebrew.txt", "UTF-8", "b"],
44 # [ "hindi.txt" , "UTF-8", "b"],
45 # [ "japanese.txt", "UTF-8", "b"],
46 # [ "korean.txt", "UTF-8", "b"],
[all …]
/external/python/cpython3/Lib/test/
Dtest_utf8_mode.py2 Test the implementation of the PEP 540: the UTF-8 Mode.
46 out = self.get_output('-c', code, LC_ALL=loc)
52 out = self.get_output('-X', 'utf8', '-c', code)
55 # undocumented but accepted syntax: -X utf8=1
56 out = self.get_output('-X', 'utf8=1', '-c', code)
59 out = self.get_output('-X', 'utf8=0', '-c', code)
63 # PYTHONLEGACYWINDOWSFSENCODING disables the UTF-8 Mode
64 # and has the priority over -X utf8
65 out = self.get_output('-X', 'utf8', '-c', code,
72 out = self.get_output('-c', code, PYTHONUTF8='1')
[all …]
/external/rust/crates/cesu8/src/
Dlib.rs1 // Copyright 2012-2014 The Rust Project Developers and Eric Kidd. See the
2 // COPYRIGHT-RUST.txt file at the top-level directory of this distribution.
4 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
11 //! A simple library implementing the [CESU-8 compatibility encoding
12 //! scheme](http://www.unicode.org/reports/tr26/tr26-2.html). This is a
13 //! non-standard variant of UTF-8 that is used internally by some systems
14 //! that need to represent UTF-16 data as 8-bit characters. Yes, this is
25 //! // 16-bit Unicode characters are the same in UTF-8 and CESU-8.
[all …]

12345678910>>...53