Home
last modified time | relevance | path

Searched refs:pb_dec_string (Results 1 – 2 of 2) sorted by relevance

/external/nanopb-c/tests/decode_unittests/
Ddecode_unittests.c196 TEST((s = S("\x00"), pb_dec_string(&s, &f, &d) && d[0] == '\0')) in main()
197 TEST((s = S("\x04xyzz"), pb_dec_string(&s, &f, &d) && strcmp(d, "xyzz") == 0)) in main()
198 TEST((s = S("\x05xyzzy"), !pb_dec_string(&s, &f, &d))) in main()
/external/nanopb-c/
Dpb_decode.c55 static bool checkreturn pb_dec_string(pb_istream_t *stream, const pb_field_t *field, void *dest);
71 &pb_dec_string,
1125 static bool checkreturn pb_dec_string(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_string() function