• Home
  • Raw
  • Download

Lines Matching refs:msgdef

139       upb_symtab_add(self->symtab, (upb_def**)&descriptor->msgdef, 1,  in add_descriptor_to_pool()
235 upb_msgdef_unref(self->msgdef, &self->msgdef); in Descriptor_free()
276 self->msgdef = upb_msgdef_new(&self->msgdef); in Descriptor_alloc()
320 upb_filedef_addmsg(file_descriptor->filedef, self->msgdef, NULL, &status), in Descriptor_initialize()
335 return get_def_obj(upb_def_file(self->msgdef)); in Descriptor_file_descriptor()
347 return rb_str_maybe_null(upb_msgdef_fullname(self->msgdef)); in Descriptor_name()
359 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_name_set()
377 for (upb_msg_field_begin(&it, self->msgdef); in Descriptor_each()
397 const upb_fielddef* field = upb_msgdef_ntofz(self->msgdef, s); in Descriptor_lookup()
415 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_add_field()
438 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef); in Descriptor_add_oneof()
459 for (upb_msg_oneof_begin(&it, self->msgdef); in Descriptor_each_oneof()
479 const upb_oneofdef* oneof = upb_msgdef_ntooz(self->msgdef, s); in Descriptor_lookup_oneof()
495 if (!upb_def_isfrozen((const upb_def*)self->msgdef)) { in Descriptor_msgclass()
1093 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_get()
1110 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_has()
1129 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_clear()
1149 if (msg->descriptor->msgdef != upb_fielddef_containingtype(self->fielddef)) { in FieldDescriptor_set()
1524 VALUE msgdef, in MessageBuilderContext_initialize() argument
1527 self->descriptor = msgdef; in MessageBuilderContext_initialize()
1558 Descriptor* msgdef = ruby_to_Descriptor(msgdef_rb); in msgdef_add_field() local
1559 if (upb_msgdef_syntax((upb_msgdef*)msgdef->msgdef) == UPB_SYNTAX_PROTO3) { in msgdef_add_field()
1702 if (upb_msgdef_syntax(descriptor->msgdef) == UPB_SYNTAX_PROTO2) { in MessageBuilderContext_map()
1723 upb_msgdef_setmapentry((upb_msgdef*)mapentry_desc_self->msgdef, true); in MessageBuilderContext_map()
2013 VALUE msgdef = rb_class_new_instance(1, &self->file_descriptor, cDescriptor); in FileBuilderContext_add_message() local
2014 VALUE args[2] = { msgdef, self->builder }; in FileBuilderContext_add_message()
2017 rb_funcall(msgdef, rb_intern("name="), 1, name); in FileBuilderContext_add_message()
2019 rb_ary_push(self->pending_list, msgdef); in FileBuilderContext_add_message()
2150 VALUE msgdef = in Builder_add_message() local
2152 VALUE args[2] = { msgdef, _self }; in Builder_add_message()
2155 rb_funcall(msgdef, rb_intern("name="), 1, name); in Builder_add_message()
2157 rb_ary_push(self->pending_list, msgdef); in Builder_add_message()
2185 static void proto3_validate_msgdef(const upb_msgdef* msgdef) { in proto3_validate_msgdef() argument
2188 for (upb_msg_field_begin(&it, msgdef); in proto3_validate_msgdef()
2232 self->defs[i] = (upb_def*)ruby_to_Descriptor(def_rb)->msgdef; in Builder_finalize_to_pool()