Lines Matching refs:pb_read
100 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() function
109 if (!pb_read(stream, tmp, 16)) in pb_read()
115 return pb_read(stream, tmp, count); in pb_read()
278 if (!pb_read(stream, &byte, 1)) in pb_skip_varint()
290 return pb_read(stream, NULL, length); in pb_skip_string()
321 case PB_WT_64BIT: return pb_read(stream, NULL, 8); in pb_skip_field()
323 case PB_WT_32BIT: return pb_read(stream, NULL, 4); in pb_skip_field()
342 if (!pb_read(stream, buf, 1)) return false; in read_raw_value()
348 return pb_read(stream, buf, 8); in read_raw_value()
352 return pb_read(stream, buf, 4); in read_raw_value()
385 if (!pb_read(substream, NULL, substream->bytes_left)) in pb_close_string_substream()
1258 if (!pb_read(stream, bytes, 4)) in pb_decode_fixed32()
1273 if (!pb_read(stream, bytes, 8)) in pb_decode_fixed64()
1425 return pb_read(stream, bdest->bytes, size); in pb_dec_bytes()
1458 status = pb_read(stream, (pb_byte_t*)dest, size); in pb_dec_string()
1507 return pb_read(stream, (pb_byte_t*)dest, field->data_size); in pb_dec_fixed_length_bytes()