Home
last modified time | relevance | path

Searched refs:tsum (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/csh/
H A Dsh.time.c24 void tvadd(struct timeval *tsum, struct timeval *t0);
235 tvadd(struct timeval *tsum, struct timeval *t0) in tvadd() argument
241 tsum->tv_sec += t0->tv_sec; in tvadd()
242 tsum->tv_usec += t0->tv_usec; in tvadd()
243 if (tsum->tv_usec > 1000000) { in tvadd()
244 tsum->tv_sec++; in tvadd()
245 tsum->tv_usec -= 1000000; in tvadd()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.h127 extern int64_t tsum;
H A Dping_aux.c480 tsum += triptime; in check_reply()
680 tsum += triptime; in check_reply()
1003 tsum += triptime; in check_reply()
H A Dping_aux6.c520 tsum += triptime; in check_reply6()
822 tsum += triptime; in check_reply6()
H A Dping.c187 int64_t tsum; /* sum of all times, for doing average */ variable
2371 double mean = (double)tsum / nreceived; in finish()
/titanic_44/usr/src/uts/common/os/
H A Dstrsubr.c8582 unsigned int tsum; in bcksum() local
8591 tsum = ip_ocsum((ushort_t *)bp, len >> 1, 0); in bcksum()
8592 psum += (tsum << 8) & 0xffff | (tsum >> 8); in bcksum()