Lines Matching refs:pb_read
90 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() function
99 if (!pb_read(stream, tmp, 16)) in pb_read()
105 return pb_read(stream, tmp, count); in pb_read()
235 if (!pb_read(stream, &byte, 1)) in pb_skip_varint()
247 return pb_read(stream, NULL, length); in pb_skip_string()
281 case PB_WT_64BIT: return pb_read(stream, NULL, 8); in pb_skip_field()
283 case PB_WT_32BIT: return pb_read(stream, NULL, 4); in pb_skip_field()
302 if (!pb_read(stream, buf, 1)) return false; in read_raw_value()
308 return pb_read(stream, buf, 8); in read_raw_value()
312 return pb_read(stream, buf, 4); in read_raw_value()
1122 if (!pb_read(stream, bytes, 4)) in pb_decode_fixed32()
1136 if (!pb_read(stream, bytes, 8)) in pb_decode_fixed64()
1279 return pb_read(stream, (pb_byte_t*)dest, field->data_size); in pb_dec_bytes()
1288 return pb_read(stream, bdest->bytes, size); in pb_dec_bytes()
1321 status = pb_read(stream, (pb_byte_t*)dest, size); in pb_dec_string()