Home
last modified time | relevance | path

Searched refs:ASCII (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/external/llvm-project/llvm/test/tools/llvm-rc/Inputs/
Dtag-accelerators.rc6 "a", 4, ASCII
9 "A", 7, ASCII
12 "1", 10, ASCII
15 "$", 13, ASCII
17 "]", 16, ASCII
19 "^a", 19, ASCII
20 0, 37, ASCII
22 1, 40, ASCII
24 127, 43, ASCII
26 128, 46, ASCII
[all …]
/external/python/cpython2/Doc/library/
Dcurses.ascii.rst2 :mod:`curses.ascii` --- Utilities for ASCII characters
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).
129 Checks for an ASCII decimal digit, ``'0'`` through ``'9'``. This is equivalent
[all …]
Demail.header.rst5 :synopsis: Representing non-ASCII headers
10 a time when most email was composed of ASCII characters only. :rfc:`2822` is a
11 specification written assuming email contains only 7-bit ASCII characters.
16 transferred using only 7-bit ASCII characters, so a slew of RFCs have been
17 written describing how to encode email containing non-ASCII characters into
22 If you want to include non-ASCII characters in your email headers, say in the
39 Notice here how we wanted the :mailheader:`Subject` field to contain a non-ASCII
112 long lines and encapsulating non-ASCII parts in base64 or quoted-printable
114 split long ASCII lines on, in rough support of :rfc:`2822`'s *highest
Dbinascii.rst2 :mod:`binascii` --- Convert between binary and ASCII
6 :synopsis: Tools for converting between binary and various ASCII-encoded binary
16 binary and various ASCII-encoded binary representations. Normally, you will not
34 Convert binary data to a line of ASCII characters, the return value is the
47 Convert binary data to a line of ASCII characters in base64 coding. The return
63 Convert binary data to a line(s) of ASCII characters in quoted-printable
76 Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression.
97 Perform hexbin4 binary-to-ASCII translation and return the resulting string. The
/external/python/cpython3/Doc/library/
Dcurses.ascii.rst1 :mod:`curses.ascii` --- Utilities for ASCII characters
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).
128 Checks for an ASCII decimal digit, ``'0'`` through ``'9'``. This is equivalent
[all …]
Dbase64.rst17 ASCII characters and decoding such encodings back to binary data.
28 supports encoding :term:`bytes-like objects <bytes-like object>` to ASCII
30 strings containing ASCII to :class:`bytes`. Both base-64 alphabets
42 ASCII-only Unicode strings are now accepted by the decoding functions of
65 Decode the Base64 encoded :term:`bytes-like object` or ASCII string
68 Optional *altchars* must be a :term:`bytes-like object` or ASCII string of
90 Decode :term:`bytes-like object` or ASCII string *s* using the standard
105 Decode :term:`bytes-like object` or ASCII string *s*
120 Decode the Base32 encoded :term:`bytes-like object` or ASCII string *s* and
147 Decode the Base16 encoded :term:`bytes-like object` or ASCII string *s* and
[all …]
Dbinascii.rst1 :mod:`binascii` --- Convert between binary and ASCII
5 :synopsis: Tools for converting between binary and various ASCII-encoded binary
16 binary and various ASCII-encoded binary representations. Normally, you will not
24 ``a2b_*`` functions accept Unicode strings containing only ASCII characters.
30 ASCII-only unicode strings are now accepted by the ``a2b_*`` functions.
45 Convert binary data to a line of ASCII characters, the return value is the
61 Convert binary data to a line of ASCII characters in base64 coding. The return
78 Convert binary data to a line(s) of ASCII characters in quoted-printable
91 Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression.
121 Perform hexbin4 binary-to-ASCII translation and return the resulting string. The
Demail.generator.rst35 something that contains only ASCII characters, using the standard email RFC
90 high bit set reproduced as in the original, and preserve the non-ASCII
93 needed using an ASCII-compatible :mailheader:`Content-Transfer-Encoding`.
94 That is, transform parts with non-ASCII
96 (:mailheader:`Content-Transfer-Encoding: 8bit`) to an ASCII compatible
97 :mailheader:`Content-Transfer-Encoding`, and encode RFC-invalid non-ASCII
125 Encode *s* using the ``ASCII`` codec and the ``surrogateescape`` error
138 convert any binary data in any message it flattens to an ASCII compatible
139 format, by converting them to an ASCII compatible
188 (This is required because strings cannot represent non-ASCII bytes.)
[all …]
Dbinhex.rst14 representation of Macintosh files in ASCII. Only the data fork is handled.
46 Support module containing ASCII-to-binary and binary-to-ASCII conversions.
/external/guava/android/guava-tests/test/com/google/common/io/
DCharStreamsTest.java160 wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder)); in testCopy()
161 assertEquals(ASCII, builder.toString()); in testCopy()
162 assertEquals(ASCII.length(), copied); in testCopy()
174 long copied = CharStreams.copy(new StringReader(ASCII), builder); in testCopy_toStringBuilder_fromReader()
175 assertEquals(ASCII, builder.toString()); in testCopy_toStringBuilder_fromReader()
176 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReader()
186 long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder); in testCopy_toStringBuilder_fromReadable()
187 assertEquals(ASCII, builder.toString()); in testCopy_toStringBuilder_fromReadable()
188 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReadable()
198 long copied = CharStreams.copy(new StringReader(ASCII), writer); in testCopy_toWriter_fromReader()
[all …]
DFilesTest.java88 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), Files.toByteArray(asciiFile))); in testToByteArray()
114 assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII)); in testToString()
173 Files.write(ASCII, temp1, Charsets.UTF_8); in testCopyEqualFiles()
179 assertEquals(ASCII, Files.toString(temp1, Charsets.UTF_8)); in testCopyEqualFiles()
184 Files.write(ASCII, temp, Charsets.UTF_8); in testCopySameFile()
190 assertEquals(ASCII, Files.toString(temp, Charsets.UTF_8)); in testCopySameFile()
195 Files.write(ASCII, temp1, Charsets.UTF_8); in testCopyIdenticalFiles()
197 Files.write(ASCII, temp2, Charsets.UTF_8); in testCopyIdenticalFiles()
199 assertEquals(ASCII, Files.toString(temp1, Charsets.UTF_8)); in testCopyIdenticalFiles()
244 assertEquals(ASCII, r.readLine()); in testNewReader()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java160 wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder)); in testCopy()
161 assertEquals(ASCII, builder.toString()); in testCopy()
162 assertEquals(ASCII.length(), copied); in testCopy()
174 long copied = CharStreams.copy(new StringReader(ASCII), builder); in testCopy_toStringBuilder_fromReader()
175 assertEquals(ASCII, builder.toString()); in testCopy_toStringBuilder_fromReader()
176 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReader()
186 long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder); in testCopy_toStringBuilder_fromReadable()
187 assertEquals(ASCII, builder.toString()); in testCopy_toStringBuilder_fromReadable()
188 assertEquals(ASCII.length(), copied); in testCopy_toStringBuilder_fromReadable()
198 long copied = CharStreams.copy(new StringReader(ASCII), writer); in testCopy_toWriter_fromReader()
[all …]
DFilesTest.java88 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), Files.toByteArray(asciiFile))); in testToByteArray()
114 assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII)); in testToString()
173 Files.write(ASCII, temp1, Charsets.UTF_8); in testCopyEqualFiles()
179 assertEquals(ASCII, Files.toString(temp1, Charsets.UTF_8)); in testCopyEqualFiles()
184 Files.write(ASCII, temp, Charsets.UTF_8); in testCopySameFile()
190 assertEquals(ASCII, Files.toString(temp, Charsets.UTF_8)); in testCopySameFile()
195 Files.write(ASCII, temp1, Charsets.UTF_8); in testCopyIdenticalFiles()
197 Files.write(ASCII, temp2, Charsets.UTF_8); in testCopyIdenticalFiles()
199 assertEquals(ASCII, Files.toString(temp1, Charsets.UTF_8)); in testCopyIdenticalFiles()
244 assertEquals(ASCII, r.readLine()); in testNewReader()
/external/rust/crates/unicode-normalization/benches/
Dbench.rs10 const ASCII: &'static str = "all types of normalized"; constant
16 b.iter(|| unicode_normalization::is_nfc(ASCII)); in bench_is_nfc_ascii()
31 b.iter(|| unicode_normalization::is_nfd(ASCII)); in bench_is_nfd_ascii()
46 b.iter(|| unicode_normalization::is_nfc_stream_safe(ASCII)); in bench_is_nfc_stream_safe_ascii()
61 b.iter(|| unicode_normalization::is_nfd_stream_safe(ASCII)); in bench_is_nfd_stream_safe_ascii()
76 b.iter(|| ASCII.nfc().count()); in bench_nfc_ascii()
81 b.iter(|| ASCII.nfd().count()); in bench_nfd_ascii()
98 b.iter(|| ASCII.nfkc().count()); in bench_nfkc_ascii()
103 b.iter(|| ASCII.nfkd().count()); in bench_nfkd_ascii()
120 b.iter(|| ASCII.stream_safe().count()); in bench_streamsafe_ascii()
/external/llvm-project/lldb/source/DataFormatters/
DStringPrinter.cpp136 DecodedCharBuffer GetPrintableImpl<StringElementType::ASCII>( in GetPrintableImpl()
176 return GetPrintableImpl<StringElementType::ASCII>(buffer, buffer_end, next, in GetPrintableImpl()
225 case StringElementType::ASCII: in GetPrintable()
226 return GetPrintableImpl<StringElementType::ASCII>(buffer, buffer_end, next, in GetPrintable()
241 case GetPrintableElementType::ASCII: in GetDefaultEscapingHelper()
246 : StringElementType::ASCII, in GetDefaultEscapingHelper()
429 if (elem_type == StringElementType::ASCII && !options.GetSourceSize()) { in ReadEncodedBufferAndDumpToStream()
464 if (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
489 GetPrintableElementType print_style = (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
490 ? GetPrintableElementType::ASCII in ReadEncodedBufferAndDumpToStream()
[all …]
/external/llvm-project/llvm/test/tools/llvm-objdump/ELF/ARM/
Ddebug-vars-dwarf4.s47 # RUN: FileCheck %s --check-prefix=ASCII --strict-whitespace
134 # ASCII: 00000000 <foo>:
135 # ASCII-NEXT: |- a = R0
136 # ASCII-NEXT: | |- b = R1
137 # ASCII-NEXT: | | |- c = R2
138 # ASCII-NEXT: | | | /- x = R0
139 # ASCII-NEXT: 0: 00 00 81 e0 add r0, r1, r0 v | | ^
140 # ASCII-NEXT: /- y = R0
141 # ASCII-NEXT: 4: 02 00 80 e0 add r0, r0, r2 ^ | | v
142 # ASCII-NEXT: 8: 1e ff 2f e1 bx lr v v v
[all …]
/external/pdfium/fxbarcode/datamatrix/
DBC_HighLevelEncoder.cpp154 Encoding encodingMode = Encoding::ASCII; in EncodeHighLevel()
170 if (encodingMode != Encoding::ASCII && encodingMode != Encoding::BASE256) in EncodeHighLevel()
193 if (currentMode == Encoding::ASCII) { in LookAheadTest()
206 if (intCharCounts[EncoderIndex(Encoding::ASCII)] == min) in LookAheadTest()
207 return Encoding::ASCII; in LookAheadTest()
225 auto& count = charCounts[EncoderIndex(Encoding::ASCII)]; in LookAheadTest()
282 int32_t ascii_count = intCharCounts[EncoderIndex(Encoding::ASCII)]; in LookAheadTest()
291 return Encoding::ASCII; in LookAheadTest()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DEncodings.properties31 # ASCII ASCII,US-ASCII 0x007F
32 # Means the Java name for the encoding is "ASCII". The MIME names for this
33 # encoding which may appear in a stylesheet are "ASCII" or "US-ASCII"
44 ASCII ASCII,US-ASCII 0x007F key
/external/python/cpython2/Doc/reference/
Dlexical_analysis.rst17 Python uses the 7-bit ASCII character set for program text.
21 comments use an encoding different from ASCII.
29 but is generally a superset of ASCII.
32 set for 8-bit characters is ISO Latin-1 (an ASCII superset that covers most
35 encoding, which is also an ASCII superset, but with very different use for the
77 termination sequences can be used - the Unix form using ASCII LF (linefeed),
78 the Windows form using the ASCII sequence CR LF (return followed by linefeed),
79 or the old Macintosh form using the ASCII CR (return) character. All of these
85 representing ASCII LF, is the line terminator).
424 .. index:: single: ASCII@ASCII
[all …]
/external/pigweed/pw_arduino_build/py/pw_arduino_build/core_patches/teensy/
D01-teensyduino_1.53-cpp17.diff6 // that fits into the ASCII character set.
15 // ASCII character set, by clearing the high-order bits.
41 // that fits into the ASCII character set.
50 // ASCII character set, by clearing the high-order bits.
/external/curl/docs/cmdline-opts/
Duse-ascii.d3 Help: Use ASCII/text transfer
7 Enable ASCII transfer. For FTP, this can also be enforced by using a URL that
/external/starlark-go/syntax/
Dscan_test.go193 …{`"\377"`, `foo.star:1:1: non-ASCII octal escape \377 (use \u00FF for the UTF-8 encoding of U+00FF…
195 {`"\400"`, `foo.star:1:1: non-ASCII octal escape \400`}, // unlike Python 2 and 3
198 {`"\x80"`, `foo.star:1:1: non-ASCII hex escape`},
199 {`"\xff"`, `foo.star:1:1: non-ASCII hex escape`},
200 {`"\xFf"`, `foo.star:1:1: non-ASCII hex escape`},
/external/llvm-project/llvm/test/tools/llvm-readobj/COFF/Inputs/resources/
Dtest_resource.rc9 "^R", 444, ASCII, NOINVERT
35 "^R", 444, ASCII, NOINVERT
/external/llvm-project/llvm/test/tools/llvm-cvtres/Inputs/
Dtest_resource.rc9 "^R", 444, ASCII, NOINVERT
35 "^R", 444, ASCII, NOINVERT
/external/rust/crates/regex/
DUNICODE.md14 are ASCII-only definitions.
48 Note that when Unicode mode is disabled, any non-ASCII Unicode codepoint is
93 * `General_Category` \* (including `Any`, `ASCII` and `Assigned`)
154 The regex crate only provides ASCII definitions of the
159 "ASCII" or "POSIX" character classes.
162 Their traditional ASCII definition can be used by disabling Unicode. That is,
174 For example, to match all non-ASCII letters, you could use either
205 Finally, Unicode word boundaries can be disabled, which will cause ASCII word
207 `(?-u)\b` is an ASCII-only word boundary. This can occasionally be beneficial
209 boundaries is currently sub-optimal on non-ASCII text.

12345678910>>...41