Home
last modified time | relevance | path

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

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyOneofBuilderContext.java66 …this.cFieldDescriptor = (RubyClass) context.runtime.getClassFromPath("Google::Protobuf::FieldDescr… in initialize()
77 name, type, number, typeClass, cFieldDescriptor); in optional()
83 private RubyClass cFieldDescriptor; field in RubyOneofBuilderContext
DRubyMessageBuilderContext.java64 …this.cFieldDescriptor = (RubyClass) context.runtime.getClassFromPath("Google::Protobuf::FieldDescr… in initialize()
167 …RubyFieldDescriptor keyField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.N… in map()
175 …RubyFieldDescriptor valueField = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block… in map()
208 … Utils.msgdefCreateField(context, label, name, type, number, typeClass, cFieldDescriptor)); in msgdefAddField()
213 private RubyClass cFieldDescriptor; field in RubyMessageBuilderContext
DRubyFieldDescriptor.java48 …RubyClass cFieldDescriptor = mProtobuf.defineClassUnder("FieldDescriptor", runtime.getObject(), ne… in createRubyFileDescriptor() local
54 cFieldDescriptor.defineAnnotatedMethods(RubyFieldDescriptor.class); in createRubyFileDescriptor()
DUtils.java234 … IRubyObject type, IRubyObject number, IRubyObject typeClass, RubyClass cFieldDescriptor) { in msgdefCreateField() argument
236 …RubyFieldDescriptor fieldDef = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.N… in msgdefCreateField()
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c523 cFieldDescriptor = klass; in FieldDescriptor_register()
524 rb_gc_register_address(&cFieldDescriptor); in FieldDescriptor_register()
1232 VALUE fielddef = rb_class_new_instance(0, NULL, cFieldDescriptor); in msgdef_add_field()
1389 VALUE key_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
1399 VALUE value_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
1420 VALUE map_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
Dprotobuf.h159 extern VALUE cFieldDescriptor;