Lines Matching refs:msgdef
1833 UPB_DECLARE_DEF_TYPE(upb::MessageDef, msgdef, MSG)
2174 * containing msgdef can be frozen (see upb_resolve() above). upb always
2327 /* Adds a field (upb_fielddef object) to a msgdef. Requires that the msgdef
2331 * cases false is returned and the msgdef is unchanged.
2334 * that oneof is already part of this msgdef. (Note that adding a oneof to a
2335 * msgdef automatically adds all of its fields to the msgdef at the time that
2337 * fields first then add the oneof to the msgdef. This case is supported for
2345 /* Adds a oneof (upb_oneofdef object) to a msgdef. Requires that the msgdef,
2348 * msgdef, and that the oneof's name is unique among all oneofs in the msgdef.
2350 * directly to the msgdef as well. In error cases, false is returned and the
2351 * msgdef is unchanged. */
2407 /* Returns a new msgdef that is a copy of the given msgdef (and a copy of all
2637 * msgdef. */
2804 * oneof or msgdef. If the oneof is not yet part of a msgdef, then when the
2805 * oneof is eventually added to a msgdef, all fields added to the oneof will
2806 * also be added to the msgdef at that time. If the oneof is already part of a
2807 * msgdef, the field must either be a part of that msgdef already, or must not
2808 * be a part of any msgdef; in the latter case, the field is added to the
2809 * msgdef as a part of this operation.
3741 } sub; /* The msgdef or enumdef for this field, if upb_hassubdef(f). */
3762 packed, name, num, msgdef, subdef, selector_base, \
3766 defaultval, {msgdef}, {subdef}, NULL, false, false, \
4134 /* Returns a new handlers object for the given frozen msgdef.
4168 /* Returns the msgdef associated with this handlers object. */
6738 /* MessageDefs: call these functions to get a ref to a msgdef. */
6855 /* Functions to get a fielddef from a msgdef reference. */