Home
last modified time | relevance | path

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

/net-tools-2.7.6/libcoap/src/
Doption.c56 result->delta = (*opt & 0xf0) >> 4; in coap_opt_parse()
59 switch(result->delta) { in coap_opt_parse()
70 result->delta = ((*opt & 0xff) << 8) + 269; in coap_opt_parse()
71 if (result->delta < 269) { in coap_opt_parse()
78 result->delta += *opt & 0xff; in coap_opt_parse()
185 oi->type += option.delta; in coap_option_next()
330 unsigned short delta, size_t length) { in coap_opt_setheader() argument
338 if (delta < 13) { in coap_opt_setheader()
339 opt[0] = delta << 4; in coap_opt_setheader()
340 } else if (delta < 270) { in coap_opt_setheader()
[all …]
Dnet.c182 coap_tick_diff_t delta = now - ctx->sendqueue_basetime; in coap_adjust_basetime() local
186 if (delta <= 0) { in coap_adjust_basetime()
187 ctx->sendqueue->t -= delta; in coap_adjust_basetime()
196 while (q && (t + q->t < (coap_tick_t)delta)) { in coap_adjust_basetime()
205 q->t = (coap_tick_t)delta - t; in coap_adjust_basetime()
211 ctx->sendqueue_basetime += delta; in coap_adjust_basetime()
1068 unsigned short delta = opt_iter.type - opt_type; in coap_new_error_response() local
1070 if (delta < 13) { in coap_new_error_response()
1072 } else if (delta < 269) { in coap_new_error_response()
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dxtea.c116 uint32_t sum = 0, delta = 0x9E3779B9; in mbedtls_xtea_crypt_ecb() local
121 sum += delta; in mbedtls_xtea_crypt_ecb()
127 uint32_t delta = 0x9E3779B9, sum = delta * 32; in mbedtls_xtea_crypt_ecb() local
132 sum -= delta; in mbedtls_xtea_crypt_ecb()
Dtiming.c247 unsigned long delta; in mbedtls_timing_get_timer() local
254 delta = (unsigned long)( ( 1000 * in mbedtls_timing_get_timer()
261 return( delta ); in mbedtls_timing_get_timer()
288 unsigned long delta; in mbedtls_timing_get_timer() local
301 delta = ( offset.tv_sec - t->start.tv_sec ) * 1000 in mbedtls_timing_get_timer()
304 return( delta ); in mbedtls_timing_get_timer()
/net-tools-2.7.6/
Dtcptest.py102 delta = time.time() - time_before_send variable
103 log("Got %d back in %f seconds" % (current_n, delta))
105 delta_avg += delta
/net-tools-2.7.6/libcoap/include/coap/
Doption.h30 unsigned short delta; member
333 unsigned short delta,
353 unsigned short delta,
/net-tools-2.7.6/libcoap/tests/
Dtest_options.c33 CU_ASSERT(option.delta == 0); in t_parse_option1()
48 CU_ASSERT(option.delta == 12); in t_parse_option2()
64 CU_ASSERT(option.delta == 3); in t_parse_option3()
116 CU_ASSERT(option.delta == 20); in t_parse_option7()
130 CU_ASSERT(option.delta == 780); in t_parse_option8()
144 CU_ASSERT(option.delta == 65535); in t_parse_option9()
199 CU_ASSERT(option.delta == 280); in t_parse_option13()
226 CU_ASSERT(option.delta == 268); in t_parse_option14()
Dtest_sendqueue.c162 const coap_tick_diff_t delta = 20; in t_sendqueue6() local
180 result = coap_adjust_basetime(&ctx, now + delta); in t_sendqueue6()
183 CU_ASSERT(ctx.sendqueue_basetime == now + delta); in t_sendqueue6()
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dhelpers.function365 uint32_t i, *k, sum, delta=0x9E3779B9;
382 sum += delta;