Home
last modified time | relevance | path

Searched refs:srcSize (Results 76 - 100 of 110) sorted by relevance

12345

/third_party/node/deps/icu-small/source/common/
H A Dubiditransform.cpp84 uint32_t srcSize; /* input text capacity excluding the trailing zero */ member
230 if (newSize > pTransform->srcSize) { in updateSrc()
239 //pTransform->srcLength = pTransform->srcSize = 0; in updateSrc()
242 pTransform->srcSize = newSize; in updateSrc()
246 pTransform->srcSize, newLength, pErrorCode); in updateSrc()
/third_party/skia/third_party/externals/icu/source/common/
H A Dubiditransform.cpp84 uint32_t srcSize; /* input text capacity excluding the trailing zero */ member
230 if (newSize > pTransform->srcSize) { in updateSrc()
239 //pTransform->srcLength = pTransform->srcSize = 0; in updateSrc()
242 pTransform->srcSize = newSize; in updateSrc()
246 pTransform->srcSize, newLength, pErrorCode); in updateSrc()
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dhuf_decompress.c162 static size_t HUF_DecompressAsmArgs_init(HUF_DecompressAsmArgs* args, void* dst, size_t dstSize, void const* src, size_t srcSize, const HUF_DTable* DTable) in HUF_DecompressAsmArgs_init() argument
176 if (srcSize < 10) in HUF_DecompressAsmArgs_init()
192 size_t const length4 = srcSize - (length1 + length2 + length3 + 6); in HUF_DecompressAsmArgs_init()
205 if (length4 > srcSize) return ERROR(corruption_detected); /* overflow */ in HUF_DecompressAsmArgs_init()
211 args->ip[3] = (BYTE const*)src + srcSize - sizeof(U64); in HUF_DecompressAsmArgs_init()
333 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize) in HUF_readDTableX1_wksp() argument
335 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp()
338 size_t HUF_readDTableX1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int bmi2) in HUF_readDTableX1_wksp_bmi2() argument
353 iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &tableLog, src, srcSize, wksp->statsWksp, sizeof(wksp->statsWksp), bmi2); in HUF_readDTableX1_wksp_bmi2()
1042 const void* src, size_t srcSize, in HUF_readDTableX2_wksp()
1041 HUF_readDTableX2_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize) HUF_readDTableX2_wksp() argument
1048 HUF_readDTableX2_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize, int bmi2) HUF_readDTableX2_wksp_bmi2() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrCopyTests.cpp458 const UVec2& srcSize, in genCopies()
490 const UVec2 srcPlaneExtent (getPlaneExtent(srcPlaneInfo, srcSize, srcPlaneNdx, 0)); in genCopies()
901 const UVec2 srcSize (isYCbCrFormat(srcFormat) ? UVec2(24u, 16u) : UVec2(23u, 17u)); in initYcbcrDefaultCopyTests()
932 const TestConfig config (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstDisjoint, dstSize)); in initYcbcrDefaultCopyTests()
1003 const UVec2 srcSize (imageDimensions[imageDimensionNdx]); in initYcbcrDimensionsCopyTests()
1005 const string dimensionsName ("src" + de::toString(srcSize.x()) + "x" + de::toString(srcSize.y()) + "_dst" + de::toString(dstSize.x()) + "x" + de::toString(dstSize.y())); in initYcbcrDimensionsCopyTests()
1041 const TestConfig config (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstDisjoint, dstSize)); in initYcbcrDimensionsCopyTests()
455 genCopies(de::Random& rng, size_t copyCount, vk::VkFormat srcFormat, const UVec2& srcSize, vk::VkFormat dstFormat, const UVec2& dstSize, vector<vk::VkImageCopy>* copies) genCopies() argument
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFramebufferBlitTests.cpp59 BlitRectCase (Context& context, const char* name, const char* desc, deUint32 filter, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect, int cellSize = 8) in BlitRectCase() argument
62 , m_srcSize (srcSize) in BlitRectCase()
170 BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect);
175 BlitNearestFilterConsistencyCase::BlitNearestFilterConsistencyCase (Context& context, const char* name, const char* desc, const IVec2& srcSize, const IVec4& srcRect, const IVec2& dstSize, const IVec4& dstRect) in BlitNearestFilterConsistencyCase() argument
176 : BlitRectCase(context, name, desc, GL_NEAREST, srcSize, srcRect, dstSize, dstRect, 1) in BlitNearestFilterConsistencyCase()
462 BlitDepthStencilCase (Context& context, const char* name, const char* desc, deUint32 depthFormat, deUint32 stencilFormat, deUint32 srcBuffers, const IVec2& srcSize, const IVec4& srcRect, deUint32 dstBuffers, const IVec2& dstSize, const IVec4& dstRect, deUint32 copyBuffers) in BlitDepthStencilCase() argument
467 , m_srcSize (srcSize) in BlitDepthStencilCase()
1003 const IVec2 srcSize(127, 119);
1019 rectGroup->addChild(new BlitRectCase(m_context, (name + "_nearest").c_str(), "", GL_NEAREST, srcSize, srcRect, dstSize, dstRect));
1020 rectGroup->addChild(new BlitRectCase(m_context, (name + "_linear").c_str(), "", GL_LINEAR, srcSize, srcRec
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_superblock.c431 const void* src, size_t srcSize, in ZSTD_compressSubBlock_multi()
442 BYTE const* const iend = ip + srcSize; in ZSTD_compressSubBlock_multi()
553 void const* src, size_t srcSize, in ZSTD_compressSuperBlock()
570 src, srcSize, in ZSTD_compressSuperBlock()
425 ZSTD_compressSubBlock_multi(const seqStore_t* seqStorePtr, const ZSTD_compressedBlockState_t* prevCBlock, ZSTD_compressedBlockState_t* nextCBlock, const ZSTD_entropyCTablesMetadata_t* entropyMetadata, const ZSTD_CCtx_params* cctxParams, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const int bmi2, U32 lastBlock, void* workspace, size_t wkspSize) ZSTD_compressSubBlock_multi() argument
551 ZSTD_compressSuperBlock(ZSTD_CCtx* zc, void* dst, size_t dstCapacity, void const* src, size_t srcSize, unsigned lastBlock) ZSTD_compressSuperBlock() argument
/third_party/skia/src/codec/
H A DSkWebpCodec.cpp419 SkISize srcSize = options.fSubset ? options.fSubset->size() : this->dimensions(); in onGetPixels() local
420 if (srcSize != dstInfo.dimensions()) { in onGetPixels()
424 float scaleX = ((float) dstInfo.width()) / srcSize.width(); in onGetPixels()
425 float scaleY = ((float) dstInfo.height()) / srcSize.height(); in onGetPixels()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dtjbench.c535 unsigned long *jpegSize = NULL, srcSize, totalJpegSize; in decompTest() local
549 (srcSize = ftell(file)) == (unsigned long)-1) in decompTest()
551 if ((srcBuf = (unsigned char *)malloc(srcSize)) == NULL) in decompTest()
555 if (fread(srcBuf, srcSize, 1, file) < 1) in decompTest()
564 if (tjDecompressHeader3(handle, srcBuf, srcSize, &w, &h, &subsamp, in decompTest()
677 if (tjTransform(handle, srcBuf, srcSize, tntilesw * tntilesh, jpegBuf, in decompTest()
727 decompsrc ? &srcSize : jpegSize, NULL, tw, th, tsubsamp, 0, in decompTest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp750 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() local
753 if (cpyLen < srcSize) in performCallSlotOptzn()
756 // Check that accessing the first srcSize bytes of dest will not cause a in performCallSlotOptzn()
760 // The destination is an alloca. Check it is larger than srcSize. in performCallSlotOptzn()
768 if (destSize < srcSize) in performCallSlotOptzn()
775 if (A->getDereferenceableBytes() < srcSize) { in performCallSlotOptzn()
790 if (destSize < srcSize) in performCallSlotOptzn()
855 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
858 MR = AA.callCapturesBefore(C, cpyDest, LocationSize::precise(srcSize), &DT); in performCallSlotOptzn()
/third_party/lz4/examples/
H A DframeCompress.c232 size_t srcSize = (const char*)srcEnd - (const char*)srcPtr; in decompress_file_internal() local
233 ret = LZ4F_decompress(dctx, dst, &dstSize, srcPtr, &srcSize, /* LZ4F_decompressOptions_t */ NULL); in decompress_file_internal()
241 srcPtr = (const char*)srcPtr + srcSize; in decompress_file_internal()
/third_party/lzma/CPP/Common/
H A DUTFConvert.h176 bool Convert_UTF8_Buf_To_Unicode(const char *src, size_t srcSize, UString &dest, unsigned flags = 0);
/third_party/lzma/C/
H A DMtCoder.h61 const Byte *src, size_t srcSize, int finished);
H A DLzma2Enc.c658 const Byte *src, size_t srcSize, int finished) in Lzma2Enc_MtCallback_Code()
685 NULL, src, srcSize, in Lzma2Enc_MtCallback_Code()
657 Lzma2Enc_MtCallback_Code(void *p, unsigned coderIndex, unsigned outBufIndex, const Byte *src, size_t srcSize, int finished) Lzma2Enc_MtCallback_Code() argument
/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h38 ZSTD_STATIC void ZSTD_rescaleFreqs(seqStore_t *ssPtr, const BYTE *src, size_t srcSize) in ZSTD_rescaleFreqs() argument
47 if (srcSize <= 1024) in ZSTD_rescaleFreqs()
52 for (u = 0; u < srcSize; u++) in ZSTD_rescaleFreqs()
407 void ZSTD_compressBlock_opt_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const int ultra) in ZSTD_compressBlock_opt_generic() argument
413 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_generic()
430 ZSTD_rescaleFreqs(seqStorePtr, (const BYTE *)src, srcSize); in ZSTD_compressBlock_opt_generic()
700 void ZSTD_compressBlock_opt_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const int ultra) in ZSTD_compressBlock_opt_extDict_generic() argument
706 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_extDict_generic()
733 ZSTD_rescaleFreqs(seqStorePtr, (const BYTE *)src, srcSize); in ZSTD_compressBlock_opt_extDict_generic()
H A Dhuf_decompress.c90 size_t HUF_readDTableX2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readDTableX2_wksp() argument
115 iSize = HUF_readStats_wksp(huffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize, workspace, workspaceSize); in HUF_readDTableX2_wksp()
482 size_t HUF_readDTableX4_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) in HUF_readDTableX4_wksp() argument
525 iSize = HUF_readStats_wksp(weightList, HUF_SYMBOLVALUE_MAX + 1, rankStats, &nbSymbols, &tableLog, src, srcSize, workspace, workspaceSize); in HUF_readDTableX4_wksp()
/third_party/skia/src/gpu/d3d/
H A DGrD3DCommandList.cpp254 uint64_t srcSize = srcBuffer->GetDesc().Width; in copyBufferToBuffer() local
255 if (dstSize == srcSize && srcSize == numBytes) { in copyBufferToBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp171 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in iterate() local
198 const float triLod[2] = { de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, sampleParams.minLod, sampleParams.maxLod), in iterate()
199 de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, sampleParams.minLod, sampleParams.maxLod) }; in iterate()
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.hpp190 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tcu::Vec3& sq);
191 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq);
192 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3& sq, const tcu::Vec3& tq, const tcu::Vec3& rq);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrCopyTests.cpp514 const UVec2& srcSize, in genCopies()
546 const UVec2 srcPlaneExtent (getPlaneExtent(srcPlaneInfo, srcSize, srcPlaneNdx, 0)); in genCopies()
1053 const UVec2 srcSize (isYCbCrFormat(srcFormat) ? UVec2(24u, 16u) : UVec2(23u, 17u)); in initYcbcrDefaultCopyTests()
1086 const TestConfig config (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstDisjoint, dstSize), useBuffer); in initYcbcrDefaultCopyTests()
1157 const UVec2 srcSize (imageDimensions[imageDimensionNdx]); in initYcbcrDimensionsCopyTests()
1159 const string dimensionsName ("src" + de::toString(srcSize.x()) + "x" + de::toString(srcSize.y()) + "_dst" + de::toString(dstSize.x()) + "x" + de::toString(dstSize.y())); in initYcbcrDimensionsCopyTests()
1195 const TestConfig config (ImageConfig(srcFormat, srcTiling, srcDisjoint, srcSize), ImageConfig(dstFormat, dstTiling, dstDisjoint, dstSize), false); in initYcbcrDimensionsCopyTests()
511 genCopies(de::Random& rng, size_t copyCount, vk::VkFormat srcFormat, const UVec2& srcSize, vk::VkFormat dstFormat, const UVec2& dstSize, vector<vk::VkImageCopy>* copies) genCopies() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureSwizzleTests.cpp199 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in iterate() local
226 const float triLod[2] = { de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[0], triT[0]) + lodBias, sampleParams.minLod, sampleParams.maxLod), in iterate()
227 de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias, sampleParams.minLod, sampleParams.maxLod) }; in iterate()
/third_party/skia/src/ports/
H A DSkTypeface_mac_ct.cpp894 size_t srcSize = CFDataGetLength(srcData.get());
895 if (offset >= srcSize) {
898 if (length > srcSize - offset) {
899 length = srcSize - offset;
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp545 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); in calculateLod() local
546 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
868 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); in calculateLod() local
869 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_command_buffer.h554 MTLSize srcSize,
565 MTLSize srcSize,
/third_party/lzma/CPP/7zip/UI/FileManager/
H A DExtractCallback.cpp697 const FILETIME *srcTime, const UInt64 *srcSize, in AskWrite()
749 srcTime, srcSize, in AskWrite()
695 AskWrite(const wchar_t *srcPath, Int32 srcIsFolder, const FILETIME *srcTime, const UInt64 *srcSize, const wchar_t *destPath, BSTR *destPathResult, Int32 *writeAnswer) AskWrite() argument
/third_party/skia/src/gpu/ops/
H A DTextureOp.cpp86 SkSize srcSize = axis_aligned_quad_size(srcQuad); in filter_and_mm_have_effect() local
92 bool filter = srcSize != dstSize || in filter_and_mm_have_effect()
97 bool mm = srcSize.fWidth > dstSize.fWidth || srcSize.fHeight > dstSize.fHeight; in filter_and_mm_have_effect()

Completed in 35 milliseconds

12345