/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
test_email_renamed.py | 110 msg.set_charset('us-ascii') 111 eq(msg.get_charset().input_charset, 'us-ascii') 112 eq(msg['content-type'], 'text/plain; charset="us-ascii"') 125 eq(charsets, [None, 'us-ascii', 'iso-8859-1', 'iso-8859-2', 'koi8-r']) 129 eq(charsets, ['dingbat', 'us-ascii', 'iso-8859-1', 'dingbat', 134 eq(charsets, [None, 'us-ascii', 'iso-8859-1', None, 'iso-8859-2', 135 'iso-8859-3', 'us-ascii', 'koi8-r']) 169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 383 msg.set_param('charset', 'us-ascii') 384 eq(msg['content-type'], 'text/plain; charset="us-ascii"') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
test_email_renamed.py | 110 msg.set_charset('us-ascii') 111 eq(msg.get_charset().input_charset, 'us-ascii') 112 eq(msg['content-type'], 'text/plain; charset="us-ascii"') 125 eq(charsets, [None, 'us-ascii', 'iso-8859-1', 'iso-8859-2', 'koi8-r']) 129 eq(charsets, ['dingbat', 'us-ascii', 'iso-8859-1', 'dingbat', 134 eq(charsets, [None, 'us-ascii', 'iso-8859-1', None, 'iso-8859-2', 135 'iso-8859-3', 'us-ascii', 'koi8-r']) 169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 383 msg.set_param('charset', 'us-ascii') 384 eq(msg['content-type'], 'text/plain; charset="us-ascii"') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_exceptions.py | 255 (UnicodeEncodeError, ('ascii', u'a', 0, 1, 'ordinal not in range'), 256 {'message' : '', 'args' : ('ascii', u'a', 0, 1, 258 'encoding' : 'ascii', 'object' : u'a', 260 (UnicodeDecodeError, ('ascii', '\xff', 0, 1, 'ordinal not in range'), 261 {'message' : '', 'args' : ('ascii', '\xff', 0, 1, 263 'encoding' : 'ascii', 'object' : '\xff', 523 UnicodeDecodeError('ascii', '\xc3\xa0', 0, 1, 525 UnicodeEncodeError('ascii', u'\u1234', 0, 1, 540 # returns an ascii-only string should return the same string 544 # if __str__ returns a non-ascii unicode string str() should fai [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_exceptions.py | 255 (UnicodeEncodeError, ('ascii', u'a', 0, 1, 'ordinal not in range'), 256 {'message' : '', 'args' : ('ascii', u'a', 0, 1, 258 'encoding' : 'ascii', 'object' : u'a', 260 (UnicodeDecodeError, ('ascii', '\xff', 0, 1, 'ordinal not in range'), 261 {'message' : '', 'args' : ('ascii', '\xff', 0, 1, 263 'encoding' : 'ascii', 'object' : '\xff', 523 UnicodeDecodeError('ascii', '\xc3\xa0', 0, 1, 525 UnicodeEncodeError('ascii', u'\u1234', 0, 1, 540 # returns an ascii-only string should return the same string 544 # if __str__ returns a non-ascii unicode string str() should fai [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UTS46.java | 88 // UTS #46 data for ASCII characters. 89 // The normalizer (using uts46.nrm) maps uppercase ASCII letters to lowercase 90 // and passes through all other ASCII characters. 93 // The ASCII fastpath also uses this data. 116 // but with the ASCII fastpath we do not always call it, and do not 129 // ASCII fastpath 153 dest.append((char)(c+0x20)); // Lowercase an uppercase ASCII letter. 288 // Some non-ASCII characters are equivalent to sequences with 289 // non-LDH ASCII characters. To find them: 339 // Note that the normalizer passes through non-LDH ASCII and deviation characters [all...] |
/external/protobuf/python/google/protobuf/ |
text_format.py | 65 """Thrown in case of ASCII parsing error.""" 215 """Converts an ASCII representation of a protocol message into a message. 218 lines: Lines of a message's ASCII representation. 225 ParseError: On ASCII parsing problems. 233 """Parses an ASCII representation of a protocol message into a message. 236 text: Message ASCII representation. 243 ParseError: On ASCII parsing problems. 250 """Parses an ASCII representation of a protocol message into a message. 256 text: Message ASCII representation. 263 ParseError: On ASCII parsing problems [all...] |
/external/icu/icu4c/source/common/ |
uidna.cpp | 9 * encoding: US-ASCII 202 // TODO Revisit buffer handling. The label should not be over 63 ASCII characters. ICU4J may need to be updated too. 214 // the source contains all ascii codepoints 247 // step 2 is performed only if the source contains non ASCII 282 // check if output of usprep_prepare is all ASCII 285 }else if(isLDHChar(b1[j])==FALSE){ // if the char is in ASCII range verify that it is an LDH character 292 // 3(a) Verify the absence of non-LDH ASCII code points; that is, the 316 // Step 4: if the source is ASCII then proceed to step 8 356 // convert all codepoints to lower case ASCII 406 // TODO Revisit buffer handling. The label should not be over 63 ASCII characters. ICU4J may need to be updated too [all...] |
ucnv_u7.c | 7 * encoding: US-ASCII 32 * encoding only a subset of 7-bit US-ASCII. 36 * For converting Unicode to UTF-7, the RFC allows to encode some US-ASCII 49 * Tests for US-ASCII characters belonging to character classes 63 * US-ASCII characters are not used in UTF-7 and are therefore illegal: 68 * - all codes beyond US-ASCII, i.e. all >127 94 /* legal byte values: all US-ASCII graphic characters from space to before tilde, and CR LF TAB */ 254 * In Direct Mode, most US-ASCII characters are encoded directly, i.e., 255 * with their US-ASCII byte values. 811 * string; in particular, printable US-ASCII chararacters can b [all...] |
udataswp.h | 9 * encoding: US-ASCII 18 * charset families (ASCII<->EBCDIC). 268 * Swap invariant char * strings ASCII->EBCDIC. 277 * Copy invariant ASCII char * strings and verify they are invariant. 286 * Swap invariant char * strings EBCDIC->ASCII. 304 * Compare ASCII invariant char * with Unicode invariant UChar *
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
IOBinding.py | 39 encoding = "ascii" 53 # these problems, falling back to ASCII 57 encoding = 'ascii' 67 encoding = 'ascii' 90 text="Non-ASCII found, yet no encoding declared. Add a line like") 264 # Make sure it is an ASCII string 265 self.eol_convention = self.eol_convention.encode("ascii") 309 # If it is ASCII, we need not to record anything 311 return unicode(chars, 'ascii') 315 # the user should declare a non-ASCII encodin [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
IOBinding.py | 39 encoding = "ascii" 53 # these problems, falling back to ASCII 57 encoding = 'ascii' 67 encoding = 'ascii' 90 text="Non-ASCII found, yet no encoding declared. Add a line like") 264 # Make sure it is an ASCII string 265 self.eol_convention = self.eol_convention.encode("ascii") 309 # If it is ASCII, we need not to record anything 311 return unicode(chars, 'ascii') 315 # the user should declare a non-ASCII encodin [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
LlcpVersionActivity.java | 64 .getBytes(Charset.forName("US-ASCII")); 66 byte[] payload = "CTS Verifier NDEF Push Tag".getBytes(Charset.forName("US-ASCII"));
|
/external/elfutils/src/lib/ |
sha1.h | 78 ASCII representation of the message digest. 87 to the wanted ASCII representation of the message digest.
|
/external/google-breakpad/src/common/linux/ |
http_upload.h | 52 // Parameter names must contain only printable ASCII characters, 74 // ASCII characters in the parameter name, and does not contain
|
/external/guava/guava-tests/test/com/google/common/escape/ |
ArrayBasedUnicodeEscaperTest.java | 90 assertEquals("Everything outside the printable ASCII range is deleted.", 92 "printable ASCII \uFFFFrange is \u007Fdeleted.\n"));
|
/external/icu/icu4c/source/i18n/ |
inputext.cpp | 101 if (b == (uint8_t)0x3C) { /* Check for the ASCII '<' */ 114 if (b == (uint8_t)0x3E) { /* Check for the ASCII '>' */
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-api-fst.h | 43 #define MAX_KEY_SIZE 64 /* # of ASCII char's needed to represent a key */ 56 char keyMaterial[MAX_KEY_SIZE+1]; /* Raw key data in ASCII, e.g., user input or KAT values */
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/ |
BaseUrlValidateFunction.java | 83 * Converts an ASCII string to lowercase. Non-ASCII characters are replaced with '?'.
|
/external/llvm/include/llvm/AsmParser/ |
Parser.h | 26 /// an ASCII file that (presumably) contains LLVM Assembly code. It returns a 39 /// an ASCII string that (presumably) contains LLVM Assembly code. It returns a
|
/external/regex-re2/doc/ |
syntax.txt | 10 [:alpha:] ASCII character class 11 [:^alpha:] negated ASCII character class 144 [:foo:] ASCII character class «foo» 153 [[:name:]] named ASCII class inside character class (== [:name:]) 154 [^[:name:]] named ASCII class inside negated character class (== [:^name:]) 171 ASCII character classes: 174 [:ascii:] ASCII (== [\x00-\x7F])
|
/external/v8/src/ |
ostreams.h | 134 // printable/space ASCII range. Additionally escapes '\' making escaping 139 // of printable ASCII range.
|
/external/v8/test/webkit/ |
regexp-negative-special-characters.js | 38 test("\\s", " \\t\\f\\v\\r\\n", 0); // ASCII whitespace. 49 test("\\w", "????????", 8); // Alas, only ASCII characters count as word ones in JS.
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 68 output.append("Content-Type: text/plain; charset=US-ASCII"); 101 output.append("Content-Type: text/plain; charset=US-ASCII");
|
/libcore/luni/src/main/java/libcore/util/ |
CharsetUtils.java | 27 * string, encoded in US-ASCII. Unrepresentable characters are replaced by (byte) '?'. 60 * Decodes the given US-ASCII bytes into the given char[]. Equivalent to but faster than:
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1StringType.java | 97 /* To ensure we get the correct encoding on non-ASCII platforms, specify 98 that we wish to convert from ASCII to the default platform encoding */
|