Searched refs:oneofDescriptor (Results 1 – 7 of 7) sorted by relevance
218 IRubyObject oneofDescriptor = rubyDescriptor.lookupOneof(context, args[0]); in methodMissing() local219 if (oneofDescriptor.isNil()) { in methodMissing()225 RubyOneofDescriptor rubyOneofDescriptor = (RubyOneofDescriptor) oneofDescriptor; in methodMissing()593 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in getField() local594 if (oneofDescriptor != null) { in getField()595 if (oneofCases.containsKey(oneofDescriptor)) { in getField()596 if (oneofCases.get(oneofDescriptor) != fieldDescriptor) in getField()600 … Descriptors.FieldDescriptor oneofCase = builder.getOneofFieldDescriptor(oneofDescriptor); in getField()662 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in setField() local663 if (oneofDescriptor != null) { in setField()[all …]
199 for (RubyOneofDescriptor oneofDescriptor : oneofDefs.values()) { in eachOneof()200 block.yieldSpecific(context, oneofDescriptor); in eachOneof()
521 OneofDescriptor oneofDescriptor = field.getContainingOneof();522 if (oneofDescriptor != null) {523 int index = oneofDescriptor.getIndex();538 OneofDescriptor oneofDescriptor = field.getContainingOneof();539 if (oneofDescriptor != null) {540 int index = oneofDescriptor.getIndex();
127 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local133 if (oneofDescriptor != null) { in getAllFieldsMutable()135 i += oneofDescriptor.getFieldCount() - 1; in getAllFieldsMutable()136 if (!hasOneof(oneofDescriptor)) { in getAllFieldsMutable()141 field = getOneofFieldDescriptor(oneofDescriptor); in getAllFieldsMutable()481 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local487 if (oneofDescriptor != null) { in getAllFieldsMutable()489 i += oneofDescriptor.getFieldCount() - 1; in getAllFieldsMutable()490 if (!hasOneof(oneofDescriptor)) { in getAllFieldsMutable()495 field = getOneofFieldDescriptor(oneofDescriptor); in getAllFieldsMutable()
842 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor() local843 if (oneofDescriptor != null) { in Descriptor()844 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]; in Descriptor()
730 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor() local731 assertNotNull(oneofDescriptor); in testOneofDescriptor()732 assertSame(oneofDescriptor, messageType.getOneofs().get(0)); in testOneofDescriptor()733 assertEquals("oneof_field", oneofDescriptor.getName()); in testOneofDescriptor()735 assertEquals(4, oneofDescriptor.getFieldCount()); in testOneofDescriptor()736 assertSame(oneofDescriptor.getField(1), field); in testOneofDescriptor()738 assertEquals(4, oneofDescriptor.getFields().size()); in testOneofDescriptor()739 assertEquals(oneofDescriptor.getFields().get(1), field); in testOneofDescriptor()
184 GPBOneofDescriptor *oneofDescriptor =186 [oneofs addObject:oneofDescriptor];187 [oneofDescriptor release];