Home
last modified time | relevance | path

Searched refs:tv2 (Results 1 – 17 of 17) sorted by relevance

/external/toybox/toys/posix/
Dtime.c28 struct timeval tv, tv2; in time_main() local
38 gettimeofday(&tv2, NULL); in time_main()
39 if (tv.tv_usec > tv2.tv_usec) { in time_main()
40 tv2.tv_usec += 1000000; in time_main()
41 tv2.tv_sec--; in time_main()
43 r = (tv2.tv_sec-tv.tv_sec)+((tv2.tv_usec-tv.tv_usec)/1000000.0); in time_main()
/external/opencv3/modules/calib3d/test/
Dtest_compose_rt.cpp54 : rv1(rv1_), tv1(tv1_), rv2(rv2_), tv2(tv2_), eps(eps_), ev(3, 1) {} in Differential()
64 composeRT( rv1 + ev, tv1, rv2, tv2, rv3_p, tv3_p); in dRv1()
65 composeRT( rv1 - ev, tv1, rv2, tv2, rv3_m, tv3_m); in dRv1()
81 composeRT( rv1, tv1, rv2 + ev, tv2, rv3_p, tv3_p); in dRv2()
82 composeRT( rv1, tv1, rv2 - ev, tv2, rv3_m, tv3_m); in dRv2()
98 composeRT( rv1, tv1 + ev, rv2, tv2, rv3_p, tv3_p); in dTv1()
99 composeRT( rv1, tv1 - ev, rv2, tv2, rv3_m, tv3_m); in dTv1()
115 composeRT( rv1, tv1, rv2, tv2 + ev, rv3_p, tv3_p); in dTv2()
116 composeRT( rv1, tv1, rv2, tv2 - ev, rv3_m, tv3_m); in dTv2()
125 const mat_t& rv1, tv1, rv2, tv2; member in Differential
/external/llvm/include/llvm/Support/
DTimeValue.h192 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2);
197 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2);
371 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) {
372 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_);
377 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) {
378 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
/external/android-clat/
Dclatd_microbenchmark.c127 double timedelta(const struct timespec tv1, const struct timespec tv2) { in timedelta() argument
128 struct timespec end = tv2; in timedelta()
142 struct timespec tv1, tv2; in benchmark() local
155 clock_gettime(CLOCK_MONOTONIC, &tv2); in benchmark()
156 double seconds = timedelta(tv1, tv2); in benchmark()
/external/e2fsprogs/e2fsck/
Dscantest.c64 struct timeval *tv2) in timeval_subtract() argument
66 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
67 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
Dutil.c364 struct timeval *tv2) in timeval_subtract() argument
366 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
367 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
/external/libmicrohttpd/src/testspdy/
Dtest_request_response_with_callback.c269 struct timeval tv2; in childproc() local
279 gettimeofday(&tv2, NULL); in childproc()
288 usecs = (uint64_t)1000000 * (uint64_t)(tv2.tv_sec - tv1.tv_sec) + tv2.tv_usec - tv1.tv_usec; in childproc()
/external/e2fsprogs/resize/
Dresource_track.c53 struct timeval *tv2) in timeval_subtract() argument
55 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
56 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DDGMRES.h311 DenseVector tv1(n), tv2(n); //Temporary vectors
318 tv2 = precond.solve(tv1);
322 tv2 = precond.solve(m_V.col(it)); // User's selected preconditioner
324 tv1 = mat * tv2;
377 dgmresApplyDeflation(tv1, tv2);
378 x = x + precond.solve(tv2);
/external/e2fsprogs/misc/
Dbadblocks.c180 struct timeval *tv2, char *buf) in time_diff_format() argument
182 time_t diff = (tv1->tv_sec - tv2->tv_sec); in time_diff_format()
355 struct timeval tv1, tv2; in do_read() local
378 gettimeofday(&tv2, NULL); in do_read()
387 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; in do_read()
388 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; in do_read()
405 tv.tv_sec = tv2.tv_sec - tv1.tv_sec; in do_read()
406 tv.tv_usec = tv2.tv_usec - tv1.tv_usec; in do_read()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c352 unsigned long tv1, tv2; in get_clock() local
356 &cl, &tv1, &tv2, &a) == 4) { in get_clock()
359 last.tv_usec = tv2; in get_clock()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c358 struct timeval tv1, tv2, difftv; in main() local
655 gettimeofday(&tv2, NULL); in main()
656 timersub(&tv2, &tv1, &difftv); in main()
/external/iputils/
Darping.c102 #define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ argument
103 ((tv1).tv_usec-(tv2).tv_usec)/1000 )
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmulti-level-substitution.cpp237 …tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template paramet… variable
/external/dng_sdk/source/
Ddng_exif.cpp2041 real64 tv2 = ss.As_real64 (); in Parse_ifd0_exif() local
2045 if (Abs_real64 (tv1 - tv2) > 0.25) in Parse_ifd0_exif()
/external/libevent/
Devent.c1116 is_same_common_timeout(const struct timeval *tv1, const struct timeval *tv2) in is_same_common_timeout() argument
1119 (tv2->tv_usec & ~MICROSECONDS_MASK); in is_same_common_timeout()
/external/mksh/src/
Dcheck.t9106 typeset -Uui16 tv1=1#~ tv2=1# tv3=1#� tv4=1#� tv5=1#� tv6=1#� tv7=1#  tv8=1#€
9107 …echo "specX <${tv1#16#}> <${tv2#16#}> <${tv3#16#}> <${tv4#16#}> <${tv5#16#}> <${tv6#16#}> <${tv7#1…
9108 typeset -i1 tv1 tv2 tv3 tv4 tv5 tv6 tv7 tv8
9109 …echo "specW <${tv1#1#}> <${tv2#1#}> <${tv3#1#}> <${tv4#1#}> <${tv5#1#}> <${tv6#1#}> <${tv7#1#}> <$…