Home
last modified time | relevance | path

Searched refs:ConformanceResponse (Results 1 – 14 of 14) sorted by relevance

/external/golang-protobuf/conformance/
Dconformance.go100 func handle(req *pb.ConformanceRequest) *pb.ConformanceResponse {
109 return &pb.ConformanceResponse{
116 return &pb.ConformanceResponse{
126 return &pb.ConformanceResponse{
132 return &pb.ConformanceResponse{
140 return &pb.ConformanceResponse{
146 return &pb.ConformanceResponse{
152 return &pb.ConformanceResponse{
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs74 ConformanceResponse response = PerformRequest(request, typeRegistry); in RunTest()
82 …private static ConformanceResponse PerformRequest(ConformanceRequest request, TypeRegistry typeReg… in PerformRequest()
102 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest()
106 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest()
114 return new ConformanceResponse { JsonPayload = formatter.Format(message) }; in PerformRequest()
116 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest()
123 return new ConformanceResponse { SerializeError = e.Message }; in PerformRequest()
DConformance.cs191 …neratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.Conformanc… in ConformanceReflection()
416 public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> { class
417 …adonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>…
418 public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } }
428 public ConformanceResponse() { in ConformanceResponse() method in Conformance.ConformanceResponse
434 public ConformanceResponse(ConformanceResponse other) : this() { in ConformanceResponse() method in Conformance.ConformanceResponse
458 public ConformanceResponse Clone() { in Clone()
459 return new ConformanceResponse(this); in Clone()
573 return Equals(other as ConformanceResponse); in Equals()
576 public bool Equals(ConformanceResponse other) { in Equals()
[all …]
/external/protobuf/conformance/
DConformanceJava.java50 private Conformance.ConformanceResponse doTest(Conformance.ConformanceRequest request) { in doTest()
58 return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest()
69 return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest()
87 …return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(testMessage.toByteString())… in doTest()
91 return Conformance.ConformanceResponse.newBuilder().setJsonPayload( in doTest()
94 return Conformance.ConformanceResponse.newBuilder().setSerializeError( in doTest()
119 Conformance.ConformanceResponse response = doTest(request); in doTestIo()
DConformanceJavaLite.java47 private Conformance.ConformanceResponse doTest(Conformance.ConformanceRequest request) { in doTest()
55 return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest()
60 return Conformance.ConformanceResponse.newBuilder().setSkipped( in doTest()
77 …return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(testMessage.toByteString())… in doTest()
80 return Conformance.ConformanceResponse.newBuilder().setSkipped( in doTest()
104 Conformance.ConformanceResponse response = doTest(request); in doTestIo()
Dconformance_test.cc48 using conformance::ConformanceResponse;
186 const ConformanceResponse& response, in ReportFailure()
207 const ConformanceResponse& response) { in ReportSkip()
218 ConformanceResponse* response) { in RunTest()
252 ConformanceResponse response; in RunValidInputTest()
274 case ConformanceResponse::kParseError: in RunValidInputTest()
275 case ConformanceResponse::kRuntimeError: in RunValidInputTest()
276 case ConformanceResponse::kSerializeError: in RunValidInputTest()
281 case ConformanceResponse::kSkipped: in RunValidInputTest()
285 case ConformanceResponse::kJsonPayload: { in RunValidInputTest()
[all …]
Dconformance_test.h51 class ConformanceResponse; variable
115 const conformance::ConformanceResponse& response,
119 const conformance::ConformanceResponse& response);
122 conformance::ConformanceResponse* response);
Dconformance_cpp.cc40 using conformance::ConformanceResponse;
88 void DoTest(const ConformanceRequest& request, ConformanceResponse* response) { in DoTest()
158 ConformanceResponse response; in DoTestIo()
Dconformance_objc.m63 static ConformanceResponse *DoTest(ConformanceRequest *request) {
64 ConformanceResponse *response = [ConformanceResponse message];
146 ConformanceResponse *response = DoTest(request);
Dconformance_test_runner.cc70 using conformance::ConformanceResponse;
124 conformance::ConformanceResponse response_obj; in RunTest()
Dconformance_python.py56 response = conformance_pb2.ConformanceResponse()
Dconformance.proto45 // ConformanceResponse message.
85 message ConformanceResponse { message
/external/golang-protobuf/conformance/internal/conformance_proto/
Dconformance.pb.go218 type ConformanceResponse struct { struct
232 func (m *ConformanceResponse) Reset() { *m = ConformanceResponse{} } argument
233 func (m *ConformanceResponse) String() string { return proto.CompactTextString(m) } argument
234 func (*ConformanceResponse) ProtoMessage() {} argument
235 func (*ConformanceResponse) Descriptor() ([]byte, []int) { argument
239 func (m *ConformanceResponse) XXX_Unmarshal(b []byte) error { argument
242 func (m *ConformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument
245 func (m *ConformanceResponse) XXX_Merge(src proto.Message) { argument
248 func (m *ConformanceResponse) XXX_Size() int { argument
251 func (m *ConformanceResponse) XXX_DiscardUnknown() { argument
[all …]
Dconformance.proto45 // ConformanceResponse message.
85 message ConformanceResponse { message