/external/chromium/base/json/ |
string_escape.cc | 68 unsigned char ascii = static_cast<unsigned char>(*it); local 69 dst->push_back(ascii);
|
/external/v8/test/mjsunit/ |
string-slices.js | 68 // First ASCII. 69 var x = "ASCII"; 85 x = "UC16\u2028"; // Non-ascii char forces two-byte string. 181 var ascii = 'abcdefghijklmnop'; variable 183 assertEquals("klmno", ascii.substring(10,15) + ascii.substring(16)); 185 assertEquals("klp", ascii.substring(10,12) + ascii.substring(15,16)); 187 assertEquals("", ascii.substring(16) + utf.substring(16)); 189 ascii.substring(1,6) + utf.substring(3,9)) [all...] |
string-add.js | 177 // Generate ascii and non ascii strings from length 0 to 20. 178 var ascii = 'aaaaaaaaaaaaaaaaaaaa'; variable 180 assertEquals(20, ascii.length); 185 a[i] = ascii.substring(0, i); 189 // Add ascii and non-ascii strings generating strings with length from 0 to 20.
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Identifier.h | 54 CString ascii() const { return m_string.ascii(); } function in class:JSC::Identifier
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 50 private static byte[] ascii = new byte[255]; field in class:Base64 56 ascii[idx] = INVALID; 61 ascii[base64[idx]] = (byte) idx; 64 ascii[0x09] = WHITESPACE; 65 ascii[0x0A] = WHITESPACE; 66 ascii[0x0D] = WHITESPACE; 67 ascii[0x20] = WHITESPACE; 70 ascii[0x3d] = EQUAL; 114 // Do 3-byte to 4-byte conversion + 0-63 to ascii printable conversion 188 // Do ascii printable to 0-63 conversion [all...] |
/libcore/luni/src/test/java/libcore/icu/ |
TransliteratorTest.java | 67 // Transliterate Greek to Latin, then to plain ASCII. 70 t = new Transliterator("Latin-Ascii"); 71 String ascii = t.transliterate(latin); local 73 assertEquals("Kalemera kosme!", ascii); 95 t = new Transliterator("Han-Latin/Names; Latin-Ascii; Any-Upper");
|
/external/chromium/base/ |
file_path_unittest.cc | 310 std::string ascii = WideToUTF8(leaf); local 312 std::string ascii = leaf; local 314 observed_str = root.AppendASCII(ascii); [all...] |
string_util_unittest.cc | 422 std::string ascii = WideToASCII(wchar_cases[i]); local 423 EXPECT_EQ(char_cases[i], ascii); [all...] |
/external/v8/src/arm/ |
codegen-arm.cc | 420 Label ascii, done; local 424 __ b(ne, &ascii); 428 __ bind(&ascii); 429 // Ascii string.
|
/external/v8/src/mips/ |
codegen-mips.cc | 432 Label ascii, done; local 436 __ Branch(&ascii, ne, at, Operand(zero_reg)); 442 __ bind(&ascii); 443 // Ascii string.
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.java | 127 char[] ascii = new char[4]; local 129 ascii[0] = (char) ((type >> 24) & 0xff); 130 ascii[1] = (char) ((type >> 16) & 0xff); 131 ascii[2] = (char) ((type >> 8) & 0xff); 132 ascii[3] = (char) (type & 0xff); 134 return new String(ascii);
|
/external/grub/stage2/ |
serial.c | 203 char ascii; 219 char ascii; 242 input_buf[0] = three_code_table[i].ascii; 259 input_buf[0] = four_code_table[i].ascii; 201 char ascii; member in struct:__anon8263 217 char ascii; member in struct:__anon8264
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashTestUtils.java | 21 * Converts a string, which should contain only ascii-representable characters, to a byte[]. 23 static byte[] ascii(String string) { method in class:HashTestUtils
|
/external/webkit/Source/WebCore/bridge/qt/ |
qt_class.cpp | 134 const QByteArray ascii = name.toAscii(); local 147 if (obj->dynamicPropertyNames().indexOf(ascii) >= 0) 169 int index = m_metaObject->indexOfProperty(ascii); 182 index = obj->dynamicPropertyNames().indexOf(ascii); 184 f = new QtField(ascii); 209 if (qtinst->m_methods.contains(ascii)) 216 f = new QtField(ascii);
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionInputBuffer.java | 63 private boolean ascii = true; field in class:AbstractSessionInputBuffer 84 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) 85 || this.charset.equalsIgnoreCase(HTTP.ASCII); 225 if (this.ascii) { 228 // This is VERY memory inefficient, BUT since non-ASCII charsets are 250 if (this.ascii) { 253 // This is VERY memory inefficient, BUT since non-ASCII charsets are
|
AbstractSessionOutputBuffer.java | 62 private boolean ascii = true; field in class:AbstractSessionOutputBuffer 79 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) 80 || this.charset.equalsIgnoreCase(HTTP.ASCII); 151 if (this.ascii) { 167 // This is VERY memory inefficient, BUT since non-ASCII charsets are
|
/external/v8/src/ia32/ |
codegen-ia32.cc | 712 // Ascii string. 716 // Dispatch on the encoding: ASCII or two-byte. 717 Label ascii; local 722 __ j(not_zero, &ascii, Label::kNear); 732 // Ascii string. 734 __ bind(&ascii);
|
/external/v8/src/x64/ |
codegen-x64.cc | 547 // Ascii string. 551 // Dispatch on the encoding: ASCII or two-byte. 552 Label ascii; local 557 __ j(not_zero, &ascii, Label::kNear); 568 // ASCII string. 570 __ bind(&ascii);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 30 Charset ascii = Charset.forName("US-ASCII"); local 31 CharsetEncoder e = ascii.newEncoder(); 34 e.replaceWith("=".getBytes("US-ASCII")); 36 String output = ascii.decode(e.encode(CharBuffer.wrap(input))).toString(); 50 assertReplacementBytesForEncoder("US-ASCII", new byte[] { (byte) '?' });
|
/external/v8/test/cctest/ |
test-strings.cc | 308 // A simple ascii string 314 // A mixed ascii and non-ascii string 366 // Generate short ascii and non-ascii external strings. 368 char* ascii = ZONE->NewArray<char>(i + 1); local 370 ascii[j] = 'a'; 375 new AsciiResource(Vector<const char>(ascii, i)); 399 // Add short external ascii and non-ascii strings checking the result [all...] |
test-heap.cc | 759 char* ascii = NewArray<char>(length + 1); local 761 ascii[length] = 0; 763 ascii[i] = 'a'; 772 FACTORY->LookupSymbol(Vector<const char>(ascii, length)); 779 FACTORY->NewStringFromUtf8(Vector<const char>(ascii, length)); 783 DeleteArray(ascii); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
WTFString.cpp | 642 CString String::ascii() const function in class:WTF::String 644 // Printable ASCII characters 32..127 and the null character are 699 // non-ascii characters). (Alternatively, scan the buffer first for 700 // ascii characters, so we know this will be sufficient). 742 // We'll use a StringImpl as a buffer; if the source string only contains ascii this should be 753 // stringBuffer is full (the input must have been all ascii) so just return it!
|
/external/icu4c/test/cintltst/ |
bocu1tst.c | 9 * encoding: US-ASCII 59 * C0 control codes and space are encoded with their US-ASCII bytes. 63 /* initial value for "prev": middle of the ASCII range */ 135 * ASCII-oriented software. 935 static const UChar ascii[]={ 0x61, 0x62, 0x20, 0x63, 0x61 }; variable 955 { ascii, LENGTHOF(ascii) },
|
/external/icu4c/test/intltest/ |
testidna.cpp | 9 * encoding: US-ASCII 240 const char *ascii; member in struct:ErrorCases 314 /* wrong ACE-prefix followed by valid ACE-encoded ASCII */ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
SDL_ipodvideo.c | 457 char ascii = iPod_SC_keymap[keybuf[i] & 0x7f]; local 459 if (dbgout) fprintf (dbgout, "Key! %02x is %c %s", keybuf[i], ascii, (keybuf[i] & 0x80)? "up" : "down"); 461 keysym.sym = keysym.unicode = ascii;
|