/bionic/libc/tzcode/ |
difftime.c | 11 difftime(const time_t time1, const time_t time0) 18 return (double) time1 - (double) time0; 23 return time1 - time0; 31 if (time1 >= time0) 32 return time1 - time0; 33 else return -(double) (time0 - time1); 37 ** Handle cases where both time1 and time0 have the same sign 40 if ((time1 < 0) == (time0 < 0)) 41 return time1 - time0; 43 ** time1 and time0 have opposite signs [all...] |
localtime.c | 174 static time_t time1(struct tm * tmp, 1901 time1(struct tm * const tmp, function [all...] |
/external/chromium_org/ppapi/tests/ |
test_core.cc | 25 PP_Time time1 = core->GetTime(); local 26 ASSERT_TRUE(time1 > 0); 31 ASSERT_TRUE(time2 > time1); 38 PP_Time time1 = core->GetTimeTicks(); local 39 ASSERT_TRUE(time1 > 0); 44 ASSERT_TRUE(time2 > time1);
|
/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);
|
/device/generic/goldfish/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) );
|
/external/lzma/CPP/7zip/UI/Common/ |
UpdatePair.cpp | 18 static int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &time2)
23 return ::CompareFileTime(&time1, &time2);
27 FileTimeToUnixTime(time1, unixTime1);
34 FileTimeToDosTime(time1, dosTime1);
|
/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/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioParamTimeline.cpp | 217 double time1 = event.time(); 221 double deltaTime = time2 - time1; 234 float x = (currentTime - time1) * k; 251 // AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate), but is more 254 AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate) / numSampleFrames); 319 fillToTime = min(endTime, time1 + duration); 326 if (time1 < currentTime) { 329 float frameOffset = (currentTime - time1) * sampleRate;
|
/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;
|
netcpu_looper.c | 506 struct timeval time1, time2 ; 520 gettimeofday (&time1, &tz); 524 if (time2.tv_usec < time1.tv_usec) 529 sec = time2.tv_sec - time1.tv_sec; 530 usec = time2.tv_usec - time1.tv_usec; 505 struct timeval time1, time2 ; local
|
/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/chromium_org/webkit/browser/blob/ |
blob_storage_context_unittest.cc | 95 base::Time time1, time2; local 96 base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &time1); 103 10, 1024, time1); 116 10, 98, time1);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 275 int64_t time1 = -1; local 284 if (time1 < 0) { 285 time1 = timeUs; 291 time1 = time2 = -1; 297 return time2 - 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;
|
/art/test/055-enum-performance/src/ |
Main.java | 37 long time1 = System.nanoTime(); local 50 double msec1 = (time1 - time0) / (double) count1 / 1000000; 51 double msec2 = (time2 - time1) / (double) count2 / 1000000;
|
/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/chromium_org/media/mp2t/ |
ts_section_pes.cc | 34 int64 time1 = ((previous_unrolled_time_high + 0) << nbits) | time; local 40 int64 diff1 = time1 - previous_unrolled_time; 52 unrolled_time = time1;
|
/external/chromium_org/content/browser/loader/ |
upload_data_stream_builder_unittest.cc | 98 base::Time time1, time2; local 99 base::Time::FromString("Tue, 15 Nov 1994, 12:45:26 GMT", &time1); 113 base::FilePath(FILE_PATH_LITERAL("BlobFile.txt")), 0, 20, time1);
|
/external/chromium_org/chrome/test/functional/ |
passwords.py | 42 def _AssertWithinOneSecond(self, time1, time2): 43 self.assertTrue(abs(time1 - time2) < 1.0, 45 'First was %lf, second was %lf' % (time1, time2))
|
/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;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tzrulets.cpp | 1205 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); local 1516 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); local 1753 UDate time1 = getUTCMillis(1950, UCAL_JANUARY, 1); local [all...] |
/external/icu4c/test/intltest/ |
tzrulets.cpp | 1206 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); local 1517 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); local 1754 UDate time1 = getUTCMillis(1950, UCAL_JANUARY, 1); local [all...] |