Home
last modified time | relevance | path

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

/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/ruby/ext/google/protobuf_c/
Ddefs.c440 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()
[all …]
Dprotobuf.h134 const upb_oneofdef* oneofdef; member
/external/protobuf/php/ext/google/protobuf/
Ddef.c256 oneof_php->oneofdef = oneof; in PHP_METHOD()
490 self->oneofdef = NULL; in oneof_descriptor_init_c_instance()
495 const char *name = upb_oneofdef_name(intern->oneofdef); in PHP_METHOD()
508 int field_num = upb_oneofdef_numfields(intern->oneofdef); in PHP_METHOD()
516 for(upb_oneof_begin(&iter, intern->oneofdef), i = 0; in PHP_METHOD()
547 RETURN_LONG(upb_oneofdef_numfields(intern->oneofdef)); in PHP_METHOD()
Dprotobuf.h1174 const upb_oneofdef* oneofdef;