/nanopb-3.4.0/ |
D | pb_common.h | 16 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message); 19 bool pb_field_iter_begin_extension(pb_field_iter_t *iter, pb_extension_t *extension); 24 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message… 25 bool pb_field_iter_begin_extension_const(pb_field_iter_t *iter, const pb_extension_t *extension); 29 bool pb_field_iter_next(pb_field_iter_t *iter); 33 bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); 37 bool pb_field_iter_find_extension(pb_field_iter_t *iter);
|
D | pb_encode.c | 24 static bool checkreturn encode_array(pb_ostream_t *stream, pb_field_iter_t *field); 25 static bool checkreturn pb_check_proto3_default_value(const pb_field_iter_t *field); 26 static bool checkreturn encode_basic_field(pb_ostream_t *stream, const pb_field_iter_t *field); 27 static bool checkreturn encode_callback_field(pb_ostream_t *stream, const pb_field_iter_t *field); 28 static bool checkreturn encode_field(pb_ostream_t *stream, pb_field_iter_t *field); 29 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_iter_t *field); 32 static bool checkreturn pb_enc_bool(pb_ostream_t *stream, const pb_field_iter_t *field); 33 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_iter_t *field); 34 static bool checkreturn pb_enc_fixed(pb_ostream_t *stream, const pb_field_iter_t *field); 35 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_iter_t *field); [all …]
|
D | pb_decode.c | 27 …kreturn decode_basic_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *field); 28 …return decode_static_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *field); 29 …eturn decode_pointer_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *field); 30 …turn decode_callback_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *field); 31 …l checkreturn decode_field(pb_istream_t *stream, pb_wire_type_t wire_type, pb_field_iter_t *field); 34 static bool pb_field_set_to_default(pb_field_iter_t *field); 35 static bool pb_message_set_to_defaults(pb_field_iter_t *iter); 36 static bool checkreturn pb_dec_bool(pb_istream_t *stream, const pb_field_iter_t *field); 37 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_iter_t *field); 38 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_iter_t *field); [all …]
|
D | pb_common.c | 8 static bool load_descriptor_values(pb_field_iter_t *iter) in load_descriptor_values() 122 static void advance_iterator(pb_field_iter_t *iter) in advance_iterator() 156 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message) in pb_field_iter_begin() 166 bool pb_field_iter_begin_extension(pb_field_iter_t *iter, pb_extension_t *extension) in pb_field_iter_begin_extension() 188 bool pb_field_iter_next(pb_field_iter_t *iter) in pb_field_iter_next() 195 bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag) in pb_field_iter_find() 246 bool pb_field_iter_find_extension(pb_field_iter_t *iter) in pb_field_iter_find_extension() 290 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message) in pb_field_iter_begin_const() 295 bool pb_field_iter_begin_extension_const(pb_field_iter_t *iter, const pb_extension_t *extension) in pb_field_iter_begin_extension_const()
|
D | pb_encode.h | 133 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_iter_t *field);
|
D | pb.h | 310 typedef struct pb_field_iter_s pb_field_iter_t; typedef 321 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field); 351 typedef pb_field_iter_t pb_field_t;
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb_common.h | 16 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message); 19 bool pb_field_iter_begin_extension(pb_field_iter_t *iter, pb_extension_t *extension); 24 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message… 25 bool pb_field_iter_begin_extension_const(pb_field_iter_t *iter, const pb_extension_t *extension); 29 bool pb_field_iter_next(pb_field_iter_t *iter); 33 bool pb_field_iter_find(pb_field_iter_t *iter, uint32_t tag); 37 bool pb_field_iter_find_extension(pb_field_iter_t *iter);
|
D | pb_encode.h | 133 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_iter_t *field);
|
D | pb.h | 310 typedef struct pb_field_iter_s pb_field_iter_t; typedef 321 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field); 351 typedef pb_field_iter_t pb_field_t;
|
/nanopb-3.4.0/tests/multiple_files/ |
D | test_multiple_files.c | 21 pb_field_iter_t iter; in main()
|
/nanopb-3.4.0/tests/fuzztest/ |
D | validation.c | 6 void validate_static(pb_field_iter_t *iter) in validate_static() 62 void validate_pointer(pb_field_iter_t *iter) in validate_pointer() 146 pb_field_iter_t iter; in validate_message()
|
D | generate_message.c | 24 pb_field_iter_t iter; in limit_sizes()
|
/nanopb-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 131 pb_field_iter_t f; in main() 149 pb_field_iter_t f; in main() 165 pb_field_iter_t f; in main() 181 pb_field_iter_t f; in main() 197 pb_field_iter_t f; in main() 212 pb_field_iter_t f; in main() 227 pb_field_iter_t f; in main() 265 pb_field_iter_t f; in main() 289 pb_field_iter_t f; in main()
|
/nanopb-3.4.0/examples/using_union_messages/ |
D | encode.c | 20 pb_field_iter_t iter; in encode_unionmessage()
|
D | decode.c | 28 pb_field_iter_t iter; in decode_unionmessage_type()
|
/nanopb-3.4.0/examples/network_server/ |
D | client.c | 30 bool ListFilesResponse_callback(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t… in ListFilesResponse_callback()
|
D | server.c | 31 bool ListFilesResponse_callback(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t… in ListFilesResponse_callback()
|
/nanopb-3.4.0/tests/encode_unittests/ |
D | encode_unittests.c | 145 pb_field_iter_t field; in main() 180 pb_field_iter_t field; in main() 214 pb_field_iter_t field; in main() 243 pb_field_iter_t field; in main() 256 pb_field_iter_t field; in main()
|
/nanopb-3.4.0/docs/ |
D | reference.md | 256 …bool (*field_callback)(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field); 267 ### pb_field_iter_t subsection 271 into `pb_field_iter_t` by the functions defined in `pb_common.h`. 273 typedef struct pb_field_iter_s pb_field_iter_t; 335 bool (*decode)(pb_istream_t *stream, const pb_field_iter_t *field, void **arg); 336 bool (*encode)(pb_ostream_t *stream, const pb_field_iter_t *field, void * const *arg); 384 assume that `arg` points to a [pb_field_iter_t](#pb_field_iter_t) 596 from a `pb_field_iter_t` structure. 598 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_iter_t *field); 991 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message); [all …]
|
D | concepts.md | 259 bool (*encode)(pb_ostream_t *stream, const pb_field_iter_t *field, void * const *arg); 285 bool write_string(pb_ostream_t *stream, const pb_field_iter_t *field, void * const *arg) 296 bool (*decode)(pb_istream_t *stream, const pb_field_iter_t *field, void **arg); 316 bool read_ints(pb_istream_t *stream, const pb_field_iter_t *field, void **arg) 330 …bool MyMessage_callback(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field…
|
D | migration.md | 138 typedef for `pb_field_iter_t`. This retains compatibility
|
/nanopb-3.4.0/tests/common_unittests/ |
D | common_unittests.c | 15 pb_field_iter_t iter; in main()
|