Home
last modified time | relevance | path

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

/third_party/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.java74 this.maps = new HashMap<Descriptors.FieldDescriptor, RubyMap>(); in initialize()
95 final RubyMap map = newMapForField(context, fieldDescriptor); in initialize()
179 for (RubyMap map : maps.values()) { in hash()
641 RubyMap map = maps.get(fieldDescriptor); in getField()
679 if (!(value instanceof RubyMap)) { in setField()
682 RubyMap thisMap = (RubyMap) getField(context, fieldDescriptor); in setField()
775 …private RubyMap newMapForField(ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)… in newMapForField()
785 return (RubyMap) cMap.newInstance(context, keyType, valueType, in newMapForField()
788 return (RubyMap) cMap.newInstance(context, keyType, valueType, Block.NULL_BLOCK); in newMapForField()
804 private Map<Descriptors.FieldDescriptor, RubyMap> maps;
DRubyProtobuf.java65 return ((RubyMap) message).deepCopy(context); in deepCopy()
/third_party/protobuf/ruby/src/main/java/google/
DProtobufJavaService.java55 RubyMap.createRubyMap(ruby); in basicLoad()
/third_party/protobuf/
DMakefile.am1117 ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java \