Home
last modified time | relevance | path

Searched refs:newtime (Results 1 – 12 of 12) sorted by relevance

/external/chromium/third_party/libevent/sample/
Dtime-test.c37 int newtime = time(NULL); in timeout_cb() local
39 printf("%s: called at %d: %d\n", __func__, newtime, in timeout_cb()
40 newtime - lasttime); in timeout_cb()
41 lasttime = newtime; in timeout_cb()
/external/quake/quake/src/QW/server/
Dsys_win.c198 double newtime, time, oldtime; in main() local
250 newtime = Sys_DoubleTime (); in main()
251 time = newtime - oldtime; in main()
252 oldtime = newtime; in main()
Dsys_unix.c217 double time, oldtime, newtime; in main() local
272 newtime = Sys_DoubleTime (); in main()
273 time = newtime - oldtime; in main()
274 oldtime = newtime; in main()
/external/quake/quake/src/WinQuake/
Dsys_win.cpp696 double time, oldtime, newtime; in WinMain() local
859 newtime = Sys_FloatTime (); in WinMain()
860 time = newtime - oldtime; in WinMain()
865 newtime = Sys_FloatTime (); in WinMain()
866 time = newtime - oldtime; in WinMain()
882 newtime = Sys_FloatTime (); in WinMain()
883 time = newtime - oldtime; in WinMain()
887 oldtime = newtime; in WinMain()
Dsys_sun.cpp319 float time, oldtime, newtime; in main() local
343 newtime = Sys_FloatTime(); in main()
344 Host_Frame (newtime - oldtime); in main()
345 oldtime = newtime; in main()
Dsys_linux.cpp357 double time, oldtime, newtime; in main() local
406 newtime = Sys_FloatTime (); in main()
407 time = newtime - oldtime; in main()
420 oldtime = newtime; in main()
Dsys_android.cpp628 double time, newtime; in AndroidStepImp() local
637 newtime = Sys_FloatTime (); in AndroidStepImp()
638 time = newtime - g_oldtime; in AndroidStepImp()
643 g_oldtime = newtime; in AndroidStepImp()
Dsys_dos.cpp888 double time, oldtime, newtime; in main() local
939 newtime = Sys_FloatTime (); in main()
940 time = newtime - oldtime; in main()
949 oldtime = newtime; in main()
/external/quake/quake/src/QW/client/
Dsys_linux.c354 double time, oldtime, newtime; in main() local
395 newtime = Sys_DoubleTime (); in main()
396 time = newtime - oldtime; in main()
399 oldtime = newtime; in main()
Dsys_android.c415 double time, newtime; in AndroidStep() local
417 newtime = Sys_DoubleTime (); in AndroidStep()
418 time = newtime - g_oldtime; in AndroidStep()
421 g_oldtime = newtime; in AndroidStep()
Dsys_win.c556 double time, oldtime, newtime; in WinMain() local
689 newtime = Sys_DoubleTime (); in WinMain()
690 time = newtime - oldtime; in WinMain()
692 oldtime = newtime; in WinMain()
/external/icu4c/i18n/
Dcalendar.cpp1731 double newtime; in roll() local
1736 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll()
1737 if (newtime < 0) newtime += oneYear; in roll()
1738 setTimeInMillis(newtime + min2, status); in roll()
1754 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local
1755 if (newtime < 0) newtime += kOneWeek; in roll()
1756 setTimeInMillis(newtime + min2, status); in roll()
1776 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local
1777 if (newtime < 0) newtime += gap2; in roll()
1778 setTimeInMillis(newtime + min2, status); in roll()