Home
last modified time | relevance | path

Searched refs:OneofIndex (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs83 if (proto.OneofIndex != -1) in FieldDescriptor()
85 if (proto.OneofIndex < 0 || proto.OneofIndex >= parent.Proto.OneofDecl.Count) in FieldDescriptor()
90 ContainingOneof = parent.Oneofs[proto.OneofIndex]; in FieldDescriptor()
DPartialClasses.cs44 OneofIndex = -1; in OnConstruction()
DDescriptor.cs1370 public int OneofIndex { property in Google.Protobuf.Reflection.FieldDescriptorProto
1421 if (OneofIndex != other.OneofIndex) return false; in Equals()
1436 if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode(); in GetHashCode()
1479 if (OneofIndex != 0) { in WriteTo()
1481 output.WriteInt32(OneofIndex); in WriteTo()
1512 if (OneofIndex != 0) { in CalculateSize()
1513 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex); in CalculateSize()
1549 if (other.OneofIndex != 0) { in MergeFrom()
1550 OneofIndex = other.OneofIndex; in MergeFrom()
1606 OneofIndex = input.ReadInt32(); in MergeFrom()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs445 public int OneofIndex { property in Google.Protobuf.WellKnownTypes.Field
519 if (OneofIndex != other.OneofIndex) return false; in Equals()
534 if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode(); in GetHashCode()
567 if (OneofIndex != 0) { in WriteTo()
569 output.WriteInt32(OneofIndex); in WriteTo()
603 if (OneofIndex != 0) { in CalculateSize()
604 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex); in CalculateSize()
638 if (other.OneofIndex != 0) { in MergeFrom()
639 OneofIndex = other.OneofIndex; in MergeFrom()
681 OneofIndex = input.ReadInt32(); in MergeFrom()
/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go1565 if field.OneofIndex != nil {
1650 } else if field.OneofIndex != nil && message != nil {
2245 oneof := field.OneofIndex != nil
2246 if oneof && oFields[*field.OneofIndex] == nil {
2247 odp := message.OneofDecl[int(*field.OneofIndex)]
2253 oneofFullPath := fmt.Sprintf("%s,%d,%d", message.path, messageOneofPath, *field.OneofIndex)
2276 oFields[*field.OneofIndex] = &of
2340 oneofField := oFields[*field.OneofIndex]
/external/golang-protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go820OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omit… member
907 if m != nil && m.OneofIndex != nil {
908 return *m.OneofIndex
/external/syzkaller/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/
Ddescriptor.pb.go788OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omit… member
874 if m != nil && m.OneofIndex != nil {
875 return *m.OneofIndex