/third_party/jerryscript/tests/jerry/ |
H A D | array-prototype-splice.js | 23 var array1 = array.splice(); 34 var array2 = array.splice(2); 45 var array3 = array.splice(2, 1); 56 var array4 = array.splice(0, 3, 6720, "Szeged"); 69 var array5 = array.splice(-2, -2, 6720, "Szeged"); 82 var array6 = array.splice(undefined, undefined, undefined); 94 var array7 = array.splice(Infinity, NaN); 104 var array8 = array.splice(-Infinity, Infinity); 115 var array9 = array.splice(NaN, -Infinity); 125 var array10 = array.splice( [all...] |
H A D | regression-test-issue-3060.js | 17 arr.splice(0, 17); 19 arr.splice(1, 1, 1);
|
/third_party/rust/crates/rustix/tests/io/ |
H A D | pipe.rs | 5 use rustix::io::{pipe, splice, SpliceFlags}; in test_splice_cursor() 17 splice(&src, None, &write_p, None, 5, SpliceFlags::empty()).unwrap(); in test_splice_cursor() 18 splice(&read_p, None, &dest, None, 5, SpliceFlags::empty()).unwrap(); in test_splice_cursor() 31 use rustix::io::{pipe, splice, SpliceFlags}; in test_splice_offset() 43 splice( in test_splice_offset() 52 splice( in test_splice_offset() 72 use rustix::io::{pipe, read, splice, write, SpliceFlags}; in test_splice_pipe2pipe() 79 splice(&read_p1, None, write_p2, None, 5, SpliceFlags::empty()).unwrap(); in test_splice_pipe2pipe()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | simple_ilist.h | 106 simple_ilist(simple_ilist &&X) { splice(end(), X); } in simple_ilist() 109 splice(end(), X); in operator =() 234 void splice(iterator I, simple_ilist &L2) { in splice() function in llvm::simple_ilist 235 splice(I, L2, L2.begin(), L2.end()); in splice() 239 void splice(iterator I, simple_ilist &L2, iterator Node) { in splice() function in llvm::simple_ilist 240 splice(I, L2, Node, std::next(Node)); in splice() 244 void splice(iterator I, simple_ilist &, iterator First, iterator Last) { in splice() function in llvm::simple_ilist 276 splice(LI, RHS, RunStart, RI); in merge() 283 splice(LE, RHS, RI, RE); in merge() 300 RHS.splice(RH in sort() [all...] |
H A D | ilist.h | 296 // transfer - The heart of the splice function. Move linked list nodes from 306 base_list_type::splice(position, L2, first, last); in transfer() 342 void splice(iterator where, iplist_impl &L2) { in splice() function in llvm::iplist_impl 346 void splice(iterator where, iplist_impl &L2, iterator first) { in splice() function in llvm::iplist_impl 351 void splice(iterator where, iplist_impl &L2, iterator first, iterator last) { in splice() function in llvm::iplist_impl 354 void splice(iterator where, iplist_impl &L2, reference N) { in splice() function in llvm::iplist_impl 355 splice(where, L2, iterator(N)); in splice() 357 void splice(iterator where, iplist_impl &L2, pointer N) { in splice() function in llvm::iplist_impl 358 splice(where, L2, iterator(N)); in splice()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | simple_ilist.h | 110 simple_ilist(simple_ilist &&X) { splice(end(), X); } in simple_ilist() 113 splice(end(), X); in operator =() 238 void splice(iterator I, simple_ilist &L2) { in splice() function in llvm::simple_ilist 239 splice(I, L2, L2.begin(), L2.end()); in splice() 243 void splice(iterator I, simple_ilist &L2, iterator Node) { in splice() function in llvm::simple_ilist 244 splice(I, L2, Node, std::next(Node)); in splice() 248 void splice(iterator I, simple_ilist &, iterator First, iterator Last) { in splice() function in llvm::simple_ilist 280 splice(LI, RHS, RunStart, RI); in merge() 287 splice(LE, RHS, RI, RE); in merge() 304 RHS.splice(RH in sort() [all...] |
H A D | ilist.h | 281 // transfer - The heart of the splice function. Move linked list nodes from 291 base_list_type::splice(position, L2, first, last); in transfer() 327 void splice(iterator where, iplist_impl &L2) { in splice() function in llvm::iplist_impl 331 void splice(iterator where, iplist_impl &L2, iterator first) { in splice() function in llvm::iplist_impl 336 void splice(iterator where, iplist_impl &L2, iterator first, iterator last) { in splice() function in llvm::iplist_impl 339 void splice(iterator where, iplist_impl &L2, reference N) { in splice() function in llvm::iplist_impl 340 splice(where, L2, iterator(N)); in splice() 342 void splice(iterator where, iplist_impl &L2, pointer N) { in splice() function in llvm::iplist_impl 343 splice(where, L2, iterator(N)); in splice()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | array-species.js | 35 assertEquals(MyArray, new MyArray().splice().constructor); 48 assertEquals(MyArray, new MyOtherArray().splice().constructor); 66 Array.prototype.splice.call(new MyNonArray()).constructor); 74 // slice, splice, and concat actually do explicitly define the length. 76 assertEquals(0, Array.prototype.splice.call(new MyNonArray()).length); 126 assertThrows(() => new FrozenArray([1]).splice(0, 1), TypeError); 182 new MyObservedArray().splice().constructor);
|
H A D | class-inheritance-builtin-array.js | 76 var spliced = c.splice (c.length - 1); 112 spliced = c.splice (0);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | staticAnonymousTypeNotReferencingTypeParameter.js | 71 static insert<T>(dit: typeof ListWrapper, list: T[], index: number, value: T) { list.splice(index, 0, value); } 74 list.splice(index, 1); 80 list.splice(index, 1); 86 list.splice(index, 1); 106 static splice<T>(dit: typeof ListWrapper, l: T[], from: number, length: number): T[] { return l.splice(from, length); } 222 ListWrapper.insert = function (dit, list, index, value) { list.splice(index, 0, value); };
225 list.splice(index, 1);
231 list.splice(index, 1);
237 list.splice(inde [all...] |
H A D | invalidSplice.js | 2 var arr = [].splice(0,3,4,5);
5 var arr = [].splice(0, 3, 4, 5);
|
H A D | arraySlice.js | 3 arr.splice(1, 1); 8 arr.splice(1, 1);
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | file.rs | 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() 107 item.attrs.splice(..0, attrs); in parse() 117 item.attrs.splice(..0, attrs); in parse() 121 item.attrs.splice(..0, attrs); in parse()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | file.rs | 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() 107 item.attrs.splice(..0, attrs); in parse() 117 item.attrs.splice(..0, attrs); in parse() 121 item.attrs.splice(..0, attrs); in parse()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | file.rs | 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() 107 item.attrs.splice(..0, attrs); in parse() 117 item.attrs.splice(..0, attrs); in parse() 121 item.attrs.splice(..0, attrs); in parse()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | file.rs | 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() 107 item.attrs.splice(..0, attrs); in parse() 117 item.attrs.splice(..0, attrs); in parse() 121 item.attrs.splice(..0, attrs); in parse()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | file.rs | 99 item.attrs.splice(..0, attrs); in parse() 103 item.attrs.splice(..0, attrs); in parse() 107 item.attrs.splice(..0, attrs); in parse() 117 item.attrs.splice(..0, attrs); in parse() 121 item.attrs.splice(..0, attrs); in parse()
|
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
H A D | apply.js | 156 lines.splice(_toPos, 1); 157 delimiters.splice(_toPos, 1); 160 lines.splice(_toPos, 0, content); 161 delimiters.splice(_toPos, 0, delimiter);
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | splice.c | 28 * @tc.desc : splice 0 data to/from a pipe 53 ssize_t result = splice(fromfd, &off, tofd, &off, len, flags); in splice_0100() 68 * @tc.desc : splice data to/from a pipe 98 ssize_t bytes = splice(fromfd, NULL, pipe1[1], NULL, len, flags); in splice_0200() 124 * @tc.desc : splice data to/from a pipe with invalid parameters 130 ssize_t bytes = splice(-1, NULL, -1, NULL, -1, -1); in splice_0300()
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | lineargradient.js | 32 this._pos .splice(idx, 0, offset); 33 this._colors.splice(idx, 0, color);
|
H A D | radialgradient.js | 35 this._pos .splice(idx, 0, offset); 36 this._colors.splice(idx, 0, color);
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
H A D | splice01.c | 8 * This test case will verify basic function of splice 22 #include "lapi/splice.h" 62 ret = splice(fd_in, NULL, pipes[1], NULL, TEST_BLOCK_SIZE, 0); in splice_test() 64 tst_brk(TBROK | TERRNO, "splice(fd_in, pipe) failed"); in splice_test() 66 ret = splice(pipes[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in splice_test() 68 tst_brk(TBROK | TERRNO, "splice(pipe, fd_out) failed"); in splice_test()
|
/third_party/ltp/testcases/kernel/syscalls/tee/ |
H A D | tee01.c | 18 #include "lapi/splice.h" 61 ret = splice(fd_in, NULL, pipe1[1], NULL, TEST_BLOCK_SIZE, 0); in tee_test() 63 tst_brk(TBROK | TERRNO, "splice(fd_in, pipe1) failed"); in tee_test() 69 ret = splice(pipe2[0], NULL, fd_out, NULL, TEST_BLOCK_SIZE, 0); in tee_test() 71 tst_brk(TBROK | TERRNO, "splice(pipe2, fd_out) failed"); in tee_test()
|
/third_party/rust/crates/rustix/src/io/ |
H A D | pipe.rs | 69 /// `splice(fd_in, off_in, fd_out, off_out, len, flags)`—Transfer data between a file and a pipe. 86 /// [Linux]: https://man7.org/linux/man-pages/man2/splice.2.html 89 pub fn splice<FdIn: AsFd, FdOut: AsFd>( in splice() functions 97 backend::io::syscalls::splice(fd_in.as_fd(), off_in, fd_out.as_fd(), off_out, len, flags) in splice()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | MachineFunction.h | 673 void splice(iterator InsertPt, iterator MBBI) { 674 BasicBlocks.splice(InsertPt, BasicBlocks, MBBI); 676 void splice(iterator InsertPt, MachineBasicBlock *MBB) { 677 BasicBlocks.splice(InsertPt, BasicBlocks, MBB); 679 void splice(iterator InsertPt, iterator MBBI, iterator MBBE) { 680 BasicBlocks.splice(InsertPt, BasicBlocks, MBBI, MBBE);
|