Searched refs:hsum (Results 1 – 3 of 3) sorted by relevance
| /freebsd-10-stable/contrib/libarchive/libarchive/ |
| D | archive_read_support_format_warc.c | 453 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/ |
| D | jupiter.h | 53 u_short hsum; /* header cksum */ member
|
| D | refclock_jupiter.c | 922 hp->hsum = putshort(jupiter_cksum((u_short *)hp, in jupiter_send() 1103 getshort(hp->hsum)) { in jupiter_recv()
|