Home
last modified time | relevance | path

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

/src/tools/regression/netinet6/inet6_rth/
H A Dinet6_rth-segments.c90 checkptr(NULL, pbuf, "buffer too small\0"); in test_rth_init()
93 checkptr((caddr_t)&buf, pbuf, "0 segments\0"); in test_rth_init()
96 checkptr((caddr_t)&buf, pbuf, "127 segments\0"); in test_rth_init()
99 checkptr(NULL, pbuf, "negative number of segments\0"); in test_rth_init()
102 checkptr(NULL, pbuf, "128 segments\0"); in test_rth_init()
263 checkptr(NULL, (caddr_t)cmhnextp, "only one cmsghdr\0"); in test_cmsg_nexthdr()
275 checkptr((caddr_t)cmhp, (caddr_t)cmhnextp, "null second argument\0"); in test_cmsg_nexthdr()
293 checkptr(NULL, (caddr_t)cmhp, in test_cmsg_firsthdr()
301 checkptr(NULL, (caddr_t)cmhp, in test_cmsg_firsthdr()
309 checkptr(NULL, (caddr_t)cmhp, in test_cmsg_firsthdr()
H A Dtest_subr.h40 void checkptr(caddr_t, caddr_t, const char *);
H A Dtest_subr.c54 checkptr(caddr_t expected, caddr_t got, const char *desc) in checkptr() function
/src/stand/i386/libi386/
H A Dpxe.c146 uint8_t *checkptr; in pxe_init() local
170 checkptr = (uint8_t *) pxenv_p; in pxe_init()
172 checksum += *checkptr++; in pxe_init()
191 checkptr = (uint8_t *)pxe_p; in pxe_init()
194 checksum += *checkptr++; in pxe_init()