Home
last modified time | relevance | path

Searched refs:dest_struct (Results 1 – 12 of 12) sorted by relevance

/external/nanopb-c/
Dpb_decode.h68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
80 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
86 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
91 bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
98 bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
105 void pb_release(const pb_field_t fields[], void *dest_struct);
Dpb_common.c8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) in pb_field_iter_begin() argument
13 iter->dest_struct = dest_struct; in pb_field_iter_begin()
14 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_iter_begin()
36 (void)pb_field_iter_begin(iter, iter->start, iter->dest_struct); in pb_field_iter_next()
Dpb_decode.c36 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct);
884 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct) in pb_message_set_to_defaults() argument
888 if (!pb_field_iter_begin(&iter, fields, dest_struct)) in pb_message_set_to_defaults()
901 …ol checkreturn pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_noinit() argument
917 (void)pb_field_iter_begin(&iter, fields, dest_struct); in pb_decode_noinit()
1051 bool checkreturn pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode() argument
1054 pb_message_set_to_defaults(fields, dest_struct); in pb_decode()
1055 status = pb_decode_noinit(stream, fields, dest_struct); in pb_decode()
1059 pb_release(fields, dest_struct); in pb_decode()
1065 bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_delimited_noinit() argument
[all …]
Dpb_common.h19 void *dest_struct; /* Pointer to start of the structure */ member
27 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct);
/external/grpc-grpc/third_party/nanopb/
Dpb_common.c8 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct) in pb_field_iter_begin() argument
13 iter->dest_struct = dest_struct; in pb_field_iter_begin()
14 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_iter_begin()
36 (void)pb_field_iter_begin(iter, iter->start, iter->dest_struct); in pb_field_iter_next()
Dpb_decode.h68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
80 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
86 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
93 void pb_release(const pb_field_t fields[], void *dest_struct);
Dpb_common.h19 void *dest_struct; /* Pointer to start of the structure */ member
27 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct);
Dpb_decode.c37 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct);
823 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct) in pb_message_set_to_defaults() argument
827 if (!pb_field_iter_begin(&iter, fields, dest_struct)) in pb_message_set_to_defaults()
840 …ol checkreturn pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_noinit() argument
849 (void)pb_field_iter_begin(&iter, fields, dest_struct); in pb_decode_noinit()
943 bool checkreturn pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode() argument
946 pb_message_set_to_defaults(fields, dest_struct); in pb_decode()
947 status = pb_decode_noinit(stream, fields, dest_struct); in pb_decode()
951 pb_release(fields, dest_struct); in pb_decode()
957 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_delimited() argument
[all …]
/external/nanopb-c/examples/using_union_messages/
Ddecode.c45 …ol decode_unionmessage_contents(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in decode_unionmessage_contents() argument
52 status = pb_decode(&substream, fields, dest_struct); in decode_unionmessage_contents()
/external/grpc-grpc/third_party/nanopb/examples/using_union_messages/
Ddecode.c45 …ol decode_unionmessage_contents(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in decode_unionmessage_contents() argument
52 status = pb_decode(&substream, fields, dest_struct); in decode_unionmessage_contents()
/external/grpc-grpc/third_party/nanopb/docs/
Dreference.rst613 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
617 :dest_struct: Pointer to structure where data will be stored.
634 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
650 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
661 void pb_release(const pb_field_t fields[], void *dest_struct);
664 :dest_struct: Pointer to structure where data is stored. If NULL, function does nothing.
/external/nanopb-c/docs/
Dreference.rst623 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
627 :dest_struct: Pointer to structure where data will be stored.
644 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
660 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
671 void pb_release(const pb_field_t fields[], void *dest_struct);
674 :dest_struct: Pointer to structure where data is stored. If NULL, function does nothing.