/external/toybox/toys/posix/ |
time.c | 28 struct timeval tv, tv2; local 38 gettimeofday(&tv2, NULL); 39 if (tv.tv_usec > tv2.tv_usec) { 40 tv2.tv_usec += 1000000; 41 tv2.tv_sec--; 43 r = (tv2.tv_sec-tv.tv_sec)+((tv2.tv_usec-tv.tv_usec)/1000000.0);
|
/system/extras/tests/schedtest/ |
schedtest.c | 28 struct timeval tv2; local 35 gettimeofday(&tv2, NULL); 37 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec;
|
/bionic/tests/ |
sys_time_test.cpp | 55 timeval tv2; local 56 ASSERT_EQ(0, syscall(__NR_gettimeofday, &tv2, NULL)); 59 tv2.tv_sec -= tv1.tv_sec; 60 tv2.tv_usec -= tv1.tv_usec; 61 if (tv2.tv_usec < 0) { 62 --tv2.tv_sec; 63 tv2.tv_usec += 1000000; 67 ASSERT_EQ(0, tv2.tv_sec); 68 ASSERT_LT(tv2.tv_usec, 2000);
|
/external/llvm/include/llvm/Support/ |
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_ );
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextSwitcherTest.java | 62 TextView tv2 = new TextView(mContext); local 64 tv2.setText(viewText2); 66 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 78 assertSame(tv2, textSwitcher.getCurrentView()); 90 assertSame(tv2, textSwitcher.getCurrentView()); 102 TextView tv2 = new TextView(mContext); local 104 tv2.setText(viewText2); 106 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 137 TextView tv2 = new TextView(mContext); local 152 textSwitcher.addView(tv2, Integer.MAX_VALUE [all...] |
AbsListViewTest.java | 398 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local 402 mListView.setScrollIndicators(tv1, tv2); 575 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local 579 mListView.setScrollIndicators(tv1, tv2); [all...] |
/external/opencv3/modules/calib3d/test/ |
test_compose_rt.cpp | 54 : rv1(rv1_), tv1(tv1_), rv2(rv2_), tv2(tv2_), eps(eps_), ev(3, 1) {} 64 composeRT( rv1 + ev, tv1, rv2, tv2, rv3_p, tv3_p); 65 composeRT( rv1 - ev, tv1, rv2, tv2, rv3_m, tv3_m); 81 composeRT( rv1, tv1, rv2 + ev, tv2, rv3_p, tv3_p); 82 composeRT( rv1, tv1, rv2 - ev, tv2, rv3_m, tv3_m); 98 composeRT( rv1, tv1 + ev, rv2, tv2, rv3_p, tv3_p); 99 composeRT( rv1, tv1 - ev, rv2, tv2, rv3_m, tv3_m); 115 composeRT( rv1, tv1, rv2, tv2 + ev, rv3_p, tv3_p); 116 composeRT( rv1, tv1, rv2, tv2 - ev, rv3_m, tv3_m); 125 const mat_t& rv1, tv1, rv2, tv2; member in class:Differential [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 53 TypedValue tv2 = new TypedValue(); local 61 tv2.setTo(tv1); 63 assertEquals(1, tv2.assetCookie); 64 assertEquals(-1, tv2.changingConfigurations); 65 assertEquals(3, tv2.data); 66 assertEquals(4, tv2.resourceId); 67 assertEquals("test", tv2.string); 68 assertEquals(5, tv2.type);
|
/external/e2fsprogs/e2fsck/ |
scantest.c | 64 struct timeval *tv2) 66 return ((tv1->tv_sec - tv2->tv_sec) + 67 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
util.c | 364 struct timeval *tv2) 366 return ((tv1->tv_sec - tv2->tv_sec) + 367 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/external/e2fsprogs/resize/ |
resource_track.c | 53 struct timeval *tv2) 55 return ((tv1->tv_sec - tv2->tv_sec) + 56 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/external/android-clat/ |
clatd_microbenchmark.c | 127 double timedelta(const struct timespec tv1, const struct timespec tv2) { 128 struct timespec end = tv2; 142 struct timespec tv1, tv2; local 155 clock_gettime(CLOCK_MONOTONIC, &tv2); 156 double seconds = timedelta(tv1, tv2);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
btTriangleShapeEx.h | 155 btVector3 tv2 = t(m_vertices1[2]); local 157 btAABB trianglebox(tv0,tv1,tv2,m_collisionMargin);
|
/external/libmicrohttpd/src/testspdy/ |
test_request_response_with_callback.c | 269 struct timeval tv2; local 279 gettimeofday(&tv2, NULL); 288 usecs = (uint64_t)1000000 * (uint64_t)(tv2.tv_sec - tv1.tv_sec) + tv2.tv_usec - tv1.tv_usec;
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
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/ |
badblocks.c | 180 struct timeval *tv2, char *buf) 182 time_t diff = (tv1->tv_sec - tv2->tv_sec); 355 struct timeval tv1, tv2; local 378 gettimeofday(&tv2, NULL); 387 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; 388 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; 405 tv.tv_sec = tv2.tv_sec - tv1.tv_sec; 406 tv.tv_usec = tv2.tv_usec - tv1.tv_usec; [all...] |
/packages/apps/Music/src/com/android/music/ |
QueryBrowserActivity.java | 380 TextView tv2 = (TextView) view.findViewById(R.id.line2); local 415 tv2.setText(songs_albums); 433 tv2.setText(displayname); 453 tv2.setText(displayname + " - " + name);
|
/external/e2fsprogs/lib/uuid/ |
gen_uuid.c | 352 unsigned long tv1, tv2; local 356 &cl, &tv1, &tv2, &a) == 4) { 359 last.tv_usec = tv2;
|
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 358 struct timeval tv1, tv2, difftv; local 655 gettimeofday(&tv2, NULL); 656 timersub(&tv2, &tv1, &difftv);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
multi-level-substitution.cpp | 237 tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template parameter of reference type 'float &' cannot bind to template argument of type 'int'}} member in namespace:ExpandingNonTypeTemplateParameters
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
concept_check.hpp | 55 # define BOOST_CLASS_REQUIRE3(tv1, tv2, tv3, ns, concept) \ 56 BOOST_CONCEPT_ASSERT((ns::concept<tv1,tv2,tv3>)) 58 # define BOOST_CLASS_REQUIRE4(tv1, tv2, tv3, tv4, ns, concept) \ 59 BOOST_CONCEPT_ASSERT((ns::concept<tv1,tv2,tv3,tv4>))
|
/system/extras/tests/framebuffer/ |
fb_test.c | 47 struct timespec tv, tv2; variable in typeref:struct:
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/ |
phNxpExtns.c | 40 struct timeval tv2; member in struct:time_cal
|
/external/iputils/ |
arping.c | 102 #define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ 103 ((tv1).tv_usec-(tv2).tv_usec)/1000 )
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
BrowseFragment.java | 364 view.findViewById(R.id.tv2).setVisibility(visibility);
|