Home
last modified time | relevance | path

Searched refs:oneofdef (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c410 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()
[all …]
Dprotobuf.h130 const upb_oneofdef* oneofdef; member
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessageBuilderContext.java193 RubyOneofDescriptor oneofdef = (RubyOneofDescriptor) in oneof() local
196 cOneofBuilderContext.newInstance(context, oneofdef, Block.NULL_BLOCK); in oneof()
197 oneofdef.setName(context, name); in oneof()
201 descriptor.addOneof(context, oneofdef); in oneof()
DRubyOneofBuilderContext.java64 public IRubyObject initialize(ThreadContext context, IRubyObject oneofdef) { in initialize() argument
65 this.descriptor = (RubyOneofDescriptor) oneofdef; in initialize()
/external/protobuf/php/ext/google/protobuf/
Dprotobuf.h92 const upb_oneofdef* oneofdef; member
Dupb.h1423 UPB_DECLARE_DEF_TYPE(upb::OneofDef, oneofdef, ONEOF)