/system/extras/tests/schedtest/ |
schedtest.c | 26 struct timeval tv1; local 32 gettimeofday(&tv1, NULL); 36 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + 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 | 59 TextView tv1 = new TextView(mActivity); local 61 mockTabWidget.addView(tv1); 68 mockTabWidget.childDrawableStateChanged(tv1);
|
AbsListViewTest.java | 330 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 335 mListView.setScrollIndicators(tv1, tv2); 507 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 512 mListView.setScrollIndicators(tv1, tv2);
|
/external/llvm/include/llvm/Support/ |
TimeValue.h | 183 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2); 188 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/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/e2fsprogs/e2fsck/ |
scantest.c | 66 static __inline__ float timeval_subtract(struct timeval *tv1, 69 return ((tv1->tv_sec - tv2->tv_sec) + 70 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
util.c | 309 static _INLINE_ float timeval_subtract(struct timeval *tv1, 312 return ((tv1->tv_sec - tv2->tv_sec) + 313 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/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...] |
arping.c | 102 #define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ 103 ((tv1).tv_usec-(tv2).tv_usec)/1000 )
|
/external/e2fsprogs/misc/ |
badblocks.c | 164 static char *time_diff_format(struct timeval *tv1, 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;
|
/packages/apps/Browser/src/com/android/browser/ |
SuggestionsAdapter.java | 160 TextView tv1 = (TextView) view.findViewById(android.R.id.text1); local 165 tv1.setText(Html.fromHtml(item.title)); 168 tv1.setMaxLines(2); 172 tv1.setMaxLines(1);
|
/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 | 348 unsigned long tv1, tv2; local 352 &cl, &tv1, &tv2, &a) == 4) { 354 last.tv_sec = tv1;
|
/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
|
/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>))
|
/external/mksh/src/ |
funcs.c | 2533 struct timeval usrtime, systime, tv0, tv1; local [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 663 struct timeval tv1, tv2; local [all...] |