| // WARNING: This file is machine generated by fidlgen_cpp. |
| |
| #include <fidl/test/protocols/cpp/fidl_v2.h> |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntax_HandleInResult_Response:: |
| WithErrorSyntax_HandleInResult_Response(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::handle>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntaxHandleInResultTopResponse:: |
| WithErrorSyntaxHandleInResultTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs< |
| ::fidl_test_protocols::WithErrorSyntax_HandleInResult_Result>( |
| &decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::HandleRightsProtocolResponseMethodTopResponse:: |
| HandleRightsProtocolResponseMethodTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::HandleRightsProtocolResponseMethodRequest:: |
| HandleRightsProtocolResponseMethodRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::HandleRightsProtocolNoResponseMethodRequest:: |
| HandleRightsProtocolNoResponseMethodRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::HandleRightsProtocolAnEventRequest:: |
| HandleRightsProtocolAnEventRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolTakeHandleRequest:: |
| ChannelProtocolTakeHandleRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::handle>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolMutateSocketTopResponse:: |
| ChannelProtocolMutateSocketTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolMutateSocketRequest:: |
| ChannelProtocolMutateSocketRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::zx::socket>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsServerEndsTopResponse:: |
| WithProtocolEndsServerEndsTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl::InterfaceRequest< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsServerEndsRequest:: |
| WithProtocolEndsServerEndsRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl::InterfaceRequest< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsClientEndsTopResponse:: |
| WithProtocolEndsClientEndsTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl::InterfaceHandle< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsClientEndsRequest:: |
| WithProtocolEndsClientEndsRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl::InterfaceHandle< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntax_ResponseAsStruct_Response:: |
| WithErrorSyntax_ResponseAsStruct_Response(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0), |
| ::fidl::DecodeAs<int64_t>(&decoder, 8), |
| ::fidl::DecodeAs<int64_t>(&decoder, 16)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntaxResponseAsStructTopResponse:: |
| WithErrorSyntaxResponseAsStructTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs< |
| ::fidl_test_protocols::WithErrorSyntax_ResponseAsStruct_Result>( |
| &decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntax_ErrorAsPrimitive_Response:: |
| WithErrorSyntax_ErrorAsPrimitive_Response(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<uint8_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntaxErrorAsPrimitiveTopResponse:: |
| WithErrorSyntaxErrorAsPrimitiveTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs< |
| ::fidl_test_protocols::WithErrorSyntax_ErrorAsPrimitive_Result>( |
| &decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntax_ErrorAsEnum_Response:: |
| WithErrorSyntax_ErrorAsEnum_Response(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<uint8_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols:: |
| WithAndWithoutRequestResponseWithRequestWithResponseTopResponse:: |
| WithAndWithoutRequestResponseWithRequestWithResponseTopResponse( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols:: |
| WithAndWithoutRequestResponseWithRequestWithResponseRequest:: |
| WithAndWithoutRequestResponseWithRequestWithResponseRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols:: |
| WithAndWithoutRequestResponseWithRequestNoResponseRequest:: |
| WithAndWithoutRequestResponseWithRequestNoResponseRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols:: |
| WithAndWithoutRequestResponseWithRequestEmptyResponseRequest:: |
| WithAndWithoutRequestResponseWithRequestEmptyResponseRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithAndWithoutRequestResponseOnWithResponseRequest:: |
| WithAndWithoutRequestResponseOnWithResponseRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols:: |
| WithAndWithoutRequestResponseNoRequestWithResponseTopResponse:: |
| WithAndWithoutRequestResponseNoRequestWithResponseTopResponse( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::std::string>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::TransitionalRequestTopResponse:: |
| TransitionalRequestTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::TransitionalRequestRequest::TransitionalRequestRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::TransitionalOneWayRequest::TransitionalOneWayRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::TransitionalEventRequest::TransitionalEventRequest( |
| ::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::MethodWithUnionUnionMethodRequest:: |
| MethodWithUnionUnionMethodRequest(::fidl::Decoder& decoder) |
| : storage_( |
| {::fidl::DecodeAs<::fidl_test_protocols::TheUnion>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::SyscallProtocolMethodCRequest:: |
| SyscallProtocolMethodCRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0), |
| ::fidl::DecodeAs<int64_t>(&decoder, 8)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ProtocolEnds::ProtocolEnds(::fidl::Decoder& decoder) |
| : storage_( |
| {::fidl::DecodeAs<::fidl::InterfaceHandle< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 0), |
| ::fidl::DecodeAs<::fidl::InterfaceRequest< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 4), |
| ::fidl::DecodeAs<::fidl::InterfaceHandle< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 8), |
| ::fidl::DecodeAs<::fidl::InterfaceRequest< |
| ::fidl::test::protocols::DiscoverableProtocol>>(&decoder, 12)}) { |
| } |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsStructContainingEndsTopResponse:: |
| WithProtocolEndsStructContainingEndsTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl_test_protocols::ProtocolEnds>(&decoder, |
| 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithProtocolEndsStructContainingEndsRequest:: |
| WithProtocolEndsStructContainingEndsRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<::fidl_test_protocols::ProtocolEnds>(&decoder, |
| 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ManyParametersFifteenRequest:: |
| ManyParametersFifteenRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<bool>(&decoder, 0), |
| ::fidl::DecodeAs<bool>(&decoder, 1), |
| ::fidl::DecodeAs<bool>(&decoder, 2), |
| ::fidl::DecodeAs<bool>(&decoder, 3), |
| ::fidl::DecodeAs<bool>(&decoder, 4), |
| ::fidl::DecodeAs<bool>(&decoder, 5), |
| ::fidl::DecodeAs<bool>(&decoder, 6), |
| ::fidl::DecodeAs<bool>(&decoder, 7), |
| ::fidl::DecodeAs<bool>(&decoder, 8), |
| ::fidl::DecodeAs<bool>(&decoder, 9), |
| ::fidl::DecodeAs<bool>(&decoder, 10), |
| ::fidl::DecodeAs<bool>(&decoder, 11), |
| ::fidl::DecodeAs<bool>(&decoder, 12), |
| ::fidl::DecodeAs<bool>(&decoder, 13), |
| ::fidl::DecodeAs<bool>(&decoder, 14)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::WithErrorSyntaxErrorAsEnumTopResponse:: |
| WithErrorSyntaxErrorAsEnumTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs< |
| ::fidl_test_protocols::WithErrorSyntax_ErrorAsEnum_Result>(&decoder, |
| 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolMethodBTopResponse:: |
| ChannelProtocolMethodBTopResponse(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolMethodBRequest:: |
| ChannelProtocolMethodBRequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0), |
| ::fidl::DecodeAs<int64_t>(&decoder, 8)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolMethodARequest:: |
| ChannelProtocolMethodARequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0), |
| ::fidl::DecodeAs<int64_t>(&decoder, 8)}) {} |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| ::fidl_test_protocols::ChannelProtocolEventARequest:: |
| ChannelProtocolEventARequest(::fidl::Decoder& decoder) |
| : storage_({::fidl::DecodeAs<int64_t>(&decoder, 0), |
| ::fidl::DecodeAs<int64_t>(&decoder, 8)}) {} |
| #endif // __Fuchsia__ |