Lines Matching refs:hw
6 uint16_t nw = n[0] << 8 | n[1], hw = h[0] << 8 | h[1];
7 for (h += 2, k -= 2; k; k--, hw = hw << 8 | *h++)
8 if (hw == nw)
10 return hw == nw ? (char*)h - 2 : 0;
15 uint32_t hw = h[0] << 24 | h[1] << 16 | h[2] << 8;
16 for (h += 3, k -= 3; k; k--, hw = (hw | *h++) << 8)
17 if (hw == nw)
19 return hw == nw ? (char*)h - 3 : 0;
24 uint32_t hw = h[0] << 24 | h[1] << 16 | h[2] << 8 | h[3];
25 for (h += 4, k -= 4; k; k--, hw = hw << 8 | *h++)
26 if (hw == nw)
28 return hw == nw ? (char*)h - 4 : 0;