/external/chromium_org/v8/test/mjsunit/ |
D | array-splice.js | 32 var spliced = array.splice(1, 1, 'one', 'two'); 48 assertEquals([], [].splice(0, 0)); 49 assertEquals([], [].splice(1, 0)); 50 assertEquals([], [].splice(0, 1)); 51 assertEquals([], [].splice(-1, 0)); 60 assertEquals([], a.splice(1, 0, 'a', 'b', 'c')); 71 assertEquals([], array.splice()); 79 assertEquals([1, 2, 3], array.splice(0)); 83 assertEquals([1, 2, 3], array.splice(undefined)); 87 assertEquals([1, 2, 3], array.splice("foobar")); [all …]
|
D | array-natives-elements.js | 146 a3r = a3.splice(0, 0); 152 a3r = a3.splice(0, 1); 158 a3r = a3.splice(0, 0, 2); 164 a3r = a3.splice(0, 1, 2); 171 a3r = a3.splice(0, 0); 177 a3r = a3.splice(0, 1); 183 a3r = a3.splice(0, 0, 2); 191 a3r = a3.splice(0, 1, 2); 197 a3r = a3.splice(0, 0, 2.1); 205 a3r = a3.splice(0, 1, 2.2); [all …]
|
D | object-seal.js | 225 assertThrows(function() { obj.splice(0, 0, 100, 101, 102); }, TypeError); 226 assertDoesNotThrow(function() { obj.splice(0,0); }); 232 assertDoesNotThrow(function() { objControl.splice(0, 0, 100, 101, 102); }); 263 assertDoesNotThrow(function() { obj.splice(0,1,100); }); 265 assertDoesNotThrow(function() { obj.splice(0,2,1,2); }); 266 assertDoesNotThrow(function() { obj.splice(1,2,1,2); }); 268 assertDoesNotThrow(function() { obj.splice(1,2000,1,2); }); 269 assertThrows(function() { obj.splice(0,0,1); }, TypeError); 270 assertThrows(function() { obj.splice(1,2000,1,2,3); }, TypeError);
|
D | array-functions-prototype-misc.js | 74 return array.splice(start, len); 77 return array.splice(start, len, elt); 108 return Array.prototype.splice.call(array, start, len); method in Array 111 return Array.prototype.splice.call(array, start, len, elt); method in Array 280 var top = a.splice(LARGE, 5); 285 a.splice(LARGE, 0, LARGE); 296 var top = a.splice(LARGE >> 1, 5); 301 a.splice(LARGE >> 1, 0, LARGE >> 1, void 0, void 0, void 0, void 0); 314 Array.prototype.push.apply([], [1].splice(0, -(-1 % 5)));
|
D | array-functions-prototype.js | 124 assertArrayEquals(['zero'], array.splice(0, 1)); 125 assertArrayEquals(['zero'], Array.prototype.splice.call(nonArray, 0, 1));
|
/external/v8/test/mjsunit/ |
D | array-splice.js | 32 var spliced = array.splice(1, 1, 'one', 'two'); 48 assertEquals([], [].splice(0, 0)); 49 assertEquals([], [].splice(1, 0)); 50 assertEquals([], [].splice(0, 1)); 51 assertEquals([], [].splice(-1, 0)); 60 assertEquals([], a.splice(1, 0, 'a', 'b', 'c')); 71 assertEquals([], array.splice()); 79 assertEquals([1, 2, 3], array.splice(0)); 83 assertEquals([1, 2, 3], array.splice(undefined)); 87 assertEquals([1, 2, 3], array.splice("foobar")); [all …]
|
D | array-functions-prototype-misc.js | 74 return array.splice(start, len); 77 return array.splice(start, len, elt); 108 return Array.prototype.splice.call(array, start, len); method in Array 111 return Array.prototype.splice.call(array, start, len, elt); method in Array 280 var top = a.splice(LARGE, 5); 285 a.splice(LARGE, 0, LARGE); 296 var top = a.splice(LARGE >> 1, 5); 301 a.splice(LARGE >> 1, 0, LARGE >> 1, void 0, void 0, void 0, void 0); 314 Array.prototype.push.apply([], [1].splice(0, -(-1 % 5)));
|
D | array-functions-prototype.js | 124 assertArrayEquals(['zero'], array.splice(0, 1)); 125 assertArrayEquals(['zero'], Array.prototype.splice.call(nonArray, 0, 1));
|
/external/chromium_org/v8/test/mjsunit/third_party/ |
D | array-splice-webkit.js | 35 assertArrayEquals(['c','d'], arr.splice(2)); 37 assertArrayEquals(['a','b'], arr.splice(0)); 41 assertEquals([], arr.splice()) 43 assertArrayEquals(['a','b','c','d'], arr.splice(undefined)) 47 assertArrayEquals(['a','b','c','d'], arr.splice(null)) 51 assertArrayEquals([], arr.splice(100)) 53 assertArrayEquals(['d'], arr.splice(-1)) 56 assertArrayEquals([], arr.splice(2, undefined)) 57 assertArrayEquals([], arr.splice(2, null)) 58 assertArrayEquals([], arr.splice(2, -1)) [all …]
|
/external/v8/test/mjsunit/third_party/ |
D | array-splice-webkit.js | 35 assertArrayEquals(['c','d'], arr.splice(2)); 37 assertArrayEquals(['a','b'], arr.splice(0)); 41 assertEquals([], arr.splice()) 43 assertArrayEquals(['a','b','c','d'], arr.splice(undefined)) 47 assertArrayEquals(['a','b','c','d'], arr.splice(null)) 51 assertArrayEquals([], arr.splice(100)) 53 assertArrayEquals(['d'], arr.splice(-1)) 56 assertArrayEquals([], arr.splice(2, undefined)) 57 assertArrayEquals([], arr.splice(2, null)) 58 assertArrayEquals([], arr.splice(2, -1)) [all …]
|
/external/chromium_org/chrome/browser/resources/options/ |
D | language_dictionary_overlay_word_list.js | 115 this.dataModel.splice(this.dataModel.length - 1, 0, dictionaryWord); 161 this.dataModel.splice(this.dataModel.length - 1, 0, toAdd[i]); 176 this.removedWordsList_.splice(index, 1); 180 this.allWordsList_.splice(index, 1); 190 this.dataModel.splice(index, 1); 221 this.allWordsList_.splice(allWordsListIndex, 1); 222 this.dataModel.splice(index, 1);
|
/external/stlport/test/unit/ |
D | slist_test.cpp | 40 CPPUNIT_TEST(splice); 48 void splice(); 198 void SlistTest::splice() in splice() function in SlistTest 210 sl1.splice(sl1.begin(), sl1, sl1.begin()); in splice() 215 sl1.splice(slit, sl1, sl1.begin()); in splice() 218 sl1.splice(sl1.end(), sl1, sl1.begin()); in splice() 225 sl1.splice(sl1.begin(), sl1, slit); in splice() 228 sl1.splice(sl1.begin(), sl2); in splice() 238 sl2.splice(sl2.begin(), sl1, sl1.begin(), slit); in splice() 242 sl1.splice(sl1.begin(), sl1, slit, sl1.end()); in splice() [all …]
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
D | array_data_model.js | 74 splice: function(index, deleteCount, var_args) { method in ArrayDataModel 83 var rv = arr.splice.apply(arr, arguments); 101 this.splice.apply(this, args);
|
/external/chromium_org/chrome/browser/resources/image_loader/ |
D | worker.js | 92 this.newRequests_.splice(newIndex, 1); 95 this.pendingRequests_.splice(pendingIndex, 1); 160 this.activeRequests_.splice(index, 1);
|
/external/bison/src/ |
D | scan-gram.l | 118 splice (\\[ \f\t\v]*\n)* 423 "*"{splice}"/" STRING_GROW; BEGIN context_state; 435 {splice} STRING_GROW; 583 {splice}|\\{splice}[^\n\[\]] STRING_GROW; 619 "/"{splice}"*" { 625 "/"{splice}"/" { 641 "{"|"<"{splice}"%" STRING_GROW; braces_level++; 642 "%"{splice}">" STRING_GROW; braces_level--; 659 "<"{splice}"<" STRING_GROW;
|
D | scan-code.l | 85 splice (\\[ \f\t\v]*\n)* 132 "*"{splice}"/" STRING_GROW; BEGIN sc_context; 143 {splice} STRING_GROW; 153 {splice}|\\{splice}. STRING_GROW; 179 "/"{splice}"*" { 183 "/"{splice}"/" { 246 {splice} STRING_GROW;
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
D | utilities.js | 326 expected.splice(-1, 1, ['', element, '']); 328 expected.splice(-1, 1, [operand, last[1], operand], ['', element, '']); 330 expected.splice(-1, 1, [], [operand || '0', '', operand || '0']); 334 expected[expected.length - 1].splice(2, 2, '-' + operand); 345 expectations.splice(-i - 1, replace ? 0 : 1); 348 expectations.splice(-i - 1, replace ? 0 : 1); 420 expected.splice(start, count, append);
|
/external/chromium/chrome/browser/resources/bookmark_manager/js/bmm/ |
D | bookmark_list.js | 261 this.dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 277 this.dataModel.splice(moveInfo.oldIndex, 1); 278 this.dataModel.splice(moveInfo.index, 0, bookmarkNode); 287 dataModel.splice(index, 1); 295 dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 306 dataModel.splice(index, 1);
|
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/bmm/ |
D | bookmark_list.js | 254 this.dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 269 this.dataModel.splice(moveInfo.oldIndex, 1); 270 this.dataModel.splice(moveInfo.index, 0, bookmarkNode); 279 dataModel.splice(index, 1); 287 dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 298 dataModel.splice(index, 1);
|
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/bmm/ |
D | bookmark_list.js | 254 this.dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 269 this.dataModel.splice(moveInfo.oldIndex, 1); 270 this.dataModel.splice(moveInfo.index, 0, bookmarkNode); 279 dataModel.splice(index, 1); 287 dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 298 dataModel.splice(index, 1);
|
/external/chromium/chrome/browser/resources/options/ |
D | autofill_options_list.js | 128 this.list.dataModel.splice(i, 1, this.input.value); 131 this.list.dataModel.splice(i, 1); 177 this.list.dataModel.splice(i, 0, this.input.value); 304 this.dataModel.splice(index, 1);
|
/external/chromium/chrome/browser/resources/net_internals/ |
D | util.js | 90 currentNames.splice(i, 1); 194 this.rows_.splice(0, 0, []); 250 this.rows_.splice(1, 0, headerSpacerRow); 301 this.rows_.splice(1, 1);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
D | array-functions-non-arrays-expected.txt | 95 PASS Array.prototype.splice.call({}, 0, 1) is [] 96 PASS Array.prototype.splice.call(['b', 'a'], 0, 1) is ['b'] 97 PASS Array.prototype.splice.call({ length:2, 0:'b', 1:'a' }, 0, 1) is ['b'] 98 PASS Array.prototype.splice.call(new TwoItemConstructor, 0, 1) is ['b'] 99 PASS Array.prototype.splice.call(x = {}, 0, 1); properties(x) is 'length:0' 100 PASS Array.prototype.splice.call(x = ['b', 'a'], 0, 1); properties(x) is '0:a, length:1(DontDelete,… 101 PASS Array.prototype.splice.call(x = { length:2, 0:'b', 1:'a' }, 0, 1); properties(x) is '0:a, leng… 102 PASS Array.prototype.splice.call(x = new TwoItemConstructor, 0, 1); properties(x) is '0:a, 1:a(From…
|
/external/stlport/stlport/stl/pointers/ |
D | _list.h | 293 void splice(iterator __pos, _Self& __x) in splice() function 294 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl); } in splice() 295 void splice(iterator __pos, _Self& __x, iterator __i) in splice() function 296 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl, _BaseIte(__i._M_node)); } in splice() 297 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) in splice() function 298 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl, in splice()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | Object.js | 65 listeners.splice(i, 1); 67 listeners.splice(i, 1);
|