HomeSort by relevance Sort by last modified time
    Searched refs:pb_dec_bytes (Results 1 - 2 of 2) sorted by null

  /external/nanopb-c/tests/decode_unittests/
decode_unittests.c 174 COMMENT("Test pb_dec_bytes")
175 TEST((s = S("\x00"), pb_dec_bytes(&s, &f, &d) && d.size == 0))
176 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF))
177 TEST((s = S("\x05xxxxx"), pb_dec_bytes(&s, &f, &d) && d.size == 5))
178 TEST((s = S("\x05xxxx"), !pb_dec_bytes(&s, &f, &d)))
187 TEST((s = S("\x10xxxxxxxxxx"), !pb_dec_bytes(&s, &f, &d)))
  /external/nanopb-c/
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) function
    [all...]

Completed in 58 milliseconds