/system/extras/tests/schedtest/ |
schedtest.c | 27 struct timeval tv2; local 34 gettimeofday(&tv2, NULL); 36 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec;
|
/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/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 | 331 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local 335 mListView.setScrollIndicators(tv1, tv2); 508 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local 512 mListView.setScrollIndicators(tv1, tv2);
|
/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 | 67 struct timeval *tv2) 69 return ((tv1->tv_sec - tv2->tv_sec) + 70 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
util.c | 310 struct timeval *tv2) 312 return ((tv1->tv_sec - tv2->tv_sec) + 313 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000);
|
/external/e2fsprogs/misc/ |
badblocks.c | 165 struct timeval *tv2, char *buf) 167 time_t diff = (tv1->tv_sec - tv2->tv_sec); 330 struct timeval tv1, tv2; local 349 gettimeofday(&tv2, 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 | 161 TextView tv2 = (TextView) view.findViewById(android.R.id.text2); local 167 tv2.setVisibility(View.GONE); 170 tv2.setVisibility(View.VISIBLE); 171 tv2.setText(item.url);
|
/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 | 348 unsigned long tv1, tv2; local 352 &cl, &tv1, &tv2, &a) == 4) { 355 last.tv_usec = tv2;
|
/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:
|
/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 )
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
JPEGTest.c | 663 struct timeval tv1, tv2; local [all...] |