• Home
  • Raw
  • Download

Lines Matching refs:fielddef

417   upb_fielddef* mut_field_def = check_field_notfrozen(def->fielddef);  in Descriptor_add_field()
421 add_def_obj(def->fielddef, obj); in Descriptor_add_field()
652 upb_fielddef_unref(self->fielddef, &self->fielddef); in FieldDescriptor_free()
666 upb_fielddef* fielddef = upb_fielddef_new(&self->fielddef); in FieldDescriptor_alloc() local
667 upb_fielddef_setpacked(fielddef, false); in FieldDescriptor_alloc()
668 self->fielddef = fielddef; in FieldDescriptor_alloc()
705 return rb_str_maybe_null(upb_fielddef_name(self->fielddef)); in FieldDescriptor_name()
717 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_name_set()
846 if (!upb_fielddef_typeisset(self->fielddef)) { in FieldDescriptor_type()
849 return descriptortype_to_ruby(upb_fielddef_descriptortype(self->fielddef)); in FieldDescriptor_type()
861 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_type_set()
874 return layout_get_default(self->fielddef); in FieldDescriptor_default()
886 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_default_set()
942 switch (upb_fielddef_label(self->fielddef)) { in FieldDescriptor_label()
965 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_label_set()
1002 return INT2NUM(upb_fielddef_number(self->fielddef)); in FieldDescriptor_number()
1014 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_number_set()
1031 if (!upb_fielddef_hassubdef(self->fielddef)) { in FieldDescriptor_submsg_name()
1034 return rb_str_maybe_null(upb_fielddef_subdefname(self->fielddef)); in FieldDescriptor_submsg_name()
1049 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_submsg_name_set()
1051 if (!upb_fielddef_hassubdef(self->fielddef)) { in FieldDescriptor_submsg_name_set()
1072 if (!upb_fielddef_hassubdef(self->fielddef)) { in FieldDescriptor_subtype()
1075 def = upb_fielddef_subdef(self->fielddef); in FieldDescriptor_subtype()
1093 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_get()
1096 return layout_get(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_get()
1110 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_has()
1112 } else if (!upb_fielddef_haspresence(self->fielddef)) { in FieldDescriptor_has()
1116 return layout_has(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_has()
1129 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_clear()
1133 layout_clear(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_clear()
1149 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_set()
1152 layout_set(msg->descriptor->layout, Message_data(msg), self->fielddef, value); in FieldDescriptor_set()
1243 upb_fielddef* mut_field_def = check_field_notfrozen(def->fielddef); in OneofDescriptor_add_field()
1247 add_def_obj(def->fielddef, obj); in OneofDescriptor_add_field()
1563 FieldDescriptor* fielddef = ruby_to_FieldDescriptor(fielddef_rb); in msgdef_add_field() local
1564 if (!upb_fielddef_haspresence((upb_fielddef*)fielddef->fielddef) || in msgdef_add_field()
1565 upb_fielddef_issubmsg((upb_fielddef*)fielddef->fielddef)) { in msgdef_add_field()