Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 10 of 10) sorted by relevance

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dxtea.c83 uint32_t sum = 0, delta = 0x9E3779B9; in mbedtls_xtea_crypt_ecb() local
88 sum += delta; in mbedtls_xtea_crypt_ecb()
94 uint32_t delta = 0x9E3779B9, sum = delta * 32; in mbedtls_xtea_crypt_ecb() local
99 sum -= delta; in mbedtls_xtea_crypt_ecb()
Dtiming.c251 unsigned long delta; in mbedtls_timing_get_timer() local
255 delta = (unsigned long)( ( now.QuadPart - t->start.QuadPart ) * 1000ul in mbedtls_timing_get_timer()
257 return( delta ); in mbedtls_timing_get_timer()
301 unsigned long delta; in mbedtls_timing_get_timer() local
304 delta = ( now.tv_sec - t->start.tv_sec ) * 1000ul in mbedtls_timing_get_timer()
306 return( delta ); in mbedtls_timing_get_timer()
/openthread-3.5.0/tests/scripts/thread-cert/
Dcoap.py66 def __init__(self, delta, length): argument
67 self._delta = delta
71 def delta(self): member in CoapOptionHeader
80 return self.delta == 0xF and self.length == 0xF
96 delta = (initial_byte >> 4) & 0xF
99 delta = cls._read_extended_value(data, delta)
102 return cls(delta, length)
136 _type += option_header.delta
Dtest_coap.py151 delta = any_4bits_value_different_than_13_and_14()
154 data = bytearray([delta << 4 | length])
160 self.assertEqual(delta, option_header.delta)
165 delta = 15
168 data = bytearray([delta << 4 | length])
208 delta = any_4bits_value_lower_or_equal_than_12()
212 data = bytearray([delta << 4 | length]) + value
221 self.assertEqual(delta, coap_options[0].type)
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/
Drandom.c116 uint32_t i, *k, sum, delta=0x9E3779B9; in mbedtls_test_rnd_pseudo_rand() local
133 sum += delta; in mbedtls_test_rnd_pseudo_rand()
/openthread-3.5.0/third_party/tcplp/bsdtcp/
Dtcp_timer.c476 tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, uint32_t delta) { in tcp_timer_activate() argument
477 if (delta) { in tcp_timer_activate()
482 tcplp_sys_set_timer(tp, timer_type, (uint32_t) delta); in tcp_timer_activate()
Dtcp_timer.h144 void tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, uint32_t delta);
Dtcp_input.c2884 int delta; in tcp_xmit_timer() local
2895 delta = ((rtt - 1) << TCP_DELTA_SHIFT) in tcp_xmit_timer()
2898 if ((tp->t_srtt += delta) <= 0) in tcp_xmit_timer()
2911 if (delta < 0) in tcp_xmit_timer()
2912 delta = -delta; in tcp_xmit_timer()
2913 delta -= tp->t_rttvar >> (TCP_RTTVAR_SHIFT - TCP_DELTA_SHIFT); in tcp_xmit_timer()
2914 if ((tp->t_rttvar += delta) <= 0) in tcp_xmit_timer()
/openthread-3.5.0/src/core/coap/
Dcoap_message.cpp152 uint16_t delta; in AppendOption() local
158 delta = aNumber - GetHelpData().mOptionLast; in AppendOption()
162 header[0] = static_cast<uint8_t>(WriteExtendedOptionField(delta, cur) << kOptionDeltaOffset); in AppendOption()
/openthread-3.5.0/tools/otci/tests/
Dtest_otci.py600 self.assertAlmostEqual(statistics['packet_loss'], 0.0, delta=1e-9)