Lines Matching refs:bytes
289 * realloc(). Only "oldsize" bytes from a previous allocation are preserved. */
1140 upb_strview str; /* For str/bytes. */
1144 upb_strview str; /* For str/bytes. */
4035 * // how many bytes were consumed. If this number is less than "len",
4038 * // number is greater than "len", the excess bytes will be skipped over
5526 /* Putting of string/bytes values. Each string can consist of zero or more
5749 /* The maximum number of bytes we are required to buffer internally between
5808 /* Preallocation hint: decoder won't allocate more bytes than this when first
5862 /* Returns number of bytes successfully parsed.
6001 /* Different opcodes depending on how many bytes expected. */
6133 /* Buffer for residual bytes not parsed from the previous buffer. */
6139 * safely skip the next N bytes, but this region extends past the current
6252 /* The maximum number of bytes that it takes to encode a 64-bit varint. */
6305 /* Template for a function that checks the first two bytes with branching
6306 * and dispatches 2-10 bytes with a separate function. Note that this may read
6307 * up to 10 bytes, so it must not be used unless there are at least ten bytes
6354 * bytes long), returning how many bytes were used.
6378 size_t bytes = upb_vencode64(val, buf);
6380 UPB_ASSERT(bytes <= 5);
6381 memcpy(&ret, buf, bytes);
6422 /* Preallocation hint: decoder won't allocate more bytes than this when first
6600 /* Preallocation hint: parser won't allocate more bytes than this when first