Home | History | Annotate | Download | only in nanopb-c

Lines Matching refs:pb_read

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