Home
last modified time | relevance | path

Searched refs:pb_dec_bytes (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/third_party/nanopb/tests/decode_unittests/
Ddecode_unittests.c191 TEST((s = S("\x00"), pb_dec_bytes(&s, &f, &d) && d.size == 0)) in main()
192 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF)) in main()
193 TEST((s = S("\x05xxxxx"), pb_dec_bytes(&s, &f, &d) && d.size == 5)) in main()
194 TEST((s = S("\x05xxxx"), !pb_dec_bytes(&s, &f, &d))) in main()
203 TEST((s = S("\x10xxxxxxxxxx"), !pb_dec_bytes(&s, &f, &d))) in main()
/external/nanopb-c/tests/decode_unittests/
Ddecode_unittests.c238 TEST((s = S("\x00"), pb_dec_bytes(&s, &f, &d) && d.size == 0)) in main()
239 TEST((s = S("\x01\xFF"), pb_dec_bytes(&s, &f, &d) && d.size == 1 && d.bytes[0] == 0xFF)) in main()
240 TEST((s = S("\x05xxxxx"), pb_dec_bytes(&s, &f, &d) && d.size == 5)) in main()
241 TEST((s = S("\x05xxxx"), !pb_dec_bytes(&s, &f, &d))) in main()
250 TEST((s = S("\x10xxxxxxxxxx"), !pb_dec_bytes(&s, &f, &d))) in main()
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c43 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest);
65 &pb_dec_bytes,
69 &pb_dec_bytes /* PB_LTYPE_FIXED_LENGTH_BYTES */
1248 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_bytes() function
/external/nanopb-c/
Dpb_decode.c43 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest);
74 &pb_dec_bytes,
1391 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_bytes() function