Searched refs:proto_struct (Results 1 – 4 of 4) sorted by relevance
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/ |
D | nanopb_common.h | 33 const void* proto_struct) const { in EncodeRequest() argument 34 return Encode(request_fields_, buffer, proto_struct); in EncodeRequest() 37 const void* proto_struct) const { in EncodeResponse() argument 38 return Encode(response_fields_, buffer, proto_struct); in EncodeResponse() 41 bool DecodeRequest(void* proto_struct, ConstByteSpan buffer) const { in DecodeRequest() argument 42 return Decode(request_fields_, proto_struct, buffer); in DecodeRequest() 44 bool DecodeResponse(void* proto_struct, ConstByteSpan buffer) const { in DecodeResponse() argument 45 return Decode(response_fields_, proto_struct, buffer); in DecodeResponse() 52 const void* proto_struct) const; 56 void* proto_struct,
|
D | nanopb_method.h | 186 StatusWithSize EncodeResponse(const void* proto_struct, 188 return serde_.EncodeResponse(buffer, proto_struct); 194 void* proto_struct) const { 195 return serde_.DecodeResponse(proto_struct, response); 286 void* proto_struct) const;
|
/external/pigweed/pw_rpc/nanopb/ |
D | nanopb_common.cc | 37 const void* proto_struct) const { in Encode() 40 if (!pb_encode(&output, static_cast<Fields>(fields), proto_struct)) { in Encode() 48 void* proto_struct, in Decode() argument 52 return pb_decode(&input, static_cast<Fields>(fields), proto_struct); in Decode()
|
D | nanopb_method.cc | 51 void* proto_struct) const { in DecodeRequest() 52 if (serde_.DecodeRequest(proto_struct, request.payload())) { in DecodeRequest()
|