Lines Matching defs:Len
265 if (const auto *Len = dyn_cast<ConstantInt>(Call->getArgOperand(2))) {
266 // memset_chk writes at most Len bytes, memcpy_chk reads/writes at most
267 // Len bytes. They may read/write less, if Len exceeds the specified max
269 Size = LocationSize::upperBound(Len->getZExtValue());
277 if (const auto *Len = dyn_cast<ConstantInt>(Call->getArgOperand(2))) {
278 // strncpy is guaranteed to write Len bytes, but only reads up to Len
280 Size = ArgIdx == 0 ? LocationSize::precise(Len->getZExtValue())
281 : LocationSize::upperBound(Len->getZExtValue());