Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemmem.c32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_memmem() local
33 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() local
43 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() local
53 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem()
[all …]
Dstrstr.c32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() local
33 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() local
42 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() local
51 for (h+=3; *h && hw != nw; hw = hw<<8 | *++h); in fourbyte_strstr()
/bionic/libc/kernel/uapi/linux/
Dpkt_sched.h538 __u8 hw; member
Dkvm.h238 } hw; member