Home
last modified time | relevance | path

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

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java56 public class RubyMap extends RubyObject { class
62 return new RubyMap(ruby, rubyClass); in createRubyMap()
66 cMap.defineAnnotatedMethods(RubyMap.class); in createRubyMap()
69 public RubyMap(Ruby ruby, RubyClass rubyClass) { in RubyMap() method in RubyMap
194 RubyMap other = (RubyMap) _other; in eq()
334 RubyMap newMap = newThisType(context); in dup()
348 RubyMap newMap = newThisType(context); in deepCopy()
378 protected RubyMap mergeIntoSelf(final ThreadContext context, IRubyObject hashmap) { in mergeIntoSelf()
386 } else if (hashmap instanceof RubyMap) { in mergeIntoSelf()
387 RubyMap other = (RubyMap) hashmap; in mergeIntoSelf()
[all …]
DRubyMessage.java72 this.maps = new HashMap<Descriptors.FieldDescriptor, RubyMap>(); in initialize()
91 final RubyMap map = newMapForField(context, fieldDescriptor); in initialize()
609 RubyMap map = maps.get(fieldDescriptor); in getField()
647 if (!(value instanceof RubyMap)) { in setField()
650 RubyMap thisMap = (RubyMap) getField(context, fieldDescriptor); in setField()
731 …private RubyMap newMapForField(ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)… in newMapForField()
741 return (RubyMap) cMap.newInstance(context, keyType, valueType, in newMapForField()
744 return (RubyMap) cMap.newInstance(context, keyType, valueType, Block.NULL_BLOCK); in newMapForField()
760 private Map<Descriptors.FieldDescriptor, RubyMap> maps;
DRubyProtobuf.java65 return ((RubyMap) message).deepCopy(context); in deepCopy()
/external/protobuf/ruby/src/main/java/google/
DProtobufJavaService.java55 RubyMap.createRubyMap(ruby); in basicLoad()
/external/protobuf/
DMakefile.am653 ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java \