Home
last modified time | relevance | path

Searched refs:unshift (Results 1 – 25 of 74) sorted by relevance

123

/external/v8/test/mjsunit/
Darray-push-unshift-read-only-length.js31 function unshift(a) { function
32 a.unshift(3);
35 check(unshift);
36 check(unshift);
37 check(unshift);
38 %OptimizeFunctionOnNextCall(unshift);
39 check(unshift);
67 b.unshift(3, 4, 5);
75 b.unshift(3, 4, 5);
97 b.unshift(3, 4, 5);
Darray-unshift.js32 assertEquals(13, array.unshift('1st', '2ns', '3rd'));
63 assertEquals(len, array.unshift());
92 assertEquals(len + 1, array.unshift('head'));
143 assertEquals(len, array.unshift());
171 assertEquals(len + 1, array.unshift('head'));
197 new Array(Math.pow(2, 32) - 3).unshift(1, 2, 3, 4, 5);
205 assertEquals(bigNum + 7, new Array(bigNum).unshift(1, 2, 3, 4, 5, 6, 7));
212 a.unshift(1, 2, 3, 4, 5);
221 array.unshift(1)
228 array.unshift(1);
Darray-natives-elements.js272 a4.unshift(1);
276 a4.unshift(1.1);
282 a4.unshift(1);
287 a4.unshift(1);
291 a4.unshift(1.1);
Darray-functions-prototype.js93 assertEquals(4, array.unshift('zero'));
94 assertEquals(4, Array.prototype.unshift.call(nonArray, 'zero'));
Darray-functions-prototype-misc.js80 return array.unshift(elt);
83 return array.unshift(elt1, elt2);
114 return Array.prototype.unshift.call(array, elt); method in Array
117 return Array.prototype.unshift.call(array, elt1, elt2); method in Array
Dobject-seal.js223 assertDoesNotThrow(function() { obj.unshift(); });
224 assertThrows(function() { obj.unshift(1); }, TypeError);
231 assertDoesNotThrow(function() { objControl.unshift(); });
/external/v8/test/webkit/fast/js/
Darray-functions-non-arrays-expected.txt103 PASS Array.prototype.unshift.call({}) is 0
104 PASS Array.prototype.unshift.call(['b', 'a']) is 2
105 PASS Array.prototype.unshift.call({ length:2, 0:'b', 1:'a' }) is 2
106 PASS Array.prototype.unshift.call(new TwoItemConstructor) is 2
107 PASS Array.prototype.unshift.call(x = {}); properties(x) is 'length:0'
108 PASS Array.prototype.unshift.call(x = ['b', 'a']); properties(x) is '0:b, 1:a, length:2(DontDelete,…
109 PASS Array.prototype.unshift.call(x = { length:2, 0:'b', 1:'a' }); properties(x) is '0:b, 1:a, leng…
110 PASS Array.prototype.unshift.call(x = new TwoItemConstructor); properties(x) is '0:b(FromPrototype)…
111 PASS Array.prototype.unshift.call({}, 'c') is 1
112 PASS Array.prototype.unshift.call(['b', 'a'], 'c') is 3
[all …]
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf8_utf16_unshift.pass.cpp35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
53 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
Dcodecvt_utf16_unshift.pass.cpp35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
53 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
Dcodecvt_utf8_unshift.pass.cpp35 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
44 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
53 std::codecvt_base::result r = c.unshift(m, n, n+4, np); in main()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
Drewrite.rb257 reduced.unshift( operation ) if operation
327 return cast_range( args.unshift( first, last ), extra )
330 return cast_range( args.unshift( loc, loc ), extra )
341 return( args.unshift( first .. last ) )
/external/v8/test/webkit/fast/js/kde/
DArray-expected.txt90 PASS [].unshift('a') is 1
91 PASS ['c'].unshift('a', 'b') is 3
92 PASS var a = []; a.unshift('a'); String(a) is 'a'
93 PASS var a = ['c']; a.unshift('a', 'b'); String(a) is 'a,b,c'
/external/v8/test/mjsunit/regress/
Dregress-358090.js7 y.unshift(4);
Dregress-299979.js32 assertThrows(function() { list.unshift(4); }, TypeError);
Dregress-91010.js35 array.unshift('Kibo');
Dregress-builtinbust-3.js15 assertEquals(2, produce_object().unshift("y"));
Dregress-builtinbust-1.js13 assertThrows(function() { a.unshift(5); }, TypeError);
Dregress-builtinbust-4.js14 assertDoesNotThrow(function() { o.unshift(2); });
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/
Dwebpack.config.min.js24 module.exports.plugins.unshift(
/external/v8/test/webkit/
Ddfg-arrayify-elimination.js33 array.unshift(52);
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
Dchar_unshift.pass.cpp31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dchar32_t_unshift.pass.cpp31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dchar16_t_unshift.pass.cpp31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dwchar_t_unshift.pass.cpp33 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::ok); in main()
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/tasks/support/
Dgl-matrix.rb21 $:.unshift File.expand_path('.', File.dirname(__FILE__))

123