Searched refs:oneofDescriptor (Results 1 – 8 of 8) sorted by relevance
241 IRubyObject oneofDescriptor = rubyDescriptor.lookupOneof(context, args[0]); in methodMissing() local242 if (oneofDescriptor.isNil()) { in methodMissing()248 RubyOneofDescriptor rubyOneofDescriptor = (RubyOneofDescriptor) oneofDescriptor; in methodMissing()621 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in getField() local622 if (oneofDescriptor != null) { in getField()623 if (oneofCases.get(oneofDescriptor) == fieldDescriptor) { in getField()626 … Descriptors.FieldDescriptor oneofCase = builder.getOneofFieldDescriptor(oneofDescriptor); in getField()694 Descriptors.OneofDescriptor oneofDescriptor = fieldDescriptor.getContainingOneof(); in setField() local695 if (oneofDescriptor != null) { in setField()696 Descriptors.FieldDescriptor oneofCase = oneofCases.get(oneofDescriptor); in setField()[all …]
199 for (RubyOneofDescriptor oneofDescriptor : oneofDefs.values()) { in eachOneof()200 block.yieldSpecific(context, oneofDescriptor); in eachOneof()
534 OneofDescriptor oneofDescriptor = field.getContainingOneof();535 if (oneofDescriptor != null) {536 int index = oneofDescriptor.getIndex();559 OneofDescriptor oneofDescriptor = field.getContainingOneof();560 if (oneofDescriptor != null) {561 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()482 final OneofDescriptor oneofDescriptor = field.getContainingOneof();488 if (oneofDescriptor != null) {490 i += oneofDescriptor.getFieldCount() - 1;491 if (!hasOneof(oneofDescriptor)) {496 field = getOneofFieldDescriptor(oneofDescriptor);
160 final OneofDescriptor oneofDescriptor = field.getContainingOneof(); in getAllFieldsMutable() local166 if (oneofDescriptor != null) { in getAllFieldsMutable()168 i += oneofDescriptor.getFieldCount() - 1; in getAllFieldsMutable()169 if (!hasOneof(oneofDescriptor)) { in getAllFieldsMutable()174 field = getOneofFieldDescriptor(oneofDescriptor); in getAllFieldsMutable()631 final OneofDescriptor oneofDescriptor = field.getContainingOneof();637 if (oneofDescriptor != null) {639 i += oneofDescriptor.getFieldCount() - 1;640 if (!hasOneof(oneofDescriptor)) {645 field = getOneofFieldDescriptor(oneofDescriptor);
896 OneofDescriptor oneofDescriptor = fields[i].getContainingOneof(); in Descriptor() local897 if (oneofDescriptor != null) { in Descriptor()898 oneofDescriptor.fields[oneofDescriptor.fieldCount++] = fields[i]; in Descriptor()
705 OneofDescriptor oneofDescriptor = field.getContainingOneof(); in testOneofDescriptor() local706 assertNotNull(oneofDescriptor); in testOneofDescriptor()707 assertSame(oneofDescriptor, messageType.getOneofs().get(0)); in testOneofDescriptor()708 assertEquals("oneof_field", oneofDescriptor.getName()); in testOneofDescriptor()710 assertEquals(4, oneofDescriptor.getFieldCount()); in testOneofDescriptor()711 assertSame(oneofDescriptor.getField(1), field); in testOneofDescriptor()713 assertEquals(4, oneofDescriptor.getFields().size()); in testOneofDescriptor()714 assertEquals(oneofDescriptor.getFields().get(1), field); in testOneofDescriptor()
192 GPBOneofDescriptor *oneofDescriptor =194 [oneofs addObject:oneofDescriptor];195 [oneofDescriptor release];