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()
1317 rb_gc_register_address(&cEnumDescriptor); in EnumDescriptor_register()
1318 cEnumDescriptor = klass; in EnumDescriptor_register()
2036 rb_class_new_instance(1, &self->file_descriptor, cEnumDescriptor); in FileBuilderContext_add_enum()
2176 rb_class_new_instance(1, &self->default_file_descriptor, cEnumDescriptor); in Builder_add_enum()
2237 } else if (CLASS_OF(def_rb) == cEnumDescriptor) { in Builder_finalize_to_pool()
Dprotobuf.h172 extern VALUE cEnumDescriptor;