Home
last modified time | relevance | path

Searched full:ascii (Results 1 – 25 of 13186) sorted by relevance

12345678910>>...528

/aosp_15_r20/external/zxing/core/src/main/java/com/google/zxing/datamatrix/encoder/
H A DMinimalEncoder.java49 …he ECI will occur in the second stage (may, or may not require an extra latch to ASCII depending on
64 ASCII, enumConstant
205 addEdge(edges, new Edge(input, Mode.ASCII, from, 1, previous)); in addEdges()
214 // two digits ASCII encoded in addEdges()
215 addEdge(edges, new Edge(input, Mode.ASCII, from, 2, previous)); in addEdges()
217 // one ASCII encoded character or an extended character via Upper Shift in addEdges()
218 addEdge(edges, new Edge(input, Mode.ASCII, from, 1, previous)); in addEdges()
239 …4 EDF edges, with 1, 2 3 or 4 characters length. The fourth normally doesn't have a latch to ASCII in addEdges()
261 …* For any position there might be up to six vertices, one for each of the encoding types ASCII, C4… in encodeMinimally()
265 …* ASCII encodation. At position 3 there might be vertices for the types ASCII, C40, X12, EDF and B… in encodeMinimally()
[all …]
/aosp_15_r20/external/pcre/maint/ucptestdata/
H A Dtestoutput12 U+0000 BN Control: Control, common, Control, [ascii]
3 U+0001 BN Control: Control, common, Control, [ascii]
4 U+0002 BN Control: Control, common, Control, [ascii]
5 U+0003 BN Control: Control, common, Control, [ascii]
6 U+0004 BN Control: Control, common, Control, [ascii]
7 U+0005 BN Control: Control, common, Control, [ascii]
8 U+0006 BN Control: Control, common, Control, [ascii]
9 U+0007 BN Control: Control, common, Control, [ascii]
10 U+0008 BN Control: Control, common, Control, [ascii]
11 U+0009 S Control: Control, common, Control, [ascii, patternwhitespace, whitespace]
[all …]
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/base/
H A DAsciiTest.java26 * Unit test for {@link Ascii}.
43 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase()
44 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase()
45 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase()
46 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase()
50 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase()
51 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase()
52 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase()
53 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase()
59 assertEquals(str, c, Ascii.toLowerCase(c)); in testCharsIgnored()
[all …]
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/base/
H A DAsciiTest.java26 * Unit test for {@link Ascii}.
43 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase()
44 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase()
45 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase()
46 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase()
50 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase()
51 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase()
52 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase()
53 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase()
59 assertEquals(str, c, Ascii.toLowerCase(c)); in testCharsIgnored()
[all …]
/aosp_15_r20/external/icing/icing/transform/map/
H A Dnormalization-map.cc35 // 2. Common full-width characters -> ASCII characters.
37 // to the corresponding ASCII forms.
38 // 3. Common ideographic punctuation marks -> ASCII characters.
40 // we list two that are frequently used in CJK and can be converted to ASCII.
41 // 4. Common diacritic Latin characters -> ASCII characters.
153 // Part 2: Common full-width characters -> ASCII characters.
154 {0xff01, 33}, // ASCII !
155 {0xff02, 34}, // ASCII "
156 {0xff03, 35}, // ASCII #
157 {0xff04, 36}, // ASCII $
[all …]
/aosp_15_r20/external/apache-http/src/org/apache/commons/codec/binary/
H A DBinaryCodec.java78 * Converts an array of raw binary data into an array of ascii 0 and 1 characters.
82 * @return 0 and 1 ascii character bytes one for each bit of the argument
90 * Converts an array of raw binary data into an array of ascii 0 and 1 chars.
94 * @return 0 and 1 ascii character chars one for each bit of the argument
107 * Decodes a byte array where each byte represents an ascii '0' or '1'.
109 * @param ascii
110 * each byte represents an ascii '0' or '1'
116 public Object decode(Object ascii) throws DecoderException { in decode() argument
117 if (ascii == null) { in decode()
120 if (ascii instanceof byte[]) { in decode()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py41 UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad")
47 UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad")
53 UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad")
59 UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad")
84 # For ascii, latin-1 and charmaps this is completely implemented
88 s.encode("ascii", "xmlcharrefreplace"),
116 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
144 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout)
157 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout)
171 self.assertEqual(sin.encode("ascii", "namereplace"), sout)
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py24 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad")
30 UnicodeEncodeError.__init__(self, "ascii", u"", 0, 1, "bad")
36 UnicodeDecodeError.__init__(self, "ascii", "", 0, 1, "bad")
42 UnicodeDecodeError.__init__(self, "ascii", "", 0, 1, "bad")
67 # For ascii, latin-1 and charmaps this is completely implemented
71 s.encode("ascii", "xmlcharrefreplace"),
90 for encoding in ['ascii', 'latin1', 'iso-8859-15']:
118 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
146 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout)
163 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout)
[all …]
Dtest_curses.py29 import_module('curses.ascii')
377 for name in curses.ascii.controlnames:
378 self.assertTrue(hasattr(curses.ascii, name), name)
387 check(curses.ascii.isalnum, b.isalnum())
388 check(curses.ascii.isalpha, b.isalpha())
389 check(curses.ascii.isdigit, b.isdigit())
390 check(curses.ascii.islower, b.islower())
391 check(curses.ascii.isspace, b.isspace())
392 check(curses.ascii.isupper, b.isupper())
394 check(curses.ascii.isascii, i < 128)
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-1.10.4/testdata/
H A Dword-boundary-special.toml10 name = "word-start-ascii-010"
17 name = "word-start-ascii-020"
24 name = "word-start-ascii-030"
31 name = "word-start-ascii-040"
38 name = "word-start-ascii-050"
45 name = "word-start-ascii-060"
52 name = "word-start-ascii-060-bounds"
60 name = "word-start-ascii-070"
67 name = "word-start-ascii-080"
74 name = "word-start-ascii-090"
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/
H A DPrintLib.h3 Unicode and ASCII strings are supported.
78 - The argument is a Unicode character. ASCII characters can be printed
99 - The argument is a pointer to an ASCII string.
353 ASCII format string and a VA_LIST argument list.
375 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
383 @param FormatString A Null-terminated ASCII format string.
401 ASCII format string and a BASE_LIST argument list.
421 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
429 @param FormatString A Null-terminated ASCII format string.
447 ASCII format string and variable argument list.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/
H A DPrintLib.h3 Unicode and ASCII strings are supported.
72 - The argument is a Unicode character. ASCII characters can be printed
93 - The argument is a pointer to an ASCII string.
347 ASCII format string and a VA_LIST argument list.
369 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
377 @param FormatString A Null-terminated ASCII format string.
395 ASCII format string and a BASE_LIST argument list.
415 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
423 @param FormatString A Null-terminated ASCII format string.
441 ASCII format string and variable argument list.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/
H A DPrintLib.h3 Unicode and ASCII strings are supported.
72 - The argument is a Unicode character. ASCII characters can be printed
93 - The argument is a pointer to an ASCII string.
347 ASCII format string and a VA_LIST argument list.
369 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
377 @param FormatString A Null-terminated ASCII format string.
395 ASCII format string and a BASE_LIST argument list.
415 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
423 @param FormatString A Null-terminated ASCII format string.
441 ASCII format string and variable argument list.
[all …]
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/
H A DPrintLib.h3 Unicode and ASCII strings are supported.
72 - The argument is a Unicode character. ASCII characters can be printed
93 - The argument is a pointer to an ASCII string.
347 ASCII format string and a VA_LIST argument list.
369 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
377 @param FormatString A Null-terminated ASCII format string.
395 ASCII format string and a BASE_LIST argument list.
415 PcdMaximumAsciiStringLength Ascii characters not including the Null-terminator, then
423 @param FormatString A Null-terminated ASCII format string.
441 ASCII format string and variable argument list.
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/
H A Dascii.rs1 //! Operations on ASCII strings and characters.
4 //! makes more sense to only consider the ASCII character set for a specific
8 //! operations that only act on the ASCII subset and leave non-ASCII characters
17 pub use core::ascii::{escape_default, EscapeDefault};
20 pub use core::ascii::Char;
22 /// Extension methods for ASCII-subset only operations.
24 /// Be aware that operations on seemingly non-ASCII characters can sometimes
28 /// use std::ascii::AsciiExt;
40 /// accent). Since the last character is defined outside the scope of ASCII,
47 /// Container type for copied ASCII characters.
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dascii.rs1 //! Operations on ASCII strings and characters.
4 //! makes more sense to only consider the ASCII character set for a specific
8 //! operations that only act on the ASCII subset and leave non-ASCII characters
17 pub use core::ascii::{escape_default, EscapeDefault};
20 pub use core::ascii::Char;
22 /// Extension methods for ASCII-subset only operations.
24 /// Be aware that operations on seemingly non-ASCII characters can sometimes
28 /// use std::ascii::AsciiExt;
40 /// accent). Since the last character is defined outside the scope of ASCII,
47 /// Container type for copied ASCII characters.
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dascii.rs1 //! Operations on ASCII strings and characters.
4 //! makes more sense to only consider the ASCII character set for a specific
8 //! operations that only act on the ASCII subset and leave non-ASCII characters
17 pub use core::ascii::{escape_default, EscapeDefault};
20 pub use core::ascii::Char;
22 /// Extension methods for ASCII-subset only operations.
24 /// Be aware that operations on seemingly non-ASCII characters can sometimes
28 /// use std::ascii::AsciiExt;
40 /// accent). Since the last character is defined outside the scope of ASCII,
47 /// Container type for copied ASCII characters.
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dascii.rs1 //! Operations on ASCII strings and characters.
4 //! makes more sense to only consider the ASCII character set for a specific
8 //! operations that only act on the ASCII subset and leave non-ASCII characters
17 pub use core::ascii::{escape_default, EscapeDefault};
20 pub use core::ascii::Char;
22 /// Extension methods for ASCII-subset only operations.
24 /// Be aware that operations on seemingly non-ASCII characters can sometimes
28 /// use std::ascii::AsciiExt;
40 /// accent). Since the last character is defined outside the scope of ASCII,
47 /// Container type for copied ASCII characters.
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dascii.rs1 //! Operations on ASCII strings and characters.
4 //! makes more sense to only consider the ASCII character set for a specific
8 //! operations that only act on the ASCII subset and leave non-ASCII characters
17 pub use core::ascii::{escape_default, EscapeDefault};
20 pub use core::ascii::Char;
22 /// Extension methods for ASCII-subset only operations.
24 /// Be aware that operations on seemingly non-ASCII characters can sometimes
28 /// use std::ascii::AsciiExt;
40 /// accent). Since the last character is defined outside the scope of ASCII,
47 /// Container type for copied ASCII characters.
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Descape.rs3 use crate::ascii;
7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap();
10 const fn backslash<const N: usize>(a: ascii::Char) -> ([ascii::Char; N], Range<u8>) { in backslash()
13 let mut output = [ascii::Char::Null; N];
15 output[0] = ascii::Char::ReverseSolidus;
21 /// Escapes an ASCII character.
24 const fn escape_ascii<const N: usize>(byte: u8) -> ([ascii::Char; N], Range<u8>) { in escape_ascii()
28 b'\t' => backslash(ascii::Char::SmallT),
29 b'\r' => backslash(ascii::Char::SmallR),
30 b'\n' => backslash(ascii::Char::SmallN),
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/
H A Descape.rs3 use crate::ascii;
7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap();
10 const fn backslash<const N: usize>(a: ascii::Char) -> ([ascii::Char; N], Range<u8>) { in backslash()
13 let mut output = [ascii::Char::Null; N];
15 output[0] = ascii::Char::ReverseSolidus;
21 /// Escapes an ASCII character.
24 const fn escape_ascii<const N: usize>(byte: u8) -> ([ascii::Char; N], Range<u8>) { in escape_ascii()
28 b'\t' => backslash(ascii::Char::SmallT),
29 b'\r' => backslash(ascii::Char::SmallR),
30 b'\n' => backslash(ascii::Char::SmallN),
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/
H A Descape.rs3 use crate::ascii;
7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap();
10 const fn backslash<const N: usize>(a: ascii::Char) -> ([ascii::Char; N], Range<u8>) { in backslash()
13 let mut output = [ascii::Char::Null; N];
15 output[0] = ascii::Char::ReverseSolidus;
21 /// Escapes an ASCII character.
24 const fn escape_ascii<const N: usize>(byte: u8) -> ([ascii::Char; N], Range<u8>) { in escape_ascii()
28 b'\t' => backslash(ascii::Char::SmallT),
29 b'\r' => backslash(ascii::Char::SmallR),
30 b'\n' => backslash(ascii::Char::SmallN),
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Descape.rs3 use crate::ascii;
7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap();
10 const fn backslash<const N: usize>(a: ascii::Char) -> ([ascii::Char; N], Range<u8>) { in backslash()
13 let mut output = [ascii::Char::Null; N];
15 output[0] = ascii::Char::ReverseSolidus;
21 /// Escapes an ASCII character.
24 const fn escape_ascii<const N: usize>(byte: u8) -> ([ascii::Char; N], Range<u8>) { in escape_ascii()
28 b'\t' => backslash(ascii::Char::SmallT),
29 b'\r' => backslash(ascii::Char::SmallR),
30 b'\n' => backslash(ascii::Char::SmallN),
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/
H A Descape.rs3 use crate::ascii;
7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap();
10 const fn backslash<const N: usize>(a: ascii::Char) -> ([ascii::Char; N], Range<u8>) { in backslash()
13 let mut output = [ascii::Char::Null; N];
15 output[0] = ascii::Char::ReverseSolidus;
21 /// Escapes an ASCII character.
24 const fn escape_ascii<const N: usize>(byte: u8) -> ([ascii::Char; N], Range<u8>) { in escape_ascii()
28 b'\t' => backslash(ascii::Char::SmallT),
29 b'\r' => backslash(ascii::Char::SmallR),
30 b'\n' => backslash(ascii::Char::SmallN),
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/
H A DRtspHeaders.java21 import com.google.common.base.Ascii;
223 if (Ascii.equalsIgnoreCase(messageHeaderName, ACCEPT)) { in convertToStandardHeaderName()
225 } else if (Ascii.equalsIgnoreCase(messageHeaderName, ALLOW)) { in convertToStandardHeaderName()
227 } else if (Ascii.equalsIgnoreCase(messageHeaderName, AUTHORIZATION)) { in convertToStandardHeaderName()
229 } else if (Ascii.equalsIgnoreCase(messageHeaderName, BANDWIDTH)) { in convertToStandardHeaderName()
231 } else if (Ascii.equalsIgnoreCase(messageHeaderName, BLOCKSIZE)) { in convertToStandardHeaderName()
233 } else if (Ascii.equalsIgnoreCase(messageHeaderName, CACHE_CONTROL)) { in convertToStandardHeaderName()
235 } else if (Ascii.equalsIgnoreCase(messageHeaderName, CONNECTION)) { in convertToStandardHeaderName()
237 } else if (Ascii.equalsIgnoreCase(messageHeaderName, CONTENT_BASE)) { in convertToStandardHeaderName()
239 } else if (Ascii.equalsIgnoreCase(messageHeaderName, CONTENT_ENCODING)) { in convertToStandardHeaderName()
[all …]

12345678910>>...528