Home
last modified time | relevance | path

Searched refs:cEnumDescriptor (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyBuilder.java57 … this.cEnumDescriptor = (RubyClass) runtime.getClassFromPath("Google::Protobuf::EnumDescriptor"); in RubyBuilder()
118 …RubyEnumDescriptor enumDef = (RubyEnumDescriptor) cEnumDescriptor.newInstance(context, Block.NULL_… in addEnum()
166 private RubyClass cDescriptor, cEnumDescriptor, cMessageBuilderContext, cEnumBuilderContext; field in RubyBuilder
DRubyEnumDescriptor.java53 …RubyClass cEnumDescriptor = mProtobuf.defineClassUnder("EnumDescriptor", runtime.getObject(), new … in createRubyEnumDescriptor() local
59 cEnumDescriptor.includeModule(runtime.getEnumerable()); in createRubyEnumDescriptor()
60 cEnumDescriptor.defineAnnotatedMethods(RubyEnumDescriptor.class); in createRubyEnumDescriptor()
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c165 } else if (def_klass == cEnumDescriptor) { in DescriptorPool_add()
1042 cEnumDescriptor = klass; in EnumDescriptor_register()
1043 rb_gc_register_address(&cEnumDescriptor); in EnumDescriptor_register()
1688 VALUE enumdef = rb_class_new_instance(0, NULL, cEnumDescriptor); in Builder_add_enum()
1746 } else if (CLASS_OF(def_rb) == cEnumDescriptor) { in Builder_finalize_to_pool()
Dprotobuf.h160 extern VALUE cEnumDescriptor;