Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/src/cli/
Dcli_tcp.cpp165 …int rv = mbedtls_pk_parse_key(&mPKey, reinterpret_cast<const unsigned char *>(sSrvKey), sSrvKeyLen… in Process() local
168 …int rv = mbedtls_pk_parse_key(&mPKey, reinterpret_cast<const unsigned char *>(sSrvKey), sSrvKeyLen… in Process() local
171 if (rv != 0) in Process()
173 OutputLine("mbedtls_pk_parse_key returned %d", rv); in Process()
176rv = mbedtls_x509_crt_parse(&mSrvCert, reinterpret_cast<const unsigned char *>(sSrvPem), sSrvPemLe… in Process()
177 if (rv != 0) in Process()
179 OutputLine("mbedtls_x509_crt_parse (1) returned %d", rv); in Process()
181rv = mbedtls_x509_crt_parse(&mSrvCert, reinterpret_cast<const unsigned char *>(sCasPem), sCasPemLe… in Process()
182 if (rv != 0) in Process()
184 OutputLine("mbedtls_x509_crt_parse (2) returned %d", rv); in Process()
[all …]
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dtest_layer_fields.py324 rv = self.get_field(p, f)
325 self.assertIsNot(rv, nullField)
333 self.assertIsInstance(rv, int)
335 self.assertIsInstance(rv, list)
337 self.assertIsInstance(rv, Ipv6Addr)
339 self.assertIsInstance(rv, EthAddr)
341 self.assertIsInstance(rv, ExtAddr)
343 self.assertIsInstance(rv, str)
345 self.assertIsInstance(rv, Bytes)
347 self.assertIsInstance(rv, bytearray)
[all …]
Dlayer_fields.py47 rv = v.raw_value
53 if dv == rv:
55 elif int(dv) == int(rv, 16):
60 if rv is None:
66 if ':' in dv and '::' not in dv and dv.replace(':', '') == rv: # '88:00', '8800'
67 return int(rv, 16)
80 int(rv, 16)
132 rv = v.raw_value
133 octets = [rv[i:i + 2] for i in range(0, len(rv), 2)]
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_fastopen.c652 int rv; in tcp_fastopen_check_cookie()
678 rv = 0; in tcp_fastopen_check_cookie()
680 rv = -1; in tcp_fastopen_check_cookie()
694 rv = tcp_fastopen_find_cookie_match_locked(cookie, &cur_cookie); in tcp_fastopen_check_cookie()
695 if (rv) in tcp_fastopen_check_cookie()
702 rv = 0; in tcp_fastopen_check_cookie()
706 return (rv); in tcp_fastopen_check_cookie()
Dtcp_output.c989 int rv = lbuf_getrange(&tp->sendbuf, off, len, &start, &start_offset, &end, &end_offset); in tcp_output() local
991 KASSERT(rv == 0, ("Reading send buffer out of range!")); in tcp_output()
/openthread-latest/src/core/net/
Dtcp6.cpp992 struct tcpcb *rv = (struct tcpcb *)-1; in tcplp_sys_accept_ready() local
1019 rv = &endpoint.GetTcb(); in tcplp_sys_accept_ready()
1024 rv = nullptr; in tcplp_sys_accept_ready()
1027 rv = (struct tcpcb *)-1; in tcplp_sys_accept_ready()
1032 return rv; in tcplp_sys_accept_ready()