Searched refs:CopySize (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/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 …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1191 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() local 1192 if (CopySize->getZExtValue() > MemSetSize->getZExtValue()) { in performMemCpyToMemSetOptzn() 1200 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn() 1201 CopySize = MemSetSize; in performMemCpyToMemSetOptzn() 1208 CopySize, MemCpy->getDestAlignment()); in performMemCpyToMemSetOptzn() 1251 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() local 1252 if (!CopySize) return false; in processMemCpy() 1267 CopySize->getZExtValue(), Align, in processMemCpy() 1284 if (hasUndefContents(SrcDepInfo.getInst(), CopySize)) { in processMemCpy()
|
| /freebsd-12.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-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 3841 Value *CopySize = in finalizeInstrumentation() local 3844 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 3845 IRB.CreateMemCpy(VAArgTLSCopy, 8, MS.VAArgTLS, 8, CopySize); in finalizeInstrumentation() 3981 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 3988 IRB.CreateMemCpy(VAArgTLSCopy, 8, MS.VAArgTLS, 8, CopySize); in finalizeInstrumentation() 4007 CopySize); in finalizeInstrumentation() 4172 Value *CopySize = in finalizeInstrumentation() local 4176 IRB.CreateMemCpy(VAArgTLSCopy, 8, MS.VAArgTLS, 8, CopySize); in finalizeInstrumentation() 4415 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 4422 IRB.CreateMemCpy(VAArgTLSCopy, 8, MS.VAArgTLS, 8, CopySize); in finalizeInstrumentation() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 45 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input() local 46 memcpy((void *)Val, Scalar.data(), CopySize); in input()
|