Home
last modified time | relevance | path

Searched refs:cDescriptor (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyBuilder.java56 this.cDescriptor = (RubyClass) runtime.getClassFromPath("Google::Protobuf::Descriptor"); in RubyBuilder()
90 RubyDescriptor msgdef = (RubyDescriptor) cDescriptor.newInstance(context, Block.NULL_BLOCK); in addMessage()
166 private RubyClass cDescriptor, cEnumDescriptor, cMessageBuilderContext, cEnumBuilderContext; field in RubyBuilder
DRubyDescriptor.java53 …RubyClass cDescriptor = protobuf.defineClassUnder("Descriptor", runtime.getObject(), new ObjectAll… in createRubyDescriptor() local
59 cDescriptor.includeModule(runtime.getEnumerable()); in createRubyDescriptor()
60 cDescriptor.defineAnnotatedMethods(RubyDescriptor.class); in createRubyDescriptor()
DRubyMessageBuilderContext.java65 … this.cDescriptor = (RubyClass) context.runtime.getClassFromPath("Google::Protobuf::Descriptor"); in initialize()
161 … RubyDescriptor mapentryDesc = (RubyDescriptor) cDescriptor.newInstance(context, Block.NULL_BLOCK); in map()
216 private RubyClass cDescriptor; field in RubyMessageBuilderContext
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c163 if (def_klass == cDescriptor) { in DescriptorPool_add()
304 cDescriptor = klass; in Descriptor_register()
305 rb_gc_register_address(&cDescriptor); in Descriptor_register()
1372 mapentry_desc = rb_class_new_instance(0, NULL, cDescriptor); in MessageBuilderContext_map()
1666 VALUE msgdef = rb_class_new_instance(0, NULL, cDescriptor); in Builder_add_message()
1743 if (CLASS_OF(def_rb) == cDescriptor) { in Builder_finalize_to_pool()
Dprotobuf.h158 extern VALUE cDescriptor;