/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Any.cs | 155 public string TypeUrl { property in Google.Protobuf.WellKnownTypes.Any 186 if (TypeUrl != other.TypeUrl) return false; in Equals() 193 if (TypeUrl.Length != 0) hash ^= TypeUrl.GetHashCode(); in GetHashCode() 203 if (TypeUrl.Length != 0) { in WriteTo() 205 output.WriteString(TypeUrl); in WriteTo() 215 if (TypeUrl.Length != 0) { in CalculateSize() 216 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeUrl); in CalculateSize() 228 if (other.TypeUrl.Length != 0) { in MergeFrom() 229 TypeUrl = other.TypeUrl; in MergeFrom() 244 TypeUrl = input.ReadString(); in MergeFrom()
|
D | Type.cs | 431 public string TypeUrl { property in Google.Protobuf.WellKnownTypes.Field 518 if (TypeUrl != other.TypeUrl) return false; in Equals() 533 if (TypeUrl.Length != 0) hash ^= TypeUrl.GetHashCode(); in GetHashCode() 563 if (TypeUrl.Length != 0) { in WriteTo() 565 output.WriteString(TypeUrl); in WriteTo() 600 if (TypeUrl.Length != 0) { in CalculateSize() 601 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeUrl); in CalculateSize() 635 if (other.TypeUrl.Length != 0) { in MergeFrom() 636 TypeUrl = other.TypeUrl; in MergeFrom() 677 TypeUrl = input.ReadString(); in MergeFrom()
|
D | AnyPartial.cs | 74 if (GetTypeName(TypeUrl) != target.Descriptor.FullName) 102 TypeUrl = GetTypeUrl(message.Descriptor, typeUrlPrefix), in Pack()
|
/external/golang-protobuf/ptypes/ |
D | any_test.go | 77 a := &any.Any{TypeUrl: "foo/bar/" + proto.MessageName(m)} 79 …t.Errorf("message with type url %q didn't satisfy Is for type %q", a.TypeUrl, proto.MessageName(m)) 88 noPrefix := &any.Any{TypeUrl: proto.MessageName(m)} 90 …t.Errorf("message with type url %q incorrectly claimed to be %q", noPrefix.TypeUrl, proto.MessageN… 92 shortPrefix := &any.Any{TypeUrl: "/" + proto.MessageName(m)} 94 …t.Errorf("message with type url %q didn't satisfy Is for type %q", shortPrefix.TypeUrl, proto.Mess… 129 a.TypeUrl = "type.googleapis.com/google.protobuf.FieldMask" 131 …t no error for an attempt to create a message of type %q, which shouldn't be linked in", a.TypeUrl) 141 noPrefix := &any.Any{TypeUrl: proto.MessageName(want)} 144 t.Errorf("expected Empty for any type %q to fail", noPrefix.TypeUrl) [all …]
|
D | any.go | 57 slash := strings.LastIndex(any.TypeUrl, "/") 59 return "", fmt.Errorf("message type url %q is invalid", any.TypeUrl) 61 return any.TypeUrl[slash+1:], nil 70 return &any.Any{TypeUrl: googleApis + proto.MessageName(pb), Value: value}, nil 139 prefix := len(any.TypeUrl) - len(name) 140 return prefix >= 1 && any.TypeUrl[prefix-1] == '/' && any.TypeUrl[prefix:] == name
|
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/ |
D | any.go | 57 slash := strings.LastIndex(any.TypeUrl, "/") 59 return "", fmt.Errorf("message type url %q is invalid", any.TypeUrl) 61 return any.TypeUrl[slash+1:], nil 70 return &any.Any{TypeUrl: googleApis + proto.MessageName(pb), Value: value}, nil 139 prefix := len(any.TypeUrl) - len(name) 140 return prefix >= 1 && any.TypeUrl[prefix-1] == '/' && any.TypeUrl[prefix:] == name
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | AnyTest.cs | 45 Assert.AreEqual("type.googleapis.com/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack() 54 Assert.AreEqual("foo.bar/baz/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack_WithCustomPrefix() 63 Assert.AreEqual("foo.bar/baz/protobuf_unittest.TestAllTypes", any.TypeUrl); in Pack_WithCustomPrefixTrailingSlash()
|
/external/golang-protobuf/proto/ |
D | any_test.go | 81 Anything: &anypb.Any{TypeUrl: "type.googleapis.com/" + proto.MessageName(nested), Value: nb}, 86 …Anything: &anypb.Any{TypeUrl: "http://[::1]/type.googleapis.com/" + proto.MessageName(nested), … 91 Anything: &anypb.Any{TypeUrl: `type.googleapis.com/"/` + proto.MessageName(nested), Value: nb}, 245 TypeUrl: "foo",
|
D | text_test.go | 490 Anything: &anypb.Any{TypeUrl: "type.googleapis.com/" + proto.MessageName(any), Value: b},
|
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/any/ |
D | any.pb.go | 124 TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` member 159 return m.TypeUrl
|
/external/golang-protobuf/ptypes/any/ |
D | any.pb.go | 131 TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` member 168 return m.TypeUrl
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 348 TypeUrl: "something.example.com/jsonpb.Simple", 365 TypeUrl: "type.googleapis.com/google.protobuf.Duration", 973 TypeUrl: "https://foobar.com/some.random.MessageKind", 1044 want.TypeUrl = "blah.com/" + dynamicMessageName
|