Searched refs:CopySize (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 303 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() local 304 assert(ToBeg + CopySize <= ToSize); in CopyPartOf() 305 CopySize = std::min(CopySize, FromSize); in CopyPartOf() 306 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf() 307 assert(FromBeg + CopySize <= FromSize); in CopyPartOf() 308 memmove(To + ToBeg, From + FromBeg, CopySize); in CopyPartOf() 320 size_t CopySize = Rand(MaxCopySize) + 1; in InsertPartOf() local 321 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf() 322 assert(FromBeg + CopySize <= FromSize); in InsertPartOf() 324 assert(ToInsertPos + CopySize <= MaxToSize); in InsertPartOf() [all …]
|
| /netbsd-src/sys/external/bsd/gnu-efi/dist/apps/ |
| H A D | lfbgrid.c | 55 UINT32 CopySize, BufferSize; in draw_boxes() local 97 CopySize = BufferSize; in draw_boxes() 99 CopySize = BufferSize < gop->Mode->FrameBufferSize ? in draw_boxes() 102 BufferSize, gop->Mode->FrameBufferSize, CopySize); in draw_boxes() 129 CopyMem((VOID *)FrameBufferAddr, PixelBuffer, CopySize); in draw_boxes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/ |
| H A D | X86Counter.cpp | 61 size_t CopySize = kDataBufferSize - Offset; in copyDataBuffer() local 62 memcpy(Buf, Start + Offset, CopySize); in copyDataBuffer() 63 if (CopySize >= DataSize) in copyDataBuffer() 66 memcpy(Buf + CopySize, Start, Offset); in copyDataBuffer()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1309 Value *CopySize = MemCpy->getLength(); in performMemCpyToMemSetOptzn() local 1311 if (MemSetSize != CopySize) { in performMemCpyToMemSetOptzn() 1321 ConstantInt *CCopySize = dyn_cast<ConstantInt>(CopySize); in performMemCpyToMemSetOptzn() 1336 if (hasUndefContentsMSSA(MSSA, AA, MemCpy->getSource(), MD, CopySize)) in performMemCpyToMemSetOptzn() 1341 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn() 1347 CopySize = MemSetSize; in performMemCpyToMemSetOptzn() 1354 CopySize, MaybeAlign(MemCpy->getDestAlignment())); in performMemCpyToMemSetOptzn() 1432 if (ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local 1446 CopySize->getZExtValue(), Alignment, in processMemCpy() 1494 if (ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/utilities/ |
| H A D | utcopy.c | 720 ACPI_SIZE CopySize; in AcpiUtCopySimpleObject() local 732 CopySize = sizeof (ACPI_OPERAND_OBJECT); in AcpiUtCopySimpleObject() 735 CopySize = sizeof (ACPI_NAMESPACE_NODE); in AcpiUtCopySimpleObject() 739 ACPI_CAST_PTR (char, SourceDesc), CopySize); in AcpiUtCopySimpleObject()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 4343 Value *CopySize = in finalizeInstrumentation() local 4346 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 4347 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize); in finalizeInstrumentation() 4349 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 4351 Align(8), CopySize); in finalizeInstrumentation() 4488 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 4494 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 4495 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize); in finalizeInstrumentation() 4516 CopySize); in finalizeInstrumentation() 4682 Value *CopySize = in finalizeInstrumentation() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 44 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input() local 45 memcpy((void *)Val, Scalar.data(), CopySize); in input()
|