Lines Matching defs:copy
7306 size_t copy = UPB_MIN(bytes - ret, d->size_param);
7307 memcpy((char *)buf + ret, d->buf_param, copy);
7308 ret += copy;
7992 ** zero-copy implementation, even with buffering. Lengths are stored as
7998 ** 1. buffer all submessage data in a temporary buffer, then copy it exactly
8027 ** (1) makes you always pay for exactly one copy, but its implementation is
9542 * contiguous string and avoid any actual copy. So we optimistically begin
9543 * this way. But there are a few cases where we must instead copy into a
10027 * the input string, so we need to force a copy into a NULL-terminated buffer. */
10501 * the input string, so we need to force a copy into a NULL-terminated buffer. */