Home
last modified time | relevance | path

Searched refs:MessageName (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarks.cs105 public string MessageName { property in Benchmarks.BenchmarkDataset
151 if (MessageName != other.MessageName) return false; in Equals()
160 if (MessageName.Length != 0) hash ^= MessageName.GetHashCode(); in GetHashCode()
179 if (MessageName.Length != 0) { in WriteTo()
181 output.WriteString(MessageName); in WriteTo()
195 if (MessageName.Length != 0) { in CalculateSize()
196 size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageName); in CalculateSize()
213 if (other.MessageName.Length != 0) { in MergeFrom()
214 MessageName = other.MessageName; in MergeFrom()
233 MessageName = input.ReadString(); in MergeFrom()
DSerializationConfig.cs64 if (!parsersByMessageName.TryGetValue(dataset.MessageName, out var parser)) in SerializationConfig()
/external/golang-protobuf/ptypes/
Dany_test.go77 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))
86 t.Errorf("message with nil type url incorrectly claimed to be %q", proto.MessageName(m))
88 noPrefix := &any.Any{TypeUrl: proto.MessageName(m)}
90 …rf("message with type url %q incorrectly claimed to be %q", noPrefix.TypeUrl, proto.MessageName(m))
92 shortPrefix := &any.Any{TypeUrl: "/" + proto.MessageName(m)}
94 …message with type url %q didn't satisfy Is for type %q", shortPrefix.TypeUrl, proto.MessageName(m))
141 noPrefix := &any.Any{TypeUrl: proto.MessageName(want)}
146 shortPrefix := &any.Any{TypeUrl: "/" + proto.MessageName(want)}
Dany.go70 return &any.Any{TypeUrl: googleApis + proto.MessageName(pb), Value: value}, nil
124 mname := proto.MessageName(pb)
138 name := proto.MessageName(pb)
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dcommon.cc57 std::string MessageName(const protobuf::Descriptor* descriptor) { in MessageName() function
62 return MessageName(descriptor) + "_msginit"; in MessageInit()
Dcommon.h62 std::string MessageName(const google::protobuf::Descriptor* descriptor);
Dprotoc-gen-upb.cc105 return maybe_const + maybe_struct + MessageName(field->message_type()) + in CTypeInternal()
245 MessageName(message), MessageInit(message)); in GenerateMessageInHeader()
413 MessageName(field->message_type()), msgname, field->name(), in GenerateMessageInHeader()
476 MessageName(field->message_type()), msgname, field->name(), in GenerateMessageInHeader()
544 output("struct $0;\n", MessageName(pair.second)); in WriteHeader()
/external/protobuf/benchmarks/go/
Dgo_benchmark_test.go28 switch dataset.MessageName {
40 panic("Unknown message type: " + dataset.MessageName)
/external/golang-protobuf/proto/
Dany_test.go81 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), …
Dtext_test.go490 Anything: &anypb.Any{TypeUrl: "type.googleapis.com/" + proto.MessageName(any), Value: b},
Dproperties.go512 func MessageName(x Message) string { func
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1727 TEST_F(NestedDescriptorTest, MessageName) { in TEST_F() argument