LCOV - code coverage report
Current view: top level - bld-cov/src/ipc/capnp - rpc.capnp.c++ (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 59.1 % 22 13
Test Date: 2026-04-07 04:59:12 Functions: 75.0 % 4 3
Branches: 50.0 % 10 5

             Branch data     Line data    Source code
       1                 :             : // Generated by Cap'n Proto compiler, DO NOT EDIT
       2                 :             : // source: rpc.capnp
       3                 :             : 
       4                 :             : #include "rpc.capnp.h"
       5                 :             : 
       6                 :             : namespace capnp {
       7                 :             : namespace schemas {
       8                 :             : static const ::capnp::_::AlignedData<40> b_acb1d37f0a713129 = {
       9                 :             :   {   0,   0,   0,   0,   6,   0,   6,   0,
      10                 :             :      41,  49, 113,  10, 127, 211, 177, 172,
      11                 :             :      16,   0,   0,   0,   3,   0,   0,   0,
      12                 :             :     172,  70, 225,  69, 220,   5,  53, 156,
      13                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      14                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      15                 :             :     194,   1,   0,   0,  86,   2,   0,   0,
      16                 :             :      21,   0,   0,   0, 162,   0,   0,   0,
      17                 :             :      29,   0,   0,   0,   7,   0,   0,   0,
      18                 :             :      29,   0,   0,   0,  31,   0,   0,   0,
      19                 :             :      65,   0,   0,   0,  71,   0,   0,   0,
      20                 :             :     109,   0,   0,   0,   7,   0,   0,   0,
      21                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      22                 :             :      99,  97, 112, 110, 112,  47, 114, 112,
      23                 :             :      99,  46,  99,  97, 112, 110, 112,  58,
      24                 :             :      82, 112,  99,   0,   0,   0,   0,   0,
      25                 :             :       0,   0,   0,   0,   1,   0,   1,   0,
      26                 :             :       4,   0,   0,   0,   1,   0,   2,   0,
      27                 :             :      94,  64, 177, 183, 121,  96, 244, 230,
      28                 :             :       4,   0,   0,   0,   2,   0,   1,   0,
      29                 :             :      20,   0,   0,   0,   0,   0,   1,   0,
      30                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
      31                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      32                 :             :       1,   0,   0,   0, 130,   0,   0,   0,
      33                 :             :     105, 110, 116, 101, 114, 102,  97,  99,
      34                 :             :     101, 115,  58,  58,  82, 112,  99,   0,
      35                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      36                 :             :       4,   0,   0,   0,   3,   0,   5,   0,
      37                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      38                 :             :      20, 169, 254,  98, 159, 191, 220, 148,
      39                 :             :     213,  52,  61, 239, 231, 224, 154, 160,
      40                 :             :      17,   0,   0,   0,  90,   0,   0,   0,
      41                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      42                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      43                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      44                 :             :       9,   0,   0,   0,   7,   0,   0,   0,
      45                 :             :     101, 120, 101,  99, 117, 116, 101,  82,
      46                 :             :     112,  99,   0,   0,   0,   0,   0,   0,
      47                 :             :       0,   0,   0,   0,   0,   0,   1,   0,
      48                 :             :       0,   0,   0,   0,   1,   0,   1,   0, }
      49                 :             : };
      50                 :             : ::capnp::word const* const bp_acb1d37f0a713129 = b_acb1d37f0a713129.words;
      51                 :             : #if !CAPNP_LITE
      52                 :             : static const ::capnp::_::RawSchema* const d_acb1d37f0a713129[] = {
      53                 :             :   &s_94dcbf9f62fea914,
      54                 :             :   &s_a09ae0e7ef3d34d5,
      55                 :             : };
      56                 :             : static const uint16_t m_acb1d37f0a713129[] = {0};
      57                 :             : const ::capnp::_::RawSchema s_acb1d37f0a713129 = {
      58                 :             :   0xacb1d37f0a713129, b_acb1d37f0a713129.words, 40, d_acb1d37f0a713129, m_acb1d37f0a713129,
      59                 :             :   2, 1, nullptr, nullptr, nullptr, { &s_acb1d37f0a713129, nullptr, nullptr, 0, 0, nullptr }, false
      60                 :             : };
      61                 :             : #endif  // !CAPNP_LITE
      62                 :             : static const ::capnp::_::AlignedData<79> b_94dcbf9f62fea914 = {
      63                 :             :   {   0,   0,   0,   0,   6,   0,   6,   0,
      64                 :             :      20, 169, 254,  98, 159, 191, 220, 148,
      65                 :             :      20,   0,   0,   0,   1,   0,   0,   0,
      66                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      67                 :             :       4,   0,   7,   0,   0,   0,   0,   0,
      68                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      69                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      70                 :             :      21,   0,   0,   0,  50,   1,   0,   0,
      71                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      72                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      73                 :             :      29,   0,   0,   0, 231,   0,   0,   0,
      74                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      75                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      76                 :             :      99,  97, 112, 110, 112,  47, 114, 112,
      77                 :             :      99,  46,  99,  97, 112, 110, 112,  58,
      78                 :             :      82, 112,  99,  46, 101, 120, 101,  99,
      79                 :             :     117, 116, 101,  82, 112,  99,  36,  80,
      80                 :             :      97, 114,  97, 109, 115,   0,   0,   0,
      81                 :             :      16,   0,   0,   0,   3,   0,   4,   0,
      82                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      83                 :             :       0,   0,   1,   0,   0,   0,   0,   0,
      84                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      85                 :             :      97,   0,   0,   0,  66,   0,   0,   0,
      86                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      87                 :             :      92,   0,   0,   0,   3,   0,   1,   0,
      88                 :             :     104,   0,   0,   0,   2,   0,   1,   0,
      89                 :             :       1,   0,   0,   0,   1,   0,   0,   0,
      90                 :             :       0,   0,   1,   0,   1,   0,   0,   0,
      91                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      92                 :             :     101,   0,   0,   0,  66,   0,   0,   0,
      93                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      94                 :             :      96,   0,   0,   0,   3,   0,   1,   0,
      95                 :             :     108,   0,   0,   0,   2,   0,   1,   0,
      96                 :             :       2,   0,   0,   0,   2,   0,   0,   0,
      97                 :             :       0,   0,   1,   0,   2,   0,   0,   0,
      98                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
      99                 :             :     105,   0,   0,   0,  34,   0,   0,   0,
     100                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     101                 :             :     100,   0,   0,   0,   3,   0,   1,   0,
     102                 :             :     112,   0,   0,   0,   2,   0,   1,   0,
     103                 :             :       3,   0,   0,   0,   3,   0,   0,   0,
     104                 :             :       0,   0,   1,   0,   3,   0,   0,   0,
     105                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     106                 :             :     109,   0,   0,   0,  42,   0,   0,   0,
     107                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     108                 :             :     104,   0,   0,   0,   3,   0,   1,   0,
     109                 :             :     116,   0,   0,   0,   2,   0,   1,   0,
     110                 :             :      99, 111, 110, 116, 101, 120, 116,   0,
     111                 :             :      16,   0,   0,   0,   0,   0,   0,   0,
     112                 :             :     198,  34,  11,  93, 100, 230,  68, 156,
     113                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     114                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     115                 :             :      16,   0,   0,   0,   0,   0,   0,   0,
     116                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     117                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     118                 :             :     114, 101, 113, 117, 101, 115, 116,   0,
     119                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     120                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     121                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     122                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     123                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     124                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     125                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     126                 :             :     117, 114, 105,   0,   0,   0,   0,   0,
     127                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     128                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     129                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     130                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     131                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     132                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     133                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     134                 :             :     117, 115, 101, 114,   0,   0,   0,   0,
     135                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     136                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     137                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     138                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     139                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     140                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     141                 :             :       0,   0,   0,   0,   0,   0,   0,   0, }
     142                 :             : };
     143                 :             : ::capnp::word const* const bp_94dcbf9f62fea914 = b_94dcbf9f62fea914.words;
     144                 :             : #if !CAPNP_LITE
     145                 :             : static const ::capnp::_::RawSchema* const d_94dcbf9f62fea914[] = {
     146                 :             :   &s_9c44e6645d0b22c6,
     147                 :             : };
     148                 :             : static const uint16_t m_94dcbf9f62fea914[] = {0, 1, 2, 3};
     149                 :             : static const uint16_t i_94dcbf9f62fea914[] = {0, 1, 2, 3};
     150                 :             : const ::capnp::_::RawSchema s_94dcbf9f62fea914 = {
     151                 :             :   0x94dcbf9f62fea914, b_94dcbf9f62fea914.words, 79, d_94dcbf9f62fea914, m_94dcbf9f62fea914,
     152                 :             :   1, 4, i_94dcbf9f62fea914, nullptr, nullptr, { &s_94dcbf9f62fea914, nullptr, nullptr, 0, 0, nullptr }, true
     153                 :             : };
     154                 :             : #endif  // !CAPNP_LITE
     155                 :             : static const ::capnp::_::AlignedData<34> b_a09ae0e7ef3d34d5 = {
     156                 :             :   {   0,   0,   0,   0,   6,   0,   6,   0,
     157                 :             :     213,  52,  61, 239, 231, 224, 154, 160,
     158                 :             :      20,   0,   0,   0,   1,   0,   0,   0,
     159                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     160                 :             :       1,   0,   7,   0,   0,   0,   0,   0,
     161                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     162                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     163                 :             :      21,   0,   0,   0,  58,   1,   0,   0,
     164                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     165                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     166                 :             :      29,   0,   0,   0,  63,   0,   0,   0,
     167                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     168                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     169                 :             :      99,  97, 112, 110, 112,  47, 114, 112,
     170                 :             :      99,  46,  99,  97, 112, 110, 112,  58,
     171                 :             :      82, 112,  99,  46, 101, 120, 101,  99,
     172                 :             :     117, 116, 101,  82, 112,  99,  36,  82,
     173                 :             :     101, 115, 117, 108, 116, 115,   0,   0,
     174                 :             :       4,   0,   0,   0,   3,   0,   4,   0,
     175                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     176                 :             :       0,   0,   1,   0,   0,   0,   0,   0,
     177                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     178                 :             :      13,   0,   0,   0,  58,   0,   0,   0,
     179                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     180                 :             :       8,   0,   0,   0,   3,   0,   1,   0,
     181                 :             :      20,   0,   0,   0,   2,   0,   1,   0,
     182                 :             :     114, 101, 115, 117, 108, 116,   0,   0,
     183                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     184                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     185                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     186                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     187                 :             :      12,   0,   0,   0,   0,   0,   0,   0,
     188                 :             :       0,   0,   0,   0,   0,   0,   0,   0,
     189                 :             :       0,   0,   0,   0,   0,   0,   0,   0, }
     190                 :             : };
     191                 :             : ::capnp::word const* const bp_a09ae0e7ef3d34d5 = b_a09ae0e7ef3d34d5.words;
     192                 :             : #if !CAPNP_LITE
     193                 :             : static const uint16_t m_a09ae0e7ef3d34d5[] = {0};
     194                 :             : static const uint16_t i_a09ae0e7ef3d34d5[] = {0};
     195                 :             : const ::capnp::_::RawSchema s_a09ae0e7ef3d34d5 = {
     196                 :             :   0xa09ae0e7ef3d34d5, b_a09ae0e7ef3d34d5.words, 34, nullptr, m_a09ae0e7ef3d34d5,
     197                 :             :   0, 1, i_a09ae0e7ef3d34d5, nullptr, nullptr, { &s_a09ae0e7ef3d34d5, nullptr, nullptr, 0, 0, nullptr }, false
     198                 :             : };
     199                 :             : #endif  // !CAPNP_LITE
     200                 :             : }  // namespace schemas
     201                 :             : }  // namespace capnp
     202                 :             : 
     203                 :             : // =======================================================================================
     204                 :             : 
     205                 :             : namespace ipc {
     206                 :             : namespace capnp {
     207                 :             : namespace messages {
     208                 :             : 
     209                 :             : #if !CAPNP_LITE
     210                 :             : ::capnp::Request< ::ipc::capnp::messages::Rpc::ExecuteRpcParams,  ::ipc::capnp::messages::Rpc::ExecuteRpcResults>
     211                 :           4 : Rpc::Client::executeRpcRequest(::kj::Maybe< ::capnp::MessageSize> sizeHint) {
     212                 :          12 :   return newCall< ::ipc::capnp::messages::Rpc::ExecuteRpcParams,  ::ipc::capnp::messages::Rpc::ExecuteRpcResults>(
     213   [ -  +  +  -  :           4 :       0xacb1d37f0a713129ull, 0, sizeHint, {true});
                   -  + ]
     214                 :             : }
     215                 :           0 : ::kj::Promise<void> Rpc::Server::executeRpc(ExecuteRpcContext) {
     216                 :           0 :   return ::capnp::Capability::Server::internalUnimplemented(
     217                 :             :       "capnp/rpc.capnp:Rpc", "executeRpc",
     218                 :           0 :       0xacb1d37f0a713129ull, 0);
     219                 :             : }
     220                 :           4 : ::capnp::Capability::Server::DispatchCallResult Rpc::Server::dispatchCall(
     221                 :             :     uint64_t interfaceId, uint16_t methodId,
     222                 :             :     ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
     223         [ +  - ]:           4 :   switch (interfaceId) {
     224                 :           4 :     case 0xacb1d37f0a713129ull:
     225                 :           4 :       return dispatchCallInternal(methodId, context);
     226                 :           0 :     default:
     227                 :           0 :       return internalUnimplemented("capnp/rpc.capnp:Rpc", interfaceId);
     228                 :             :   }
     229                 :             : }
     230                 :           4 : ::capnp::Capability::Server::DispatchCallResult Rpc::Server::dispatchCallInternal(
     231                 :             :     uint16_t methodId,
     232                 :             :     ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context) {
     233         [ +  - ]:           4 :   switch (methodId) {
     234                 :           4 :     case 0:
     235                 :           4 :       return {
     236                 :           4 :         executeRpc(::capnp::Capability::Server::internalGetTypedContext<
     237                 :             :              ::ipc::capnp::messages::Rpc::ExecuteRpcParams,  ::ipc::capnp::messages::Rpc::ExecuteRpcResults>(context)),
     238                 :             :         false,
     239                 :             :         false
     240                 :             :       };
     241                 :           0 :     default:
     242                 :           0 :       (void)context;
     243                 :           0 :       return ::capnp::Capability::Server::internalUnimplemented(
     244                 :             :           "capnp/rpc.capnp:Rpc",
     245                 :           0 :           0xacb1d37f0a713129ull, methodId);
     246                 :             :   }
     247                 :           4 : }
     248                 :             : #endif  // !CAPNP_LITE
     249                 :             : 
     250                 :             : // Rpc
     251                 :             : #if !CAPNP_LITE
     252                 :             : #if CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     253                 :             : constexpr ::capnp::Kind Rpc::_capnpPrivate::kind;
     254                 :             : constexpr ::capnp::_::RawSchema const* Rpc::_capnpPrivate::schema;
     255                 :             : #endif  // !CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     256                 :             : #endif  // !CAPNP_LITE
     257                 :             : 
     258                 :             : // Rpc::ExecuteRpcParams
     259                 :             : #if CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     260                 :             : constexpr uint16_t Rpc::ExecuteRpcParams::_capnpPrivate::dataWordSize;
     261                 :             : constexpr uint16_t Rpc::ExecuteRpcParams::_capnpPrivate::pointerCount;
     262                 :             : #endif  // !CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     263                 :             : #if !CAPNP_LITE
     264                 :             : #if CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     265                 :             : constexpr ::capnp::Kind Rpc::ExecuteRpcParams::_capnpPrivate::kind;
     266                 :             : constexpr ::capnp::_::RawSchema const* Rpc::ExecuteRpcParams::_capnpPrivate::schema;
     267                 :             : #endif  // !CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     268                 :             : #endif  // !CAPNP_LITE
     269                 :             : 
     270                 :             : // Rpc::ExecuteRpcResults
     271                 :             : #if CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     272                 :             : constexpr uint16_t Rpc::ExecuteRpcResults::_capnpPrivate::dataWordSize;
     273                 :             : constexpr uint16_t Rpc::ExecuteRpcResults::_capnpPrivate::pointerCount;
     274                 :             : #endif  // !CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     275                 :             : #if !CAPNP_LITE
     276                 :             : #if CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     277                 :             : constexpr ::capnp::Kind Rpc::ExecuteRpcResults::_capnpPrivate::kind;
     278                 :             : constexpr ::capnp::_::RawSchema const* Rpc::ExecuteRpcResults::_capnpPrivate::schema;
     279                 :             : #endif  // !CAPNP_NEED_REDUNDANT_CONSTEXPR_DECL
     280                 :             : #endif  // !CAPNP_LITE
     281                 :             : 
     282                 :             : 
     283                 :             : }  // namespace
     284                 :             : }  // namespace
     285                 :             : }  // namespace
     286                 :             : 
        

Generated by: LCOV version 2.0-1