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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/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/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/chromium_org/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-natives-elements.js 143 // Splice
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)
    [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...]
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); });
260 // Verify special behavior of splice on sealed objects.
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)
    [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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/
splice_pos_list_iter.pass.cpp 12 // void splice(const_iterator position, list<T,Allocator>& x, iterator i);
30 l1.splice(l1.end(), l2, l2.begin());
41 l1.splice(l1.end(), l2, l2.begin());
54 l1.splice(l1.end(), l2, next(l2.begin()));
67 l1.splice(l1.end(), l2, l2.begin());
82 l1.splice(l1.end(), l2, next(l2.begin()));
97 l1.splice(l1.end(), l2, next(l2.begin(), 2));
111 l1.splice(l1.begin(), l1, l1.begin());
120 l1.splice(l1.begin(), l2, l2.begin());
133 l1.splice(next(l1.begin()), l2, l2.begin())
    [all...]
splice_pos_list_iter_iter.pass.cpp 12 // void splice(const_iterator position, list& x, iterator first, iterator last);
29 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin()));
41 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 2));
53 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 3));
66 l1.splice(l1.begin(), l2, next(l2.begin()), l2.end());
86 l1.splice(next(l1.begin()), l2, next(l2.begin()), l2.end());
106 l1.splice(l1.end(), l2, next(l2.begin()), l2.end());
127 v1.splice(v1.begin(), v2, v2.begin(), v1.end());
134 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin()));
146 l1.splice(l1.begin(), l1, next(l1.begin()), next(l1.begin(), 2))
    [all...]
splice_pos_list.pass.cpp 12 // void splice(const_iterator position, list& x);
30 l1.splice(l1.end(), l2);
39 l1.splice(l1.end(), l2);
50 l1.splice(l1.end(), l2);
63 l1.splice(l1.end(), l2);
78 l1.splice(l1.begin(), l2);
89 l1.splice(l1.end(), l2);
100 l1.splice(l1.begin(), l2);
113 l1.splice(l1.end(), l2);
126 l1.splice(l1.begin(), l2)
    [all...]
  /external/chromium_org/android_webview/browser/
gl_view_renderer_manager.cc 25 mru_list_.splice(mru_list_.begin(), mru_list_, key);
  /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/chromium_org/third_party/WebKit/Source/devtools/front_end/
Object.js 65 listeners.splice(i, 1);
67 listeners.splice(i, 1);
  /external/chromium_org/v8/test/mjsunit/bugs/
bug-2615.js 37 assertThrows("a.splice(1,1,7,7,7,7,7);", RangeError);
72 assertThrows("a.splice(1,1);", TypeError);
79 assertThrows("a.splice(1,4);", TypeError);
87 assertThrows("a.splice(1,4);", TypeError);
  /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/bison/src/
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
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/
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/v8/test/mjsunit/harmony/
object-observe.js 749 var cut = self.splice(0, 6);
753 var cut = self.splice(0, 6);
1245 var splice = spliceRecords[0]; variable
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
stl_list.h 1235 splice(iterator __position, list&& __x) function in class:list
1250 splice(iterator __position, list& __x) function in class:list
1265 splice(iterator __position, list&& __x, iterator __i) function in class:list
1283 splice(iterator __position, list& __x, iterator __i) function in class:list
1301 splice(iterator __position, list&& __x, iterator __first, function in class:list
1319 splice(iterator __position, list& __x, iterator __first, iterator __last) function in class:list
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
stl_list.h 1235 splice(iterator __position, list&& __x) function in class:list
1250 splice(iterator __position, list& __x) function in class:list
1265 splice(iterator __position, list&& __x, iterator __i) function in class:list
1283 splice(iterator __position, list& __x, iterator __i) function in class:list
1301 splice(iterator __position, list&& __x, iterator __first, function in class:list
1319 splice(iterator __position, list& __x, iterator __first, iterator __last) function in class:list
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/
stl_list.h 1030 splice(__position, __tmp);
1146 splice(iterator __position, list&& __x) function in class:list
1161 splice(iterator __position, list& __x) function in class:list
1176 splice(iterator __position, list&& __x, iterator __i) function in class:list
1194 splice(iterator __position, list& __x, iterator __i) function in class:list
1212 splice(iterator __position, list&& __x, iterator __first, function in class:list
1230 splice(iterator __position, list& __x, iterator __first, function in class:list
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
stl_list.h 1215 splice(iterator __position, list&& __x) function in class:list
1230 splice(iterator __position, list& __x) function in class:list
1245 splice(iterator __position, list&& __x, iterator __i) function in class:list
1263 splice(iterator __position, list& __x, iterator __i) function in class:list
1281 splice(iterator __position, list&& __x, iterator __first, function in class:list
1299 splice(iterator __position, list& __x, iterator __first, iterator __last) function in class:list
    [all...]

Completed in 1669 milliseconds

1 2 3 4 5 6 7 8 91011>>