Lines Matching defs:length
342 int32_t length = std::min(writeSize, unusedSize);
343 FALSE_RETURN_V_MSG_E((length + start) <= capacity_, 0,
344 "Write out of bounds, length:%{public}d , start:%{public}d , capacity:%{public}d", length,
348 auto error = memcpy_s(dstPtr, length, in, length);
351 size_ = start + length;
352 return length;
368 int32_t length = std::min(readSize, maxLength);
369 FALSE_RETURN_V_MSG_E((length + start) <= capacity_, 0,
370 "Read out of bounds, length:%{public}d, start:%{public}d, capacity:%{public}d", length, start,
374 auto error = memcpy_s(out, length, srcPtr, length);
377 return length;