Home
last modified time | relevance | path

Searched refs:pb_dec_uvarint (Results 1 – 3 of 3) sorted by relevance

/external/nanopb-c/tests/decode_unittests/
Ddecode_unittests.c183 TEST((s = S("\x01"), pb_dec_uvarint(&s, &f, &d) && d == 1)) in main()
184 TEST((s = S("\x02"), pb_dec_uvarint(&s, &f, &d) && d == 2)) in main()
185 TEST((s = S("\xff\xff\xff\xff\x0f"), pb_dec_uvarint(&s, &f, &d) && d == UINT32_MAX)) in main()
194 TEST((s = S("\x01"), pb_dec_uvarint(&s, &f, &d) && d == 1)) in main()
195 TEST((s = S("\x02"), pb_dec_uvarint(&s, &f, &d) && d == 2)) in main()
196 …TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), pb_dec_uvarint(&s, &f, &d) && d == UINT64… in main()
205 TEST((s = S("\xff\xff\xff\xff\x0f"), pb_dec_uvarint(&s, &f, &d))); in main()
206 TEST((s = S("\xff\xff\xff\xff\x10"), !pb_dec_uvarint(&s, &f, &d))); in main()
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c39 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
60 &pb_dec_uvarint,
1188 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_uvarint() function
/external/nanopb-c/
Dpb_decode.c39 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
69 &pb_dec_uvarint,
1326 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_uvarint() function