Home
last modified time | relevance | path

Searched refs:time2 (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_core.cc30 PP_Time time2 = core->GetTime(); in TestTime() local
31 ASSERT_TRUE(time2 > time1); in TestTime()
43 PP_Time time2 = core->GetTimeTicks(); in TestTimeTicks() local
44 ASSERT_TRUE(time2 > time1); in TestTimeTicks()
/external/netperf/
Dnetcpu_perfstat.c136 struct timeval time1, time2 ; in calibrate_idle_rate() local
194 gettimeofday (&time2, &tz); in calibrate_idle_rate()
196 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
198 time2.tv_usec += 1000000; in calibrate_idle_rate()
199 time2.tv_sec -=1; in calibrate_idle_rate()
201 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
202 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_pstat.c121 struct timeval time1, time2; in calibrate_idle_rate() local
160 gettimeofday (&time2, &tz); in calibrate_idle_rate()
162 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
164 time2.tv_usec += 1000000; in calibrate_idle_rate()
165 time2.tv_sec -=1; in calibrate_idle_rate()
167 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
168 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_kstat.c270 struct timeval time1, time2 ; in calibrate_idle_rate() local
293 gettimeofday (&time2, &tz); in calibrate_idle_rate()
295 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
297 time2.tv_usec += 1000000; in calibrate_idle_rate()
298 time2.tv_sec -=1; in calibrate_idle_rate()
300 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
301 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetcpu_looper.c505 struct timeval time1, time2 ; in calibrate_idle_rate() local
521 gettimeofday (&time2, &tz); in calibrate_idle_rate()
523 if (time2.tv_usec < time1.tv_usec) in calibrate_idle_rate()
525 time2.tv_usec += 1000000; in calibrate_idle_rate()
526 time2.tv_sec -=1; in calibrate_idle_rate()
528 sec = time2.tv_sec - time1.tv_sec; in calibrate_idle_rate()
529 usec = time2.tv_usec - time1.tv_usec; in calibrate_idle_rate()
Dnetlib.c205 struct timeval time1, time2; variable
3028 gettimeofday(&time2, in cpu_stop()
3031 if (time2.tv_usec < time1.tv_usec) { in cpu_stop()
3032 time2.tv_usec += 1000000; in cpu_stop()
3033 time2.tv_sec -= 1; in cpu_stop()
3036 sec = time2.tv_sec - time1.tv_sec; in cpu_stop()
3037 usec = time2.tv_usec - time1.tv_usec; in cpu_stop()
/external/chromium_org/media/formats/mp2t/
Dtimestamp_unroller.cc55 int64 time2 = ((previous_unrolled_time_high + 1) << nbits) | timestamp; in GetUnrolledTimestamp() local
61 int64 diff2 = time2 - previous_unrolled_timestamp_; in GetUnrolledTimestamp()
79 unrolled_time = time2; in GetUnrolledTimestamp()
/external/lzma/CPP/7zip/UI/Common/
DUpdatePair.cpp18 … int MyCompareTime(NFileTimeType::EEnum fileTimeType, const FILETIME &time1, const FILETIME &time2) in MyCompareTime() argument
23 return ::CompareFileTime(&time1, &time2); in MyCompareTime()
28 FileTimeToUnixTime(time2, unixTime2); in MyCompareTime()
35 FileTimeToDosTime(time2, dosTime2); in MyCompareTime()
/external/chromium_org/third_party/cython/src/Cython/Plex/
DLexicons.py139 time2 = time()
140 total_time = total_time + (time2 - time1)
153 timings.write("Constructing NFA : %5.2f\n" % (time2 - time1))
/external/chromium_org/content/browser/fileapi/
Dblob_storage_context_unittest.cc110 base::Time time1, time2; in TEST() local
112 base::Time::FromString("Mon, 14 Nov 1994, 11:30:49 GMT", &time2); in TEST()
124 0, 20, time2); in TEST()
133 base::FilePath(FILE_PATH_LITERAL("File2.txt")), 0, 20, time2); in TEST()
/external/chromium_org/net/quic/
Dquic_time.cc98 QuicTime QuicTime::Max(QuicTime time1, QuicTime time2) { in Max() argument
99 return time1 > time2 ? time1 : time2; in Max()
Dquic_time.h88 static QuicTime Max(QuicTime time1, QuicTime time2);
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java237 long time2 = SystemClock.uptimeMillis(); in onDrawFrame() local
238 mLastTime = time2; in onDrawFrame()
241 mProfileSubmitTime += time2 - time; in onDrawFrame()
/external/valgrind/main/none/tests/s390x/
Dstcke.c10 int time2; member
/external/chromium_org/content/browser/loader/
Dupload_data_stream_builder_unittest.cc99 base::Time time1, time2; in TEST() local
101 base::Time::FromString("Mon, 14 Nov 1994, 11:30:49 GMT", &time2); in TEST()
133 base::FilePath(FILE_PATH_LITERAL("foo1.txt")), 0, 20, time2); in TEST()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioParamTimeline.cpp303 double time2 = nextEvent ? nextEvent->time() : endTime + 1; in valuesForTimeRangeImpl() local
305 double deltaTime = time2 - time1; in valuesForTimeRangeImpl()
309 double fillToTime = std::min(endTime, time2); in valuesForTimeRangeImpl()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1205 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local
1329 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1334 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage()
1516 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local
1607 avail2 = stz1->getNextTransition(time2, FALSE, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1753 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local
1754 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, FALSE, status); in TestVTimeZoneCoverage()
Dcalregts.cpp2613 UDate time2 = cal.getTime(ec); in TestWeekShift() local
2620 if (time1 != time2) { in TestWeekShift()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzrulets.cpp1207 UDate time2 = getUTCMillis(2015, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local
1331 b1 = a3->getNextStart(time2, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1336 b2 = a3->getPreviousStart(time2, -3*HOUR, 0, FALSE, d2); in TestTimeZoneRuleCoverage()
1518 UDate time2 = getUTCMillis(2000, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local
1609 avail2 = stz1->getNextTransition(time2, FALSE, tzt2); // transition after 2000-06-01 in TestSimpleTimeZoneCoverage()
1755 UDate time2 = getUTCMillis(2020, UCAL_JANUARY, 1); in TestVTimeZoneCoverage() local
1756 UBool equiv = vtz->hasEquivalentTransitions(*otz, time1, time2, FALSE, status); in TestVTimeZoneCoverage()
Dcalregts.cpp2613 UDate time2 = cal.getTime(ec); in TestWeekShift() local
2620 if (time1 != time2) { in TestWeekShift()
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c166 static time_t time2(struct tm *tmp,
1859 time2(tmp, funcp, offset, okayp) in time2() function
1894 t = time2(tmp, funcp, offset, &okay);
1938 t = time2(tmp, funcp, offset, &okay);
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dlocaltime.c166 static time_t time2(struct tm *tmp,
1859 time2(tmp, funcp, offset, okayp) in time2() function
1894 t = time2(tmp, funcp, offset, &okay);
1938 t = time2(tmp, funcp, offset, &okay);
/external/chromium_org/chrome/browser/extensions/activity_log/
Dcounting_policy_unittest.cc949 base::Time time2 = in TEST_F() local
960 action = new Action("punky", time2, Action::ACTION_API_CALL, "brewster"); in TEST_F()
977 &CountingPolicyTest::Arguments_CheckMergeCountAndTime, 1, time2)); in TEST_F()
/external/chromium_org/content/browser/quota/
Dquota_manager_unittest.cc1836 base::Time time2 = client->IncrementMockTime(); in TEST_F() local
1850 GetOriginsModifiedSince(kTemp, time2); in TEST_F()