Searched defs:get16bits (Results 1 - 2 of 2) sorted by relevance

/external/adhd/cras/src/common/
H A Dsfh.c32 #undef get16bits macro
35 #define get16bits(d) (*((const uint16_t *) (d))) macro
38 #if !defined (get16bits)
39 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8)\ macro
54 hash += get16bits (data);
55 tmp = (get16bits (data+2) << 11) ^ hash;
63 case 3: hash += get16bits (data);
68 case 2: hash += get16bits (data);
/external/libdrm/intel/
H A Duthash.h580 #undef get16bits macro
583 #define get16bits(d) (*((const uint16_t *) (d))) macro
586 #if !defined (get16bits)
587 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8) \ macro
601 hashv += get16bits (_sfh_key); \
602 _sfh_tmp = ((uint32_t)(get16bits (_sfh_key+2)) << 11) ^ hashv; \
610 case 3: hashv += get16bits (_sfh_key); \
615 case 2: hashv += get16bits (_sfh_key); \

Completed in 165 milliseconds