Searched refs:pb_dec_varint (Results 1 – 3 of 3) sorted by relevance
/nanopb-2.7.6/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-2.7.6/ |
D | pb_decode.c | 37 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_iter_t *field); 409 return pb_dec_varint(stream, field); in decode_basic_field() 1406 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_iter_t *field) in pb_dec_varint() function
|
/nanopb-2.7.6/docs/ |
D | migration.md | 583 function `pb_dec_string`, `pb_dec_varint`, `pb_dec_submessage` or
|