/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | generator_test.py | 292 self.assertEqual(1, len(desc.oneofs)) 293 self.assertEqual('oneof_field', desc.oneofs[0].name) 294 self.assertEqual(0, desc.oneofs[0].index) 295 self.assertIs(desc, desc.oneofs[0].containing_type) 296 self.assertIs(desc.oneofs[0], desc.oneofs_by_name['oneof_field']) 301 set([field.name for field in desc.oneofs[0].fields])) 304 self.assertIs(desc.oneofs[0], field_desc.containing_oneof)
|
D | descriptor_pool_test.py | 187 self.assertEqual(1, len(msg2.oneofs)) 189 self.assertEqual(2, len(msg2.oneofs[0].fields)) 191 self.assertEqual(msg2.oneofs[0], 193 self.assertIn(msg2.fields_by_name[name], msg2.oneofs[0].fields)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/ |
D | oneofs.proto | 31 // Proto to test oneofs. 38 package google.protobuf.testing.oneofs; 39 option java_package = "com.google.protobuf.testing.oneofs";
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_reflection_class.cc | 250 std::vector<std::string> oneofs; in WriteGeneratedCodeInfo() local 252 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo() 254 printer->Print("new[]{ \"$oneofs$\" }, ", "oneofs", JoinStrings(oneofs, "\", \"")); in WriteGeneratedCodeInfo()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | descriptor.py | 260 is_extendable=True, extension_ranges=None, oneofs=None, argument 271 is_extendable=True, extension_ranges=None, oneofs=None, argument 315 self.oneofs = oneofs if oneofs is not None else [] 316 self.oneofs_by_name = dict((o.name, o) for o in self.oneofs) 317 for oneof in self.oneofs:
|
D | descriptor_pool.py | 447 oneofs = [ 462 oneofs=oneofs, 480 oneofs[oneof_index].fields.append(fields[field_index]) 481 fields[field_index].containing_oneof = oneofs[oneof_index]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/ |
D | Struct.pbobjc.m | 212 static const char *oneofs[] = { 215 [localDescriptor setupOneofs:oneofs 216 count:(uint32_t)(sizeof(oneofs) / sizeof(char*)) 240 GPBOneofDescriptor *oneof = [descriptor.oneofs objectAtIndex:0];
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBDescriptorTests.m | 170 // There are two oneofs in there. 171 XCTAssertEqual(descriptor.oneofs.count, 2U); 180 // Check the oneofs to have what is expected. 217 // Check pointers back to the enclosing oneofs.
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/protos/ |
D | unittest_issues.proto | 99 // but doesn't include oneofs. 100 // TODO: Consider adding oneofs to TestFieldOrderings, although
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 643 return Collections.unmodifiableList(Arrays.asList(oneofs)); in getOneofs() 768 private final OneofDescriptor[] oneofs; field in Descriptors.Descriptor 790 this.oneofs = new OneofDescriptor[0]; in Descriptor() 807 oneofs = new OneofDescriptor[proto.getOneofDeclCount()]; in Descriptor() 809 oneofs[i] = new OneofDescriptor( in Descriptor() 838 oneofs[i].fields = new FieldDescriptor[oneofs[i].getFieldCount()]; in Descriptor() 839 oneofs[i].fieldCount = 0; in Descriptor() 874 for (int i = 0; i < oneofs.length; i++) { in setProto() 875 oneofs[i].setProto(proto.getOneofDecl(i)); in setProto()
|
D | GeneratedMessageV3.java | 1721 oneofs = new OneofAccessor[descriptor.getOneofs().size()]; 1788 int oneofsSize = oneofs.length; 1790 oneofs[i] = new OneofAccessor( 1803 private final OneofAccessor[] oneofs; 1826 return oneofs[oneof.getIndex()];
|
D | GeneratedMessage.java | 2052 oneofs = new OneofAccessor[descriptor.getOneofs().size()]; 2119 int oneofsSize = oneofs.length; 2121 oneofs[i] = new OneofAccessor( 2134 private final OneofAccessor[] oneofs; 2157 return oneofs[oneof.getIndex()];
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | type.proto | 52 repeated string oneofs = 3; field 128 // The index of the field type in `Type.oneofs`, for message or enumeration
|
D | type.pb.cc | 415 this->oneofs(this->oneofs_size() - 1).data(), in MergePartialFromCodedStream() 416 this->oneofs(this->oneofs_size() - 1).length(), in MergePartialFromCodedStream() 516 this->oneofs(i).data(), this->oneofs(i).length(), in SerializeWithCachedSizes() 520 3, this->oneofs(i), output); in SerializeWithCachedSizes() 568 this->oneofs(i).data(), this->oneofs(i).length(), in InternalSerializeWithCachedSizesToArray() 572 WriteStringToArray(3, this->oneofs(i), target); in InternalSerializeWithCachedSizesToArray() 635 this->oneofs(i)); in ByteSize() 815 const ::std::string& Type::oneofs(int index) const { in oneofs() function in google::protobuf::Type 853 Type::oneofs() const { in oneofs() function in google::protobuf::Type
|
D | type.pb.h | 220 const ::std::string& oneofs(int index) const; 229 const ::google::protobuf::RepeatedPtrField< ::std::string>& oneofs() const; 962 inline const ::std::string& Type::oneofs(int index) const { in oneofs() function 1000 Type::oneofs() const { in oneofs() function
|
D | field_mask.proto | 219 // Field masks treat fields in oneofs just as regular fields. Consider the
|
D | unittest_proto3.proto | 303 // Test oneofs.
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/ |
D | README.md | 75 * No oneofs
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBDescriptor.h | 58 @property(nonatomic, readonly, strong, nullable) NSArray<GPBOneofDescriptor*> *oneofs;
|
D | GPBDescriptor.m | 106 @synthesize oneofs = oneofs_; 184 NSMutableArray *oneofs = [[NSMutableArray alloc] initWithCapacity:count]; 192 [oneofs addObject:oneofDescriptor]; 196 oneofs_ = oneofs;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 1256 namespace oneofs { namespace 1301 return descriptor::NewMappingByName(&oneofs::ContainerDef, descriptor); in NewMessageOneofsByName() 1305 return descriptor::NewSequence(&oneofs::ContainerDef, descriptor); in NewMessageOneofsSeq()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 110 return type.oneofs(field->oneof_index() - 1) == oneof_name; in FieldInOneof()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/ |
D | tests.cmake | 65 google/protobuf/util/internal/testdata/oneofs.proto
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/ |
D | Makefile.am | 522 google/protobuf/util/internal/testdata/oneofs.proto \ 637 google/protobuf/util/internal/testdata/oneofs.pb.cc \ 638 google/protobuf/util/internal/testdata/oneofs.pb.h \
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | proto_writer.cc | 546 element_->type().oneofs(field.oneof_index() - 1), in ValidOneof()
|