/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 132 If ``ensure_ascii`` is true (the default), all non-ASCII characters in the 134 instance consisting of ASCII characters only. If ``ensure_ascii`` is 202 If ``ensure_ascii`` is false, all non-ASCII characters are not escaped, and 262 If the contents of ``fp`` is encoded with an ASCII based encoding other 264 be specified. Encodings that are not ASCII based (such as UCS-2) are 298 If ``s`` is a ``str`` instance and is encoded with an ASCII based encoding 300 must be specified. Encodings that are not ASCII based (such as UCS-2)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 26 CHARSET = 'ISO-8859-1' # default charset for non-US-ASCII mail 41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S) 352 # change us-ascii into iso-8859-1 353 if chrset_res.group(2).lower() == 'us-ascii': 358 # change iso-8859-* into us-ascii 359 line = '%sus-ascii%s' % chrset_res.group(1, 3) 375 ofile.write('charset="us-ascii"\n')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
__init__.py | 132 If ``ensure_ascii`` is true (the default), all non-ASCII characters in the 134 instance consisting of ASCII characters only. If ``ensure_ascii`` is 202 If ``ensure_ascii`` is false, all non-ASCII characters are not escaped, and 262 If the contents of ``fp`` is encoded with an ASCII based encoding other 264 be specified. Encodings that are not ASCII based (such as UCS-2) are 298 If ``s`` is a ``str`` instance and is encoded with an ASCII based encoding 300 must be specified. Encodings that are not ASCII based (such as UCS-2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 26 CHARSET = 'ISO-8859-1' # default charset for non-US-ASCII mail 41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S) 352 # change us-ascii into iso-8859-1 353 if chrset_res.group(2).lower() == 'us-ascii': 358 # change iso-8859-* into us-ascii 359 line = '%sus-ascii%s' % chrset_res.group(1, 3) 375 ofile.write('charset="us-ascii"\n')
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetISO2022.java | 58 private static final byte ASCII = 0; 302 (short)(CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)), 303 (short)(CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)), 304 (short)(CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7)), 305 (short)(CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7)), 306 (short)(CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7)) 492 * <ESC>(B ASCII 506 ASCII, INVALID_STATE, INVALID_STATE, INVALID_STATE, INVALID_STATE, INVALID_STATE, JISX201, HWKANA_7BIT, JISX201, INVALID_STATE, [all...] |
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
cookies.py | 59 bytes_name = bytes_(name, 'ascii') 97 bytes_cookie_name = bytes_(name, 'ascii') 99 raise TypeError('cookie name must be encodable to ascii') 178 key = key.encode('ascii', 'replace') 230 return v.encode('ascii') 238 return bytes_(r % (weekdays[v[6]], months[v[1]]), 'ascii') 243 self.name = bytes_(name, encoding='ascii') 244 self.value = bytes_(value, encoding='ascii') 257 k = bytes_(k.lower(), 'ascii') 280 return native_(b'; '.join(result), 'ascii') [all...] |
/external/icu/icu4c/source/common/ |
ucnv2022.cpp | 7 * encoding: US-ASCII 121 ASCII = 0, 180 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT), 182 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212), 183 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7), 184 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7), 185 CSM(ASCII)|CSM(JISX201)|CSM(JISX208)|CSM(HWKANA_7BIT)|CSM(JISX212)|CSM(GB2312)|CSM(KSC5601)|CSM(ISO8859_1)|CSM(ISO8859_7) [all...] |
propname.cpp | 28 * Get the next non-ignorable ASCII character from a property name 37 /* Ignore delimiters '-', '_', and ASCII White_Space */ 225 // Ignore delimiters '-', '_', and ASCII White_Space.
|
/external/chromium-libpac/src/ |
proxy_resolver_v8.cc | 115 // |ascii| must be a NULL-terminated C string, and must remain valid 117 V8ExternalASCIILiteral(const char* ascii, size_t length) 118 : ascii_(ascii), length_(length) { 171 // Converts an ASCII std::string to a V8 string. 182 // Converts an ASCII string literal to a V8 string. 183 v8::Local<v8::String> ASCIILiteralToV8String(v8::Isolate* isolate, const char* ascii) { 184 // DCHECK(IsStringASCII(ascii)); 185 size_t length = strlen(ascii); 187 return v8::String::NewFromUtf8(isolate, ascii, v8::String::kNormalString, length); 188 return v8::String::NewExternal(isolate, new V8ExternalASCIILiteral(ascii, length)) [all...] |
/external/bison/lib/ |
c-ctype.h | 35 set without diacritics (ASCII-US or EBCDIC-US or something like that). 36 Even if the "C" locale on a particular system is an extension of the ASCII 38 is ISO-8859-1), the functions in this file recognize only the ASCII 42 /* Check whether the ASCII optimizations apply. */ 97 /* The character set is ASCII or one of its variants or extensions, not EBCDIC. 141 /* ASCII optimizations. */
|
mbuiter.h | 116 bool in_shift; /* true if next byte may not be interpreted as ASCII */ 135 /* Handle most ASCII characters quickly, without calling mbrtowc(). */ 180 /* When in the initial state, we can go back treating ASCII
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cgi.py | 368 cgi.parse_header("text/plain;charset=us-ascii"), 369 ("text/plain", {"charset": "us-ascii"})) 371 cgi.parse_header('text/plain ; charset="us-ascii"'), 372 ("text/plain", {"charset": "us-ascii"})) 374 cgi.parse_header('text/plain ; charset="us-ascii"; another=opt'), 375 ("text/plain", {"charset": "us-ascii", "another": "opt"}))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cgi.py | 368 cgi.parse_header("text/plain;charset=us-ascii"), 369 ("text/plain", {"charset": "us-ascii"})) 371 cgi.parse_header('text/plain ; charset="us-ascii"'), 372 ("text/plain", {"charset": "us-ascii"})) 374 cgi.parse_header('text/plain ; charset="us-ascii"; another=opt'), 375 ("text/plain", {"charset": "us-ascii", "another": "opt"}))
|
/bionic/libc/dns/resolv/ |
res_debug.c | 776 /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */ 816 /* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */ 914 loc_aton(const char *ascii, u_char *binary) 927 cp = ascii; 928 maxcp = cp + strlen(ascii); 1023 loc_ntoa(const u_char *binary, char *ascii, size_t bufsiz) 1046 if (ascii == NULL) 1047 ascii = tmpbuf; 1050 (void) snprintf(ascii, bufsiz, "; error: unknown LOC RR version"); 1051 return (ascii); [all...] |
/external/apache-http/android/src/com/android/internal/http/multipart/ |
MultipartEntity.java | 61 * Field names originally in non-ASCII character sets may be encoded using 100 * The pool of ASCII chars to be used for generating a multipart boundary. 158 * @return The boundary string of this entity in ASCII encoding.
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/bench/ |
main.py | 2 # -*- coding: ascii -*- 38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') 39 __author__ = r"Andr\xe9 Malo".encode('ascii').decode('unicode_escape')
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/bench/ |
main.py | 2 # -*- coding: ascii -*- 38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') 39 __author__ = r"Andr\xe9 Malo".encode('ascii').decode('unicode_escape')
|
/external/clang/test/Parser/ |
cxx11-user-defined-literals.cpp | 143 constexpr int operator""_¢(long double d) { return d * 100; } // expected-error {{non-ASCII}} 144 constexpr int operator""_¢(unsigned long long n) { return n; } // expected-error {{non-ASCII}} 145 static_assert(0.02_¢ == 2_¢, ""); // expected-error 2{{non-ASCII}}
|
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
StrictLineReader.java | 42 * We currently check in constructor that the charset is one of US-ASCII, UTF-8 and ISO-8859-1. 66 * @param charset the charset used to decode data. Only US-ASCII, UTF-8 and ISO-8859-1 are 80 * @param charset the charset used to decode data. Only US-ASCII, UTF-8 and ISO-8859-1 are
|
/external/guava/guava/src/com/google/common/base/ |
Utf8.java | 54 // This loop optimizes for pure ASCII. 127 // Look for the first non-ASCII character. 141 // Optimize for interior runs of ASCII bytes.
|
/external/guava/guava/src/com/google/common/io/ |
BaseEncoding.java | 35 import com.google.common.base.Ascii; 53 * A binary encoding scheme for reversibly translating between byte sequences and printable ASCII 63 * <p>...returns the ASCII bytes of the string {@code "foo"}. 516 byte[] decodabet = new byte[Ascii.MAX + 1]; 520 checkArgument(CharMatcher.ASCII.matches(c), "Non-ASCII character: %s", c); 542 if (ch > Ascii.MAX || decodabet[ch] == -1) { 550 if (Ascii.isLowerCase(c)) { 559 if (Ascii.isUpperCase(c)) { 573 upperCased[i] = Ascii.toUpperCase(chars[i]) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
BaseEncodingTest.java | 23 import com.google.common.base.Ascii; 246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); 247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded));
|
/external/icu/icu4c/source/test/intltest/ |
uts46test.cpp | 7 * encoding: US-ASCII 217 errln("notSTD3.nameToUnicode(non-LDH ASCII) unexpected errors %04lx string %s", 224 errln("notSTD3.nameToASCII(ASCII-with-space.alef.edu) failed"); 226 // Characters that are canonically equivalent to sequences with non-LDH ASCII. 231 errln("notSTD3.nameToUnicode(equiv to non-LDH ASCII) unexpected errors %04lx string %s", 245 { "www.eXample.cOm", "B", // all ASCII 295 // to sequences with non-LDH ASCII 499 { "0A.\\u05D0", "B", // ASCII label does not start with L/R/AL 565 // Ticket #8137: UTS #46 toUnicode() fails with non-ASCII labels that turn 645 // ToASCII is all-ASCII if no severe error [all...] |
/external/libxml2/include/libxml/ |
encoding.h | 14 * [US-ASCII] Coded Character Set--7-bit American Standard Code for 42 * It also supports ASCII, ISO-8859-1, and UTF16 (LE and BE) by default. 82 XML_CHAR_ENCODING_ASCII= 22 /* pure ASCII */
|
/external/v8/test/mjsunit/ |
regexp-capture-3.js | 161 // a regexp with a non-ASCII character in it can never match an ASCII 165 "This is an ASCII string that could take forever".match(re);
|