/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;
|
/system/extras/micro_bench/ |
micro_bench.c | 30 /* tv2 -= tv1 */ 31 static void tv_sub(struct timeval *tv2, struct timeval *tv1) { 32 tv2->tv_sec -= tv1->tv_sec; 33 tv2->tv_usec -= tv1->tv_usec; 41 struct timeval tv1; local 45 gettimeofday(&tv1, NULL); 49 tv_sub(&tv2, &tv1); 60 struct timeval tv1; local 64 gettimeofday(&tv1, NULL); 68 tv_sub(&tv2, &tv1); 81 struct timeval tv1; local 104 struct timeval tv1; local 131 struct timeval tv1; local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextSwitcherTest.java | 84 TextView tv1 = new TextView(mContext); local 86 tv1.setText(viewText1); 88 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 95 assertSame(tv1, textSwitcher.getCurrentView()); 107 assertSame(tv1, textSwitcher.getCurrentView()); 129 TextView tv1 = new TextView(mContext); local 131 tv1.setText(viewText1); 133 textSwitcher.addView(tv1, 0, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT)); 140 assertSame(tv1, textSwitcher.getCurrentView()); 146 assertSame(tv1, textSwitcher.getCurrentView()) 171 TextView tv1 = new TextView(mContext); local [all...] |
TabWidgetTest.java | 87 TextView tv1 = new TextView(mActivity); local 89 mockTabWidget.addView(tv1); 96 mockTabWidget.childDrawableStateChanged(tv1);
|
AbsListViewTest.java | 459 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 464 mListView.setScrollIndicators(tv1, tv2); 764 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 769 mListView.setScrollIndicators(tv1, tv2); [all...] |
/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); 367 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) { 368 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 373 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) { 374 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
|
/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);
|
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 89 TypedValue tv1 = new TypedValue(); local 91 tv1.assetCookie = 1; 92 tv1.changingConfigurations = 2; 93 tv1.data = 3; 94 tv1.resourceId = 4; 95 tv1.string = "test"; 96 tv1.type = 5; 98 tv2.setTo(tv1);
|
/device/moto/wingray/libaudio/ |
AudioPostProcessor.cpp | 686 struct timeval tv1, tv2; local 733 tv1.tv_sec = mtv1.tv_sec; 734 tv1.tv_usec = mtv1.tv_usec; 738 tv2.tv_sec -= tv1.tv_sec; 739 if(tv2.tv_usec < tv1.tv_usec) { 741 tv2.tv_usec = 1000000 + tv2.tv_usec - tv1.tv_usec; 743 tv2.tv_usec = tv2.tv_usec - tv1.tv_usec;
|
/external/e2fsprogs/misc/ |
badblocks.c | 164 static char *time_diff_format(struct timeval *tv1, 167 time_t diff = (tv1->tv_sec - tv2->tv_sec); 327 struct timeval tv1, tv2; local 343 gettimeofday(&tv1, NULL); 355 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; 356 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; 373 tv.tv_sec = tv2.tv_sec - tv1.tv_sec; 374 tv.tv_usec = tv2.tv_usec - tv1.tv_usec;
|
/packages/apps/Browser/src/com/android/browser/ |
SuggestionsAdapter.java | 177 TextView tv1 = (TextView) view.findViewById(android.R.id.text1); local 182 tv1.setText(Html.fromHtml(item.title)); 185 tv1.setMaxLines(2); 189 tv1.setMaxLines(1);
|
/packages/apps/Music/src/com/android/music/ |
QueryBrowserActivity.java | 377 TextView tv1 = (TextView) view.findViewById(R.id.line1); local 405 tv1.setText(displayname); 423 tv1.setText(displayname); 439 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 | 211 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
|
/external/mksh/src/ |
funcs.c | 2475 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...] |