Searched refs:oneofDescriptor (Results 1 – 8 of 8) 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.get(oneofDescriptor) == fieldDescriptor) { in getField()598 … Descriptors.FieldDescriptor oneofCase = builder.getOneofFieldDescriptor(oneofDescriptor); in getField()666 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in setField() local667 if (oneofDescriptor != null) { in setField()668 Descriptors.FieldDescriptor oneofCase = oneofCases.get(oneofDescriptor); 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();546 OneofDescriptor oneofDescriptor = field.getContainingOneof();547 if (oneofDescriptor != null) {548 int index = oneofDescriptor.getIndex();
128 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local134 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);
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()482 final OneofDescriptor oneofDescriptor = field.getContainingOneof();488 if (oneofDescriptor != null) {490 i += oneofDescriptor.getFieldCount() - 1;491 if (!hasOneof(oneofDescriptor)) {496 field = getOneofFieldDescriptor(oneofDescriptor);
842 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor() local843 if (oneofDescriptor != null) { in Descriptor()844 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]; in Descriptor()
738 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor() local739 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()
190 GPBOneofDescriptor *oneofDescriptor =192 [oneofs addObject:oneofDescriptor];193 [oneofDescriptor release];