Home
last modified time | relevance | path

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

12345

/external/chromium_org/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.js287 a4.unshift(1);
291 a4.unshift(1.1);
297 a4.unshift(1);
302 a4.unshift(1);
306 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/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dmath_semantic_tree_test.js42 attr.neutralFences.unshift(cvox.SemanticUtil.numberToUnicode(0x00A6));
43 attr.dashes.unshift(cvox.SemanticUtil.numberToUnicode(0x2015));
44 attr.neutralFences.unshift(cvox.SemanticUtil.numberToUnicode(0x2016));
45 attr.arrows.unshift(cvox.SemanticUtil.numberToUnicode(0x2192));
46 attr.sumOps.unshift(cvox.SemanticUtil.numberToUnicode(0x2211));
47 attr.additions.unshift(cvox.SemanticUtil.numberToUnicode(0x2213));
48 attr.multiplications.unshift(cvox.SemanticUtil.numberToUnicode(0x2218));
49 attr.intOps.unshift(cvox.SemanticUtil.numberToUnicode(0x222B));
50 attr.inequalities.unshift(cvox.SemanticUtil.numberToUnicode(0x2264));
51 attr.additions.unshift(cvox.SemanticUtil.numberToUnicode(0x2295));
[all …]
/external/chromium_org/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/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/chromium_org/chrome/browser/resources/suggestions_internals/
Dsuggestions_internals.js106 columns.unshift(columns.splice(index, 1)[0]);
110 columns.unshift('favicon');
111 columns.unshift('screenshot');
112 columns.unshift('rank');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dshell.js31 state.tokens.unshift(tokenString(ch));
43 state.tokens.unshift(tokenDollar);
77 state.tokens.unshift(tokenDollar);
/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/chromium_org/ui/file_manager/file_manager/foreground/js/ui/
Dbreadcrumbs_controller.js74 entries.unshift(sharedWithMeEntry);
78 entries.unshift(currentEntry);
86 entries.unshift(currentEntry);
/external/chromium_org/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_org/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/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/
Dbackground.js15 history_log.unshift({'state':newstate, 'time':time});
/external/chromium_org/v8/test/webkit/
Ddfg-arrayify-elimination.js33 array.unshift(52);
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
Dbase.js44 newArgs.unshift.apply(newArgs, args);

12345