/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); }); 262 assertDoesNotThrow(function() { obj.splice(0,1,100); }); 264 assertDoesNotThrow(function() { obj.splice(0,2,1,2); }); 265 assertDoesNotThrow(function() { obj.splice(1,2,1,2); }); 267 assertDoesNotThrow(function() { obj.splice(1,2000,1,2); }); 268 assertThrows(function() { obj.splice(0,0,1); }, TypeError); 269 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/chromium_org/v8/test/webkit/ |
D | array-splice-expected.txt | 24 This tests array.splice behavior. 30 PASS arr.splice(2) is ['c','d'] 32 PASS arr.splice(0) is ['a','b'] 34 PASS arr.splice() is [] 36 PASS arr.splice(undefined) is ['a','b','c','d'] 38 PASS arr.splice(null) is ['a','b','c','d'] 40 PASS arr.splice(100) is [] 42 PASS arr.splice(-1) is ['d'] 44 PASS arr.splice(2, undefined) is [] 45 PASS arr.splice(2, null) is [] [all …]
|
/external/libcxx/test/containers/sequences/list/list.ops/ |
D | splice_pos_list_iter.pass.cpp | 30 l1.splice(l1.end(), l2, l2.begin()); in main() 41 l1.splice(l1.end(), l2, l2.begin()); in main() 54 l1.splice(l1.end(), l2, next(l2.begin())); in main() 67 l1.splice(l1.end(), l2, l2.begin()); in main() 82 l1.splice(l1.end(), l2, next(l2.begin())); in main() 97 l1.splice(l1.end(), l2, next(l2.begin(), 2)); in main() 111 l1.splice(l1.begin(), l1, l1.begin()); in main() 120 l1.splice(l1.begin(), l2, l2.begin()); in main() 133 l1.splice(next(l1.begin()), l2, l2.begin()); in main() 145 l1.splice(l1.begin(), l1, l1.begin()); in main() [all …]
|
D | splice_pos_list.pass.cpp | 30 l1.splice(l1.end(), l2); in main() 39 l1.splice(l1.end(), l2); in main() 50 l1.splice(l1.end(), l2); in main() 63 l1.splice(l1.end(), l2); in main() 78 l1.splice(l1.begin(), l2); in main() 89 l1.splice(l1.end(), l2); in main() 100 l1.splice(l1.begin(), l2); in main() 113 l1.splice(l1.end(), l2); in main() 126 l1.splice(l1.begin(), l2); in main() 141 l1.splice(l1.end(), l2); in main() [all …]
|
D | splice_pos_list_iter_iter.pass.cpp | 29 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin())); in main() 41 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 2)); in main() 53 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 3)); in main() 66 l1.splice(l1.begin(), l2, next(l2.begin()), l2.end()); in main() 86 l1.splice(next(l1.begin()), l2, next(l2.begin()), l2.end()); in main() 106 l1.splice(l1.end(), l2, next(l2.begin()), l2.end()); in main() 127 v1.splice(v1.begin(), v2, v2.begin(), v1.end()); in main() 134 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin())); in main() 146 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 2)); in main() 158 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 3)); in main() [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 …]
|
D | list_test.cpp | 66 l1.splice(i1, l2); in list1() 104 l1.splice(i, l2, l2.begin(), l2.end()); in list2() 351 lint1.splice(lint1.begin(), lint2); in allocator_with_state() 363 lint1.splice(lint1.begin(), lint2, lint2.begin()); in allocator_with_state() 377 lint1.splice(lint1.begin(), lint2, lint2.begin(), lit); in allocator_with_state()
|
/external/chromium_org/ui/file_manager/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_org/chrome/browser/resources/bookmark_manager/js/bmm/ |
D | bookmark_list.js | 273 this.dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 288 this.dataModel.splice(moveInfo.oldIndex, 1); 289 this.dataModel.splice(moveInfo.index, 0, bookmarkNode); 298 dataModel.splice(index, 1); 306 dataModel.splice(bookmarkNode.index, 0, bookmarkNode); 317 dataModel.splice(index, 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/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | BaseTree.js | 120 var killed = this.children.splice(i, 1)[0]; 170 killed = this.children.splice(indexToDelete, 1)[0]; 181 this.children.splice(startChildIndex+j, 0, newChildren[j]);
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | table_printer.js | 81 this.rows_.splice(0, 0, []); 159 this.rows_.splice(1, 0, headerSpacerRow); 217 this.rows_.splice(1, 1);
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | volume_manager_wrapper.js | 97 this.volumeInfoList.splice.apply( 158 this.volumeInfoList.splice.apply( 183 this.volumeInfoList.splice.apply(
|
/external/chromium_org/net/tools/flip_server/ |
D | output_ordering.cc | 130 pmi->second.splice(pmi->second.end(), first_data_senders_, pri); in SpliceToPriorityRing() 141 first_data_senders_.splice(first_data_senders_.end(), in GetIter() 155 first_ring.splice(first_ring.end(), first_ring, first_ring.begin()); in GetIter()
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/ |
D | image_buffer.js | 29 this.overlays_.splice(i, 0, overlay); 39 this.overlays_.splice(i, 1);
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
D | image_buffer.js | 29 this.overlays_.splice(i, 0, overlay); 39 this.overlays_.splice(i, 1);
|