Lines Matching refs:msgdef
139 upb_symtab_add(self->symtab, (upb_def**)&descriptor->msgdef, 1, in add_descriptor_to_pool()
236 upb_msgdef_unref(self->msgdef, &self->msgdef); in Descriptor_free()
277 self->msgdef = upb_msgdef_new(&self->msgdef); in Descriptor_alloc()
317 return rb_str_maybe_null(upb_msgdef_fullname(self->msgdef)); in Descriptor_name()
329 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_name_set()
347 for (upb_msg_field_begin(&it, self->msgdef); in Descriptor_each()
367 const upb_fielddef* field = upb_msgdef_ntofz(self->msgdef, s); in Descriptor_lookup()
385 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_add_field()
408 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_add_oneof()
429 for (upb_msg_oneof_begin(&it, self->msgdef); in Descriptor_each_oneof()
449 const upb_oneofdef* oneof = upb_msgdef_ntooz(self->msgdef, s); in Descriptor_lookup_oneof()
465 if (!upb_def_isfrozen((const upb_def*)self->msgdef)) { in Descriptor_msgclass()
858 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_get()
876 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_set()
1220 VALUE msgdef, in MessageBuilderContext_initialize() argument
1223 self->descriptor = msgdef; in MessageBuilderContext_initialize()
1228 static VALUE msgdef_add_field(VALUE msgdef, in msgdef_add_field() argument
1249 rb_funcall(msgdef, rb_intern("add_field"), 1, fielddef); in msgdef_add_field()
1384 upb_msgdef_setmapentry((upb_msgdef*)mapentry_desc_self->msgdef, true); in MessageBuilderContext_map()
1666 VALUE msgdef = rb_class_new_instance(0, NULL, cDescriptor); in Builder_add_message() local
1667 VALUE args[2] = { msgdef, _self }; in Builder_add_message()
1670 rb_funcall(msgdef, rb_intern("name="), 1, name); in Builder_add_message()
1672 rb_ary_push(self->pending_list, msgdef); in Builder_add_message()
1697 static void validate_msgdef(const upb_msgdef* msgdef) { in validate_msgdef() argument
1700 for (upb_msg_field_begin(&it, msgdef); in validate_msgdef()
1744 self->defs[i] = (upb_def*)ruby_to_Descriptor(def_rb)->msgdef; in Builder_finalize_to_pool()