Home
last modified time | relevance | path

Searched refs:slice (Results 826 - 850 of 1073) sorted by relevance

1...<<31323334353637383940>>...43

/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
H A Dhash_test.cc849 friend H AbslHashValue(H hash_state, const ArraySlice& slice) { in AbslHashValue()
850 for (auto t = slice.begin; t != slice.end; ++t) { in AbslHashValue()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dmod.rs23 use std::slice;
2105 let slice = slice::from_raw_parts(ptr as *const u8, len as usize); in ia5_string()
2109 str::from_utf8(slice).ok() in ia5_string()
2158 Some(slice::from_raw_parts(ptr as *const u8, len as usize)) in ipaddress()
/third_party/rust/crates/nix/src/sys/socket/
H A Daddr.rs39 use std::{fmt, mem, net, ptr, slice};
787 let name = slice::from_raw_parts(
794 slice::from_raw_parts(sun.sun_path.as_ptr() as *const u8, path_len);
/third_party/ffmpeg/libavcodec/
H A Dmss2.c244 int keyframe, int kf_slipt, int slice, int w, int h) in decode_rle()
274 if (slice > 0) { in decode_rle()
242 decode_rle(GetBitContext *gb, uint8_t *pal_dst, ptrdiff_t pal_stride, uint8_t *rgb_dst, ptrdiff_t rgb_stride, uint32_t *pal, int keyframe, int kf_slipt, int slice, int w, int h) decode_rle() argument
/third_party/jinja2/
H A Dnodes.py876 """Represents a slice object. This must only be used as argument for
885 def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> slice:
893 return slice(const(self.start), const(self.stop), const(self.step))
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_image.c760 const struct fdl_slice *slice = layout->slices + pSubresource->mipLevel; in tu_GetImageSubresourceLayout() local
766 pLayout->depthPitch = slice->size0; in tu_GetImageSubresourceLayout()
/third_party/node/lib/
H A Dassert.js198 code += decoder.write(buffer.slice(0, bytesRead));
237 const code = decoder.write(buffer.slice(i + 1, bytesRead));
H A Dzlib.js477 const out = buffer.slice(offset, offset + have);
565 const out = self._outBuffer.slice(self._outOffset, self._outOffset + have);
/third_party/node/test/parallel/
H A Dtest-readline-promises-interface.js212 const expectedHistory = expectedLines.slice(0, history.length).reverse();
394 rli, expectedLines.length - 1, expectedLines.slice(-1)[0].length);
/third_party/node/test/common/
H A Dwpt.js95 result.test = url.href.slice(url.origin.length);
753 test.name = `${title}${test.name.slice(8)}`;
/third_party/python/Include/internal/
H A Dpycore_ast.h459 expr_ty slice; member
780 expr_ty _PyAST_Subscript(expr_ty value, expr_ty slice, expr_context_ty ctx, int
/third_party/python/Objects/
H A Drangeobject.c343 PySliceObject *slice = (PySliceObject *) _slice; in compute_slice() local
349 error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step); in compute_slice()
/third_party/python/Lib/
H A Dcalendar.py62 if isinstance(i, slice):
81 if isinstance(i, slice):
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBlitter.cpp271 uint8_t *slice = (uint8_t *)dest->getTexelPointer( in fastClear() local
276 uint8_t *d = slice; in fastClear()
308 slice += slicePitchBytes; in fastClear()
1981 // To support other resolve modes, get the slice bytes and get a pointer to each sample plane. in resolveDepth()
2012 // To support other resolve modes, use src->slicePitchBytes() and get a pointer to each sample's slice. in resolveStencil()
2148 int slice = src->slicePitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, region.srcSubresource.mipLevel); in fastResolve() local
2151 uint8_t *source1 = source0 + slice; in fastResolve()
2152 uint8_t *source2 = source1 + slice; in fastResolve()
2153 uint8_t *source3 = source2 + slice; in fastResolve()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_resource.c492 struct pan_image_slice_layout *slice = &pres->image.layout.slices[l]; in panfrost_resource_init_afbc_headers() local
497 slice->offset + in panfrost_resource_init_afbc_headers()
498 (s * slice->afbc.surface_stride); in panfrost_resource_init_afbc_headers()
504 memset(ptr, 0, slice->afbc.header_size); in panfrost_resource_init_afbc_headers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DFunction.cpp547 /// Returns the relevant slice of \c IntrinsicNameTable
970 Infos = Infos.slice(1); in DecodeFixedType()
1152 Infos = Infos.slice(1); in matchIntrinsicType()
1254 Infos = Infos.slice(1); in matchIntrinsicType()
1401 Infos = Infos.slice(1); in matchIntrinsicVarArg()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DBufferZeroInitTests.cpp150 for (uint32_t slice = 0; slice < spec.textureSize.depthOrArrayLayers; ++slice) { in TestBufferZeroInitInCopyTextureToBuffer()
152 spec.bufferOffset + spec.bytesPerRow * spec.rowsPerImage * slice; in TestBufferZeroInitInCopyTextureToBuffer()
/third_party/python/Python/
H A Dinitconfig.c2686 PyWideStringList slice; in config_update_argv() local
2687 slice.length = cmdline_argv->length - opt_index; in config_update_argv()
2688 slice.items = &cmdline_argv->items[opt_index]; in config_update_argv()
2689 if (_PyWideStringList_Copy(&config_argv, &slice) < 0) { in config_update_argv()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DVirtualFileSystem.cpp1465 Trimmed = Trimmed.slice(0, Trimmed.size() - 1); in parseEntry()
1945 return Path.slice(Parent.size() + 1, StringRef::npos); in containedPart()
2009 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
2014 for (const auto &Entry : Entries.slice(1)) { in write()
2031 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc998 // Delete a slice from a repeated field.
1005 PyObject* slice) { in DeleteRepeatedField()
1012 if (PySlice_Check(slice)) { in DeleteRepeatedField()
1016 reinterpret_cast<PySliceObject*>(slice), in DeleteRepeatedField()
1020 slice, in DeleteRepeatedField()
1031 from = to = PyLong_AsLong(slice); in DeleteRepeatedField()
1002 DeleteRepeatedField( CMessage* self, const FieldDescriptor* field_descriptor, PyObject* slice) DeleteRepeatedField() argument
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
H A Dapi.js86 arguments_ = process["argv"].slice(2);
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Devergreen_state.c1039 unsigned slice; member
1108 color->slice = 0; /* (width_elements / 64) - 1;*/ in evergreen_set_color_surface_buffer()
1125 unsigned pitch, slice; in evergreen_set_color_surface_common() local
1141 slice = (rtex->surface.u.legacy.level[level].nblk_x * rtex->surface.u.legacy.level[level].nblk_y) / 64; in evergreen_set_color_surface_common()
1142 if (slice) { in evergreen_set_color_surface_common()
1143 slice = slice - 1; in evergreen_set_color_surface_common()
1278 color->slice = S_028C68_SLICE_TILE_MAX(slice); in evergreen_set_color_surface_common()
1285 color->fmask_slice = S_028C88_TILE_MAX(slice); in evergreen_set_color_surface_common()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.cpp3503 static inline ConstPixelBufferAccess getCubeArrayFaceAccess (const ConstPixelBufferAccess* const levels, int levelNdx, int slice, CubeFace face)
3506 const int depth = (slice * 6) + getCubeArrayFaceIndex(face);
3511 static Vec4 sampleCubeArraySeamless (const ConstPixelBufferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float s, float t, float lod)
3513 const int faceDepth = (slice * 6) + getCubeArrayFaceIndex(face);
3526 faceAccesses[i] = getCubeArrayFaceAccess(levels, 0, slice, (CubeFace)i);
3546 faceAccesses[i] = getCubeArrayFaceAccess(levels, level, slice, (CubeFace)i);
3576 faceAccesses0[i] = getCubeArrayFaceAccess(levels, level0, slice, (CubeFace)i);
3577 faceAccesses1[i] = getCubeArrayFaceAccess(levels, level1, slice, (CubeFace)i);
3593 static float sampleCubeArraySeamlessCompare (const ConstPixelBufferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampler& sampler, float ref, float s, float t, float lod)
3595 const int faceDepth = (slice *
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc1024 Handle<SlicedString> slice = Handle<SlicedString>::cast(str); in NewProperSubString() local
1025 str = Handle<String>(slice->parent(), isolate()); in NewProperSubString()
1026 offset += slice->offset(); in NewProperSubString()
1037 SlicedString slice = SlicedString::cast(New(map, AllocationType::kYoung)); in NewProperSubString() local
1039 slice.set_raw_hash_field(String::kEmptyHashField); in NewProperSubString()
1040 slice.set_length(length); in NewProperSubString()
1041 slice.set_parent(*str); in NewProperSubString()
1042 slice.set_offset(offset); in NewProperSubString()
1043 return handle(slice, isolate()); in NewProperSubString()
/third_party/python/Lib/test/
H A Dtest_ast.py264 # TODO: expr_context, slice, boolop, operator, unaryop, cmpop, comprehension
375 slc = ast.parse("x[::]").body[0].value.slice
2148 self._check_content(s1, i1.value.slice, '1, 2')
2149 self._check_content(s2, i2.slice.lower, 'a.b')
2150 self._check_content(s2, i2.slice.upper, 'c.d')
2151 self._check_content(sm, im.slice.elts[0].upper, 'f ()')
2152 self._check_content(sm, im.slice.elts[1].lower, 'g ()')

Completed in 102 milliseconds

1...<<31323334353637383940>>...43