| /third_party/rust/rust/library/core/src/ |
| D | escape.rs | 3 use crate::ascii; 7 const HEX_DIGITS: [ascii::Char; 16] = *b"0123456789abcdef".as_ascii().unwrap(); 11 pub(crate) fn escape_ascii_into(output: &mut [ascii::Char; 4], byte: u8) -> Range<u8> { in escape_ascii_into() 13 fn backslash(a: ascii::Char) -> ([ascii::Char; 4], u8) { in backslash() 14 ([ascii::Char::ReverseSolidus, a, ascii::Char::Null, ascii::Char::Null], 2) 18 b'\t' => backslash(ascii::Char::SmallT), 19 b'\r' => backslash(ascii::Char::SmallR), 20 b'\n' => backslash(ascii::Char::SmallN), 21 b'\\' => backslash(ascii::Char::ReverseSolidus), 22 b'\'' => backslash(ascii::Char::Apostrophe), [all …]
|
| /third_party/rust/rust/library/std/src/ |
| D | ascii.rs | 1 //! 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 …]
|
| /third_party/pcre2/pcre2/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 …]
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | almost_complete_range.stderr | 1 error: almost complete ascii range 11 error: almost complete ascii range 19 error: almost complete ascii range 27 error: almost complete ascii range 35 error: almost complete ascii range 43 error: almost complete ascii range 51 error: almost complete ascii range 59 error: almost complete ascii range 67 error: almost complete ascii range 75 error: almost complete ascii range [all …]
|
| D | manual_is_ascii_check.stderr | 1 error: manual check for common ascii range 7 = note: `-D clippy::manual-is-ascii-check` implied by `-D warnings` 9 error: manual check for common ascii range 15 error: manual check for common ascii range 21 error: manual check for common ascii range 27 error: manual check for common ascii range 33 error: manual check for common ascii range 39 error: manual check for common ascii range 45 error: manual check for common ascii range 51 error: manual check for common ascii range [all …]
|
| /third_party/python/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 …]
|
| /third_party/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
|
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | TextFormatEscaper.java | 11 * Provide text format escaping of proto instances. These ASCII characters are escaped: 13 * ASCII #7 (bell) --> \a 14 * ASCII #8 (backspace) --> \b 15 * ASCII #9 (horizontal tab) --> \t 16 * ASCII #10 (linefeed) --> \n 17 * ASCII #11 (vertical tab) --> \v 18 * ASCII #13 (carriage return) --> \r 19 * ASCII #12 (formfeed) --> \f 20 * ASCII #34 (apostrophe) --> \' 21 * ASCII #39 (straight double quote) --> \" [all …]
|
| /third_party/rust/rust/library/core/src/array/ |
| D | ascii.rs | 1 use crate::ascii; 5 /// Converts this array of bytes into a array of ASCII characters, 6 /// or returns `None` if any of the characters is non-ASCII. 14 /// const HEX_DIGITS: [std::ascii::Char; 16] = 23 pub const fn as_ascii(&self) -> Option<&[ascii::Char; N]> { in as_ascii() 25 // SAFETY: Just checked that it's ASCII 32 /// Converts this array of bytes into a array of ASCII characters, 41 pub const unsafe fn as_ascii_unchecked(&self) -> &[ascii::Char; N] { in as_ascii_unchecked() 43 let ascii_ptr = byte_ptr as *const [ascii::Char; N]; 44 // SAFETY: The caller promised all the bytes are ASCII
|
| /third_party/python/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 …]
|
| /third_party/skia/m133/third_party/externals/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 …]
|
| /third_party/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 …]
|
| /third_party/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 …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
|
| /third_party/python/Lib/test/test_email/ |
| D | test__encoded_words.py | 64 def _test(self, source, result, charset='us-ascii', lang='', defects=[]): 72 self._test('=?us-ascii?q?foo?=', 'foo') 75 self._test('=?us-ascii?b?dmk=?=', 'vi') 78 self._test('=?us-ascii?Q?foo?=', 'foo') 81 self._test('=?us-ascii?B?dmk=?=', 'vi') 87 self._test(b'=?us-ascii?q?=20\xACfoo?='.decode('us-ascii', 93 self._test(b'=?us-ascii?b?dm\xACk?='.decode('us-ascii', 101 self._test('=?us-ascii?b?dm\x01k===?=', 106 self._test('=?us-ascii?b?dm\x01k?=', 113 self._test('=?us-ascii?b?dmk?=', [all …]
|
| /third_party/rust/rust/library/core/src/slice/ |
| D | ascii.rs | 1 //! Operations on ASCII `[u8]`. 3 use crate::ascii; 11 /// Checks if all bytes in this slice are within the ASCII range. 21 /// [ASCII characters](`ascii::Char`), otherwise returns `None`. 25 pub const fn as_ascii(&self) -> Option<&[ascii::Char]> { in as_ascii() 27 // SAFETY: Just checked that it's ASCII in as_ascii() 34 /// Converts this slice of bytes into a slice of ASCII characters, 43 pub const unsafe fn as_ascii_unchecked(&self) -> &[ascii::Char] { in as_ascii_unchecked() 45 let ascii_ptr = byte_ptr as *const [ascii::Char]; in as_ascii_unchecked() 46 // SAFETY: The caller promised all the bytes are ASCII in as_ascii_unchecked() [all …]
|
| /third_party/toybox/toys/other/ |
| D | ascii.c | 1 /* ascii.c - display ascii table 5 * Technically 7-bit ASCII is ANSI X3.4-1986, a standard available as 14 USE_ASCII(NEWTOY(ascii, 0, TOYFLAG_USR|TOYFLAG_BIN)) 16 config ASCII 17 bool "ascii" 20 usage: ascii 22 Display ascii character set.
|
| /third_party/rust/rust/tests/ui/lint/rfc-2457-non-ascii-idents/ |
| D | lint-non-ascii-idents.stderr | 1 error: identifier contains non-ASCII characters 2 --> $DIR/lint-non-ascii-idents.rs:3:7 8 --> $DIR/lint-non-ascii-idents.rs:1:9 13 error: identifier contains non-ASCII characters 14 --> $DIR/lint-non-ascii-idents.rs:5:4 19 error: identifier contains non-ASCII characters 20 --> $DIR/lint-non-ascii-idents.rs:8:9
|
| /third_party/python/Lib/encodings/ |
| D | idna.py | 62 # Step 1: try ASCII 63 label = label.encode("ascii") 77 # Step 4: try ASCII 79 label = label.encode("ascii") 104 # Step 1: Check for ASCII 109 label = label.encode("ascii") 116 # It doesn't say this, but apparently, it should be ASCII now 118 label = label.encode("ascii") 123 return str(label, "ascii") 136 if str(label, "ascii").lower() != str(label2, "ascii"): [all …]
|
| /third_party/pcre2/pcre2/doc/ |
| D | pcre2_set_compile_extra_options.3 | 28 PCRE2_EXTRA_ASCII_BSD \ed remains ASCII in UCP mode 29 PCRE2_EXTRA_ASCII_BSS \es remains ASCII in UCP mode 30 PCRE2_EXTRA_ASCII_BSW \ew remains ASCII in UCP mode 33 remain ASCII in UCP mode 35 PCRE2_EXTRA_ASCII_POSIX POSIX classes remain ASCII in 41 PCRE2_EXTRA_CASELESS_RESTRICT Disable mixed ASCII/non-ASCII
|
| /third_party/python/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. 10 **Source code:** :source:`Lib/curses/ascii.py` 14 The :mod:`curses.ascii` module supplies name constants for ASCII characters and 15 functions to test membership in various ASCII character classes. The constants 103 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or 109 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or 115 Checks for a character value that fits in the 7-bit ASCII set. 120 Checks for an ASCII whitespace character; space or horizontal tab. [all …]
|
| /third_party/ltp/testcases/commands/file/ |
| D | file01.sh | 9 # used file formats like, tar, tar.gz, rpm, C, ASCII, ELF etc. 59 1) file_test in.txt "ASCII text";; 61 3) file_test in.sh "POSIX shell script, ASCII text executable" \ 65 4) file_test in.c "ASCII C program text" "C source, ASCII text";; 66 5) file_test in.pl "[pP]erl script, ASCII text executable" \ 69 6) file_test in.py "[pP]ython3\{0,1\} script, ASCII text executable" \ 71 7) file_test in.m4 "M4 macro processor script, ASCII text" \ 72 "ASCII M4 macro language pre-processor text";;
|
| /third_party/skia/third_party/externals/brotli/c/common/ |
| D | context.h | 20 For CONTEXT_UTF8 mode, if the previous two bytes are ASCII characters 27 0 : non-ASCII control 51 If the last byte is ASCII, and the second last byte is not (in a valid UTF8 53 context is the same as if the second last byte was an ASCII control or space. 57 the last byte and to a lesser extent on the second last byte if it is ASCII. 60 - continuation byte: the next byte is probably ASCII or lead byte (assuming 62 - lead byte (192 - 207): next byte is ASCII or lead byte, context is 0 or 1 71 | last byte \ ASCII | cont. byte | lead byte | 74 | ASCII | next: ASCII/lead | not valid | next: cont. | 77 | cont. byte | next: ASCII/lead | next: ASCII/lead | next: cont. | [all …]
|
| /third_party/brotli/c/common/ |
| D | context.h | 20 For CONTEXT_UTF8 mode, if the previous two bytes are ASCII characters 27 0 : non-ASCII control 51 If the last byte is ASCII, and the second last byte is not (in a valid UTF8 53 context is the same as if the second last byte was an ASCII control or space. 57 the last byte and to a lesser extent on the second last byte if it is ASCII. 60 - continuation byte: the next byte is probably ASCII or lead byte (assuming 62 - lead byte (192 - 207): next byte is ASCII or lead byte, context is 0 or 1 71 | last byte \ ASCII | cont. byte | lead byte | 74 | ASCII | next: ASCII/lead | not valid | next: cont. | 77 | cont. byte | next: ASCII/lead | next: ASCII/lead | next: cont. | [all …]
|
| /third_party/rust/rust/tests/ui/parser/ |
| D | unicode-control-codepoints.rs | 17 //~^ ERROR non-ASCII character in byte string literal in main() 18 //~| ERROR non-ASCII character in byte string literal in main() 19 //~| ERROR non-ASCII character in byte string literal in main() 20 //~| ERROR non-ASCII character in byte string literal in main() 22 //~^ ERROR non-ASCII character in raw byte string literal in main() 23 //~| ERROR non-ASCII character in raw byte string literal in main() 24 //~| ERROR non-ASCII character in raw byte string literal in main() 25 //~| ERROR non-ASCII character in raw byte string literal in main()
|