Lines Matching refs:oneofdef
410 upb_oneofdef* mut_oneof_def = check_oneof_notfrozen(def->oneofdef); in Descriptor_add_oneof()
414 add_def_obj(def->oneofdef, obj); in Descriptor_add_oneof()
894 upb_oneofdef_unref(self->oneofdef, &self->oneofdef); in OneofDescriptor_free()
908 self->oneofdef = upb_oneofdef_new(&self->oneofdef); in OneofDescriptor_alloc()
933 return rb_str_maybe_null(upb_oneofdef_name(self->oneofdef)); in OneofDescriptor_name()
945 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_name_set()
968 upb_oneofdef* mut_def = check_oneof_notfrozen(self->oneofdef); in OneofDescriptor_add_field()
987 for (upb_oneof_begin(&it, self->oneofdef); in OneofDescriptor_each()
1450 VALUE oneofdef = rb_class_new_instance(0, NULL, cOneofDescriptor); in MessageBuilderContext_oneof() local
1451 VALUE args[2] = { oneofdef, self->builder }; in MessageBuilderContext_oneof()
1455 rb_funcall(oneofdef, rb_intern("name="), 1, name_str); in MessageBuilderContext_oneof()
1457 Descriptor_add_oneof(self->descriptor, oneofdef); in MessageBuilderContext_oneof()
1509 VALUE oneofdef, in OneofBuilderContext_initialize() argument
1512 self->descriptor = oneofdef; in OneofBuilderContext_initialize()