/nanopb-2.7.6/ |
D | pb_encode.c | 52 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write() 66 pb_ostream_t stream; in pb_ostream_from_buffer() local 81 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() 125 static bool checkreturn encode_array(pb_ostream_t *stream, pb_field_iter_t *field) in encode_array() 359 static bool checkreturn encode_basic_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_basic_field() 404 static bool checkreturn encode_callback_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_callback_field() 415 static bool checkreturn encode_field(pb_ostream_t *stream, pb_field_iter_t *field) in encode_field() 471 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *exten… in default_extension_encoder() 484 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_extension_field() 509 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) in pb_encode() [all …]
|
D | pb_decode.c | 70 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() 85 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() 124 static bool checkreturn pb_readbyte(pb_istream_t *stream, pb_byte_t *buf) in pb_readbyte() 144 pb_istream_t stream; in pb_istream_from_buffer() local 170 static bool checkreturn pb_decode_varint32_eof(pb_istream_t *stream, uint32_t *dest, bool *eof) in pb_decode_varint32_eof() 234 bool checkreturn pb_decode_varint32(pb_istream_t *stream, uint32_t *dest) in pb_decode_varint32() 240 bool checkreturn pb_decode_varint(pb_istream_t *stream, uint64_t *dest) in pb_decode_varint() 263 bool checkreturn pb_skip_varint(pb_istream_t *stream) in pb_skip_varint() 274 bool checkreturn pb_skip_string(pb_istream_t *stream) in pb_skip_string() 288 bool checkreturn pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, uint32_t *tag, bool… in pb_decode_tag() [all …]
|
/nanopb-2.7.6/tests/msgid/ |
D | encode_msgid.c | 14 bool write_prefix(pb_ostream_t *stream, int msgid) in write_prefix() 25 bool encode_MyMessage1(pb_ostream_t *stream) in encode_MyMessage1() 33 bool encode_MyMessage2(pb_ostream_t *stream) in encode_MyMessage2() 42 bool encode_MyMessage3(pb_ostream_t *stream) in encode_MyMessage3() 53 pb_ostream_t stream; in main() local
|
D | decode_msgid.c | 10 bool read_prefix(pb_istream_t *stream, int *msgid) in read_prefix() 23 bool handle_MyMessage1(pb_istream_t *stream) in handle_MyMessage1() 34 bool handle_MyMessage2(pb_istream_t *stream) in handle_MyMessage2() 46 bool handle_MyMessage3(pb_istream_t *stream) in handle_MyMessage3() 60 pb_istream_t stream; in main() local
|
/nanopb-2.7.6/tests/alltypes_proto3_callback/ |
D | encode_alltypes_callback.c | 13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_varint() 19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_svarint() 25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed32() 31 static bool write_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed64() 37 static bool write_double(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_double() 49 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string() 55 static bool write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_submsg() 62 static bool write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_emptymsg() 69 static bool write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_varint() 83 static bool write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_svarint() [all …]
|
D | decode_alltypes_callback.c | 18 static bool read_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_varint() 28 static bool read_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_svarint() 38 static bool read_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed32() 48 static bool read_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed64() 58 static bool read_double(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_double() 80 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() 92 static bool read_submsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_submsg() 106 static bool read_emptymsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_emptymsg() 112 static bool read_repeated_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_varint() 123 static bool read_repeated_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_svarint() [all …]
|
/nanopb-2.7.6/tests/missing_fields/ |
D | missing_fields.c | 16 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in main() local 30 pb_istream_t stream = pb_istream_from_buffer(buffer, size); in main() local 42 pb_istream_t stream = pb_istream_from_buffer(buffer, size); in main() local
|
/nanopb-2.7.6/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_varint() 19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_svarint() 25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed32() 31 static bool write_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed64() 37 static bool write_double(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_double() 49 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string() 55 static bool write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_submsg() 62 static bool write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_emptymsg() 69 static bool write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_varint() 83 static bool write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_svarint() [all …]
|
D | decode_alltypes_callback.c | 18 static bool read_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_varint() 28 static bool read_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_svarint() 38 static bool read_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed32() 48 static bool read_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed64() 58 static bool read_double(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_double() 80 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() 92 static bool read_submsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_submsg() 107 static bool read_emptymsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_emptymsg() 113 static bool read_repeated_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_varint() 124 static bool read_repeated_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_svarint() [all …]
|
/nanopb-2.7.6/tests/callbacks/ |
D | encode_callbacks.c | 9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string() 19 bool encode_int32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_int32() 27 bool encode_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed32() 37 bool encode_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed64() 47 bool encode_repeatedstring(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_repeatedstring() 66 pb_ostream_t stream; in main() local
|
D | decode_callbacks.c | 10 bool print_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in print_string() 28 bool print_int32(pb_istream_t *stream, const pb_field_t *field, void **arg) in print_int32() 38 bool print_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in print_fixed32() 48 bool print_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in print_fixed64() 62 pb_istream_t stream; in main() local
|
/nanopb-2.7.6/tests/mem_release/ |
D | mem_release.c | 51 pb_ostream_t stream; in test_TestMessage() local 71 pb_istream_t stream; in test_TestMessage() local 120 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in test_OneofMessage() local 178 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_OneofMessage() local 205 static bool dummy_decode_cb(pb_istream_t *stream, const pb_field_t *field, void **arg) in dummy_decode_cb() 218 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_Garbage() local 224 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_Garbage() local 230 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_Garbage() local
|
/nanopb-2.7.6/examples/network_server/ |
D | common.c | 11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback() 17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in read_callback() 35 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; in pb_ostream_from_socket() local 41 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX}; in pb_istream_from_socket() local
|
/nanopb-2.7.6/tests/regression/issue_249/ |
D | test.c | 6 static bool write_array(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_array() 20 static bool read_array(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_array() 41 pb_ostream_t stream = pb_ostream_from_buffer(buf, sizeof(buf)); in main() local 49 pb_istream_t stream = pb_istream_from_buffer(buf, msglen); in main() local
|
/nanopb-2.7.6/tests/basic_stream/ |
D | decode_stream.c | 12 bool print_person(pb_istream_t *stream) in print_person() 58 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count) in callback() 76 pb_istream_t stream = {&callback, NULL, SIZE_MAX}; in main() local
|
D | encode_stream.c | 10 bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in streamcallback() 26 pb_ostream_t stream = {&streamcallback, NULL, SIZE_MAX, 0}; in main() local
|
/nanopb-2.7.6/tests/regression/issue_259/ |
D | callback_pointer.c | 13 pb_istream_t stream = pb_istream_from_buffer(msgdata, sizeof(msgdata)); in main() local 20 pb_istream_t stream = pb_istream_from_buffer(msgdata, sizeof(msgdata)); in main() local
|
/nanopb-2.7.6/tests/regression/issue_229/ |
D | multiple_oneof.c | 13 pb_ostream_t stream = pb_ostream_from_buffer(buf, sizeof(buf)); in main() local 24 pb_istream_t stream = pb_istream_from_buffer(buf, msglen); in main() local
|
/nanopb-2.7.6/examples/cmake_relpath/ |
D | simple.c | 25 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in main() local 54 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main() local
|
/nanopb-2.7.6/examples/cmake_simple/ |
D | simple.c | 25 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in main() local 53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main() local
|
/nanopb-2.7.6/examples/simple/ |
D | simple.c | 25 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in main() local 53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main() local
|
/nanopb-2.7.6/tests/proto3_optional/ |
D | optional.c | 14 pb_ostream_t stream = pb_ostream_from_buffer(buf, sizeof(buf)); in main() local 28 pb_istream_t stream = pb_istream_from_buffer(buf, msglen); in main() local
|
/nanopb-2.7.6/tests/regression/issue_342/ |
D | test_extensions.c | 9 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string() 22 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); in main() local 39 pb_istream_t stream = pb_istream_from_buffer(buffer, msglen); in main() local
|
/nanopb-2.7.6/tests/basic_buffer/ |
D | decode_buffer.c | 16 bool print_person(pb_istream_t *stream) in print_person() 64 pb_istream_t stream; in main() local
|
/nanopb-2.7.6/tests/oneof/ |
D | decode_oneof.c | 12 int test_oneof_1(pb_istream_t *stream, int option) in test_oneof_1() 56 int test_oneof_2(pb_istream_t *stream, int option) in test_oneof_2() 115 pb_istream_t stream; in main() local
|