Lines Matching defs:fields
693 * not-packed fields. */
734 /* Default handler for extension fields. Expects to have a pb_msgdesc_t
793 /* Initialize message fields to default values, recursively */
907 * Decode all fields *
910 static bool checkreturn pb_decode_inner(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags)
916 * is unpacked and unordered among other (non repeated fixed count) fields.
928 (void)pb_field_iter_begin(&iter, fields, dest_struct);
1029 /* Check that all required fields were present. */
1031 /* First figure out the number of required fields by
1074 bool checkreturn pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int flags)
1082 if (pb_field_iter_begin(&iter, fields, dest_struct))
1091 status = pb_decode_inner(stream, fields, dest_struct, flags);
1099 status = pb_decode_inner(&substream, fields, dest_struct, flags);
1107 pb_release(fields, dest_struct);
1113 bool checkreturn pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct)
1115 return pb_decode_ex(stream, fields, dest_struct, 0);
1159 /* Release fields from all extensions in the linked list */
1173 /* Release fields in submessage or submsg array */
1191 /* Protect against corrupted _count fields */
1234 void pb_release(const pb_msgdesc_t *fields, void *dest_struct)
1241 if (!pb_field_iter_begin(&iter, fields, dest_struct))
1361 * not break decoding of such messages, we cast <=32 bit fields to