/system/extras/tests/schedtest/ |
schedtest.c | 27 struct timeval tv1; local 33 gettimeofday(&tv1, NULL); 37 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec;
|
/bionic/tests/ |
sys_time_test.cpp | 53 timeval tv1; local 54 ASSERT_EQ(0, gettimeofday(&tv1, NULL)); 59 tv2.tv_sec -= tv1.tv_sec; 60 tv2.tv_usec -= tv1.tv_usec;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextSwitcherTest.java | 61 TextView tv1 = new TextView(mContext); local 63 tv1.setText(viewText1); 65 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 72 assertSame(tv1, textSwitcher.getCurrentView()); 84 assertSame(tv1, textSwitcher.getCurrentView()); 101 TextView tv1 = new TextView(mContext); local 103 tv1.setText(viewText1); 105 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 112 assertSame(tv1, textSwitcher.getCurrentView()); 118 assertSame(tv1, textSwitcher.getCurrentView()) 136 TextView tv1 = new TextView(mContext); local [all...] |
TabWidgetTest.java | 134 TextView tv1 = new TextView(mActivity); local 136 mockTabWidget.addView(tv1); 143 mockTabWidget.childDrawableStateChanged(tv1);
|
AbsListViewTest.java | 397 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 402 mListView.setScrollIndicators(tv1, tv2); 574 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 579 mListView.setScrollIndicators(tv1, tv2); [all...] |
/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_ );
|
/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 | 52 TypedValue tv1 = new TypedValue(); local 54 tv1.assetCookie = 1; 55 tv1.changingConfigurations = 2; 56 tv1.data = 3; 57 tv1.resourceId = 4; 58 tv1.string = "test"; 59 tv1.type = 5; 61 tv2.setTo(tv1);
|
/external/android-clat/ |
clatd_microbenchmark.c | 127 double timedelta(const struct timespec tv1, const struct timespec tv2) { 129 if (end.tv_nsec < tv1.tv_nsec) { 133 double seconds = (end.tv_sec - tv1.tv_sec); 134 seconds += (((double) (end.tv_nsec - tv1.tv_nsec)) / SEC_TO_NANOSEC); 142 struct timespec tv1, tv2; local 144 clock_gettime(CLOCK_MONOTONIC, &tv1); 156 double seconds = timedelta(tv1, tv2);
|
/external/e2fsprogs/e2fsck/ |
scantest.c | 63 static __inline__ float timeval_subtract(struct timeval *tv1, 66 return ((tv1->tv_sec - tv2->tv_sec) + 67 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
util.c | 363 static _INLINE_ float timeval_subtract(struct timeval *tv1, 366 return ((tv1->tv_sec - tv2->tv_sec) + 367 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/external/e2fsprogs/resize/ |
resource_track.c | 52 static float timeval_subtract(struct timeval *tv1, 55 return ((tv1->tv_sec - tv2->tv_sec) + 56 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
DGMRES.h | 311 DenseVector tv1(n), tv2(n); //Temporary vectors 317 dgmresApplyDeflation(m_V.col(it), tv1); // Deflation 318 tv2 = precond.solve(tv1); 324 tv1 = mat * tv2; 330 coef = tv1.dot(m_V.col(i)); 331 tv1 = tv1 - coef * m_V.col(i); 336 coef = tv1.norm(); 337 m_V.col(it+1) = tv1/coef; 376 tv1 = m_V.leftCols(it) * nrs; [all...] |
/external/iputils/ |
clockdiff.c | 135 struct timeval tv1, tout; local 195 (void)gettimeofday (&tv1, (struct timezone *)0); 196 *(__u32*)(oicp+1) = htonl((tv1.tv_sec % (24*60*60)) * 1000 197 + tv1.tv_usec / 1000); 219 (void)gettimeofday(&tv1, (struct timezone *)0); 233 recvtime = (tv1.tv_sec % (24*60*60)) * 1000 + 234 tv1.tv_usec / 1000; 312 struct timeval tv1, tout; local 373 gettimeofday (&tv1, NULL); 374 ((__u32*)(oicp+1))[0] = htonl((tv1.tv_sec % (24*60*60)) * 100 [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
btTriangleShapeEx.h | 154 btVector3 tv1 = t(m_vertices1[1]); local 157 btAABB trianglebox(tv0,tv1,tv2,m_collisionMargin);
|
/external/libmicrohttpd/src/testspdy/ |
test_request_response_with_callback.c | 268 struct timeval tv1; local 277 gettimeofday(&tv1, NULL); 288 usecs = (uint64_t)1000000 * (uint64_t)(tv2.tv_sec - tv1.tv_sec) + tv2.tv_usec - tv1.tv_usec;
|
/external/autotest/client/tests/ipv6connect/src/ |
ipv6connect.c | 426 struct timeval tv0, tv1; local 469 gettimeofday(&tv1, NULL); 470 timediff = (tv1.tv_sec - tv0.tv_sec) * 1000000 + tv1.tv_usec - tv0.tv_usec;
|
/external/e2fsprogs/misc/ |
badblocks.c | 179 static char *time_diff_format(struct timeval *tv1, 182 time_t diff = (tv1->tv_sec - tv2->tv_sec); 355 struct timeval tv1, tv2; local 375 gettimeofday(&tv1, 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 | 379 TextView tv1 = (TextView) view.findViewById(R.id.line1); local 407 tv1.setText(displayname); 425 tv1.setText(displayname); 441 tv1.setText(name);
|
/external/e2fsprogs/lib/uuid/ |
gen_uuid.c | 352 unsigned long tv1, tv2; local 356 &cl, &tv1, &tv2, &a) == 4) { 358 last.tv_sec = tv1;
|
/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 358 struct timeval tv1, tv2, difftv; local 646 gettimeofday(&tv1, NULL); 656 timersub(&tv2, &tv1, &difftv);
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
BrowseFragment.java | 363 view.findViewById(R.id.tv1).setVisibility(visibility); 372 view.findViewById(R.id.tv1).setOnClickListener(new View.OnClickListener() {
|
BrowseSupportFragment.java | 365 view.findViewById(R.id.tv1).setVisibility(visibility); 374 view.findViewById(R.id.tv1).setOnClickListener(new View.OnClickListener() {
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDec_Thread.c | 362 struct timeval tv1; local 376 gettimeofday(&tv1, NULL);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
multi-level-substitution.cpp | 235 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
|