Searched refs:pb_dec_bytes (Results 1 – 2 of 2) sorted by relevance
/external/nanopb-c/tests/decode_unittests/ |
D | decode_unittests.c | 175 TEST((s = S("\x00"), pb_dec_bytes(&s, &f, &d) && d.size == 0)) in main() 176 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF)) in main() 177 TEST((s = S("\x05xxxxx"), pb_dec_bytes(&s, &f, &d) && d.size == 5)) in main() 178 TEST((s = S("\x05xxxx"), !pb_dec_bytes(&s, &f, &d))) in main() 187 TEST((s = S("\x10xxxxxxxxxx"), !pb_dec_bytes(&s, &f, &d))) in main()
|
/external/nanopb-c/ |
D | pb_decode.c | 54 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest); 70 &pb_dec_bytes, 1096 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_bytes() function
|