/external/toybox/toys/posix/ |
D | time.c | 28 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/ |
D | test_compose_rt.cpp | 54 : 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/ |
D | TimeValue.h | 192 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/ |
D | clatd_microbenchmark.c | 127 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/ |
D | scantest.c | 64 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()
|
D | util.c | 364 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/ |
D | test_request_response_with_callback.c | 269 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/ |
D | resource_track.c | 53 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/ |
D | DGMRES.h | 311 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/ |
D | badblocks.c | 180 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/ |
D | gen_uuid.c | 352 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/ |
D | vp8_multi_resolution_encoder.c | 358 struct timeval tv1, tv2, difftv; in main() local 655 gettimeofday(&tv2, NULL); in main() 656 timersub(&tv2, &tv1, &difftv); in main()
|
/external/iputils/ |
D | arping.c | 102 #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/ |
D | multi-level-substitution.cpp | 237 …tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template paramet… variable
|
/external/dng_sdk/source/ |
D | dng_exif.cpp | 2041 real64 tv2 = ss.As_real64 (); in Parse_ifd0_exif() local 2045 if (Abs_real64 (tv1 - tv2) > 0.25) in Parse_ifd0_exif()
|
/external/libevent/ |
D | event.c | 1116 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/ |
D | check.t | 9106 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#}> <$…
|