Home
last modified time | relevance | path

Searched refs:oneofCases (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDynamicMessage.java53 private final FieldDescriptor[] oneofCases; field in DynamicMessage
67 FieldDescriptor[] oneofCases, in DynamicMessage() argument
71 this.oneofCases = oneofCases; in DynamicMessage()
81 FieldDescriptor[] oneofCases = new FieldDescriptor[oneofDeclCount]; in getDefaultInstance() local
83 oneofCases, in getDefaultInstance()
177 FieldDescriptor field = oneofCases[oneof.getIndex()]; in hasOneof()
187 return oneofCases[oneof.getIndex()]; in getOneofFieldDescriptor()
332 private final FieldDescriptor[] oneofCases;
340 this.oneofCases = new FieldDescriptor[type.toProto().getOneofDeclCount()];
369 for (int i = 0; i < oneofCases.length; i++) {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java74 this.oneofCases = new HashMap<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor>(); in initialize()
102 oneofCases.put(oneof, fieldDescriptor); in initialize()
227 oneofCases.get(rubyOneofDescriptor.getOneofDescriptor()); in methodMissing()
595 if (oneofCases.get(oneofDescriptor) == fieldDescriptor) { in getField()
668 Descriptors.FieldDescriptor oneofCase = oneofCases.get(oneofDescriptor); in setField()
673 oneofCases.remove(oneofDescriptor); in setField()
676 oneofCases.put(oneofDescriptor, fieldDescriptor); in setField()
753 if (oneofCases.containsKey(oneof)) { in getOneofCase()
754 return oneofCases.get(oneof); in getOneofCase()
766 private Map<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor> oneofCases; field in RubyMessage