Searched refs:two_byte (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/v8/test/mjsunit/lithium/
H A DSeqStringSetChar.js35 var two_byte = %NewString(3, false);
36 %_TwoByteSeqStringSetChar(two_byte, 0, code);
37 %_TwoByteSeqStringSetChar(two_byte, 1, code);
38 %_TwoByteSeqStringSetChar(two_byte, i, code);
39 return one_byte + two_byte;
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-320948.js31 var two_byte = %NewString(10, false); variable
61 foo2(two_byte, 0, 0);
63 assertThrows("{ foo2(two_byte, new Object(), 0); }");
64 assertThrows("{ foo2(two_byte, 0, new Object()); }");
65 assertThrows("{ foo2(two_byte, 100000, 100; }");
66 assertThrows("{ foo2(two_byte, -1, 100; }");
72 bar2(two_byte, 0, 0);
73 bar2(two_byte, 0, 0);
74 bar2(two_byte, 0, 0);
76 bar2(two_byte,
[all...]
H A Dregress-seqstrsetchar-ex1.js47 var two_byte = %NewString(n - i, false);
50 %_TwoByteSeqStringSetChar(two_byte, j, code);
52 return one_byte + two_byte;
/external/chromium_org/v8/src/
H A Duri.js245 var two_byte = %NewString(uriLength - k, NEW_TWO_BYTE_STRING);
265 index = URIDecodeOctets(octets, two_byte, index);
267 %_TwoByteSeqStringSetChar(two_byte, index++, 37); // '%'.
268 %_TwoByteSeqStringSetChar(two_byte, index++, uri.charCodeAt(k - 1));
269 %_TwoByteSeqStringSetChar(two_byte, index++, uri.charCodeAt(k));
271 %_TwoByteSeqStringSetChar(two_byte, index++, cc);
274 %_TwoByteSeqStringSetChar(two_byte, index++, code);
278 two_byte = %TruncateString(two_byte, index);
279 return one_byte + two_byte;
[all...]
H A Dstring.js874 var two_byte = %NewString(n - i, NEW_TWO_BYTE_STRING);
878 %_TwoByteSeqStringSetChar(two_byte, j, code);
880 return one_byte + two_byte;
/external/chromium_org/v8/test/cctest/
H A Dtest-strings.cc1038 uc16* two_byte = zone.NewArray<uc16>(length + 1); local
1039 underlying->Write(two_byte);
1041 new(&zone) Resource(Vector<const uc16>(two_byte, length));
H A Dtest-api.cc18345 Handle<String> two_byte = local
18352 string = String::Concat(two_byte, cons_strings[i]);
18354 string = String::Concat(cons_strings[i], two_byte);

Completed in 235 milliseconds