Lines Matching refs:tv
82 struct timeval tv;
84 tv.tv_sec = 0;
85 tv.tv_usec = 0;
86 v.c = encode_timeval(tv);
113 struct timeval tv;
115 tv.tv_sec = 1;
116 tv.tv_usec = 0;
117 v.c = encode_timeval(tv);
119 (float)tv.tv_sec * AHZ + tv.tv_usec, v);
130 struct timeval tv;
132 tv.tv_sec = 0;
133 tv.tv_usec = 1;
134 v.c = encode_timeval(tv);
136 (float)tv.tv_sec * AHZ + tv.tv_usec, v);
147 struct timeval tv;
149 tv.tv_sec = 1;
150 tv.tv_usec = 999999L;
151 v.c = encode_timeval(tv);
153 (float)tv.tv_sec * AHZ + tv.tv_usec, v);
166 struct timeval tv;
168 tv.tv_sec = 1;
169 tv.tv_usec = 1000000L;
170 v.c = encode_timeval(tv);
172 (float)tv.tv_sec * AHZ + tv.tv_usec, v);
186 struct timeval tv;
188 tv.tv_sec = 2147483647L;
189 tv.tv_usec = 999999L;
190 v.c = encode_timeval(tv);
192 (float)tv.tv_sec * AHZ + tv.tv_usec, v);
204 struct timeval tv;
215 tv.tv_sec = random();
216 tv.tv_usec = (random() % 1000000L);
217 v.c = encode_timeval(tv);
219 (float)tv.tv_sec * AHZ + tv.tv_usec, v);