| /external/guava/guava-tests/test/com/google/common/base/ |
| D | AsciiTest.java | 24 * Unit test for {@link Ascii}. 41 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase() 42 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase() 43 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase() 44 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase() 48 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase() 49 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase() 50 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase() 51 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase() 57 assertTrue(str, c == Ascii.toLowerCase(c)); in testCharsIgnored() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/base/ |
| D | AsciiTest.java | 24 * Unit test for {@link Ascii}. 41 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); in testToLowerCase() 42 assertSame(LOWER, Ascii.toLowerCase(LOWER)); in testToLowerCase() 43 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); in testToLowerCase() 44 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); in testToLowerCase() 48 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); in testToUpperCase() 49 assertSame(UPPER, Ascii.toUpperCase(UPPER)); in testToUpperCase() 50 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); in testToUpperCase() 51 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); in testToUpperCase() 57 assertTrue(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/toybox/tests/ |
| D | vi.test | 6 cp $FILES/vi/ascii.txt in.txt 10 toyonly testing "dd first line ascii" \ 17 cp $FILES/vi/ascii.txt in.txt 21 toyonly testing "dd last line ascii" \ 28 cp $FILES/vi/ascii.txt in.txt 32 toyonly testing "dw last line ascii" \ 39 cp $FILES/vi/ascii.txt in.txt 43 toyonly testing "dw first line ascii" \ 50 cp $FILES/vi/ascii.txt in.txt 54 toyonly testing "D first line ascii" \ [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/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/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/test/ |
| D | test_codeccallbacks.py | 28 UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad") 34 UnicodeEncodeError.__init__(self, "ascii", "", 0, 1, "bad") 40 UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad") 46 UnicodeDecodeError.__init__(self, "ascii", bytearray(b""), 0, 1, "bad") 71 # For ascii, latin-1 and charmaps this is completely implemented 75 s.encode("ascii", "xmlcharrefreplace"), 103 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout) 131 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout) 144 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout) 158 self.assertEqual(sin.encode("ascii", "namereplace"), sout) [all …]
|
| D | test_source_encoding.py | 52 self.assertEqual(ascii(d['a']), ascii(d['b'])) 142 input = "# coding: ascii\n\N{SNOWMAN}".encode('utf-8') 145 expected = "'ascii' codec can't decode byte 0xe2 in position 16: " \ 154 src = (b'print(ascii("\xc3\xa4"))\n') 159 b'print(ascii("\xc3\xa4"))\n') 165 b'print(ascii("\xc3\xa4"))\n') 173 b'print(ascii("\xc3\xa4"))\n') 180 b'print(ascii("\xc3\xa4"))\n') 185 b'print(ascii("\xc3\xa4"))\n') 190 b'print(ascii("\xc3\xa4"))\n') [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/icu/icu4j/main/classes/core/src/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/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/ltp/testcases/network/nfs/nfs_stress/ |
| D | nfs02 | 20 ROD cp $LTP_DATAFILES/ascii.jmb . 21 tst_res TINFO "compare both ascii.jmbs" 22 ROD diff $LTP_DATAFILES/ascii.jmb ascii.jmb 30 local files="ascii.sm ascii.med ascii.lg" 45 ROD chmod a-wx ascii.sm 46 ROD ls -l ascii.sm | grep -q "r--" 47 ROD chmod a+w ascii.sm
|
| /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/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/python/cpython2/Doc/library/ |
| D | curses.ascii.rst | 2 :mod:`curses.ascii` --- Utilities for ASCII characters 5 .. module:: curses.ascii 6 :synopsis: Constants and set-membership functions for ASCII characters. 13 The :mod:`curses.ascii` module supplies name constants for ASCII characters and 14 functions to test membership in various ASCII character classes. The constants 102 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or 108 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or 114 Checks for a character value that fits in the 7-bit ASCII set. 119 Checks for an ASCII whitespace character; space or horizontal tab. 124 Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f). [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | curses.ascii.rst | 1 :mod:`curses.ascii` --- Utilities for ASCII characters 4 .. module:: curses.ascii 5 :synopsis: Constants and set-membership functions for ASCII characters. 12 The :mod:`curses.ascii` module supplies name constants for ASCII characters and 13 functions to test membership in various ASCII character classes. The constants 101 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or 107 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or 113 Checks for a character value that fits in the 7-bit ASCII set. 118 Checks for an ASCII whitespace character; space or horizontal tab. 123 Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f). [all …]
|
| /external/guava/guava/src/com/google/common/base/ |
| D | Ascii.java | 23 * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through 26 * <p>ASCII utilities also exist in other classes of this package: 30 * <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters. 31 * <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods 32 * which operate only on the ASCII characters of a string. 41 public final class Ascii { class 43 private Ascii() {} in Ascii() method in Ascii 45 /* The ASCII control characters, per RFC 20. */ 215 * Transmission On: Although originally defined as DC1, this ASCII control character is now better 386 * The minimum value of an ASCII character. [all …]
|
| /external/guava/android/guava/src/com/google/common/base/ |
| D | Ascii.java | 23 * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through 26 * <p>ASCII utilities also exist in other classes of this package: 30 * <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters. 31 * <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods 32 * which operate only on the ASCII characters of a string. 41 public final class Ascii { class 43 private Ascii() {} in Ascii() method in Ascii 45 /* The ASCII control characters, per RFC 20. */ 215 * Transmission On: Although originally defined as DC1, this ASCII control character is now better 386 * The minimum value of an ASCII character. [all …]
|
| /external/clang/test/Preprocessor/ |
| D | utf8-allowed-chars.c | 35 // expected-error@13 {{non-ASCII characters are not allowed outside of literals and identifiers}} 41 // expected-error@9 {{non-ASCII characters are not allowed outside of literals and identifiers}} 42 // expected-error@10 {{non-ASCII characters are not allowed outside of literals and identifiers}} 43 // expected-error@13 {{non-ASCII characters are not allowed outside of literals and identifiers}} 44 // expected-error@14 {{non-ASCII characters are not allowed outside of literals and identifiers}} 45 // expected-error@21 {{non-ASCII characters are not allowed outside of literals and identifiers}} e… 53 // expected-error@13 {{non-ASCII characters are not allowed outside of literals and identifiers}} 60 // expected-error@9 {{non-ASCII characters are not allowed outside of literals and identifiers}} 61 // expected-error@11 {{non-ASCII characters are not allowed outside of literals and identifiers}} 62 // expected-error@13 {{non-ASCII characters are not allowed outside of literals and identifiers}} [all …]
|
| /external/rust/crates/webpki/src/data/ |
| D | README.md | 5 These files were encoded with the help of [der-ascii]. They can be decoded 9 go get github.com/google/der-ascii/cmd/der2ascii 10 der2ascii -i <filename> -o <filename>.ascii 13 New or modified der-ascii files can be encoded using: 16 go get github.com/google/der-ascii/cmd/ascii2der 17 ascii2der i <filename>.ascii -o <filename> 21 [der-ascii]: https://github.com/google/der-ascii
|