HomeSort by relevance Sort by last modified time
    Searched refs:tv2 (Results 1 - 16 of 16) sorted by null

  /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;
34 while (tv2->tv_usec < 0) {
35 tv2->tv_usec += 1000000;
36 tv2->tv_sec -= 1;
42 struct timeval tv2; local
47 gettimeofday(&tv2, NULL);
49 tv_sub(&tv2, &tv1)
61 struct timeval tv2; local
82 struct timeval tv2; local
105 struct timeval tv2; local
132 struct timeval tv2; local
    [all...]
  /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);
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/widget/src/android/widget/cts/
TextSwitcherTest.java 85 TextView tv2 = new TextView(mContext); local
87 tv2.setText(viewText2);
89 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
101 assertSame(tv2, textSwitcher.getCurrentView());
113 assertSame(tv2, textSwitcher.getCurrentView());
130 TextView tv2 = new TextView(mContext); local
132 tv2.setText(viewText2);
134 textSwitcher.addView(tv2, 1, new ViewGroup.LayoutParams(PARAMS_WIDTH, PARAMS_HEIGHT));
172 TextView tv2 = new TextView(mContext); local
187 textSwitcher.addView(tv2, Integer.MAX_VALUE
    [all...]
AbsListViewTest.java 460 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local
464 mListView.setScrollIndicators(tv1, tv2);
765 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); local
769 mListView.setScrollIndicators(tv1, tv2);
    [all...]
  /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);
  /cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java 90 TypedValue tv2 = new TypedValue(); local
98 tv2.setTo(tv1);
100 assertEquals(1, tv2.assetCookie);
101 assertEquals(-1, tv2.changingConfigurations);
102 assertEquals(3, tv2.data);
103 assertEquals(4, tv2.resourceId);
104 assertEquals("test", tv2.string);
105 assertEquals(5, tv2.type);
  /device/moto/wingray/libaudio/
AudioPostProcessor.cpp 686 struct timeval tv1, tv2; local
735 tv2.tv_sec = mtv8.tv_sec;
736 tv2.tv_usec = mtv8.tv_usec;
738 tv2.tv_sec -= tv1.tv_sec;
739 if(tv2.tv_usec < tv1.tv_usec) {
740 tv2.tv_sec--;
741 tv2.tv_usec = 1000000 + tv2.tv_usec - tv1.tv_usec;
743 tv2.tv_usec = tv2.tv_usec - tv1.tv_usec
    [all...]
  /external/e2fsprogs/misc/
badblocks.c 165 struct timeval *tv2, char *buf)
167 time_t diff = (tv1->tv_sec - tv2->tv_sec);
327 struct timeval tv1, tv2; local
346 gettimeofday(&tv2, 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 178 TextView tv2 = (TextView) view.findViewById(android.R.id.text2); local
184 tv2.setVisibility(View.GONE);
187 tv2.setVisibility(View.VISIBLE);
188 tv2.setText(item.url);
  /packages/apps/Music/src/com/android/music/
QueryBrowserActivity.java 378 TextView tv2 = (TextView) view.findViewById(R.id.line2); local
413 tv2.setText(songs_albums);
431 tv2.setText(displayname);
451 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 213 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
  /system/extras/tests/framebuffer/
fb_test.c 47 struct timespec tv, tv2; variable in typeref:struct:
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c 663 struct timeval tv1, tv2; local
    [all...]

Completed in 232 milliseconds