/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 46 gettimeofday(&tv1, NULL); 50 tv_sub(&tv2, &tv1); 61 struct timeval tv1; local 66 gettimeofday(&tv1, NULL); 70 tv_sub(&tv2, &tv1); 83 struct timeval tv1; local 107 struct timeval tv1; local 135 struct timeval tv1; local [all...] |
/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 | 322 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 327 mListView.setScrollIndicators(tv1, tv2); 499 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); local 504 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); 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_ );
|
/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);
|
/device/moto/wingray/libaudio/ |
AudioPostProcessor.cpp | 688 struct timeval tv1, tv2; local 746 tv1.tv_sec = mtv1.tv_sec; 747 tv1.tv_usec = mtv1.tv_usec; 751 tv2.tv_sec -= tv1.tv_sec; 752 if(tv2.tv_usec < tv1.tv_usec) { 754 tv2.tv_usec = 1000000 + tv2.tv_usec - tv1.tv_usec; 756 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 | 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 | 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 | 2492 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...] |