Lines Matching refs:fielddef
784 self->fielddef = NULL; in FieldDescriptor_alloc()
824 self->fielddef = (const upb_fielddef*)NUM2ULL(ptr); in FieldDescriptor_initialize()
837 return rb_str_maybe_null(upb_fielddef_name(self->fielddef)); in FieldDescriptor_name()
985 return descriptortype_to_ruby(upb_fielddef_descriptortype(self->fielddef)); in FieldDescriptor_type()
996 return layout_get_default(self->fielddef); in FieldDescriptor_default()
1010 switch (upb_fielddef_label(self->fielddef)) { in FieldDescriptor_label()
1032 return INT2NUM(upb_fielddef_number(self->fielddef)); in FieldDescriptor_number()
1046 switch (upb_fielddef_type(self->fielddef)) { in FieldDescriptor_submsg_name()
1049 upb_enumdef_fullname(upb_fielddef_enumsubdef(self->fielddef))); in FieldDescriptor_submsg_name()
1052 upb_msgdef_fullname(upb_fielddef_msgsubdef(self->fielddef))); in FieldDescriptor_submsg_name()
1069 switch (upb_fielddef_type(self->fielddef)) { in FieldDescriptor_subtype()
1072 upb_fielddef_enumsubdef(self->fielddef)); in FieldDescriptor_subtype()
1075 upb_fielddef_msgsubdef(self->fielddef)); in FieldDescriptor_subtype()
1092 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_get()
1095 return layout_get(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_get()
1109 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_has()
1111 } else if (!upb_fielddef_haspresence(self->fielddef)) { in FieldDescriptor_has()
1115 return layout_has(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_has()
1128 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_clear()
1132 layout_clear(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_clear()
1148 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_set()
1151 layout_set(msg->descriptor->layout, Message_data(msg), self->fielddef, value); in FieldDescriptor_set()