HomeSort by relevance Sort by last modified time
    Searched refs:ASCII (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /external/chromium-libpac/test/js-unittest/
international_domain_names.js 1 // Try resolving hostnames containing non-ASCII characters.
4 // This international hostname has a non-ASCII character. It is represented
  /libcore/support/src/test/java/tests/http/
MockResponse.java 24 import static tests.http.MockWebServer.ASCII;
106 return setBody(body.getBytes(ASCII));
120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
121 bytesOut.write("\r\n".getBytes(ASCII));
123 bytesOut.write("\r\n".getBytes(ASCII));
126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf
132 return setChunkedBody(body.getBytes(ASCII), maxChunkSize);
  /frameworks/av/media/img_utils/include/img_utils/
TagDefinitions.h 234 ASCII,
298 ASCII,
314 ASCII,
353 ASCII,
376 ASCII,
424 ASCII,
432 ASCII,
488 ASCII,
496 ASCII,
520 ASCII,
    [all...]
TiffHelpers.h 69 ASCII,
105 case ASCII:
  /packages/services/Telephony/src/com/android/phone/common/mail/utils/
Utility.java 27 public static final Charset ASCII = Charset.forName("US-ASCII");
49 /** Converts a String to ASCII bytes */
51 return encode(ASCII, s);
54 /** Builds a String from ASCII bytes */
56 return decode(ASCII, b);
77 public static ByteArrayInputStream streamFromAsciiString(String ascii) {
78 return new ByteArrayInputStream(toAscii(ascii));
  /external/guava/guava-tests/test/com/google/common/base/
BenchmarkHelpers.java 60 ASCII(CharMatcher.ASCII, ASCII_CHARACTERS),
  /external/eigen/blas/fortran/
lsame.f 43 * Use 'Z' rather than 'A' so that ASCII can be detected on Prime
53 * ASCII is assumed - ZCODE is the ASCII code of either lower or
73 * ASCII is assumed, on Prime machines - ZCODE is the ASCII code
  /external/apache-http/src/org/apache/http/protocol/
HTTP.java 50 public static final int CR = 13; // <US-ASCII CR, carriage return (13)>
51 public static final int LF = 10; // <US-ASCII LF, linefeed (10)>
52 public static final int SP = 32; // <US-ASCII SP, space (32)>
53 public static final int HT = 9; // <US-ASCII HT, horizontal-tab (9)>
81 public static final String US_ASCII = "US-ASCII";
82 public static final String ASCII = "ASCII";
  /external/icu/icu4c/source/i18n/
identifier_info.cpp 21 static UnicodeSet *ASCII;
32 delete ASCII;
33 ASCII = NULL;
48 ASCII = new UnicodeSet(0, 0x7f);
53 if (ASCII == NULL || JAPANESE == NULL || CHINESE == NULL || KOREAN == NULL
58 ASCII->freeze();
230 if (ASCII->containsAll(*fIdentifier)) {
  /packages/apps/Messaging/src/com/android/messaging/util/
EmailAddress.java 161 // host must be ASCII.
163 || (!allowI18n && !CharMatcher.ASCII.matchesAllOf(host))) {
183 // user must be ASCII.
185 || (!allowI18n && !CharMatcher.ASCII.matchesAllOf(user))) {
205 // No non-ASCII chars, unless i18n is in effect:
  /external/v8/test/mjsunit/regress/
regress-227.js 30 assertEquals(null, res, "Throwing away high bits on ASCII string");
33 assertEquals(["x"], res, "Throwing away high bits on ASCII string");
  /external/guava/guava-tests/test/com/google/common/io/
FilesTest.java 74 File asciiFile = getTestFile("ascii.txt");
76 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII.name()),
85 File asciiFile = getTestFile("ascii.txt");
91 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII.name()), bytes));
100 File asciiFile = getTestFile("ascii.txt");
106 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII.name()), bytes));
115 File asciiFile = getTestFile("ascii.txt");
121 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII.name()), bytes));
130 File asciiFile = getTestFile("ascii.txt");
136 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII.name()), bytes))
    [all...]
CharStreamsTest.java 163 long copied = CharStreams.copy(new StringReader(ASCII), builder);
164 assertEquals(ASCII, builder.toString());
165 assertEquals(ASCII.length(), copied);
  /external/icu/icu4c/source/data/mappings/
ucmcore.mk 7 # US-ASCII, ISO 8859-1, UTF-7/8/16/32, SCSU
  /external/v8/test/mjsunit/
string-indexof-1.js 102 // Search for a non-ASCII string in a pure ASCII string.
107 // Search in string containing many non-ASCII chars.
111 // Search for string long enough to trigger complex search with ASCII pattern
search-string-multiple.js 58 "A long string with no non-ASCII characters",
61 "A long string with no non-ASCII characters");
unicode-string-to-number.js 28 // Make sure not to treat 16-bit unicode characters as ASCII
40 // Check that long strings with non-ASCII characters cannot convert.
  /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.
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationLoader.java 57 * Simpler/faster methods for ASCII than ones based on Unicode data.
60 private static final class ASCII {
83 "collations/" + ASCII.toLowerCase(collationType));
147 type = ASCII.toLowerCase(type);
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
AnyScriptTest.java 100 UnicodeSet ASCII = new UnicodeSet("[:ascii:]");
106 assertContainsNone("Should be wide", ASCII, wideLettersAndSpace);
107 assertContainsNone("Should be wide", ASCII, widePunctOnly);
117 assertEquals("Should be ascii", lettersAndSpace, back);
120 assertEquals("Should be ascii", punctOnly, back);
  /frameworks/av/media/img_utils/src/
TiffEntry.cpp 48 if (type == BYTE || type == ASCII || type == UNDEFINED) {
58 if (type == SBYTE || type == ASCII || type == UNDEFINED) {
146 case ASCII: {
  /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/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)
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
Encodings.properties 31 # 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
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
IdentifierInfo.java 42 private static final UnicodeSet ASCII = new UnicodeSet(0, 0x7F).freeze();
255 if (ASCII.containsAll(identifier)) {
256 return RestrictionLevel.ASCII;

Completed in 949 milliseconds

1 2 3 4 5 6