Searched refs:delta (Results 1 – 11 of 11) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/library/ |
D | timing.c | 74 unsigned long delta; in mbedtls_timing_get_timer() local 78 delta = (unsigned long) ((now.QuadPart - t->start.QuadPart) * 1000ul in mbedtls_timing_get_timer() 80 return delta; in mbedtls_timing_get_timer() 94 unsigned long delta; in mbedtls_timing_get_timer() local 97 delta = (now.tv_sec - t->start.tv_sec) * 1000ul in mbedtls_timing_get_timer() 99 return delta; in mbedtls_timing_get_timer()
|
D | aes.c | 558 unsigned delta = ((uintptr_t) buf & 0x0000000fU) / 4; in mbedtls_aes_rk_offset() local 559 if (delta == 0) { in mbedtls_aes_rk_offset() 562 return 4 - delta; // 16 bytes = 4 uint32_t in mbedtls_aes_rk_offset()
|
/openthread-latest/tests/scripts/thread-cert/ |
D | coap.py | 66 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
|
D | test_coap.py | 151 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-latest/third_party/mbedtls/repo/tests/src/ |
D | random.c | 108 uint32_t i, *k, sum, delta = 0x9E3779B9; in mbedtls_test_rnd_pseudo_rand() local 124 sum += delta; in mbedtls_test_rnd_pseudo_rand()
|
/openthread-latest/third_party/mbedtls/repo/scripts/ |
D | code_size_compare.py | 632 delta = new_attr - old_attr 633 change_attr = '{0:{1}}'.format(delta, '+' if delta else '') 637 delta = - old_attr 638 change_attr = '{0:{1}}'.format(delta, '+' if delta else '') 642 delta = new_attr 643 change_attr = '{0:{1}}'.format(delta, '+' if delta else '')
|
/openthread-latest/third_party/tcplp/bsdtcp/ |
D | tcp_timer.c | 476 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()
|
D | tcp_timer.h | 144 void tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, uint32_t delta);
|
D | tcp_input.c | 2884 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-latest/src/core/coap/ |
D | coap_message.cpp | 156 uint16_t delta; in AppendOptionHeader() local 162 delta = aNumber - GetHelpData().mOptionLast; in AppendOptionHeader() 166 header[0] = static_cast<uint8_t>(WriteExtendedOptionField(delta, cur) << kOptionDeltaOffset); in AppendOptionHeader()
|
/openthread-latest/tools/otci/tests/ |
D | test_otci.py | 592 self.assertAlmostEqual(statistics['packet_loss'], 0.0, delta=1e-9)
|