Home
last modified time | relevance | path

Searched refs:dest_struct (Results 1 – 4 of 4) 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);
93 void pb_release(const pb_field_t fields[], void *dest_struct);
Dpb_decode.c29 void *dest_struct; /* Pointer to the destination structure to decode to */ member
39 static void pb_field_init(pb_field_iterator_t *iter, const pb_field_t *fields, void *dest_struct);
48 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct);
341 static void pb_field_init(pb_field_iterator_t *iter, const pb_field_t *fields, void *dest_struct) in pb_field_init() argument
346 iter->pData = (char*)dest_struct + iter->pos->data_offset; in pb_field_init()
348 iter->dest_struct = dest_struct; in pb_field_init()
379 iter->pData = iter->dest_struct; in pb_field_next()
681 iter.dest_struct = extension->dest; in default_extension_decoder()
730 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct) in pb_message_set_to_defaults() argument
733 pb_field_init(&iter, fields, dest_struct); in pb_message_set_to_defaults()
[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/nanopb-c/docs/
Dreference.rst579 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
583 :dest_struct: Pointer to structure where data will be stored.
600 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
616 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
627 void pb_release(const pb_field_t fields[], void *dest_struct);
630 :dest_struct: Pointer to structure where data will be stored.