Home
last modified time | relevance | path

Searched refs:cMap (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java59 … RubyClass cMap = protobuf.defineClassUnder("Map", runtime.getObject(), new ObjectAllocator() { in createRubyMap() local
65 cMap.includeModule(runtime.getEnumerable()); in createRubyMap()
66 cMap.defineAnnotatedMethods(RubyMap.class); in createRubyMap()
DRubyMessage.java71 this.cMap = (RubyClass) runtime.getClassFromPath("Google::Protobuf::Map"); in initialize()
785 return (RubyMap) cMap.newInstance(context, keyType, valueType, in newMapForField()
788 return (RubyMap) cMap.newInstance(context, keyType, valueType, Block.NULL_BLOCK); in newMapForField()
802 private RubyClass cMap; field in RubyMessage
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c137 VALUE cMap; variable
834 rb_gc_register_address(&cMap); in Map_register()
835 cMap = klass; in Map_register()
Dstorage.c673 map = rb_class_new_instance(3, args, cMap); in layout_clear()
679 map = rb_class_new_instance(2, args, cMap); in layout_clear()
Dmessage.c843 } else if (klass == cMap) { in Google_Protobuf_deep_copy()
Dprotobuf.h458 extern VALUE cMap;
Dencode_decode.c1611 if (klass == cRepeatedField || klass == cMap) { in Google_Protobuf_discard_unknown()