Home
last modified time | relevance | path

Searched refs:oldtime (Results 1 – 25 of 1403) sorted by relevance

12345678910>>...57

/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dsys_sdl.c75 static double oldtime = 0.0, curtime = 0.0; in Sys_DoubleTime() local
83 oldtime = newtime; in Sys_DoubleTime()
86 if (newtime < oldtime) in Sys_DoubleTime()
89 if (newtime - oldtime < -0.01) in Sys_DoubleTime()
90 …ime stepped backwards (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
92 else if (newtime > oldtime + 1800) in Sys_DoubleTime()
94 … time stepped forward (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
97 curtime += newtime - oldtime; in Sys_DoubleTime()
98 oldtime = newtime; in Sys_DoubleTime()
H A Dsys_linux.c87 static double oldtime = 0.0, curtime = 0.0; in Sys_DoubleTime() local
171 oldtime = newtime; in Sys_DoubleTime()
174 if (newtime < oldtime) in Sys_DoubleTime()
177 if (newtime - oldtime < -0.01) in Sys_DoubleTime()
178 …ime stepped backwards (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
180 else if (newtime > oldtime + 1800) in Sys_DoubleTime()
182 … time stepped forward (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
185 curtime += newtime - oldtime; in Sys_DoubleTime()
186 oldtime = newtime; in Sys_DoubleTime()
H A Dsys_win.c130 static double oldtime = 0.0, curtime = 0.0; in Sys_DoubleTime() local
188 oldtime = newtime; in Sys_DoubleTime()
191 if (newtime < oldtime) in Sys_DoubleTime()
194 if (newtime - oldtime < -0.01) in Sys_DoubleTime()
195 …ime stepped backwards (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
197 else if (newtime > oldtime + 1800) in Sys_DoubleTime()
199 … time stepped forward (went from %f to %f, difference %f)\n", oldtime, newtime, newtime - oldtime); in Sys_DoubleTime()
202 curtime += newtime - oldtime; in Sys_DoubleTime()
203 oldtime = newtime; in Sys_DoubleTime()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dlinear.c29 struct dvec *oldtime; in com_linearize() local
91 oldtime = old->pl_scale; in com_linearize()
101 newtime = dvec_alloc(copy(oldtime->v_name), in com_linearize()
102 oldtime->v_type, in com_linearize()
103 oldtime->v_flags | VF_PERMANENT, in com_linearize()
120 lincopy(v, newtime->v_realdata, len, oldtime); in com_linearize()
142 struct dvec* oldtime; in com_cutout() local
204 oldtime = old->pl_scale; in com_cutout()
219 newtime = dvec_alloc(copy(oldtime->v_name), in com_cutout()
220 oldtime->v_type, in com_cutout()
[all …]
/dports/devel/git-gui/git-2.34.1/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/devel/git-p4/git-2.34.1/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/devel/git-svn/git-2.34.1/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/devel/git/git-2.34.1/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/devel/git-cvs/git-2.34.1/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/devel/cgit/cgit-1.2.3/git/t/perf/
H A Dbisect_regression43 read -r regression subtest oldtime newtime oldrev newrev
50 oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
53 test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
54 die "New time '$newtime' should be greater than old time '$oldtime'"
57 echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dmain_sdl.c80 double time, oldtime, newtime; in main() local
132 oldtime = Sys_DoubleTime(); in main()
138 time = newtime - oldtime; in main()
144 time = newtime - oldtime; in main()
148 oldtime = newtime; in main()
163 time = newtime - oldtime; in main()
167 oldtime = newtime; in main()
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/chrono-0.4.6/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
91 tm_to_datetime(oldtime::now()) in now()
130 let mut tm = oldtime::at(timespec); in from_local_datetime()
146 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/chrono-0.4.6/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
91 tm_to_datetime(oldtime::now()) in now()
130 let mut tm = oldtime::at(timespec); in from_local_datetime()
146 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/editors/xi-term/xi-term-d264767/cargo-crates/chrono-0.4.6/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
91 tm_to_datetime(oldtime::now()) in now()
130 let mut tm = oldtime::at(timespec); in from_local_datetime()
146 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/chrono-0.4.7/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
91 tm_to_datetime(oldtime::now()) in now()
130 let mut tm = oldtime::at(timespec); in from_local_datetime()
146 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/games/quakeforge/quakeforge-0.7.2/nq/source/
H A Dsys_wind.c49 double time, oldtime, newtime; in main() local
77 oldtime = Sys_DoubleTime () - 0.1; in main()
81 time = newtime - oldtime; in main()
89 oldtime = newtime; in main()
91 oldtime += time; in main()
H A Dsys_unix.c68 double time, oldtime, newtime; in main() local
88 oldtime = Sys_DoubleTime () - 0.1; in main()
92 time = newtime - oldtime; in main()
103 oldtime = newtime; in main()
105 oldtime += time; in main()
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/chrono-0.4.11/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/chrono-0.4.11/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/textproc/ripgrep-all/ripgrep-all-0.9.6/cargo-crates/chrono-0.4.11/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/chrono-0.4.11/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/games/dose-response/dose-response-179c326/cargo-crates/chrono-0.4.9/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/devel/tokei/tokei-12.1.2/cargo-crates/chrono-0.4.11/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/sysutils/potnet/potnet-0.4.4/cargo-crates/chrono-0.4.9/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()
/dports/devel/dtool/dtool-0.11.0/cargo-crates/chrono-0.4.10/src/offset/
H A Dlocal.rs6 use oldtime;
16 fn tm_to_datetime(mut tm: oldtime::Tm) -> DateTime<Local> { in tm_to_datetime()
23 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
29 fn tm_to_naive_date(tm: &oldtime::Tm) -> NaiveDate { in tm_to_datetime()
42 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> oldtime::Timespec { in datetime_to_timespec()
48 let tm = oldtime::Tm { in datetime_to_timespec()
92 tm_to_datetime(oldtime::now()) in now()
142 let mut tm = oldtime::at(timespec); in from_local_datetime()
158 let mut tm = oldtime::at(timespec); in from_utc_datetime()

12345678910>>...57