Home
last modified time | relevance | path

Searched refs:hsum (Results 1 – 3 of 3) sorted by relevance

/freebsd-10-stable/contrib/libarchive/libarchive/
Darchive_read_support_format_warc.c453 unsigned int hsum; in xmemmem() local
472 for (hp = hay + 1U, np = needle + 1U, hsum = *hay, nsum = *hay, eqp = 1U; in xmemmem()
474 hsum ^= *hp, nsum ^= *np, eqp &= *hp == *np, hp++, np++); in xmemmem()
488 hsum ^= *cand++; in xmemmem()
489 hsum ^= *hp; in xmemmem()
495 if (hsum == nsum && memcmp(cand, needle, needlesize - 1U) == 0) { in xmemmem()
/freebsd-10-stable/contrib/ntp/ntpd/
Djupiter.h53 u_short hsum; /* header cksum */ member
Drefclock_jupiter.c922 hp->hsum = putshort(jupiter_cksum((u_short *)hp, in jupiter_send()
1103 getshort(hp->hsum)) { in jupiter_recv()