Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c82 struct timeval tmp_tv[2]; in utimes_verify() local
88 tmp_tv[0].tv_sec = st.st_atime; in utimes_verify()
89 tmp_tv[0].tv_usec = 0; in utimes_verify()
90 tmp_tv[1].tv_sec = st.st_mtime; in utimes_verify()
91 tmp_tv[1].tv_usec = 0; in utimes_verify()
104 if (TST_ERR == 0 && utimes(tc->pathname, tmp_tv) == -1) in utimes_verify()
/external/iputils/
Dping.c735 struct timeval tmp_tv; in send_probe() local
736 gettimeofday(&tmp_tv, NULL); in send_probe()
737 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv)); in send_probe()
749 struct timeval tmp_tv; in send_probe() local
750 gettimeofday(&tmp_tv, NULL); in send_probe()
751 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv)); in send_probe()
752 icp->checksum = in_cksum((u_short *)&tmp_tv, sizeof(tmp_tv), ~icp->checksum); in send_probe()
Dping_common.c884 struct timeval tmp_tv; in gather_statistics() local
885 memcpy(&tmp_tv, ptr, sizeof(tmp_tv)); in gather_statistics()
888 tvsub(tv, &tmp_tv); in gather_statistics()