Lines Matching refs:curbufleft
8255 static size_t curbufleft(const upb_pbdecoder *d) { in curbufleft() function
8277 assert(curbufleft(d) >= len); in advance()
8310 assert(curbufleft(d) == 0); in advancetobuf()
8343 d->skip = bytes - curbufleft(d); in skip()
8460 save = curbufleft(d); in suspend_save()
8475 assert(bytes <= curbufleft(d)); in consumebytes()
8485 const size_t avail = curbufleft(d); in getbytes_slow()
8492 if (curbufleft(d) >= bytes) { in getbytes_slow()
8508 if (curbufleft(d) >= bytes) { in getbytes()
8519 size_t ret = curbufleft(d); in peekbytes_slow()
8531 if (curbufleft(d) >= bytes) { in peekbytes()
8563 if (curbufleft(d) > 0 && !(*d->ptr & 0x80)) { in decode_varint()
8567 } else if (curbufleft(d) >= 10) { in decode_varint()
8908 uint32_t len = curbufleft(d); in run_decoder_vm()
8972 CHECK_SUSPEND(curbufleft(d) > 0); in run_decoder_vm()
8990 CHECK_SUSPEND(curbufleft(d) > 0); in run_decoder_vm()
8992 if (curbufleft(d) >= 2) { in run_decoder_vm()