Lines Matching refs:pb_read
94 bool checkreturn pb_read(pb_istream_t *stream, uint8_t *buf, size_t count) in pb_read() function
103 if (!pb_read(stream, tmp, 16)) in pb_read()
109 return pb_read(stream, tmp, count); in pb_read()
231 if (!pb_read(stream, &byte, 1)) in pb_skip_varint()
243 return pb_read(stream, NULL, length); in pb_skip_string()
277 case PB_WT_64BIT: return pb_read(stream, NULL, 8); in pb_skip_field()
279 case PB_WT_32BIT: return pb_read(stream, NULL, 4); in pb_skip_field()
298 if (!pb_read(stream, buf, 1)) return false; in read_raw_value()
304 return pb_read(stream, buf, 8); in read_raw_value()
308 return pb_read(stream, buf, 4); in read_raw_value()
998 if (!pb_read(stream, lebytes, 4)) in pb_decode_fixed32()
1007 return pb_read(stream, (uint8_t*)dest, 4); in pb_decode_fixed32()
1017 if (!pb_read(stream, lebytes, 8)) in pb_decode_fixed64()
1030 return pb_read(stream, (uint8_t*)dest, 8); in pb_decode_fixed64()
1122 return pb_read(stream, bdest->bytes, size); in pb_dec_bytes()
1152 status = pb_read(stream, (uint8_t*)dest, size); in pb_dec_string()