Home
last modified time | relevance | path

Searched refs:CopySize (Results 1 – 6 of 6) sorted by relevance

/third_party/json/test/thirdparty/Fuzzer/
DFuzzerMutate.cpp283 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() local
284 assert(ToBeg + CopySize <= ToSize); in CopyPartOf()
285 CopySize = std::min(CopySize, FromSize); in CopyPartOf()
286 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf()
287 assert(FromBeg + CopySize <= FromSize); in CopyPartOf()
288 memmove(To + ToBeg, From + FromBeg, CopySize); in CopyPartOf()
300 size_t CopySize = Rand(MaxCopySize) + 1; in InsertPartOf() local
301 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf()
302 assert(FromBeg + CopySize <= FromSize); in InsertPartOf()
304 assert(ToInsertPos + CopySize <= MaxToSize); in InsertPartOf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1104 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() local
1105 if (CopySize->getZExtValue() > MemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn()
1113 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn()
1114 CopySize = MemSetSize; in performMemCpyToMemSetOptzn()
1120 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), CopySize, in performMemCpyToMemSetOptzn()
1165 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() local
1166 if (!CopySize) return false; in processMemCpy()
1181 CopySize->getZExtValue(), Align, in processMemCpy()
1198 if (hasUndefContents(SrcDepInfo.getInst(), CopySize)) { in processMemCpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp3992 Value *CopySize = in finalizeInstrumentation() local
3995 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
3996 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize); in finalizeInstrumentation()
3998 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4000 Align(8), CopySize); in finalizeInstrumentation()
4138 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local
4144 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
4145 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize); in finalizeInstrumentation()
4166 CopySize); in finalizeInstrumentation()
4333 Value *CopySize = in finalizeInstrumentation() local
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTextureForBrowserTests.cpp38 using CopySize = wgpu::Extent3D; typedef
52 DAWN_TEST_PARAM_STRUCT(SubRectTestParams, SrcOrigin, DstOrigin, CopySize, FlipY);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMachOYAML.cpp44 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input() local
45 memcpy((void *)Val, Scalar.data(), CopySize); in input()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTests.cpp268 struct CopySize { struct in CopyTests_T2T
274 void DoTest(const TextureSpec& srcSpec, const TextureSpec& dstSpec, const CopySize& copy) { in DoTest()