Searched refs:oneofdef (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessageBuilderContext.java | 193 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()
|
D | RubyOneofBuilderContext.java | 64 public IRubyObject initialize(ThreadContext context, IRubyObject oneofdef) { in initialize() argument 65 this.descriptor = (RubyOneofDescriptor) oneofdef; in initialize()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 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() [all …]
|
D | protobuf.h | 134 const upb_oneofdef* oneofdef; member
|
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 256 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()
|
D | protobuf.h | 1174 const upb_oneofdef* oneofdef;
|