Home | History | Annotate | Download | only in protobuf_c

Lines Matching refs:msgdef

139       upb_symtab_add(self->symtab, (upb_def**)&descriptor->msgdef, 1,
236 upb_msgdef_unref(self->msgdef, &self->msgdef);
277 self->msgdef = upb_msgdef_new(&self->msgdef);
317 return rb_str_maybe_null(upb_msgdef_fullname(self->msgdef));
329 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef);
347 for (upb_msg_field_begin(&it, self->msgdef);
367 const upb_fielddef* field = upb_msgdef_ntofz(self->msgdef, s);
385 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef);
408 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef);
429 for (upb_msg_oneof_begin(&it, self->msgdef);
449 const upb_oneofdef* oneof = upb_msgdef_ntooz(self->msgdef, s);
465 if (!upb_def_isfrozen((const upb_def*)self->msgdef)) {
858 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) {
876 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) {
1220 VALUE msgdef,
1223 self->descriptor = msgdef;
1228 static VALUE msgdef_add_field(VALUE msgdef,
1249 rb_funcall(msgdef, rb_intern("add_field"), 1, fielddef);
1382 // are correct. So we reach into the msgdef here to set the bit manually.
1384 upb_msgdef_setmapentry((upb_msgdef*)mapentry_desc_self->msgdef, true);
1666 VALUE msgdef = rb_class_new_instance(0, NULL, cDescriptor);
1667 VALUE args[2] = { msgdef, _self };
1670 rb_funcall(msgdef, rb_intern("name="), 1, name);
1672 rb_ary_push(self->pending_list, msgdef);
1697 static void validate_msgdef(const upb_msgdef* msgdef) {
1700 for (upb_msg_field_begin(&it, msgdef);
1744 self->defs[i] = (upb_def*)ruby_to_Descriptor(def_rb)->msgdef;