Lines Matching refs:oneofdef
440 upb_oneofdef* mut_oneof_def = check_oneof_notfrozen(def->oneofdef); in Descriptor_add_oneof()
444 add_def_obj(def->oneofdef, obj); in Descriptor_add_oneof()
1167 upb_oneofdef_unref(self->oneofdef, &self->oneofdef); in OneofDescriptor_free()
1181 self->oneofdef = upb_oneofdef_new(&self->oneofdef); in OneofDescriptor_alloc()
1206 return rb_str_maybe_null(upb_oneofdef_name(self->oneofdef)); in OneofDescriptor_name()
1218 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_name_set()
1241 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_add_field()
1260 for (upb_oneof_begin(&it, self->oneofdef); in OneofDescriptor_each()
1789 VALUE oneofdef = rb_class_new_instance(0, NULL, cOneofDescriptor); in MessageBuilderContext_oneof() local
1790 VALUE args[2] = { oneofdef, self->builder }; in MessageBuilderContext_oneof()
1794 rb_funcall(oneofdef, rb_intern("name="), 1, name_str); in MessageBuilderContext_oneof()
1796 Descriptor_add_oneof(self->descriptor, oneofdef); in MessageBuilderContext_oneof()
1848 VALUE oneofdef, in OneofBuilderContext_initialize() argument
1851 self->descriptor = oneofdef; in OneofBuilderContext_initialize()