/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCommandList.cpp | 389 views[numViews].SizeInBytes = vertexBuffer->size(); in setVertexBuffers() 396 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers() 410 view.SizeInBytes = indexBuffer->size(); in setIndexBuffer()
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkMatrixConvolutionImageFilter.cpp | 42 size_t size = (size_t) sk_64_mul(fKernelSize.width(), fKernelSize.height()); in SkMatrixConvolutionImageFilter() local 43 fKernel = new SkScalar[size]; in SkMatrixConvolutionImageFilter() 44 memcpy(fKernel, kernel, size * sizeof(SkScalar)); in SkMatrixConvolutionImageFilter() 155 // by the size of a scalar to know how many scalars we can read. in MatrixConvolution() 403 // evaluating the FP, and the dst rect just uses the size of dstBounds. in onFilterImage()
|
/third_party/skia/src/gpu/ops/ |
H A D | TriangulatingPathRenderer.cpp | 112 size_t size = eagerCount * stride; variable 113 fVertexBuffer = fResourceProvider->createBuffer(size, GrGpuBufferType::kVertex, 298 sk_sp<GrGpuBuffer> buffer = rp->createBuffer(fVertexData->size(), in createNonAAMesh()
|
/third_party/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 84 drawRect.size() }; in create_data() 200 // Use GrResourceProvider::MakeApprox to implement our own approximate size matching, but demand in create_mask_GPU() 201 // a "SkBackingFit::kExact" size match on the actual render target. We do this because the in create_mask_GPU() 206 // event that MakeApprox does not change the size, reads outside the right and/or bottom will do in create_mask_GPU() 207 // the same. We should offset our filter within the render target and expand the size as needed in create_mask_GPU() 209 auto approxSize = GrResourceProvider::MakeApprox(maskRect.size()); in create_mask_GPU() 277 // compute bounds as intersection of rt size, clip, and path in get_shape_and_clip_bounds() 410 dContext, GrColorType::kAlpha_8, maskRect->size(), in hw_create_filtered_mask()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkImage.cpp | 242 this->setRealAllocSize(dimensions.height() * dimensions.width() * 4); // OH ISSUE: set real alloc size in GrVkImage() 390 VkDeviceSize size; in setImageLayoutAndQueueIndex() 391 VK_CALL(gpu, GetDeviceMemoryCommitment(gpu->device(), fInfo.fAlloc.fMemory, &size)); in setImageLayoutAndQueueIndex() 393 SkDebugf("Lazy Image. This: %p, image: %d, size: %d\n", this, fInfo.fImage, size); in setImageLayoutAndQueueIndex()
|
/third_party/openssl/ssl/statem/ |
H A D | statem.c | 505 static int grow_init_buf(SSL *s, size_t size) { in grow_init_buf() argument 509 if (!BUF_MEM_grow_clean(s->init_buf, (int)size)) in grow_init_buf() 512 if (size < msg_offset) in grow_init_buf()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | binary.cpp | 374 (inst_word_count == _.endian_converted_words.size())); 376 (_.endian_converted_words.size() == 1)); 394 inst.num_operands = uint16_t(_.operands.size());
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_add_function.cpp | 254 static_cast<uint32_t>(message_.instruction().size()); in TryToAddFunction() 696 static_cast<uint32_t>(loop_limiter_info.phi_id().size()) && in TryToAddLoopLimiters() 784 access_chain_clamping_info->compare_and_select_ids().size()) != in TryToClampAccessChainIndices() 817 // columns of matrix or the size of an array. in TryToClampAccessChainIndices()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | decoration_manager.cpp | 96 if (group_decorations_to_keep.size() == group_decorations.size() && in RemoveDecorationsFrom() 97 group_decorations.size() != 0) { in RemoveDecorationsFrom()
|
H A D | eliminate_dead_members_pass.cpp | 350 if (live_members.size() == inst->NumInOperands()) { in UpdateOpTypeStruct() 421 if (new_operands.size() == 1) { in UpdateOpGroupMemberDecorate() 475 for (uint32_t i = static_cast<uint32_t>(new_operands.size()); in UpdateAccessChain()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | binary.cpp | 374 (inst_word_count == _.endian_converted_words.size())); 376 (_.endian_converted_words.size() == 1)); 394 inst.num_operands = uint16_t(_.operands.size());
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_add_function.cpp | 254 static_cast<uint32_t>(message_.instruction().size()); in TryToAddFunction() 696 static_cast<uint32_t>(loop_limiter_info.phi_id().size()) && in TryToAddLoopLimiters() 784 access_chain_clamping_info->compare_and_select_ids().size()) != in TryToClampAccessChainIndices() 817 // columns of matrix or the size of an array. in TryToClampAccessChainIndices()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | decoration_manager.cpp | 96 if (group_decorations_to_keep.size() == group_decorations.size() && in RemoveDecorationsFrom() 97 group_decorations.size() != 0) { in RemoveDecorationsFrom()
|
H A D | eliminate_dead_members_pass.cpp | 350 if (live_members.size() == inst->NumInOperands()) { in UpdateOpTypeStruct() 421 if (new_operands.size() == 1) { in UpdateOpGroupMemberDecorate() 475 for (uint32_t i = static_cast<uint32_t>(new_operands.size()); in UpdateAccessChain()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | alpha_processing.c | 17 // Tables can be faster on some platform but incur some extra binary size (~2k). 347 uint8_t* WEBP_RESTRICT alpha, int size) { in ExtractGreen_C() 349 for (i = 0; i < size; ++i) alpha[i] = argb[i] >> 8; in ExtractGreen_C() 411 uint8_t* WEBP_RESTRICT alpha, int size); 346 ExtractGreen_C(const uint32_t* WEBP_RESTRICT argb, uint8_t* WEBP_RESTRICT alpha, int size) ExtractGreen_C() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | repattrn.cpp | 118 int32_t numSets = other.fSets->size(); in operator =() 233 for (i=1; i<fSets->size(); i++) { in zap() 863 for (index = 0; index<fCompiledPat->size(); index++) { in dumpPattern()
|
/third_party/skia/tests/ |
H A D | TypefaceTest.cpp | 35 dataCopy = SkData::MakeWithCopy(data->data(), data->size()); in TypefaceStyle_test() 513 REPORTER_ASSERT(reporter, data0->size() >= data1->size()); in check_serialize_behaviors()
|
H A D | WritePixelsTest.cpp | 421 const size_t size = info.computeByteSize(rowBytes); in DEF_TEST() local 422 void* pixels = sk_malloc_throw(size); in DEF_TEST() 425 memset(pixels, DEV_PAD, size); in DEF_TEST()
|
H A D | TextBlobTest.cpp | 378 const size_t idx = array->size(); in SerializeTypeface() 391 if (idx >= array->size()) { in DeserializeTypeface() 423 sk_sp<SkTextBlob> blob1 = SkTextBlob::Deserialize(data->data(), data->size(), deserializeProcs); in DEF_TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthStencilCopyTests.cpp | 50 texDescriptor.size = {width, height, 1}; in CreateDepthStencilTexture() 62 texDescriptor.size = {width, height, 1}; in CreateDepthTexture() 521 stencilData.size() * sizeof(uint8_t), &stencilDataLayout, &writeSize); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | SwapChainVk.cpp | 359 ASSERT(modeIndex < kPresentModeFallbacks.size()); in ChooseConfig() 430 // Vulkan has provisions to have surfaces that adapt to the swapchain size. If that's in ChooseConfig() 618 textureDesc.size.width = mConfig.extent.width; in GetCurrentTextureViewInternal() 619 textureDesc.size.height = mConfig.extent.height; in GetCurrentTextureViewInternal()
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | rtp-gstreamer.c | 642 data_len += info.size; in pa_rtp_recv() 675 memcpy(data, info.data, info.size); in pa_rtp_recv() 676 data += info.size; in pa_rtp_recv()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | LoopCacheAnalysis.cpp | 63 assert(Loops.size() == 1 && "Expecting a single loop"); in getInnerMostLoop() 170 // size. 341 Subscripts.size() != Sizes.size()) { 393 // ...and the access stride is less than the cache line size.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopLoadElimination.cpp | 406 LLVM_DEBUG(dbgs() << "\nPointer Checks (count: " << Checks.size() 527 if (Checks.size() > Candidates.size() * CheckPerElim) { 553 "for size.\n");
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
H A D | NaClBitstreamReader.h | 410 // The size of the bitcode. 0 if we don't know it yet. 415 /// follow the word size of the host machine for efficiency. We use word_t in 433 NumGlobalAbbrevs(GlobalAbbrevs->getAbbrevs().getVector().size()), in Block() 437 NumGlobalAbbrevs(GlobalAbbrevs->getAbbrevs().getVector().size()), in Block() 473 // This is the declared size of code values used for the current block, in 730 // Read a VBR that may have a value up to 64-bits in size. The chunk size of 869 if (LocalAbbrevNo >= LocalAbbrevs.size()) in getAbbrev()
|