Searched refs:pb_decode_varint32 (Results 1 – 7 of 7) sorted by relevance
/nanopb-2.7.6/ |
D | pb_decode.h | 158 #define pb_decode_varint pb_decode_varint32 163 bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest);
|
D | pb_decode.c | 234 bool checkreturn pb_decode_varint32(pb_istream_t *stream, uint32_t *dest) in pb_decode_varint32() function 277 if (!pb_decode_varint32(stream, &length)) in pb_skip_string() 362 if (!pb_decode_varint32(stream, &size)) in pb_make_string_substream() 1330 if (!pb_decode_varint32(stream, &value)) in pb_decode_bool() 1484 if (!pb_decode_varint32(stream, &size)) in pb_dec_bytes() 1524 if (!pb_decode_varint32(stream, &size)) in pb_dec_string() 1624 if (!pb_decode_varint32(stream, &size)) in pb_dec_fixed_length_bytes()
|
D | CHANGELOG.txt | 41 Make pb_decode_varint32() reject overlong varint encodings. 220 Make pb_decode_varint32 overflow checks exact (#258) 240 Make pb_decode_varint32 public API (#231)
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_decode.h | 158 #define pb_decode_varint pb_decode_varint32 163 bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest);
|
/nanopb-2.7.6/tests/decode_unittests/ |
D | decode_unittests.c | 99 TEST((s = S("\x00"), pb_decode_varint32(&s, &u) && u == 0)); in main() 100 TEST((s = S("\x01"), pb_decode_varint32(&s, &u) && u == 1)); in main() 101 TEST((s = S("\xAC\x02"), pb_decode_varint32(&s, &u) && u == 300)); in main() 102 TEST((s = S("\xFF\xFF\xFF\xFF\x0F"), pb_decode_varint32(&s, &u) && u == UINT32_MAX)); in main() 103 TEST((s = S("\xFF\xFF\xFF\xFF\x8F\x00"), pb_decode_varint32(&s, &u) && u == UINT32_MAX)); in main() 104 TEST((s = S("\xFF\xFF\xFF\xFF\x10"), !pb_decode_varint32(&s, &u))); in main() 105 TEST((s = S("\xFF\xFF\xFF\xFF\x40"), !pb_decode_varint32(&s, &u))); in main() 106 TEST((s = S("\xFF\xFF\xFF\xFF\xFF\x01"), !pb_decode_varint32(&s, &u))); in main() 107 TEST((s = S("\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x80\x00"), !pb_decode_varint32(&s, &u))); in main()
|
/nanopb-2.7.6/tests/regression/issue_249/ |
D | test.c | 25 if (!pb_decode_varint32(stream, &i)) in read_array()
|
/nanopb-2.7.6/docs/ |
D | reference.md | 874 #### pb_decode_varint32 subsubsection 878 bool pb_decode_varint32(pb_istream_t *stream, uint32_t *dest);
|