Searched defs:tv1 (Results 1 - 7 of 7) sorted by relevance

/external/e2fsprogs/e2fsck/
H A Dscantest.c66 static __inline__ float timeval_subtract(struct timeval *tv1, argument
69 return ((tv1->tv_sec - tv2->tv_sec) +
70 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
H A Dutil.c309 static _INLINE_ float timeval_subtract(struct timeval *tv1, argument
312 return ((tv1->tv_sec - tv2->tv_sec) +
313 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmulti-level-substitution.cpp235 tuple_of_values<int, float> tv1; // expected-note{{in instantiation of template class 'ExpandingNonTypeTemplateParameters::tuple_of_values<int, float>' requested here}} member in namespace:ExpandingNonTypeTemplateParameters
/external/llvm/include/llvm/Support/
H A DTimeValue.h183 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2);
188 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2);
370 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { argument
371 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_);
376 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { argument
377 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c348 unsigned long tv1, tv2; local
352 &cl, &tv1, &tv2, &a) == 4) {
354 last.tv_sec = tv1;
/external/e2fsprogs/misc/
H A Dbadblocks.c164 static char *time_diff_format(struct timeval *tv1, argument
167 time_t diff = (tv1->tv_sec - tv2->tv_sec);
330 struct timeval tv1, tv2; local
346 gettimeofday(&tv1, NULL);
358 ts.tv_sec = tv2.tv_sec - tv1.tv_sec;
359 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC;
376 tv.tv_sec = tv2.tv_sec - tv1.tv_sec;
377 tv.tv_usec = tv2.tv_usec - tv1.tv_usec;
/external/mksh/src/
H A Dfuncs.c2533 struct timeval usrtime, systime, tv0, tv1; local
2552 mksh_TIME(tv1);
2571 timersub(&tv1, &tv0, &tv1);
2573 p_time(shl_out, true, tv1.tv_sec, tv1.tv_usec,
2576 p_time(shl_out, false, tv1.tv_sec, tv1.tv_usec,

Completed in 240 milliseconds