Home
last modified time | relevance | path

Searched refs:kUnary (Results 1 – 24 of 24) sorted by relevance

/external/pigweed/pw_rpc/
Dfake_channel_output_test.cc77 constexpr MethodType type = MethodType::kUnary; in TEST()
124 constexpr MethodType type = MethodType::kUnary; in TEST()
169 ASSERT_EQ(output.last_response(MethodType::kUnary).size(), kPayload.size()); in TEST()
170 EXPECT_EQ(std::memcmp(output.last_response(MethodType::kUnary).data(), in TEST()
174 EXPECT_EQ(output.total_payloads(MethodType::kUnary), 1u); in TEST()
186 EXPECT_EQ(output.last_response(MethodType::kUnary).size(), 0u); in TEST()
187 EXPECT_EQ(output.total_payloads(MethodType::kUnary), 1u); in TEST()
Dmethod_test.cc29 static_assert(!HasServerStream(MethodType::kUnary));
34 static_assert(!HasClientStream(MethodType::kUnary));
Dcall_test.cc78 MethodType::kUnary, kClientCall, kProtoStruct); in TEST()
79 static_assert(props_3.method_type() == MethodType::kUnary); in TEST()
/external/pigweed/pw_rpc/public/pw_rpc/
Dsynchronous_call.h102 static_assert(Info::kType == MethodType::kUnary, in SynchronousCall()
133 static_assert(Info::kType == MethodType::kUnary, in SynchronousCall()
169 static_assert(Info::kType == MethodType::kUnary, in SynchronousCallFor()
204 static_assert(Info::kType == MethodType::kUnary, in SynchronousCallFor()
242 static_assert(Info::kType == MethodType::kUnary, in SynchronousCallUntil()
277 static_assert(Info::kType == MethodType::kUnary, in SynchronousCallUntil()
Dmethod_type.h19 kUnary = 0b00, enumerator
Dserver.h145 if constexpr (kExpected == MethodType::kUnary) { in OpenCall()
Dpayloads_view.h175 case MethodType::kUnary: in PacketTypesWithPayload()
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dtest_method.h48 constexpr TestMethod(uint32_t id, MethodType type = MethodType::kUnary)
86 case MethodType::kUnary: in GetInvoker()
87 return InvokeForTest<MethodType::kUnary>; in GetInvoker()
Dmethod_impl_tester.h129 MethodType::kUnary);
131 MethodType::kUnary);
133 MethodType::kUnary);
138 MethodType::kUnary);
Dmethod_union.h79 if constexpr (kExpected == MethodType::kUnary) { in InvalidMethod()
115 } else if constexpr (kType == MethodType::kUnary) { in GetMethodFor()
/external/pigweed/pw_rpc/raw/
Dmethod_union_test.cc39 GetRawMethodFor<&Implementation::DoNothing, MethodType::kUnary>(10u),
40 GetRawMethodFor<&Implementation::AddFive, MethodType::kUnary>(11u),
Dclient_test.cc33 static constexpr MethodType kType = MethodType::kUnary;
/external/pigweed/pw_rpc/nanopb/
Dmethod_union_test.cc35 MethodType::kUnary,
49 MethodType::kUnary,
Dmethod.cc39 NanopbServerCall responder(context.ClaimLocked(), MethodType::kUnary); in CallSynchronousUnary()
/external/pigweed/pw_rpc/raw/public/pw_rpc/raw/
Dserver_reader_writer.h223 return server.OpenCall<RawUnaryResponder, kMethod, MethodType::kUnary>( in Open()
254 : RawServerReaderWriter(context, MethodType::kUnary) {} in PW_EXCLUSIVE_LOCKS_REQUIRED()
Dclient_reader_writer.h183 RawCallProps(MethodType::kUnary)) {} in RawUnaryReceiver()
/external/pigweed/pw_rpc/pwpb/
Dmethod_union_test.cc36 MethodType::kUnary,
50 MethodType::kUnary,
/external/pigweed/pw_rpc/pwpb/public/pw_rpc/pwpb/internal/
Dmethod.h255 MethodType::kUnary); in CallSynchronousUnary()
322 .CallUnaryRequest(context, MethodType::kUnary, request, request_struct); in AsynchronousUnaryInvoker()
376 static constexpr MethodType kType = MethodType::kUnary;
/external/pigweed/pw_rpc/pwpb/public/pw_rpc/pwpb/
Dserver_reader_writer.h424 .OpenCall<PwpbUnaryResponder<Response>, kMethod, MethodType::kUnary>( in Open()
466 : internal::PwpbServerCall(context, MethodType::kUnary) {} in PW_EXCLUSIVE_LOCKS_REQUIRED()
Dclient_reader_writer.h469 MethodType::kUnary, in PwpbUnaryReceiver()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/nanopb/
Dserver_reader_writer.h355 .OpenCall<NanopbUnaryResponder<Response>, kMethod, MethodType::kUnary>( in Open()
396 : internal::NanopbServerCall(context, MethodType::kUnary) {} in PW_EXCLUSIVE_LOCKS_REQUIRED()
Dclient_reader_writer.h394 MethodType::kUnary, in NanopbUnaryReceiver()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/nanopb/internal/
Dmethod.h63 static constexpr MethodType kType = MethodType::kUnary;
364 context, MethodType::kUnary, request, &request_struct);
/external/pigweed/pw_rpc/raw/public/pw_rpc/raw/internal/
Dmethod.h149 static constexpr MethodType kType = MethodType::kUnary;