Home
last modified time | relevance | path

Searched refs:time1 (Results 1 – 10 of 10) sorted by relevance

/external/netperf/
Dnetcpu_pstat.c121 struct timeval time1, time2; in calibrate_idle_rate() local
158 gettimeofday (&time1, &tz); in calibrate_idle_rate()
162 if (time2.tv_usec < time1.tv_usec) 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_perfstat.c136 struct timeval time1, time2 ; in calibrate_idle_rate() local
192 gettimeofday (&time1, &tz); in calibrate_idle_rate()
196 if (time2.tv_usec < time1.tv_usec) 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_kstat.c270 struct timeval time1, time2 ; in calibrate_idle_rate() local
291 gettimeofday (&time1, &tz); in calibrate_idle_rate()
295 if (time2.tv_usec < time1.tv_usec) 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
519 gettimeofday (&time1, &tz); in calibrate_idle_rate()
523 if (time2.tv_usec < time1.tv_usec) 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
3003 gettimeofday(&time1, in cpu_start()
3031 if (time2.tv_usec < time1.tv_usec) { 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/grub/stage2/
Dstage2.c242 int c, time1, time2 = -1, first_entry = 0; in run_menu() local
270 while ((time1 = getrtsecs ()) == 0xFF) in run_menu()
285 && (time1 = getrtsecs ()) != time2 in run_menu()
286 && time1 != 0xFF) in run_menu()
294 time2 = time1; in run_menu()
346 while ((time1 = getrtsecs()) == 0xFF); in run_menu()
353 if (grub_timeout >= 0 && (time1 = getrtsecs()) != time2 && time1 != 0xFF) in run_menu()
362 time2 = time1; in run_menu()
Dbuiltins.c4245 int time1, time2 = -1; in terminal_func() local
4251 while ((time1 = getrtsecs ()) == 0xFF) in terminal_func()
4274 if ((time1 = getrtsecs ()) != time2 && time1 != 0xFF) in terminal_func()
4291 time2 = time1; in terminal_func()
/external/icu4c/test/intltest/
Dtzrulets.cpp1170 UDate time1 = getUTCMillis(2005, UCAL_JULY, 4); in TestTimeZoneRuleCoverage() local
1286 b1 = a1->getNextStart(time1, -3*HOUR, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1354 b1 = i1->getNextStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1358 b1 = i1->getPreviousStart(time1, 0, 0, FALSE, d1); in TestTimeZoneRuleCoverage()
1427 b1 = t3->getNextStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage()
1431 b1 = t3->getPreviousStart(time1, -3*HOUR, 1*HOUR, FALSE, d1); in TestTimeZoneRuleCoverage()
1481 UDate time1 = getUTCMillis(1990, UCAL_JUNE, 1); in TestSimpleTimeZoneCoverage() local
1494 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
1498 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
1529 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
[all …]
Dcalregts.cpp2427 UDate time1 = cal.getTime(ec); // Get time -- should not change in TestWeekShift() local
2454 if (time1 != time2) { in TestWeekShift()
/external/icu4c/tools/tzcode/
Dlocaltime.c162 static time_t time1 P((struct tm * tmp,
1846 time1(tmp, funcp, offset) in time1() function
1927 return time1(tmp, localsub, 0L);
1945 return time1(tmp, gmtsub, 0L);
1954 return time1(tmp, gmtsub, offset);