Home
last modified time | relevance | path

Searched refs:get16bits (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.4.0/tinydtls-0.8.2/
Duthash.h429 #undef get16bits
432 #define get16bits(d) (*((const uint16_t *) (d))) macro
435 #if !defined (get16bits)
436 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8) \ macro
450 hashv += get16bits (_sfh_key); \
451 _sfh_tmp = (get16bits (_sfh_key+2) << 11) ^ hashv; \
459 case 3: hashv += get16bits (_sfh_key); \
464 case 2: hashv += get16bits (_sfh_key); \
/net-tools-3.4.0/libcoap/include/coap/
Duthash.h472 #undef get16bits
475 #define get16bits(d) (*((const uint16_t *) (d))) macro
478 #if !defined (get16bits)
479 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8) \ macro
493 hashv += get16bits (_sfh_key); \
494 _sfh_tmp = (uint32_t)(get16bits (_sfh_key+2)) << 11 ^ hashv; \
502 case 3: hashv += get16bits (_sfh_key); \
507 case 2: hashv += get16bits (_sfh_key); \