/external/v8/test/mjsunit/ |
D | array-splice.js | 32 var spliced = array.splice(1, 1, 'one', 'two'); 55 assertEquals(undefined, array.splice()); 63 assertEquals([1, 2, 3], array.splice(0)); 67 assertEquals([1, 2, 3], array.splice(undefined)); 71 assertEquals([1, 2, 3], array.splice("foobar")); 75 assertEquals([], array.splice(undefined, undefined)); 79 assertEquals([], array.splice("foobar", undefined)); 83 assertEquals([], array.splice(undefined, "foobar")); 87 assertEquals([], array.splice("foobar", "foobar")); 98 spliced = array.splice(-100); [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));
|
D | fuzz-natives.js | 87 argPool.splice(rand,1);
|
D | length.js | 58 assertEquals(2, Array.prototype.splice.length, "Array.prototype.splice.length");
|
/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(undefined, 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/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/bison/src/ |
D | scan-gram.l | 163 splice (\\[ \f\t\v]*\n)* 376 "*"{splice}"/" STRING_GROW; BEGIN context_state; 388 {splice} STRING_GROW; 504 {splice}|\\{splice}[^\n$@\[\]] STRING_GROW; 540 "/"{splice}"*" { 546 "/"{splice}"/" { 596 "{"|"<"{splice}"%" STRING_GROW; braces_level++; 597 "%"{splice}">" STRING_GROW; braces_level--; 634 "<"{splice}"<" STRING_GROW;
|
/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()
|
D | _slist.h | 373 void splice(iterator __pos, _Self& __x) in splice() function 374 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl); } in splice() 375 void splice(iterator __pos, _Self& __x, iterator __i) in splice() function 376 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl, _BaseIte(__i._M_node)); } in splice() 377 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) in splice() function 378 { _M_impl.splice(_BaseIte(__pos._M_node), __x._M_impl, in splice()
|
/external/webkit/WebCore/inspector/front-end/ |
D | Object.js | 44 listeners.splice(i, 1); 46 listeners.splice(i, 1);
|
D | TextEditorModel.js | 170 this._lines.splice(fromLine, count); 171 this._attributes.splice(fromLine, count); 176 this._lines.splice(lineNumber, 0, text); 177 this._attributes.splice(lineNumber, 0, {});
|
D | DOMAgent.js | 137 self.attributes.splice(i, 1); 160 this.children.splice(this.children.indexOf(prev) + 1, 0, node); 167 this.children.splice(this.children.indexOf(node), 1); 266 listeners.splice(index, 1);
|
D | TextViewer.js | 148 this._textChunks.splice(insertIndex++, 0, prefixChunk); 154 this._textChunks.splice(insertIndex++, 0, lineChunk); 160 this._textChunks.splice(insertIndex, 0, suffixChunk); 165 this._textChunks.splice(oldChunk.chunkNumber, 1);
|
D | ResourceCategory.js | 51 this.resources.splice(i, 0, resource);
|
D | ContextMenu.js | 41 this._items.splice(this._items.length - 1, 1);
|
/external/stlport/stlport/stl/debug/ |
D | _list.h | 358 void splice(iterator __pos, _Self& __x) { in splice() function 360 _M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl); in splice() 371 void splice(iterator __pos, _Self& __x, iterator __i) { in splice() function 375 _M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl, __i._M_iterator); in splice() 385 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) { in splice() function 396 …_M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl, __first._M_iterator, __last._M_iter… in splice()
|
D | _slist.h | 454 void splice(iterator __pos, _Self& __x) { in splice() function 458 _M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl); in splice() 467 void splice(iterator __pos, _Self& __x, iterator __i) { in splice() function 481 _M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl, __i._M_iterator); in splice() 484 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) { in splice() function 495 _M_non_dbg_impl.splice(__pos._M_iterator, __x._M_non_dbg_impl, in splice()
|
/external/stlport/stlport/stl/ |
D | _list.h | 488 splice(__pos, __tmp); 494 splice(__pos, __tmp); 599 void splice(iterator __pos, _Self& __x) { 610 void splice(iterator __pos, _Self& __x, iterator __i) { 622 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) {
|
D | _slist.h | 595 splice(iterator(__pos), __tmp); 737 void splice(iterator __pos, _Self& __x) { 752 void splice(iterator __pos, _Self& __x, iterator __i) { 766 void splice(iterator __pos, _Self& __x, iterator __first, iterator __last) {
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
D | general2.js | 60 array1.splice(1,i-1);
|
D | splice1.js | 93 actualRemoved = actualSpliced.splice(first,len);
|
D | splice2.js | 89 actualRemoved = actualSpliced.splice(first,len,-97,new String("test arg"),[],9.8);
|
/external/webkit/SunSpider/ |
D | UNCOVERED | 91 Array.splice
|