Searched refs:pb_decode_varint (Results 1 – 11 of 11) sorted by relevance
/nanopb-2.7.6/ |
D | pb_decode.h | 156 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 158 #define pb_decode_varint pb_decode_varint32 macro
|
D | pb_decode.c | 240 bool checkreturn pb_decode_varint(pb_istream_t *stream, uint64_t *dest) in pb_decode_varint() function 1340 if (!pb_decode_varint(stream, &value)) in pb_decode_svarint() 1411 if (!pb_decode_varint(stream, &value)) in pb_dec_varint() 1444 if (!pb_decode_varint(stream, &value)) in pb_dec_varint()
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_decode.h | 156 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 158 #define pb_decode_varint pb_decode_varint32 macro
|
/nanopb-2.7.6/tests/decode_unittests/ |
D | decode_unittests.c | 81 TEST((s = S("\x00"), pb_decode_varint(&s, &u) && u == 0)); in main() 82 TEST((s = S("\x01"), pb_decode_varint(&s, &u) && u == 1)); in main() 83 TEST((s = S("\xAC\x02"), pb_decode_varint(&s, &u) && u == 300)); in main() 84 TEST((s = S("\xFF\xFF\xFF\xFF\x0F"), pb_decode_varint(&s, &u) && u == UINT32_MAX)); in main() 85 … TEST((s = S("\xFF\xFF\xFF\xFF\x0F"), pb_decode_varint(&s, (uint64_t*)&i) && i == UINT32_MAX)); in main() 87 pb_decode_varint(&s, (uint64_t*)&i) && i == -1)); in main() 89 pb_decode_varint(&s, &u) && u == UINT64_MAX)); in main() 91 !pb_decode_varint(&s, &u))); in main()
|
/nanopb-2.7.6/tests/callbacks/ |
D | decode_callbacks.c | 31 if (!pb_decode_varint(stream, &value)) in print_int32()
|
/nanopb-2.7.6/tests/oneof_callback/ |
D | decode_oneof.c | 48 if (!pb_decode_varint(stream, &value)) in print_int32()
|
/nanopb-2.7.6/tests/raw_decode/ |
D | raw_decode.c | 100 if (!pb_decode_varint(stream, &value)) in raw_decode()
|
/nanopb-2.7.6/tests/alltypes_proto3_callback/ |
D | decode_alltypes_callback.c | 21 if (!pb_decode_varint(stream, &value)) in read_varint() 116 if (!pb_decode_varint(stream, &value)) in read_repeated_varint()
|
/nanopb-2.7.6/docs/ |
D | reference.md | 852 [pb_decode_varint](#pb_decode_varint), [pb_decode_svarint](#pb_decode_svarint), 861 #### pb_decode_varint subsubsection 866 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 876 Same as `pb_decode_varint`, but limits the value to 32 bits: 880 Parameters are the same as `pb_decode_varint`. This function can be used 887 Similar to [pb_decode_varint](#pb_decode_varint), except that it 893 (parameters are the same as [pb_decode_varint](#pb_decode_varint)) 952 This function uses `pb_decode_varint` to read an integer from the stream.
|
D | concepts.md | 315 if (!pb_decode_varint(stream, &value))
|
/nanopb-2.7.6/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 21 if (!pb_decode_varint(stream, &value)) in read_varint() 117 if (!pb_decode_varint(stream, &value)) in read_repeated_varint()
|