Home
last modified time | relevance | path

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

/external/nanopb-c/tests/decode_unittests/
Ddecode_unittests.c128 TEST((s = S("\x01"), pb_dec_svarint(&s, &f, &d) && d == -1)) in main()
129 TEST((s = S("\x02"), pb_dec_svarint(&s, &f, &d) && d == 1)) in main()
130 TEST((s = S("\xfe\xff\xff\xff\x0f"), pb_dec_svarint(&s, &f, &d) && d == INT32_MAX)) in main()
131 TEST((s = S("\xff\xff\xff\xff\x0f"), pb_dec_svarint(&s, &f, &d) && d == INT32_MIN)) in main()
140 TEST((s = S("\x01"), pb_dec_svarint(&s, &f, &d) && d == -1)) in main()
141 TEST((s = S("\x02"), pb_dec_svarint(&s, &f, &d) && d == 1)) in main()
142 …TEST((s = S("\xFE\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), pb_dec_svarint(&s, &f, &d) && d == INT64_… in main()
143 …TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), pb_dec_svarint(&s, &f, &d) && d == INT64_… in main()
/external/nanopb-c/
Dpb_decode.c51 static bool checkreturn pb_dec_svarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
66 &pb_dec_svarint,
1068 static bool checkreturn pb_dec_svarint(pb_istream_t *stream, const pb_field_t *field, void *dest) in pb_dec_svarint() function