Home
last modified time | relevance | path

Searched refs:pb_field_iter_t (Results 1 – 22 of 22) sorted by relevance

/nanopb-3.4.0/
Dpb_common.h16 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);
Dpb_encode.c24 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 …]
Dpb_decode.c27 …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 …]
Dpb_common.c8 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()
Dpb_encode.h133 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_iter_t *field);
Dpb.h310 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/
Dpb_common.h16 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);
Dpb_encode.h133 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_iter_t *field);
Dpb.h310 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/
Dtest_multiple_files.c21 pb_field_iter_t iter; in main()
/nanopb-3.4.0/tests/fuzztest/
Dvalidation.c6 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()
Dgenerate_message.c24 pb_field_iter_t iter; in limit_sizes()
/nanopb-3.4.0/tests/decode_unittests/
Ddecode_unittests.c131 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/
Dencode.c20 pb_field_iter_t iter; in encode_unionmessage()
Ddecode.c28 pb_field_iter_t iter; in decode_unionmessage_type()
/nanopb-3.4.0/examples/network_server/
Dclient.c30 bool ListFilesResponse_callback(pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t in ListFilesResponse_callback()
Dserver.c31 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/
Dencode_unittests.c145 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/
Dreference.md256 …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 …]
Dconcepts.md259 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…
Dmigration.md138 typedef for `pb_field_iter_t`. This retains compatibility
/nanopb-3.4.0/tests/common_unittests/
Dcommon_unittests.c15 pb_field_iter_t iter; in main()