HomeSort by relevance Sort by last modified time
    Searched full:splice (Results 1 - 25 of 502) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/third_party/
array-splice-webkit.js 32 // Simple splice tests based on webkit layout tests.
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)
    [all...]
  /external/v8/test/mjsunit/
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...]
array-functions-prototype-misc.js 29 * @fileoverview Test splice, shift, unshift, slice and join on small
74 return array.splice(start, len);
77 return array.splice(start, len, elt);
108 return Array.prototype.splice.call(array, start, len);
111 return Array.prototype.splice.call(array, start, len, elt);
199 // Splice works differently from join.
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)
    [all...]
  /external/chromium/chrome/browser/resources/shared/js/cr/ui/
array_data_model.js 67 * This dispatches a splice event.
74 splice: function(index, deleteCount, var_args) {
77 // TODO(arv): Maybe unify splice and change events?
78 var e = new Event('splice');
83 var rv = arr.splice.apply(arr, arguments);
93 * This dispatches a splice event.
101 this.splice.apply(this, args);
117 // TODO(arv): Maybe unify splice and change events?
array_data_model_test.html 30 m.addEventListener('splice', function(e) {
41 assertEquals('The splice event should only fire once', 1, count);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/list.ops/
splice_pos_list_iter.pass.cpp 12 // void splice(const_iterator position, list<T,Allocator>& x, iterator i);
24 l1.splice(l1.end(), l2, l2.begin());
35 l1.splice(l1.end(), l2, l2.begin());
48 l1.splice(l1.end(), l2, next(l2.begin()));
61 l1.splice(l1.end(), l2, l2.begin());
76 l1.splice(l1.end(), l2, next(l2.begin()));
91 l1.splice(l1.end(), l2, next(l2.begin(), 2));
105 l1.splice(l1.begin(), l1, l1.begin());
114 l1.splice(l1.begin(), l2, l2.begin());
127 l1.splice(next(l1.begin()), l2, l2.begin())
    [all...]
splice_pos_list.pass.cpp 12 // void splice(const_iterator position, list& x);
24 l1.splice(l1.end(), l2);
33 l1.splice(l1.end(), l2);
44 l1.splice(l1.end(), l2);
57 l1.splice(l1.end(), l2);
72 l1.splice(l1.begin(), l2);
83 l1.splice(l1.end(), l2);
94 l1.splice(l1.begin(), l2);
107 l1.splice(l1.end(), l2);
120 l1.splice(l1.begin(), l2)
    [all...]
splice_pos_list_iter_iter.pass.cpp 12 // void splice(const_iterator position, list& x, iterator first, iterator last);
23 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin()));
35 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 2));
47 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 3));
60 l1.splice(l1.begin(), l2, next(l2.begin()), l2.end());
80 l1.splice(next(l1.begin()), l2, next(l2.begin()), l2.end());
100 l1.splice(l1.end(), l2, next(l2.begin()), l2.end());
  /external/stlport/test/unit/
slist_test.cpp 40 CPPUNIT_TEST(splice);
48 void splice();
198 void SlistTest::splice() function in class:SlistTest
203 //splice
210 sl1.splice(sl1.begin(), sl1, sl1.begin());
215 sl1.splice(slit, sl1, sl1.begin());
218 sl1.splice(sl1.end(), sl1, sl1.begin());
225 sl1.splice(sl1.begin(), sl1, slit);
228 sl1.splice(sl1.begin(), sl2);
238 sl2.splice(sl2.begin(), sl1, sl1.begin(), slit)
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
slist_test.cpp 40 CPPUNIT_TEST(splice);
48 void splice();
198 void SlistTest::splice() function in class:SlistTest
203 //splice
210 sl1.splice(sl1.begin(), sl1, sl1.begin());
215 sl1.splice(slit, sl1, sl1.begin());
218 sl1.splice(sl1.end(), sl1, sl1.begin());
225 sl1.splice(sl1.begin(), sl1, slit);
228 sl1.splice(sl1.begin(), sl2);
238 sl2.splice(sl2.begin(), sl1, sl1.begin(), slit)
    [all...]
  /ndk/tests/device/test-stlport/unit/
slist_test.cpp 40 CPPUNIT_TEST(splice);
48 void splice();
198 void SlistTest::splice() function in class:SlistTest
203 //splice
210 sl1.splice(sl1.begin(), sl1, sl1.begin());
215 sl1.splice(slit, sl1, sl1.begin());
218 sl1.splice(sl1.end(), sl1, sl1.begin());
225 sl1.splice(sl1.begin(), sl1, slit);
228 sl1.splice(sl1.begin(), sl2);
238 sl2.splice(sl2.begin(), sl1, sl1.begin(), slit)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/
general2.js 33 var TITLE = 'String:push,splice,concat,unshift,sort';
60 array1.splice(1,i-1);
72 testcases[count++] = new TestCase( SECTION, "Array.push,pop,shift,unshift,slice,splice", true,String(array1) == String(array2));
splice1.js 24 Description: 'Tests Array.splice(x,y) w/no var args'
33 var TITLE = 'String:splice 1';
93 actualRemoved = actualSpliced.splice(first,len);
113 " test: " + "a.splice(" + first + "," + len + ",-97,new String('test arg'),[],9.8)\n" +
134 testcases[count++] = exhaustiveSpliceTest("exhaustive splice w/no optional args 1",a);
135 testcases[count++] = exhaustiveSpliceTest("exhaustive splice w/no optional args 1",b);
splice2.js 24 Description: 'Tests Array.splice(x,y) w/4 var args'
33 var TITLE = 'String:splice 2';
89 actualRemoved = actualSpliced.splice(first,len,-97,new String("test arg"),[],9.8);
111 " test: " + "a.splice(" + first + "," + len + ",-97,new String('test arg'),[],9.8)\n" +
132 testcases[count++] = exhaustiveSpliceTestWithArgs("exhaustive splice w/2 optional args 1",a);
133 testcases[count++] = exhaustiveSpliceTestWithArgs("exhaustive splice w/2 optional args 2",b);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/debug/
list 469 splice(iterator __position, list&& __x)
471 splice(iterator __position, list& __x)
478 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()));
483 splice(iterator __position, list& __x)
484 { splice(__position, std::move(__x)); }
489 splice(iterator __position, list&& __x, iterator __i)
491 splice(iterator __position, list& __x, iterator __i)
509 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),
515 splice(iterator __position, list& __x, iterator __i)
516 { splice(__position, std::move(__x), __i);
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/profile/
list 397 splice(iterator __position, list&& __x)
399 splice(iterator __position, list& __x)
401 { this->splice(__position, _GLIBCXX_MOVE(__x), __x.begin(), __x.end()); }
405 splice(iterator __position, list& __x)
406 { this->splice(__position, std::move(__x)); }
411 splice(iterator __position, list& __x, iterator __i)
412 { this->splice(__position, std::move(__x), __i); }
417 splice(iterator __position, list&& __x, iterator __i)
419 splice(iterator __position, list& __x, iterator __i)
426 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base())
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/debug/
list 469 splice(iterator __position, list&& __x)
471 splice(iterator __position, list& __x)
478 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()));
483 splice(iterator __position, list& __x)
484 { splice(__position, std::move(__x)); }
489 splice(iterator __position, list&& __x, iterator __i)
491 splice(iterator __position, list& __x, iterator __i)
509 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),
515 splice(iterator __position, list& __x, iterator __i)
516 { splice(__position, std::move(__x), __i);
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/profile/
list 397 splice(iterator __position, list&& __x)
399 splice(iterator __position, list& __x)
401 { this->splice(__position, _GLIBCXX_MOVE(__x), __x.begin(), __x.end()); }
405 splice(iterator __position, list& __x)
406 { this->splice(__position, std::move(__x)); }
411 splice(iterator __position, list& __x, iterator __i)
412 { this->splice(__position, std::move(__x), __i); }
417 splice(iterator __position, list&& __x, iterator __i)
419 splice(iterator __position, list& __x, iterator __i)
426 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base())
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/debug/
list 469 splice(iterator __position, list&& __x)
471 splice(iterator __position, list& __x)
478 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()));
483 splice(iterator __position, list& __x)
484 { splice(__position, std::move(__x)); }
489 splice(iterator __position, list&& __x, iterator __i)
491 splice(iterator __position, list& __x, iterator __i)
509 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),
515 splice(iterator __position, list& __x, iterator __i)
516 { splice(__position, std::move(__x), __i);
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/profile/
list 397 splice(iterator __position, list&& __x)
399 splice(iterator __position, list& __x)
401 { this->splice(__position, _GLIBCXX_MOVE(__x), __x.begin(), __x.end()); }
405 splice(iterator __position, list& __x)
406 { this->splice(__position, std::move(__x)); }
411 splice(iterator __position, list& __x, iterator __i)
412 { this->splice(__position, std::move(__x), __i); }
417 splice(iterator __position, list&& __x, iterator __i)
419 splice(iterator __position, list& __x, iterator __i)
426 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base())
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/debug/
list 468 splice(iterator __position, list&& __x)
470 splice(iterator __position, list& __x)
477 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()));
482 splice(iterator __position, list& __x)
483 { splice(__position, std::move(__x)); }
488 splice(iterator __position, list&& __x, iterator __i)
490 splice(iterator __position, list& __x, iterator __i)
508 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),
514 splice(iterator __position, list& __x, iterator __i)
515 { splice(__position, std::move(__x), __i);
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/profile/
list 398 splice(iterator __position, list&& __x)
400 splice(iterator __position, list& __x)
402 { this->splice(__position, _GLIBCXX_MOVE(__x), __x.begin(), __x.end()); }
406 splice(iterator __position, list& __x)
407 { this->splice(__position, std::move(__x)); }
412 splice(iterator __position, list& __x, iterator __i)
413 { this->splice(__position, std::move(__x), __i); }
418 splice(iterator __position, list&& __x, iterator __i)
420 splice(iterator __position, list& __x, iterator __i)
427 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base())
    [all...]
  /external/llvm/unittests/ADT/
ilistTest.cpp 50 // The single-element splice operation supports noops.
51 List.splice(List.begin(), List, List.begin());
59 List.splice(llvm::next(List.begin()), List, List.begin());
  /external/webkit/PerformanceTests/SunSpider/
UNCOVERED 91 Array.splice
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/debug/
list 390 splice(iterator __position, list&& __x)
392 splice(iterator __position, list& __x)
398 this->splice(__position, _GLIBCXX_MOVE(__x), __x.begin(), __x.end());
403 splice(iterator __position, list&& __x, iterator __i)
405 splice(iterator __position, list& __x, iterator __i)
423 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),
429 splice(iterator __position, list&& __x, iterator __first,
432 splice(iterator __position, list& __x, iterator __first,
459 _Base::splice(__position.base(), _GLIBCXX_MOVE(__x._M_base()),

Completed in 615 milliseconds

1 2 3 4 5 6 7 8 91011>>