/bionic/libc/tzcode/ |
difftime.c | 17 difftime(time1, time0) 18 const time_t time1; 27 return (double) time1 - (double) time0; 32 return time1 - time0; 40 if (time1 >= time0) 41 return time1 - time0; 42 else return -((double) (time0 - time1)); 46 ** Handle cases where both time1 and time0 have the same sign 49 if ((time1 < 0) == (time0 < 0)) 50 return time1 - time0 [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 88 long time1 = AnimationUtils.currentAnimationTimeMillis(); local 89 assertTrue(time1 > 0); 92 for (int i = 0; i < 1000 && time1 >= time2; i++) { 100 assertTrue(time2 > time1);
|
/external/webkit/Source/WebCore/manual-tests/wml/ |
card-ontimer.wml | 10 <timer name="time1" value="50"/>
|
timer.wml | 10 <timer name="time1" value="50"/>
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 210 int64_t time1 = -1; local 219 if (time1 < 0) { 220 time1 = timeUs; 226 time1 = time2 = -1; 232 return time2 - time1;
|
/development/tools/emulator/system/libqemu/ |
test_guest_1.c | 96 double time1 = now_secs(); local 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0);
|
test_guest_2.c | 61 double time0, time1; local 231 time1 = now_secs(); 236 printf("Total time: %g seconds\n", time1 - time0); 238 printf("Bandwidth: %g MB/s\n", (maxCount*bufferSize/(1024.0*1024.0))/(time1 - time0) );
|
/sdk/traceview/src/com/android/traceview/ |
MethodData.java | 437 double time1 = md1.getElapsedInclusiveCpuTime(); local 438 time1 = time1 / md1.getTotalCalls(); 441 double diff = time1 - time2; 452 double time1 = md1.getElapsedInclusiveRealTime(); local 453 time1 = time1 / md1.getTotalCalls(); 456 double diff = time1 - time2;
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 93 long time1 = System.currentTimeMillis(); local 94 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms"); 113 long time1 = System.currentTimeMillis(); local 114 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms");
|
/external/netperf/ |
netcpu_kstat.c | 270 struct timeval time1, time2 ; local 291 gettimeofday (&time1, &tz); 295 if (time2.tv_usec < time1.tv_usec) 300 sec = time2.tv_sec - time1.tv_sec; 301 usec = time2.tv_usec - time1.tv_usec;
|
netcpu_perfstat.c | 136 struct timeval time1, time2 ; local 192 gettimeofday (&time1, &tz); 196 if (time2.tv_usec < time1.tv_usec) 201 sec = time2.tv_sec - time1.tv_sec; 202 usec = time2.tv_usec - time1.tv_usec;
|
netcpu_pstat.c | 121 struct timeval time1, time2; local 158 gettimeofday (&time1, &tz); 162 if (time2.tv_usec < time1.tv_usec) 167 sec = time2.tv_sec - time1.tv_sec; 168 usec = time2.tv_usec - time1.tv_usec;
|
/dalvik/tests/055-enum-performance/src/ |
Main.java | 17 long time1 = System.nanoTime(); local 30 double msec1 = (time1 - time0) / (double) count1 / 1000000; 31 double msec2 = (time2 - time1) / (double) count2 / 1000000;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 79 long time1 = new GregorianCalendar(1998, Calendar.NOVEMBER, 11) local 82 -(5 * ONE_HOUR), st1.getOffset(time1)); 93 -(5 * ONE_HOUR), tz1.getOffset(time1)); 100 (3 * ONE_HOUR), tz1.getOffset(time1));
|
/external/grub/stage2/ |
stage2.c | 242 int c, time1, time2 = -1, first_entry = 0; local 270 while ((time1 = getrtsecs ()) == 0xFF) 285 && (time1 = getrtsecs ()) != time2 286 && time1 != 0xFF) 294 time2 = time1; 346 while ((time1 = getrtsecs()) == 0xFF); 353 if (grub_timeout >= 0 && (time1 = getrtsecs()) != time2 && time1 != 0xFF) 362 time2 = time1;
|
/external/quake/quake/src/WinQuake/ |
host.cpp | 636 static double time1 = 0; local 700 time1 = Sys_FloatTime (); 720 pass1 = (int) ((time1 - time3)*1000); 722 pass2 = (int) ((time2 - time1)*1000); 733 double time1, time2; local 744 time1 = Sys_FloatTime (); 748 timetotal += time2 - time1;
|
/bionic/libc/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/development/ndk/platforms/android-3/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/development/ndk/platforms/android-8/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/frameworks/av/media/libstagefright/ |
SampleTable.cpp | 463 uint32_t abs_difference(uint32_t time1, uint32_t time2) { 464 return time1 > time2 ? time1 - time2 : time2 - time1;
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
time.h | 69 /* Return the difference between TIME1 and TIME0. */
|