Home
last modified time | relevance | path

Searched refs:NanopbMethod (Results 1 – 5 of 5) sorted by relevance

/external/pigweed/pw_rpc/nanopb/
Dnanopb_method_test.cc65 static_assert(NanopbMethod::template matches<&TestNanopbService::Unary,
69 NanopbMethod::template matches<&TestNanopbService::ServerStreaming,
72 static_assert(NanopbMethod::template matches<&TestNanopbService::StaticUnary,
76 NanopbMethod::template matches<&TestNanopbService::StaticServerStreaming,
81 static_assert(!NanopbMethod::template matches<&TestNanopbService::UnaryWrongArg,
85 !NanopbMethod::template matches<&TestNanopbService::StaticUnaryVoidReturn,
88 static_assert(!NanopbMethod::template matches<
92 static_assert(!NanopbMethod::template matches<
100 static_assert(!NanopbMethod::template matches<&TestNanopbService::Unary,
103 static_assert(!NanopbMethod::template matches<&TestNanopbService::Unary,
[all …]
Dnanopb_method.cc26 void NanopbMethod::CallUnary(ServerCall& call, in CallUnary()
38 void NanopbMethod::CallServerStreaming(ServerCall& call, in CallServerStreaming()
49 bool NanopbMethod::DecodeRequest(Channel& channel, in DecodeRequest()
62 void NanopbMethod::SendResponse(Channel& channel, in SendResponse()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/
Dnanopb_method.h57 class NanopbMethod; variable
64 using Implementation = NanopbMethod;
86 using Implementation = NanopbMethod;
120 class NanopbMethod : public Method {
124 return std::is_same_v<MethodImplementation<method>, NanopbMethod> &&
131 static constexpr NanopbMethod Unary(uint32_t id,
147 return NanopbMethod(id,
157 static constexpr NanopbMethod ServerStreaming(
172 return NanopbMethod(
181 static constexpr NanopbMethod Invalid() {
[all …]
Dnanopb_method_union.h28 constexpr NanopbMethodUnion(NanopbMethod&& method) in NanopbMethodUnion()
33 constexpr const NanopbMethod& nanopb_method() const { return impl_.nanopb; } in nanopb_method()
39 NanopbMethod nanopb;
52 } else if constexpr (NanopbMethod::matches<method, Request, Response>()) { in GetNanopbOrRawMethodFor()
53 return GetMethodFor<method, NanopbMethod, type>( in GetNanopbOrRawMethodFor()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/
Dnanopb_test_method_context.h93 MessageOutput(const internal::NanopbMethod& method, in MessageOutput()
117 const internal::NanopbMethod& method_;