Searched refs:hw (Results 1 – 4 of 4) sorted by relevance
32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_memmem() local33 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem()34 if (hw == nw) return (char *)h-2; in twobyte_memmem()35 return hw == nw ? (char *)h-2 : 0; in twobyte_memmem()42 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_memmem() local43 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem()44 if (hw == nw) return (char *)h-3; in threebyte_memmem()45 return hw == nw ? (char *)h-3 : 0; in threebyte_memmem()52 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_memmem() local53 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem()[all …]
32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local33 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr()41 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() local42 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr()50 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() local51 for (h+=3; *h && hw != nw; hw = hw<<8 | *++h); in fourbyte_strstr()
538 __u8 hw; member
238 } hw; member