Searched refs:CopySize (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 321 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() local 322 assert(ToBeg + CopySize <= ToSize); in CopyPartOf() 323 CopySize = std::min(CopySize, FromSize); in CopyPartOf() 324 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf() 325 assert(FromBeg + CopySize <= FromSize); in CopyPartOf() 326 memmove(To + ToBeg, From + FromBeg, CopySize); in CopyPartOf() 338 size_t CopySize = Rand(MaxCopySize) + 1; in InsertPartOf() local 339 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf() 340 assert(FromBeg + CopySize <= FromSize); in InsertPartOf() 342 assert(ToInsertPos + CopySize <= MaxToSize); in InsertPartOf() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1332 Value *CopySize = MemCpy->getLength(); in performMemCpyToMemSetOptzn() local 1334 if (MemSetSize != CopySize) { in performMemCpyToMemSetOptzn() 1344 ConstantInt *CCopySize = dyn_cast<ConstantInt>(CopySize); in performMemCpyToMemSetOptzn() 1359 if (hasUndefContentsMSSA(MSSA, AA, MemCpy->getSource(), MD, CopySize)) in performMemCpyToMemSetOptzn() 1364 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn() 1370 CopySize = MemSetSize; in performMemCpyToMemSetOptzn() 1377 CopySize, MaybeAlign(MemCpy->getDestAlignment())); in performMemCpyToMemSetOptzn() 1455 if (ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local 1470 TypeSize::getFixed(CopySize->getZExtValue()), Alignment, in processMemCpy() 1518 if (ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local [all …]
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/utilities/ |
| H A D | utcopy.c | 828 ACPI_SIZE CopySize; in AcpiUtCopySimpleObject() local 840 CopySize = sizeof (ACPI_OPERAND_OBJECT); in AcpiUtCopySimpleObject() 843 CopySize = sizeof (ACPI_NAMESPACE_NODE); in AcpiUtCopySimpleObject() 847 ACPI_CAST_PTR (char, SourceDesc), CopySize); in AcpiUtCopySimpleObject()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 4365 Value *CopySize = in finalizeInstrumentation() local 4368 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 4373 Align(8), CopySize); in finalizeInstrumentation() 4510 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 4516 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 4538 CopySize); in finalizeInstrumentation() 4704 Value *CopySize = in finalizeInstrumentation() local 4948 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 4976 CopySize); in finalizeInstrumentation() 5268 Value *CopySize = in finalizeInstrumentation() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|