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

/external/chromium_org/base/third_party/superfasthash/
H A Dsuperfasthash.c30 #undef get16bits macro
33 #define get16bits(d) (*((const uint16_t *) (d))) macro
36 #if !defined (get16bits)
37 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8)\ macro
52 hash += get16bits (data);
53 tmp = (get16bits (data+2) << 11) ^ hash;
61 case 3: hash += get16bits (data);
66 case 2: hash += get16bits (data);
/external/chromium_org/third_party/smhasher/src/
H A DSuperFastHash.cpp11 #undef get16bits
14 #define get16bits(d) (*((const uint16_t *) (d)))
17 #if !defined (get16bits)
18 #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8)\
23 FORCE_INLINE uint16_t get16bits ( const void * p ) function
39 hash += get16bits (data);
40 tmp = (get16bits (data+2) << 11) ^ hash;
48 case 3: hash += get16bits (data);
53 case 2: hash += get16bits (data);

Completed in 290 milliseconds