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.java237 … IRubyObject type, IRubyObject number, IRubyObject typeClass, RubyClass cFieldDescriptor) { in msgdefCreateField() argument
239 …RubyFieldDescriptor fieldDef = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.N… in msgdefCreateField()
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c693 rb_gc_register_address(&cFieldDescriptor); in FieldDescriptor_register()
694 cFieldDescriptor = klass; in FieldDescriptor_register()
1537 VALUE fielddef_rb = rb_class_new_instance(0, NULL, cFieldDescriptor); in msgdef_add_field()
1728 VALUE key_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
1738 VALUE value_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
1759 VALUE map_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map()
Dprotobuf.h171 extern VALUE cFieldDescriptor;