Lines Matching refs:dest_struct
29 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()
797 …ol checkreturn pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_noinit() argument
803 pb_field_init(&iter, fields, dest_struct); in pb_decode_noinit()
893 bool checkreturn pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode() argument
896 pb_message_set_to_defaults(fields, dest_struct); in pb_decode()
897 status = pb_decode_noinit(stream, fields, dest_struct); in pb_decode()
901 pb_release(fields, dest_struct); in pb_decode()
907 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) in pb_decode_delimited() argument
915 status = pb_decode(&substream, fields, dest_struct); in pb_decode_delimited()
921 void pb_release(const pb_field_t fields[], void *dest_struct) in pb_release() argument
924 pb_field_init(&iter, fields, dest_struct); in pb_release()