/third_party/typescript/tests/baselines/reference/ |
H A D | declarationsAndAssignments.js | 333 var a3 = v.slice(0);
334 var x = v[0], a2 = v.slice(1);
335 var x = v[0], y = v[1], a1 = v.slice(2);
336 var x = v[0], y = v[1], z = v[2], a0 = v.slice(3);
337 a3 = v.slice(0);
338 x = v[0], a2 = v.slice(1);
339 x = v[0], y = v[1], a1 = v.slice(2);
340 x = v[0], y = v[1], z = v[2], a0 = v.slice(3);
350 var a0 = v.slice(0);
351 var x = v[0], a1 = v.slice( [all...] |
H A D | controlFlowWithIncompleteTypes.js | 10 x = x.slice(); 25 x = x.slice(); 36 x = x.slice();
50 x = x.slice();
|
H A D | sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js | 87 numberB = robotB[0], robotAInfo = robotB.slice(1);
88 _m = getRobotB(), numberB = _m[0], robotAInfo = _m.slice(1);
89 _o = [2, "trimmer", "trimming"], numberB = _o[0], robotAInfo = _o.slice(1);
90 multiRobotAInfo = multiRobotA.slice(0);
91 multiRobotAInfo = getMultiRobotB().slice(0);
92 multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0);
|
/third_party/node/test/fixtures/wpt/resources/ |
H A D | check-layout-th.js | 140 actualPaddingTop = actualPaddingTop.slice(0, -2); 148 actualPaddingBottom = actualPaddingBottom.slice(0, -2); 156 actualPaddingLeft = actualPaddingLeft.slice(0, -2); 164 actualPaddingRight = actualPaddingRight.slice(0, -2); 172 actualMarginTop = actualMarginTop.slice(0, -2); 180 actualMarginBottom = actualMarginBottom.slice(0, -2); 188 actualMarginLeft = actualMarginLeft.slice(0, -2); 196 actualMarginRight = actualMarginRight.slice(0, -2); 214 nodes = Array.prototype.slice.call(nodes);
|
/third_party/node/test/parallel/ |
H A D | test-buffer-alloc.js | 148 // ASCII slice test 172 const sliceA = b.slice(offset, offset + asciiString.length); 173 const sliceB = b.slice(offset, offset + asciiString.length); 179 // UTF-8 slice test 194 const sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String)); 195 const sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String)); 202 const slice = b.slice(100, 150); 203 assert.strictEqual(slice.length, 50); 205 assert.strictEqual(b[100 + i], slice[ [all...] |
H A D | test-blob.js | 40 const c = b.slice(); 119 const c = b.slice(1, -1, 'foo'); 125 const d = c.slice(1, -1); 130 const e = d.slice(1, -1); 135 const f = e.slice(1, -1); 140 const g = f.slice(1, -1); 146 const h = b.slice(-1, 1); 149 const i = b.slice(1, 100); 152 const j = b.slice(1, 2, false); 195 'slice', [all...] |
/kernel/linux/linux-6.6/drivers/hid/surface-hid/ |
H A D | surface_hid.c | 45 struct surface_hid_buffer_slice *slice; in ssam_hid_get_descriptor() local 70 slice = (struct surface_hid_buffer_slice *)buffer; in ssam_hid_get_descriptor() 71 slice->entry = entry; in ssam_hid_get_descriptor() 72 slice->end = 0; in ssam_hid_get_descriptor() 77 while (!slice->end && offset < len) { in ssam_hid_get_descriptor() 78 put_unaligned_le32(offset, &slice->offset); in ssam_hid_get_descriptor() 79 put_unaligned_le32(length, &slice->length); in ssam_hid_get_descriptor() 84 sizeof(*slice)); in ssam_hid_get_descriptor() 88 offset = get_unaligned_le32(&slice->offset); in ssam_hid_get_descriptor() 89 length = get_unaligned_le32(&slice in ssam_hid_get_descriptor() [all...] |
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
H A D | hosts.js | 59 committish = url.hash.slice(1) 63 project = project.slice(0, -4) 91 project = project.slice(0, -4) 98 return { user, project, committish: url.hash.slice(1) } 113 const path = url.pathname.slice(1) 121 project = project.slice(0, -4) 129 return { user, project, committish: url.hash.slice(1) } 181 project = project.slice(0, -4) 184 return { user, project, committish: url.hash.slice(1) } 212 project = project.slice( [all...] |
/third_party/node/test/addons/buffer-free-callback/ |
H A D | test.js | 9 let slice = buf.slice(size >>> 1); 12 binding.check(slice); 13 slice = null;
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
H A D | Blob-slice-overflow.any.js | 1 // META: title=Blob slice overflow 12 var sliceBlob = blob.slice(-1, blob.size); 13 assert_equals(sliceBlob.size, 1, "Blob slice size"); 14 }, "slice start is negative, relativeStart will be max((size + start), 0)"); 18 var sliceBlob = blob.slice(blob.size + 1, blob.size); 19 assert_equals(sliceBlob.size, 0, "Blob slice size"); 20 }, "slice start is greater than blob size, relativeStart will be min(start, size)"); 24 var sliceBlob = blob.slice(blob.size - 2, -1); 25 assert_equals(sliceBlob.size, 1, "Blob slice size"); 26 }, "slice en [all...] |
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | util.js | 26 var slice; 28 slice = bytes.slice(index, Math.min(index + CHUNK_SIZE, length)); 29 result += String.fromCharCode.apply(null, slice);
|
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | unicode.rs | 825 /// The slice returned is guaranteed to be valid UTF-8 for all possible values 826 /// of `slice`. 829 fn symbolic_name_normalize_bytes(slice: &mut [u8]) -> &mut [u8] { in symbolic_name_normalize_bytes() 835 if slice.len() >= 2 { in symbolic_name_normalize_bytes() 837 starts_with_is = slice[0..2] == b"is"[..] in symbolic_name_normalize_bytes() 838 || slice[0..2] == b"IS"[..] in symbolic_name_normalize_bytes() 839 || slice[0..2] == b"iS"[..] in symbolic_name_normalize_bytes() 840 || slice[0..2] == b"Is"[..]; in symbolic_name_normalize_bytes() 846 for i in start..slice.len() { in symbolic_name_normalize_bytes() 847 // VALIDITY ARGUMENT: To guarantee that the resulting slice i in symbolic_name_normalize_bytes() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/ |
H A D | IndexSubTableFormat2.java | 45 return new BigGlyphMetrics(this.data.slice(Offset.indexSubTable2_bigGlyphMetrics.offset, in bigMetrics() 77 return new Builder(data.slice(indexSubTableOffset, length), firstGlyphIndex, lastGlyphIndex); in createBuilder() 83 return new Builder(data.slice(indexSubTableOffset, length), firstGlyphIndex, lastGlyphIndex); in createBuilder() 132 this.internalWriteData().slice(Offset.indexSubTable2_bigGlyphMetrics.offset, in bigMetrics() 203 size += this.internalReadData().slice(size).copyTo(newData.slice(size)); in subSerialize() 206 size += this.metrics.subSerialize(newData.slice(size)); in subSerialize()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu.h | 33 /* For each slice, which subslice(s) has(have) 7 EUs (bitfield)? */ 72 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument 80 mask = sseu->subslice_mask[slice * sseu->ss_stride + ss_idx]; in intel_sseu_has_subslice() 92 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice); 94 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice); 96 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice,
|
/third_party/ffmpeg/libavcodec/ |
H A D | h264_redundant_pps_bsf.c | 65 H264RawSliceHeader *slice) in h264_redundant_pps_fixup_slice() 68 const H264RawPPS *const pps = in->pps[slice->pic_parameter_set_id]; in h264_redundant_pps_fixup_slice() 72 slice->slice_qp_delta += pps->pic_init_qp_minus26 in h264_redundant_pps_fixup_slice() 106 H264RawSlice *slice = nal->content; in h264_redundant_pps_update_fragment() local 107 h264_redundant_pps_fixup_slice(ctx, &slice->header); in h264_redundant_pps_update_fragment() 64 h264_redundant_pps_fixup_slice(H264RedundantPPSContext *ctx, H264RawSliceHeader *slice) h264_redundant_pps_fixup_slice() argument
|
H A D | texturedsp_template.c | 24 int slice, int thread_nb) in TEXTUREDSP_FUNC_NAME() 38 start_slice = slice * base_blocks_per_slice; in TEXTUREDSP_FUNC_NAME() 39 /* Add any extra blocks (one per slice) that have been added before this slice */ in TEXTUREDSP_FUNC_NAME() 40 start_slice += FFMIN(slice, remainder_blocks); in TEXTUREDSP_FUNC_NAME() 44 if (slice < remainder_blocks) in TEXTUREDSP_FUNC_NAME() 23 TEXTUREDSP_FUNC_NAME(AVCodecContext *avctx, void *arg, int slice, int thread_nb) TEXTUREDSP_FUNC_NAME() argument
|
H A D | dxva2_hevc.c | 230 static void fill_slice_short(DXVA_Slice_HEVC_Short *slice, in fill_slice_short() argument 233 memset(slice, 0, sizeof(*slice)); in fill_slice_short() 234 slice->BSNALunitDataLocation = position; in fill_slice_short() 235 slice->SliceBytesInBuffer = size; in fill_slice_short() 236 slice->wBadSliceChopping = 0; in fill_slice_short() 247 DXVA_Slice_HEVC_Short *slice = NULL; in commit_bitstream_and_slice_buffer() local 257 /* Create an annex B bitstream buffer with only slice NAL and finalize slice */ in commit_bitstream_and_slice_buffer() 287 slice in commit_bitstream_and_slice_buffer() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mpegvideodec.c | 40 int pic=0, seq=0, slice=0, pspack=0, vpes=0, apes=0, res=0, sicle=0; in mpegvideo_probe() local 72 if (code >= last) slice++; in mpegvideo_probe() 75 if (code == SLICE_START_CODE) slice++; in mpegvideo_probe() 84 if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack && !apes && !res && slice > sicle) { in mpegvideo_probe()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | utsname.rs | 55 fn cast_and_trim(slice: &[c_char]) -> &OsStr { in cast_and_trim() 56 let length = slice in cast_and_trim() 59 .unwrap_or(slice.len()); in cast_and_trim() 61 unsafe { std::slice::from_raw_parts(slice.as_ptr().cast(), length) }; in cast_and_trim()
|
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | parse.js | 36 unparsedAttributes = header.slice(position.position) 62 value = nameValuePair.slice(position.position + 1) 100 unparsedAttributes = unparsedAttributes.slice(1) 114 unparsedAttributes = unparsedAttributes.slice(cookieAv.length) 142 attributeValue = cookieAv.slice(position.position + 1) 228 cookieDomain = cookieDomain.slice(1)
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_resource.c | 41 struct fdl_slice *slice = fd_resource_slice(rsc, level); in fd2_setup_slices() local 49 slice->offset = size; in fd2_setup_slices() 50 slice->size0 = align(pitch * nblocksy, 4096); in fd2_setup_slices() 52 size += slice->size0 * u_minify(prsc->depth0, level) * prsc->array_size; in fd2_setup_slices()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 68 int slice = (int)(uintptr_t)attr->private; in i915_l3_read() local 80 if (i915->l3_parity.remap_info[slice]) in i915_l3_read() 82 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), in i915_l3_read() 96 int slice = (int)(uintptr_t)attr->private; in i915_l3_write() local 114 if (i915->l3_parity.remap_info[slice]) { in i915_l3_write() 116 remap_info = i915->l3_parity.remap_info[slice]; in i915_l3_write() 118 i915->l3_parity.remap_info[slice] = remap_info; in i915_l3_write() 126 ctx->remap_slice |= BIT(slice); in i915_l3_write() 249 "l3 parity slice 1 setup failed\n"); in i915_setup_sysfs()
|
/third_party/node/deps/npm/node_modules/function-bind/test/ |
H A D | index.js | 29 args = Array.prototype.slice.call(arguments); 43 args = Array.prototype.slice.call(arguments); 57 args = Array.prototype.slice.call(arguments); 71 args = Array.prototype.slice.call(arguments); 124 args = Array.prototype.slice.call(arguments); 139 args = Array.prototype.slice.call(arguments); 154 args = Array.prototype.slice.call(arguments); 170 args = Array.prototype.slice.call(arguments);
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
H A D | GlyphStripper.java | 88 WritableFontData newGlyfSlice = newGlyf.slice(newGlyfOffset, headerAndNumberOfContoursSize); in writeHeaderAndContoursSize() 90 originalGlyfData.slice(glyphOffset, headerAndNumberOfContoursSize).copyTo(newGlyfSlice); in writeHeaderAndContoursSize() 101 ReadableFontData originalGlyfSlice = originalGlyfData.slice(glyphOffset, length); in writeEndSimpleGlyph() 102 WritableFontData newGlyfSlice = newGlyf.slice(newGlyfOffset, length); in writeEndSimpleGlyph() 112 ReadableFontData originalGlyphSlice = glyph.readFontData().slice(0, dataLength); in stripCompositeGlyph() 121 private void overrideCompositeGlyfFlags(WritableFontData slice, int dataLength) { in overrideCompositeGlyfFlags() argument 125 flags = slice.readUShort(index); in overrideCompositeGlyfFlags() 127 slice.writeUShort(index, flags); in overrideCompositeGlyfFlags()
|
/third_party/protobuf/js/experimental/runtime/ |
H A D | int64.js | 89 assert(value.slice(0, 2) == '0x' || value.slice(0, 3) == '-0x'); 92 value = value.slice(minus ? 3 : 2); 93 const lowBits = parseInt(value.slice(-8), 16); 94 const highBits = parseInt(value.slice(-16, -8) || '', 16); 300 return '0000000'.slice(partial.length) + partial; 329 dec = dec.slice(1); 340 const digit1e6 = Number(dec.slice(begin, end));
|