Home
last modified time | relevance | path

Searched refs:oneofDescriptor (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java218 IRubyObject oneofDescriptor = rubyDescriptor.lookupOneof(context, args[0]); in methodMissing() local
219 if (oneofDescriptor.isNil()) { in methodMissing()
225 RubyOneofDescriptor rubyOneofDescriptor = (RubyOneofDescriptor) oneofDescriptor; in methodMissing()
593 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in getField() local
594 if (oneofDescriptor != null) { in getField()
595 if (oneofCases.get(oneofDescriptor) == fieldDescriptor) { in getField()
598 … Descriptors.FieldDescriptor oneofCase = builder.getOneofFieldDescriptor(oneofDescriptor); in getField()
666 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in setField() local
667 if (oneofDescriptor != null) { in setField()
668 Descriptors.FieldDescriptor oneofCase = oneofCases.get(oneofDescriptor); in setField()
[all …]
DRubyDescriptor.java199 for (RubyOneofDescriptor oneofDescriptor : oneofDefs.values()) { in eachOneof()
200 block.yieldSpecific(context, oneofDescriptor); in eachOneof()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDynamicMessage.java521 OneofDescriptor oneofDescriptor = field.getContainingOneof();
522 if (oneofDescriptor != null) {
523 int index = oneofDescriptor.getIndex();
546 OneofDescriptor oneofDescriptor = field.getContainingOneof();
547 if (oneofDescriptor != null) {
548 int index = oneofDescriptor.getIndex();
DGeneratedMessageV3.java128 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local
134 if (oneofDescriptor != null) { in getAllFieldsMutable()
136 i += oneofDescriptor.getFieldCount() - 1; in getAllFieldsMutable()
137 if (!hasOneof(oneofDescriptor)) { in getAllFieldsMutable()
142 field = getOneofFieldDescriptor(oneofDescriptor); in getAllFieldsMutable()
483 final OneofDescriptor oneofDescriptor = field.getContainingOneof();
489 if (oneofDescriptor != null) {
491 i += oneofDescriptor.getFieldCount() - 1;
492 if (!hasOneof(oneofDescriptor)) {
497 field = getOneofFieldDescriptor(oneofDescriptor);
DGeneratedMessage.java127 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local
133 if (oneofDescriptor != null) { in getAllFieldsMutable()
135 i += oneofDescriptor.getFieldCount() - 1; in getAllFieldsMutable()
136 if (!hasOneof(oneofDescriptor)) { in getAllFieldsMutable()
141 field = getOneofFieldDescriptor(oneofDescriptor); in getAllFieldsMutable()
482 final OneofDescriptor oneofDescriptor = field.getContainingOneof();
488 if (oneofDescriptor != null) {
490 i += oneofDescriptor.getFieldCount() - 1;
491 if (!hasOneof(oneofDescriptor)) {
496 field = getOneofFieldDescriptor(oneofDescriptor);
DDescriptors.java842 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor() local
843 if (oneofDescriptor != null) { in Descriptor()
844 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]; in Descriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java738 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor() local
739 assertNotNull(oneofDescriptor); in testOneofDescriptor()
740 assertSame(oneofDescriptor, messageType.getOneofs().get(0)); in testOneofDescriptor()
741 assertEquals("oneof_field", oneofDescriptor.getName()); in testOneofDescriptor()
743 assertEquals(4, oneofDescriptor.getFieldCount()); in testOneofDescriptor()
744 assertSame(oneofDescriptor.getField(1), field); in testOneofDescriptor()
746 assertEquals(4, oneofDescriptor.getFields().size()); in testOneofDescriptor()
747 assertEquals(oneofDescriptor.getFields().get(1), field); in testOneofDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBDescriptor.m190 GPBOneofDescriptor *oneofDescriptor =
192 [oneofs addObject:oneofDescriptor];
193 [oneofDescriptor release];