| /external/zxing/core/src/main/java/com/google/zxing/datamatrix/encoder/ |
| D | MinimalEncoder.java | 49 …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 …]
|
| /external/guava/guava-tests/test/com/google/common/base/ |
| D | AsciiTest.java | 25 * Unit test for {@link Ascii}. 42 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase() 43 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase() 44 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase() 45 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase() 49 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase() 50 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase() 51 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase() 52 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase() 58 assertEquals(str, c, Ascii.toLowerCase(c)); in testCharsIgnored() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/base/ |
| D | AsciiTest.java | 25 * Unit test for {@link Ascii}. 42 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase() 43 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase() 44 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase() 45 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase() 49 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase() 50 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase() 51 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase() 52 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase() 58 assertEquals(str, c, Ascii.toLowerCase(c)); in testCharsIgnored() [all …]
|
| /external/apache-http/src/org/apache/commons/codec/binary/ |
| D | BinaryCodec.java | 78 * 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 …]
|
| /external/icing/icing/transform/map/ |
| D | normalization-map.cc | 35 // 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 …]
|
| /external/pcre/maint/ucptestdata/ |
| D | testoutput1 | 2 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 …]
|
| /external/llvm/test/MC/AsmParser/ |
| D | macros-gas.s | 29 .ascii "\_a \_b \_c \\_c" 32 // CHECK: .ascii "1 2 3 \003" 35 // CHECK: .ascii "1 2 3 \003" 39 .ascii "\_a \_b \_c" 42 // CHECK: .ascii "1 (2 3) " 45 // CHECK: .ascii "1 (2 3) " 48 // CHECK: .ascii "1 2 " 73 .ascii "\_a,\_b,\_c" 77 .ascii "\_a \_b \_c" 80 // CHECK: .ascii "a,b,c" [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/ |
| D | RtspHeaders.java | 21 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 …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/ |
| D | RtspHeaders.java | 21 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 …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_curses.py | 29 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 …]
|
| D | test_codeccallbacks.py | 24 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 …]
|
| /external/python/cpython3/Lib/curses/ |
| D | textpad.py | 4 import curses.ascii 62 if curses.ascii.ascii(self.win.inch(y, last)) != curses.ascii.SP: 84 if not self.insert_mode or not curses.ascii.isprint(oldch): 100 if curses.ascii.isprint(ch): 103 elif ch == curses.ascii.SOH: # ^a 105 elif ch in (curses.ascii.STX,curses.KEY_LEFT, curses.ascii.BS,curses.KEY_BACKSPACE): 114 if ch in (curses.ascii.BS, curses.KEY_BACKSPACE): 116 elif ch == curses.ascii.EOT: # ^d 118 elif ch == curses.ascii.ENQ: # ^e 123 elif ch in (curses.ascii.ACK, curses.KEY_RIGHT): # ^f [all …]
|
| /external/python/cpython2/Lib/curses/ |
| D | textpad.py | 4 import curses.ascii 62 if curses.ascii.ascii(self.win.inch(y, last)) != curses.ascii.SP: 84 if not self.insert_mode or not curses.ascii.isprint(oldch): 100 if curses.ascii.isprint(ch): 103 elif ch == curses.ascii.SOH: # ^a 105 elif ch in (curses.ascii.STX,curses.KEY_LEFT, curses.ascii.BS,curses.KEY_BACKSPACE): 114 if ch in (curses.ascii.BS, curses.KEY_BACKSPACE): 116 elif ch == curses.ascii.EOT: # ^d 118 elif ch == curses.ascii.ENQ: # ^e 123 elif ch in (curses.ascii.ACK, curses.KEY_RIGHT): # ^f [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/test/qi/ |
| D | char1.cpp | 25 using namespace boost::spirit::ascii; in main() 61 using namespace boost::spirit::ascii; in main() 101 namespace ascii = boost::spirit::ascii; in main() 106 BOOST_TEST(test("x", ascii::char_("x"))); in main() 109 BOOST_TEST(test("x", ascii::char_("a", "z"))); in main() 115 namespace ascii = boost::spirit::ascii; in main() 118 BOOST_TEST(test("x", ascii::char_("a-z"))); in main() 119 BOOST_TEST(!test("1", ascii::char_("a-z"))); in main() 120 BOOST_TEST(test("1", ascii::char_("a-z0-9"))); in main() 127 BOOST_TEST(test("x", ascii::char_(set))); in main() [all …]
|
| /external/toybox/tests/ |
| D | vi.test | 14 vitest "dd first line ascii" "dd" "abc def\nghi jkl\n" "ghi jkl\n" 15 # TODO vitest "dd last line ascii" "Gdd" "abc def\nghi jkl" "abc def\n" 17 vitest "dw first line ascii" "dw" "abc def\nghi" "def\nghi" 18 # TODO vitest "dw last line ascii" 'G$bdw' "abc def\nghi jkl\n" "abc def\nghi \n" 20 vitest "D first line ascii" "llD" "abc def\nghi jkl" "ab\nghi jkl" 21 # TODO vitest "D last line ascii" "GD" "abc def\nghi jkl" "abc def\n" 23 vitest "yw push ascii" "wyw2ep" "abc def ghi\n" "abc def ghidef \n" 25 vitest "insert start of file ascii" "ihello\x1b" "abc def" "helloabc def" 26 # TODO vitest "insert end of file ascii" "GAhello\x1b" "abc\ndef" "abc\ndefhello" 28 vitest "insert multiple times ascii" "iab\x1bicd\x1bief\x1b" "xyz" "acefdbxyz" [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_codeccallbacks.py | 41 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 …]
|
| /external/ltp/testcases/network/nfs/nfs_stress/ |
| D | nfs02.sh | 18 ROD cp $LTP_DATAFILES/ascii.jmb . 19 tst_res TINFO "compare both ascii.jmbs" 20 ROD diff $LTP_DATAFILES/ascii.jmb ascii.jmb 28 local files="ascii.sm ascii.med ascii.lg" 43 ROD chmod a-wx ascii.sm 44 ROD ls -l ascii.sm | grep -q "r--" 45 ROD chmod a+w ascii.sm
|
| /external/python/cpython2/Lib/ctypes/test/ |
| D | test_unicode.py | 15 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict") 22 ctypes.set_conversion_mode("ascii", "strict") 32 ctypes.set_conversion_mode("ascii", "replace") 40 ctypes.set_conversion_mode("ascii", "ignore") 43 # ignore error mode skips non-ascii characters 56 ctypes.set_conversion_mode("ascii", "strict") 60 ctypes.set_conversion_mode("ascii", "replace") 68 ctypes.set_conversion_mode("ascii", "ignore") 86 self.prev_conv_mode = ctypes.set_conversion_mode("ascii", "strict") 98 ctypes.set_conversion_mode("ascii", "strict") [all …]
|
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| D | IDNA.java | 37 * containing non-ASCII code points are required to be processed by 73 * Option to check whether the input conforms to the STD3 ASCII rules, 75 * (ASCII Letters, Digits and Hyphen-Minus). 138 * By default, the UTS #46 implementation allows all ASCII characters (as valid or mapped). 139 * When the USE_STD3_RULES option is used, ASCII characters other than 150 * Converts a single domain name label into its ASCII form for DNS lookup. 152 * the result might not be an ASCII string. 176 * Converts a whole domain name into its ASCII form for DNS lookup. 178 * the result might not be an ASCII string. 373 * This is only checked in ToASCII operations, and only if the output label is all-ASCII. [all …]
|
| /external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/ |
| D | IDNA.java | 36 * containing non-ASCII code points are required to be processed by 73 * Option to check whether the input conforms to the STD3 ASCII rules, 75 * (ASCII Letters, Digits and Hyphen-Minus). 144 * By default, the UTS #46 implementation allows all ASCII characters (as valid or mapped). 145 * When the USE_STD3_RULES option is used, ASCII characters other than 157 * Converts a single domain name label into its ASCII form for DNS lookup. 159 * the result might not be an ASCII string. 185 * Converts a whole domain name into its ASCII form for DNS lookup. 187 * the result might not be an ASCII string. 380 * This is only checked in ToASCII operations, and only if the output label is all-ASCII. [all …]
|
| /external/sdv/vsomeip/third_party/boost/spirit/test/x3/ |
| D | char1.cpp | 29 using namespace boost::spirit::x3::ascii; in main() 73 using namespace boost::spirit::x3::ascii; in main() 119 // unicode (normal ASCII) in main() 168 namespace ascii = boost::spirit::x3::ascii; in main() 173 BOOST_TEST(test("x", ascii::char_("x"))); in main() 176 BOOST_TEST(test("x", ascii::char_("a", "z"))); in main() 182 namespace ascii = boost::spirit::x3::ascii; in main() 185 BOOST_TEST(test("x", ascii::char_("a-z"))); in main() 186 BOOST_TEST(!test("1", ascii::char_("a-z"))); in main() 187 BOOST_TEST(test("1", ascii::char_("a-z0-9"))); in main() [all …]
|
| /external/icu/icu4c/source/test/intltest/ |
| D | idnaref.h | 35 * ASCII names. A label is an individual part of a domain name. Labels are usually 42 * @param dest Output Unicode array with ACE encoded ASCII label. 46 * - idnaref_UNASSIGNED Unassigned values can be converted to ASCII for query operations 49 * - idnaref_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions 61 * @return Number of ASCII characters converted. 74 * ASCII names. A label is an individual part of a domain name. Labels are usually 78 * @param src Input ASCII (ACE encoded) label. 84 * - idnaref_UNASSIGNED Unassigned values can be converted to ASCII for query operations 87 * - idnaref_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions 121 * @param src Input ASCII IDN. [all …]
|
| /external/cronet/third_party/icu/source/test/intltest/ |
| D | idnaref.h | 35 * ASCII names. A label is an individual part of a domain name. Labels are usually 42 * @param dest Output Unicode array with ACE encoded ASCII label. 46 * - idnaref_UNASSIGNED Unassigned values can be converted to ASCII for query operations 49 * - idnaref_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions 61 * @return Number of ASCII characters converted. 74 * ASCII names. A label is an individual part of a domain name. Labels are usually 78 * @param src Input ASCII (ACE encoded) label. 84 * - idnaref_UNASSIGNED Unassigned values can be converted to ASCII for query operations 87 * - idnaref_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions 121 * @param src Input ASCII IDN. [all …]
|
| /external/rust/crates/winnow/src/combinator/ |
| D | mod.rs | 11 … `"bc"` | `Ok('a')` |Matches one of the provided characters (works with non ASCII characters too)| 13 …Recognizes a specific suite of characters or bytes (see also [`Caseless`][crate::ascii::Caseless])| 91 //! - [`tab`][crate::ascii::tab]: Matches a tab character `\t` 92 //! - [`crlf`][crate::ascii::crlf]: Recognizes the string `\r\n` 93 //! - [`line_ending`][crate::ascii::line_ending]: Recognizes an end of line (both `\n` and `\r\n`) 94 //! - [`newline`][crate::ascii::newline]: Matches a newline character `\n` 95 //! - [`till_line_ending`][crate::ascii::till_line_ending]: Recognizes a string of any char except … 98 …lpha0`][crate::ascii::alpha0]: Recognizes zero or more lowercase and uppercase alphabetic characte… 99 …c0`][crate::ascii::alphanumeric0]: Recognizes zero or more numerical and alphabetic characters: `[… 100 //! - [`space0`][crate::ascii::space0]: Recognizes zero or more spaces and tabs. [`space1`][crate::… [all …]
|
| /external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | TextFormatEscaper.java | 34 * Provide text format escaping of proto instances. These ASCII characters are escaped: 36 * ASCII #7 (bell) --> \a 37 * ASCII #8 (backspace) --> \b 38 * ASCII #9 (horizontal tab) --> \t 39 * ASCII #10 (linefeed) --> \n 40 * ASCII #11 (vertical tab) --> \v 41 * ASCII #13 (carriage return) --> \r 42 * ASCII #12 (formfeed) --> \f 43 * ASCII #34 (apostrophe) --> \' 44 * ASCII #39 (straight double quote) --> \" [all …]
|