/external/grpc-grpc/third_party/nanopb/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()
|
/external/nanopb-c/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()
|
/external/nanopb-c/ |
D | pb_decode.h | 140 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 142 #define pb_decode_varint pb_decode_varint32 macro
|
D | pb_decode.c | 250 bool checkreturn pb_decode_varint(pb_istream_t *stream, uint64_t *dest) in pb_decode_varint() function 1243 if (!pb_decode_varint(stream, &value)) in pb_decode_svarint() 1294 if (!pb_decode_varint(stream, &value)) in pb_dec_varint() 1329 if (!pb_decode_varint(stream, &value)) in pb_dec_uvarint()
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_decode.h | 127 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest);
|
D | pb_decode.c | 208 bool checkreturn pb_decode_varint(pb_istream_t *stream, uint64_t *dest) in pb_decode_varint() function 1107 if (!pb_decode_varint(stream, &value)) in pb_decode_svarint() 1156 if (!pb_decode_varint(stream, &value)) in pb_dec_varint() 1191 if (!pb_decode_varint(stream, &value)) in pb_dec_uvarint()
|
/external/grpc-grpc/third_party/nanopb/tests/callbacks/ |
D | decode_callbacks.c | 31 if (!pb_decode_varint(stream, &value)) in print_int32()
|
/external/nanopb-c/tests/callbacks/ |
D | decode_callbacks.c | 31 if (!pb_decode_varint(stream, &value)) in print_int32()
|
/external/nanopb-c/tests/alltypes_proto3_callback/ |
D | decode_alltypes_callback.c | 21 if (!pb_decode_varint(stream, &value)) in read_varint() 94 if (!pb_decode_varint(stream, &value)) in read_repeated_varint()
|
/external/nanopb-c/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 21 if (!pb_decode_varint(stream, &value)) in read_varint() 95 if (!pb_decode_varint(stream, &value)) in read_repeated_varint()
|
/external/grpc-grpc/third_party/nanopb/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 21 if (!pb_decode_varint(stream, &value)) in read_varint() 91 if (!pb_decode_varint(stream, &value)) in read_repeated_varint()
|
/external/grpc-grpc/third_party/nanopb/docs/ |
D | reference.rst | 698 …For decoding numeric (including enumerated and boolean) values, use `pb_decode_varint`_, `pb_decod… 704 pb_decode_varint section in pb_decode.h 708 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 716 Similar to `pb_decode_varint`_, except that it performs zigzag-decoding on the value. This correspo… 720 (parameters are the same as `pb_decode_varint`_) 758 This function uses `pb_decode_varint`_ to read an integer from the stream. This is interpreted as a…
|
D | concepts.rst | 231 if (!pb_decode_varint(stream, &value))
|
/external/nanopb-c/docs/ |
D | reference.rst | 708 …For decoding numeric (including enumerated and boolean) values, use `pb_decode_varint`_, `pb_decod… 714 pb_decode_varint section in pb_decode.h 718 bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); 726 Similar to `pb_decode_varint`_, except that it performs zigzag-decoding on the value. This correspo… 730 (parameters are the same as `pb_decode_varint`_) 768 This function uses `pb_decode_varint`_ to read an integer from the stream. This is interpreted as a…
|
D | concepts.rst | 237 if (!pb_decode_varint(stream, &value))
|