Lines Matching defs:skip
3742 /* We need to skip past any initial fields. */
3750 /* We need to skip past fields to return only oneofs. */
6632 /* Need to emit even if no handler to skip past the string. */
7108 * skip more bytes than are available, we return a long read count to the caller
7113 static int32_t skip(upb_pbdecoder *d, size_t bytes) {
7115 UPB_ASSERT(d->skip == 0);
7122 d->skip = 0;
7127 d->skip = bytes - curbufleft(d);
7131 return (int32_t)(d->size_param + d->skip);
7141 /* d->skip and d->residual_end could probably elegantly be represented
7143 UPB_ASSERT(!(d->skip && d->residual_end > d->residual));
7150 /* Have to handle this case specially (ie. not with skip()) because the user
7153 if (d->skip && d->skip >= size) {
7154 d->skip -= size;
7168 /* NULL buf is ok if its entire span is covered by the "skip" above, but
7169 * by this point we know that "skip" doesn't cover the buffer. */
7184 if (d->skip) {
7185 size_t skip_bytes = d->skip;
7186 d->skip = 0;
7187 CHECK_RETURN(skip(d, skip_bytes));
7483 CHECK_RETURN(skip(d, 4));
7486 CHECK_RETURN(skip(d, 8));
7496 CHECK_RETURN(skip(d, len));
7700 seterr(d, "Tried to skip past end of string.");
7703 int32_t ret = skip(d, n);
7824 d->skip = 0;
7839 if (d->skip) {