/third_party/python/Lib/test/ |
H A D | test_range.py | 334 # Test use of user-defined classes in slice indices. 540 i = slice(start, stop, step) 602 r = range(*slice(1, 18, 2).indices(20))
|
/third_party/python/Python/ |
H A D | ast_opt.c | 560 idx = node->v.Subscript.slice; in fold_subscr() 789 CALL(astfold_expr, expr_ty, node_->v.Subscript.slice); in astfold_expr()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
H A D | RewriteRowMajorMatrices.cpp | 329 TIntermSequence slice(sliceStart, sliceStart + arraySizes[0]); in constructReadTransformExpressionHelper() 331 return TIntermAggregate::CreateConstructor(*transformedType, &slice); in constructReadTransformExpressionHelper()
|
/third_party/ffmpeg/libswscale/ |
H A D | swscale.c | 278 SwsSlice *src_slice = &c->slice[lumStart]; in swscale() 279 SwsSlice *hout_slice = &c->slice[c->numSlice-2]; in swscale() 280 SwsSlice *vout_slice = &c->slice[c->numSlice-1]; in swscale() 427 // Do we have enough lines in this slice to output the dstY line in swscale() 434 DEBUG_BUFFERS("buffering slice: lastLumSrcY %d lastChrSrcY %d\n", in swscale() 477 break; // we can't output a dstY line so let's try with the next slice in swscale() 925 // do not mess up sliceDir if we have a "trailing" 0-size slice in scale_internal() 1020 // for dst slice scaling, offset the pointers to match the unscaled API in scale_internal() 1065 /* reset slice direction at end of frame */ in scale_internal()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_gmem.c | 91 struct fdl_slice *slice = NULL; in emit_mrt() local 106 slice = fd_resource_slice(rsc, psurf->u.tex.level); in emit_mrt() 124 assert((offset + slice->size0) <= fd_bo_size(rsc->bo)); in emit_mrt()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_resource.c | 1391 struct fdl_slice *slice = fd_resource_slice(rsc, 0); in fd_resource_from_handle() local 1409 slice->offset = handle->offset; in fd_resource_from_handle() 1410 slice->size0 = handle->stride * prsc->height0; in fd_resource_from_handle()
|
/third_party/node/deps/undici/src/lib/ |
H A D | client.js | 690 this.onUpgrade(data.slice(offset)) 693 socket.unshift(data.slice(offset)) 705 throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset))
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | parse.rs | 1162 if let RustType::Slice(slice) = ty.elem.as_ref() { in parse_type_reference() 1163 let inner = parse_type(&slice.elem)?; in parse_type_reference() 1164 let bracket = slice.bracket_token; in parse_type_reference()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | parse.rs | 1162 if let RustType::Slice(slice) = ty.elem.as_ref() { in parse_type_reference() 1163 let inner = parse_type(&slice.elem)?; in parse_type_reference() 1164 let bracket = slice.bracket_token; in parse_type_reference()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | parse.rs | 1162 if let RustType::Slice(slice) = ty.elem.as_ref() { in parse_type_reference() 1163 let inner = parse_type(&slice.elem)?; in parse_type_reference() 1164 let bracket = slice.bracket_token; in parse_type_reference()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | parse.rs | 1162 if let RustType::Slice(slice) = ty.elem.as_ref() { in parse_type_reference() 1163 let inner = parse_type(&slice.elem)?; in parse_type_reference() 1164 let bracket = slice.bracket_token; in parse_type_reference()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | MCAsmStreamer.cpp | 410 ExplicitCommentToEmit.append(c.slice(2, c.size()).str()); in addExplicitComment() 418 ExplicitCommentToEmit.append(c.slice(p, newp).str()); in addExplicitComment() 431 ExplicitCommentToEmit.append(c.slice(1, c.size()).str()); in addExplicitComment()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | parse.rs | 1162 if let RustType::Slice(slice) = ty.elem.as_ref() { in parse_type_reference() 1163 let inner = parse_type(&slice.elem)?; in parse_type_reference() 1164 let bracket = slice.bracket_token; in parse_type_reference()
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | fair.c | 67 * and have no persistent notion like in traditional, time-slice 162 * Note: in the case that the slice exceeds the runtime remaining (either due 163 * to consumption or the quota being specified to be smaller than the slice) 735 * We calculate the wall-time slice from the period by taking a part 743 u64 slice; in sched_slice() local 749 slice = fair_sched_period(nr_running + !se->on_rq); in sched_slice() 764 slice = fair_calc_delta(slice, se->load.weight, load); in sched_slice() 768 slice = max(slice, (u6 in sched_slice() 5353 u64 runtime = 0, slice = sched_cfs_bandwidth_slice(); do_sched_cfs_slack_timer() local 5697 u64 slice = sched_slice(cfs_rq, se); hrtick_start_fair() local [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | fair.c | 59 * and have no persistent notion like in traditional, time-slice 152 * Note: in the case that the slice exceeds the runtime remaining (either due 153 * to consumption or the quota being specified to be smaller than the slice) 725 * We calculate the wall-time slice from the period by taking a part 733 u64 slice; in sched_slice() local 738 slice = __sched_period(nr_running + !se->on_rq); in sched_slice() 753 slice = __calc_delta(slice, se->load.weight, load); in sched_slice() 757 slice = max(slice, (u6 in sched_slice() 5394 u64 runtime = 0, slice = sched_cfs_bandwidth_slice(); do_sched_cfs_slack_timer() local 5705 u64 slice = sched_slice(cfs_rq, se); hrtick_start_fair() local [all...] |
/third_party/node/deps/undici/ |
H A D | undici.js | 1462 actualValue = actualValue.slice(0, -2); 1464 actualValue = actualValue.slice(0, -1); 2920 data = data.slice(r); 2976 this.emit("trailer", data.slice(start + i, end)); 3014 shouldWriteMore = this._part.push(data.slice(start, end)); 3022 r = this._hparser.push(data.slice(start, end)); 3792 path = path.slice(i + 1); 3983 file.push(data.slice(0, extralen)); 4574 input = input.slice(5); 4587 const encodedBody = input.slice(mimeTypeLengt [all...] |
/third_party/python/Modules/_ctypes/ |
H A D | _ctypes.c | 3188 * Set a slice in object 'dst', which has the type 'type', 3895 /* Trivial cases, where we either return inargs itself, or a slice of it. */ in _build_callargs() 5265 PySliceObject *slice = (PySliceObject *)item; in Pointer_subscript() local 5275 slicing, we have to dissect the slice object ourselves.*/ in Pointer_subscript() 5276 if (slice->step == Py_None) { in Pointer_subscript() 5280 step = PyNumber_AsSsize_t(slice->step, in Pointer_subscript() 5286 "slice step cannot be zero"); in Pointer_subscript() 5290 if (slice->start == Py_None) { in Pointer_subscript() 5293 "slice start is required " in Pointer_subscript() 5300 start = PyNumber_AsSsize_t(slice in Pointer_subscript() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 624 PixelBufferAccess getSliceAccess (int slice) { return getSliceAccessInternal(slice); } in getSliceAccess() argument 628 ConstPixelBufferAccess getSliceAccess (int slice) const { return getSliceAccessInternal(slice); } in getSliceAccess() 637 PixelBufferAccess getSliceAccessInternal (int slice) const; 717 PixelBufferAccess LayeredImage::getSliceAccessInternal (int slice) const in getSliceAccessInternal() 720 return tcu::getSubregion(srcAccess, 0, 0, slice, srcAccess.getWidth(), srcAccess.getHeight(), 1); in getSliceAccessInternal() 837 //! Base for a functor for verifying and logging a 2d texture layer (2d image, cube face, 3d slice, 2d layer). 1104 //! An ImageLayerVerifier that simply compares the result slice to a slice i [all...] |
/foundation/filemanagement/user_file_service/interfaces/kits/picker/ |
H A D | picker.js | 188 let lastLetter = fileName.slice(-1);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUBinary.java | 700 * Same as ByteBuffer.slice() plus preserving the byte order. 703 ByteBuffer b = bytes.slice(); in sliceWithOrder()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUBinary.java | 705 * Same as ByteBuffer.slice() plus preserving the byte order. 708 ByteBuffer b = bytes.slice(); in sliceWithOrder()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
H A D | p_video_state.h | 340 /* slice header */ 405 /** Starting MB address for this slice. */ 407 /** Number of macroblocks in this slice. */ 409 /** slice type. */ 522 struct pipe_h265_enc_slice_param slice; member
|
/third_party/node/test/parallel/ |
H A D | test-crypto-authenticated.js | 489 c.update(msg.slice(1));
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | nodes.py | 773 """Represents a slice object. This must only be used as argument for 787 return slice(const(self.start), const(self.stop), const(self.step))
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | nodes.py | 741 """Represents a slice object. This must only be used as argument for 752 return slice(const(self.start), const(self.stop), const(self.step))
|