/third_party/typescript/tests/baselines/reference/ |
H A D | library_RegExpExecArraySlice.js | 2 // RegExpExecArray.slice can have zero, one, or two arguments 4 regExpExecArrayValue.slice(); 5 regExpExecArrayValue.slice(0); 6 regExpExecArrayValue.slice(0,1);
9 // RegExpExecArray.slice can have zero, one, or two arguments
11 regExpExecArrayValue.slice();
12 regExpExecArrayValue.slice(0);
13 regExpExecArrayValue.slice(0, 1);
|
H A D | library_StringSlice.js | 2 // String.prototype.slice can have zero, one, or two arguments 3 String.prototype.slice(); 4 String.prototype.slice(0); 5 String.prototype.slice(0,1); 9 // String.prototype.slice can have zero, one, or two arguments
10 String.prototype.slice();
11 String.prototype.slice(0);
12 String.prototype.slice(0, 1);
|
H A D | declarationEmitDestructuringArrayPattern4.js | 13 var a5 = [1, 2, 3].slice(0);
14 var _a = [1, 2, 3], x14 = _a[0], a6 = _a.slice(1);
15 var _b = [1, 2, 3], x15 = _b[0], y15 = _b[1], a7 = _b.slice(2);
16 var _c = [1, 2, 3], x16 = _c[0], y16 = _c[1], z16 = _c[2], a8 = _c.slice(3);
17 var a9 = [1, "hello", true].slice(0);
18 var _d = [1, "hello", true], x17 = _d[0], a10 = _d.slice(1);
19 var _e = [1, "hello", true], x18 = _e[0], y18 = _e[1], a12 = _e.slice(2);
20 var _f = [1, "hello", true], x19 = _f[0], y19 = _f[1], z19 = _f[2], a13 = _f.slice(3);
|
H A D | restElementWithNullInitializer.js | 17 var r = (_a === void 0 ? null : _a).slice(0);
20 var _b = _a === void 0 ? undefined : _a, r = _b.slice(0);
23 var _b = _a === void 0 ? {} : _a, r = _b.slice(0);
26 var _b = _a === void 0 ? [] : _a, r = _b.slice(0);
|
/third_party/skia/modules/canvaskit/ |
H A D | color.js | 96 a = parseInt(colorStr.slice(7, 9), 16); 98 r = parseInt(colorStr.slice(1, 3), 16); 99 g = parseInt(colorStr.slice(3, 5), 16); 100 b = parseInt(colorStr.slice(5, 7), 16); 106 a = parseInt(colorStr.slice(4, 5), 16) * 17; 108 r = parseInt(colorStr.slice(1, 2), 16) * 17; 109 g = parseInt(colorStr.slice(2, 3), 16) * 17; 110 b = parseInt(colorStr.slice(3, 4), 16) * 17; 117 colorStr = colorStr.slice(5, -1); 123 colorStr = colorStr.slice( [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | utvideodec.c | 96 int i, j, slice, pix, ret; in decode_plane10() local 108 for (slice = 0; slice < c->slices; slice++) { in decode_plane10() 112 send = (height * (slice + 1) / c->slices); in decode_plane10() 133 for (slice = 0; slice < c->slices; slice++) { in decode_plane10() 138 send = (height * (slice + 1) / c->slices); in decode_plane10() 141 // slice offse in decode_plane10() 208 int i, j, slice, pix; decode_plane() local 360 int i, j, slice; restore_median_planar() local 412 int i, j, slice; restore_median_planar_il() local 467 int i, j, slice; restore_gradient_planar() local 508 int i, j, slice; restore_gradient_planar_il() local [all...] |
H A D | hq_hqa.c | 39 * For HQA it just happens that each slice is on every 8th macroblock, 124 int slice, start_off, next_off, i, ret; in hq_decode_frame() local 150 for (slice = 0; slice < profile->num_slices; slice++) { in hq_decode_frame() 152 next_off = profile->tab_h * (slice + 1) / profile->num_slices; in hq_decode_frame() 155 if (slice_off[slice] < (profile->num_slices + 1) * 3 || in hq_decode_frame() 156 slice_off[slice] >= slice_off[slice + 1] || in hq_decode_frame() 157 slice_off[slice in hq_decode_frame() 248 int i, slice, ret; hqa_decode_frame() local [all...] |
H A D | cbs_mpeg2.c | 212 MPEG2RawSlice *slice = unit->content; in cbs_mpeg2_read_unit() local 215 err = cbs_mpeg2_read_slice_header(ctx, &gbc, &slice->header); in cbs_mpeg2_read_unit() 225 slice->data_size = len - pos / 8; in cbs_mpeg2_read_unit() 226 slice->data_ref = av_buffer_ref(unit->data_ref); in cbs_mpeg2_read_unit() 227 if (!slice->data_ref) in cbs_mpeg2_read_unit() 229 slice->data = unit->data + pos / 8; in cbs_mpeg2_read_unit() 231 slice->data_bit_start = pos % 8; in cbs_mpeg2_read_unit() 297 MPEG2RawSlice *slice = unit->content; in cbs_mpeg2_write_slice() local 300 err = cbs_mpeg2_write_slice_header(ctx, pbc, &slice->header); in cbs_mpeg2_write_slice() 304 if (slice in cbs_mpeg2_write_slice() [all...] |
H A D | proresdec2.c | 350 av_log(avctx, AV_LOG_ERROR, "unsupported slice resolution: %dx%d\n", in decode_picture_header() 379 av_log(avctx, AV_LOG_ERROR, "error, wrong slice count\n"); in decode_picture_header() 383 // parse slice information in decode_picture_header() 392 SliceContext *slice = &ctx->slices[i]; in decode_picture_header() local 394 slice->data = data_ptr; in decode_picture_header() 400 slice->mb_x = mb_x; in decode_picture_header() 401 slice->mb_y = mb_y; in decode_picture_header() 402 slice->mb_count = slice_mb_count; in decode_picture_header() 403 slice->data_size = data_ptr - slice in decode_picture_header() 543 decode_slice_luma(AVCodecContext *avctx, SliceContext *slice, uint16_t *dst, int dst_stride, const uint8_t *buf, unsigned buf_size, const int16_t *qmat) decode_slice_luma() argument 577 decode_slice_chroma(AVCodecContext *avctx, SliceContext *slice, uint16_t *dst, int dst_stride, const uint8_t *buf, unsigned buf_size, const int16_t *qmat, int log2_blocks_per_mb) decode_slice_chroma() argument 647 SliceContext *slice = &ctx->slices[jobnr]; decode_slice_thread() local [all...] |
H A D | dxva2_vp9.c | 33 DXVA_Slice_VPx_Short slice; member 157 static void fill_slice_short(DXVA_Slice_VPx_Short *slice, in fill_slice_short() argument 160 memset(slice, 0, sizeof(*slice)); in fill_slice_short() 161 slice->BSNALunitDataLocation = position; in fill_slice_short() 162 slice->SliceBytesInBuffer = size; in fill_slice_short() 163 slice->wBadSliceChopping = 0; in fill_slice_short() 201 if (ctx_pic->slice.SliceBytesInBuffer > dxva_size) { in commit_bitstream_and_slice_buffer() 206 memcpy(dxva_data, ctx_pic->bitstream, ctx_pic->slice.SliceBytesInBuffer); in commit_bitstream_and_slice_buffer() 208 padding = FFMIN(128 - ((ctx_pic->slice in commit_bitstream_and_slice_buffer() [all...] |
/third_party/node/test/common/ |
H A D | tls.js | 38 this.client_writeKey = key_block.slice(0, 16); 39 this.client_writeIV = key_block.slice(32, 36); 83 const record = buf.slice(offset, 5); 85 const length = record.slice(3, 5).readUInt16BE(0); 87 let remaining = buf.slice(offset, offset + length); 94 return buf.slice(offset); 101 const server_random = buf.slice(6, 6 + 32); 107 const handshake = buf.slice(0, offset + length); 110 const remaining = buf.slice(offset); 115 const type = plain.slice( [all...] |
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd6_layout.c | 134 /* in layer_first layout, the level (slice) contains just one in fdl6_layout() 197 struct fdl_slice *slice = &layout->slices[level]; in fdl6_layout() local 217 slice->offset = offset + layout->size; in fdl6_layout() 226 slice->size0 = align(nblocksy * pitch, 4096); in fdl6_layout() 228 slice->size0 = min_3d_layer_size; in fdl6_layout() 231 slice->size0 = u_minify(layout->slices[0].size0, level * 2); in fdl6_layout() 238 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() 244 min_3d_layer_size = slice->size0 = nblocksy * pitch; in fdl6_layout() 247 if (align(slice->size0, 4096) != slice in fdl6_layout() [all...] |
H A D | fd5_layout.c | 52 /* in layer_first layout, the level (slice) contains just one in fdl5_layout() 65 struct fdl_slice *slice = &layout->slices[level]; in fdl5_layout() local 85 slice->offset = layout->size; in fdl5_layout() 95 slice->size0 = align(nblocksy * pitch, 4096); in fdl5_layout() 97 slice->size0 = layout->slices[level - 1].size0; in fdl5_layout() 100 slice->size0 = nblocksy * pitch; in fdl5_layout() 103 layout->size += slice->size0 * depth * layers_in_level; in fdl5_layout()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_image.c | 111 struct v3d_resource_slice *slice = &image->slices[i]; in v3d_setup_slices() local 136 slice->tiling = V3D_TILING_RASTER; in v3d_setup_slices() 142 slice->tiling = V3D_TILING_LINEARTILE; in v3d_setup_slices() 146 slice->tiling = V3D_TILING_UBLINEAR_1_COLUMN; in v3d_setup_slices() 150 slice->tiling = V3D_TILING_UBLINEAR_2_COLUMN; in v3d_setup_slices() 160 slice->ub_pad = v3d_get_ub_pad(image->cpp, level_height); in v3d_setup_slices() 161 level_height += slice->ub_pad * uif_block_h; in v3d_setup_slices() 169 slice->tiling = V3D_TILING_UIF_XOR; in v3d_setup_slices() 171 slice->tiling = V3D_TILING_UIF_NO_XOR; in v3d_setup_slices() 176 slice in v3d_setup_slices() 237 const struct v3d_resource_slice *slice = &image->slices[level]; v3dv_layer_offset() local 436 const struct v3d_resource_slice *slice = v3dv_GetImageSubresourceLayout() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
H A D | LayoutCommonTable.java | 41 return commonData.slice(start, limit - start); in scriptListData() 43 return commonData.slice(start); in scriptListData() 59 return commonData.slice(start, limit - start); in featureListData() 61 return commonData.slice(start); in featureListData() 77 return commonData.slice(start, limit - start); in lookupListData() 79 return commonData.slice(start); in lookupListData() 121 pos += serializedScriptListBuilder.subSerialize(newData.slice(pos)); in subSerialize() 123 pos += serializedFeatureListBuilder.subSerialize(newData.slice(pos)); in subSerialize() 125 pos += serializedLookupListBuilder.subSerialize(newData.slice(pos)); in subSerialize()
|
/third_party/rust/crates/rustix/tests/mm/ |
H A D | mmap.rs | 11 use std::slice; in test_mmap() 37 let slice = slice::from_raw_parts(addr.cast::<u8>(), 8192); in test_mmap() 38 assert_eq!(slice, &[b'a'; 8192]); in test_mmap() 65 use std::slice; in test_mmap_anonymous() 69 let slice = slice::from_raw_parts(addr.cast::<u8>(), 8192); in test_mmap_anonymous() 70 assert_eq!(slice, &[b'\0'; 8192]); in test_mmap_anonymous() 80 use std::slice; in test_mprotect() 88 let slice in test_mprotect() [all...] |
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_resource.c | 70 struct v3d_resource_slice *slice = &rsc->slices[i]; in v3d_debug_resource_layout() local 72 int level_width = slice->stride / rsc->cpp; in v3d_debug_resource_layout() 73 int level_height = slice->padded_height; in v3d_debug_resource_layout() 83 i, tiling_descriptions[slice->tiling], in v3d_debug_resource_layout() 90 slice->stride, in v3d_debug_resource_layout() 91 rsc->bo->offset + slice->offset); in v3d_debug_resource_layout() 123 struct v3d_resource_slice *slice = &rsc->slices[ptrans->level]; in v3d_resource_transfer_unmap() local 132 slice->stride, in v3d_resource_transfer_unmap() 137 slice->tiling, rsc->cpp, in v3d_resource_transfer_unmap() 138 slice in v3d_resource_transfer_unmap() 294 struct v3d_resource_slice *slice = &rsc->slices[level]; v3d_resource_transfer_map() local 352 struct v3d_resource_slice *slice = &rsc->slices[level]; v3d_texture_subdata() local 564 struct v3d_resource_slice *slice = &rsc->slices[i]; v3d_setup_slices() local 697 struct v3d_resource_slice *slice = &rsc->slices[level]; v3d_layer_offset() local 878 struct v3d_resource_slice *slice = &rsc->slices[0]; v3d_resource_from_handle() local 1056 struct v3d_resource_slice *slice = &rsc->slices[level]; v3d_create_surface() local [all...] |
/third_party/node/lib/ |
H A D | url.js | 217 rest += url.slice(lastPos, i); 236 rest = url.slice(start); 238 rest = url.slice(start, end); 242 rest += url.slice(lastPos); 245 rest += url.slice(lastPos, end); 259 this.query = querystring.parse(this.search.slice(1)); 261 this.query = this.search.slice(1); 277 rest = rest.slice(proto.length); 289 rest = rest.slice(2); 318 rest = rest.slice( [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_resource.c | 39 struct fdl_slice *slice = fd_resource_slice(rsc, level); in setup_slices() local 50 slice->offset = size; in setup_slices() 60 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices() 62 slice->size0 = align(nblocksy * pitch, alignment); in setup_slices() 64 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in setup_slices() 66 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in setup_slices()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnProgramDataManager.cpp | 46 GrDawnRingBuffer::Slice slice; in uploadUniformBuffers() local 47 slice = gpu->allocateUniformRingBufferSlice(fUniformSize); in uploadUniformBuffers() 48 gpu->queue().WriteBuffer(slice.fBuffer, slice.fOffset, fUniformData.get(), fUniformSize); in uploadUniformBuffers() 50 slice.fBuffer, slice.fOffset, in uploadUniformBuffers()
|
/third_party/rust/crates/clap/clap_derive/src/utils/ |
H A D | doc_comments.rs | 89 let slice = &lines[last_line..]; in split_paragraphs() 90 let start = slice.iter().position(|s| !is_blank(s)).unwrap_or(0); in split_paragraphs() 92 let slice = &slice[start..]; in split_paragraphs() 93 let len = slice in split_paragraphs() 96 .unwrap_or(slice.len()); in split_paragraphs() 101 Some(merge_lines(&slice[..len])) in split_paragraphs()
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
H A D | Blob-slice.any.js | 1 // META: title=Blob slice 7 return blobTemp.slice(); 11 desc: "no-argument Blob slice" 34 return new Blob().slice(0,0,null); 38 desc: "null type Blob slice" 42 return new Blob().slice(0,0,undefined); 46 desc: "undefined type Blob slice" 50 return new Blob().slice(0,0); 54 desc: "no type Blob slice" 169 ? blob.slice(expectation [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/ |
H A D | IceELFSectionTest.cpp | 52 EXPECT_EQ(Strtab.getSectionData().slice(pop_index, pop_index + pop_size), in CheckStringTablePermLayout() 54 EXPECT_EQ(Strtab.getSectionData().slice(lollipop_index, in CheckStringTablePermLayout() 57 EXPECT_EQ(Strtab.getSectionData().slice(pops_index, pops_index + pops_size), in CheckStringTablePermLayout() 60 Strtab.getSectionData().slice(unpop_index, unpop_index + unpop_size), in CheckStringTablePermLayout() 62 EXPECT_EQ(Strtab.getSectionData().slice(popular_index, in CheckStringTablePermLayout() 66 Strtab.getSectionData().slice(strtab_index, strtab_index + strtab_size), in CheckStringTablePermLayout() 68 EXPECT_EQ(Strtab.getSectionData().slice(shstrtab_index, in CheckStringTablePermLayout() 72 Strtab.getSectionData().slice(symtab_index, symtab_index + symtab_size), in CheckStringTablePermLayout()
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | argument.js | 26 this._name = name.slice(1, -1); 30 this._name = name.slice(1, -1); 38 if (this._name.length > 3 && this._name.slice(-3) === '...') { 40 this._name = this._name.slice(0, -3); 100 this.argChoices = values.slice();
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_resource.c | 39 /* in layer_first layout, the level (slice) contains just one in fd4_setup_slices() 58 struct fdl_slice *slice = fd_resource_slice(rsc, level); in fd4_setup_slices() local 62 slice->offset = size; in fd4_setup_slices() 71 slice->size0 = fd_resource_slice(rsc, level - 1)->size0; in fd4_setup_slices() 73 slice->size0 = align(nblocksy * pitch, alignment); in fd4_setup_slices() 75 size += slice->size0 * depth * layers_in_level; in fd4_setup_slices()
|