Searched refs:pb_dec_varint (Results 1 – 3 of 3) sorted by relevance
/nanopb-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 139 TEST(pb_dec_varint(&s, &f) && d == 1) in main() 144 TEST(pb_dec_varint(&s, &f) && (d == 0xFFFFFF00 || d == 0x00FFFFFF)) in main() 157 TEST((s = S("\x01"), pb_dec_varint(&s, &f) && d == -1)) in main() 158 TEST((s = S("\x02"), pb_dec_varint(&s, &f) && d == 1)) in main() 159 TEST((s = S("\xfe\xff\xff\xff\x0f"), pb_dec_varint(&s, &f) && d == INT32_MAX)) in main() 160 TEST((s = S("\xff\xff\xff\xff\x0f"), pb_dec_varint(&s, &f) && d == INT32_MIN)) in main() 173 TEST((s = S("\x01"), pb_dec_varint(&s, &f) && d == -1)) in main() 174 TEST((s = S("\x02"), pb_dec_varint(&s, &f) && d == 1)) in main() 175 … TEST((s = S("\xFE\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), pb_dec_varint(&s, &f) && d == INT64_MAX)) in main() 176 … TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01"), pb_dec_varint(&s, &f) && d == INT64_MIN)) in main() [all …]
|
/nanopb-3.4.0/ |
D | pb_decode.c | 37 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_iter_t *field); 411 return pb_dec_varint(stream, field); in decode_basic_field() 1424 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_iter_t *field) in pb_dec_varint() function
|
/nanopb-3.4.0/docs/ |
D | migration.md | 640 function `pb_dec_string`, `pb_dec_varint`, `pb_dec_submessage` or
|