Home
last modified time | relevance | path

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

12345678910>>...32

/dports/cad/gnucap/gnucap-2013-04-23/apps/
H A Ds_tr_swp.cc227 double newtime = NEVER; in next() local
255 new_dt = newtime - reftime; in next()
257 double fixed_time = newtime; in next()
273 fixed_time = newtime; in next()
286 newtime = mintime; in next()
350 newtime = reftime + new_dt; in next()
353 newtime = almost_fixed_time; in next()
354 new_dt = newtime - reftime; in next()
367 newtime = reftime + new_dt; in next()
384 if (up_order(newtime-_sim->_dtmin, _time_by_user_request, newtime+_sim->_dtmin)) { in next()
[all …]
/dports/sysutils/coreutils/coreutils-8.32/src/
H A Dtouch.c72 static struct timespec newtime[2]; variable
128 struct timespec const *t = newtime; in touch()
150 newtime[0].tv_nsec = UTIME_OMIT; in touch()
312 newtime[0].tv_nsec = 0; in main()
313 newtime[1] = newtime[0]; in main()
355 get_reldate (&newtime[0], flex_date, &newtime[0]); in main()
357 get_reldate (&newtime[1], flex_date, &newtime[1]); in main()
367 newtime[1] = newtime[0]; in main()
396 newtime[0].tv_nsec = 0; in main()
397 newtime[1] = newtime[0]; in main()
[all …]
/dports/misc/gnuls/coreutils-8.30/src/
H A Dtouch.c72 static struct timespec newtime[2]; variable
128 struct timespec const *t = newtime; in touch()
150 newtime[0].tv_nsec = UTIME_OMIT; in touch()
312 newtime[0].tv_nsec = 0; in main()
313 newtime[1] = newtime[0]; in main()
355 get_reldate (&newtime[0], flex_date, &newtime[0]); in main()
357 get_reldate (&newtime[1], flex_date, &newtime[1]); in main()
367 newtime[1] = newtime[0]; in main()
396 newtime[0].tv_nsec = 0; in main()
397 newtime[1] = newtime[0]; in main()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/mysys/
H A Dmy_getsystime.c100 ulonglong newtime; in my_micro_time() local
101 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time()
102 return (newtime/10); in my_micro_time()
104 ulonglong newtime; in my_micro_time()
111 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
112 return newtime; in my_micro_time()
140 ulonglong newtime; in my_micro_time_and_time() local
141 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
143 return (newtime/10); in my_micro_time_and_time()
145 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysys/
H A Dmy_getsystime.c148 ulonglong newtime; in my_micro_time() local
150 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
151 return (newtime/10); in my_micro_time()
153 ulonglong newtime; in my_micro_time()
160 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
161 return newtime; in my_micro_time()
188 ulonglong newtime; in my_micro_time_and_time() local
189 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
191 return (newtime/10); in my_micro_time_and_time()
193 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/mysys/
H A Dmy_getsystime.c148 ulonglong newtime; in my_micro_time() local
150 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
151 return (newtime/10); in my_micro_time()
153 ulonglong newtime; in my_micro_time()
160 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
161 return newtime; in my_micro_time()
188 ulonglong newtime; in my_micro_time_and_time() local
189 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
191 return (newtime/10); in my_micro_time_and_time()
193 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/mysys/
H A Dmy_getsystime.c148 ulonglong newtime; in my_micro_time() local
150 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
151 return (newtime/10); in my_micro_time()
153 ulonglong newtime; in my_micro_time()
160 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
161 return newtime; in my_micro_time()
188 ulonglong newtime; in my_micro_time_and_time() local
189 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
191 return (newtime/10); in my_micro_time_and_time()
193 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/mysys/
H A Dmy_getsystime.c148 ulonglong newtime; in my_micro_time() local
150 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
151 return (newtime/10); in my_micro_time()
153 ulonglong newtime; in my_micro_time()
160 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
161 return newtime; in my_micro_time()
188 ulonglong newtime; in my_micro_time_and_time() local
189 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
191 return (newtime/10); in my_micro_time_and_time()
193 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/mysys/
H A Dmy_getsystime.c148 ulonglong newtime; in my_micro_time() local
150 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
151 return (newtime/10); in my_micro_time()
153 ulonglong newtime; in my_micro_time()
160 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
161 return newtime; in my_micro_time()
188 ulonglong newtime; in my_micro_time_and_time() local
189 GetSystemTimeAsFileTime((FILETIME*)&newtime); in my_micro_time_and_time()
191 return (newtime/10); in my_micro_time_and_time()
193 ulonglong newtime; in my_micro_time_and_time()
[all …]
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dsys_linux.c88 double newtime; in Sys_DoubleTime() local
114 newtime = (double) timeGetTime () / 1000.0; in Sys_DoubleTime()
164 newtime = (double) tp.tv_sec + tp.tv_usec / 1000000.0; in Sys_DoubleTime()
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()
[all …]
H A Dsys_sdl.c76 double newtime; in Sys_DoubleTime() local
77 newtime = (double) SDL_GetTicks() / 1000.0; in Sys_DoubleTime()
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_win.c131 double newtime; in Sys_DoubleTime() local
151 newtime = (double) timeGetTime () / 1000.0; in Sys_DoubleTime()
181newtime = ((double) PerformanceCount.LowPart + (double) PerformanceCount.HighPart * 65536.0 * 6553… in Sys_DoubleTime()
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()
[all …]
/dports/games/libretro-beetle_wswan/beetle-wswan-libretro-5b03d1b/mednafen/wswan/
H A Drtc.cpp47 struct tm *newtime; in WSwan_RTCRead() local
58 newtime = gmtime( &long_time ); in WSwan_RTCRead()
64 return mBCD(newtime->tm_year-100); in WSwan_RTCRead()
67 return mBCD(newtime->tm_mon); in WSwan_RTCRead()
70 return mBCD(newtime->tm_mday); in WSwan_RTCRead()
73 return mBCD(newtime->tm_wday); in WSwan_RTCRead()
76 return mBCD(newtime->tm_hour); in WSwan_RTCRead()
79 return mBCD(newtime->tm_min); in WSwan_RTCRead()
82 return mBCD(newtime->tm_sec); in WSwan_RTCRead()
/dports/emulators/vba/VisualBoyAdvance-1.7.2/src/
H A DRTC.cpp124 struct tm *newtime; in rtcWrite() local
131 rtcClockData.data[0] = toBCD(newtime->tm_year); in rtcWrite()
132 rtcClockData.data[1] = toBCD(newtime->tm_mon+1); in rtcWrite()
133 rtcClockData.data[2] = toBCD(newtime->tm_mday); in rtcWrite()
135 rtcClockData.data[4] = toBCD(newtime->tm_hour); in rtcWrite()
136 rtcClockData.data[5] = toBCD(newtime->tm_min); in rtcWrite()
137 rtcClockData.data[6] = toBCD(newtime->tm_sec); in rtcWrite()
143 struct tm *newtime; in rtcWrite() local
150 rtcClockData.data[0] = toBCD(newtime->tm_hour); in rtcWrite()
151 rtcClockData.data[1] = toBCD(newtime->tm_min); in rtcWrite()
[all …]
/dports/cad/jspice3/jspice3-2.5/src/lib/spfte/
H A Dlinear.c30 struct dvec *newtime, *v; local
76 newtime = alloc(struct dvec);
77 newtime->v_name = copy(oldtime->v_name);
78 newtime->v_type = oldtime->v_type;
79 newtime->v_flags = oldtime->v_flags;
80 newtime->v_length = len;
81 newtime->v_plot = new;
84 newtime->v_realdata[i] = d;
85 vec_newperm(newtime); /* set to scale */
95 lincopy(v, newtime->v_realdata, len, oldtime);
[all …]
/dports/deskutils/fet/fet-6.2.0/src/engine/
H A Dgenerate.cpp7126 int newtime=perm[n]; in randomSwap() local
7338 assert(nConflActivities[newtime]==conflActivities[newtime].count()); in randomSwap()
7659 assert(conflActivities[newtime].count()==nConflActivities[newtime]); in randomSwap()
7697 assert(conflActivities[newtime].count()==nConflActivities[newtime]); in randomSwap()
7735 assert(conflActivities[newtime].count()==nConflActivities[newtime]); in randomSwap()
7762 int st=newtime; in randomSwap()
7842 assert(conflActivities[newtime].count()==nConflActivities[newtime]); in randomSwap()
8264 assert(conflActivities[newtime].count()==nConflActivities[newtime]); in randomSwap()
26276 …ai, d, h, roomSlots[newtime], selectedRoom[newtime], conflActivities[newtime], nConflActivities[ne… in randomSwap()
26300 if(nConflActivities[newtime]==0 && nMinDaysBroken[newtime]==0.0){ in randomSwap()
[all …]
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dmain_sdl.c80 double time, oldtime, newtime; in main() local
137 newtime = Sys_DoubleTime (); in main()
138 time = newtime - oldtime; in main()
143 newtime = Sys_DoubleTime (); in main()
144 time = newtime - oldtime; in main()
148 oldtime = newtime; in main()
162 newtime = Sys_DoubleTime (); in main()
163 time = newtime - oldtime; in main()
167 oldtime = newtime; in main()
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/storage/
H A Dtrados.py113 def __init__(self, newtime=None): argument
115 if newtime:
116 if isinstance(newtime, str):
117 self.timestring = newtime
118 elif isinstance(newtime, time.struct_time):
119 self.time = newtime
142 def set_time(self, newtime): argument
148 if newtime and isinstance(newtime, time.struct_time):
149 self._time = newtime
/dports/games/scorched3d/scorched/src/common/common/
H A DFileLogger.cpp53 struct tm *newtime = localtime(&theTime); in openFile() local
57 newtime->tm_year + 1900, newtime->tm_mon + 1, newtime->tm_mday, in openFile()
58 newtime->tm_hour, newtime->tm_min, newtime->tm_sec, fileCount_); in openFile()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dlinear.c28 struct dvec *newtime, *v; in com_linearize() local
101 newtime = dvec_alloc(copy(oldtime->v_name), in com_linearize()
106 newtime->v_plot = new; in com_linearize()
108 newtime->v_realdata[i] = d; in com_linearize()
109 new->pl_scale = new->pl_dvecs = newtime; in com_linearize()
141 struct dvec* newtime, * v, *nv; in com_cutout() local
219 newtime = dvec_alloc(copy(oldtime->v_name), in com_cutout()
224 newtime->v_plot = new; in com_cutout()
227 new->pl_scale = new->pl_dvecs = newtime; in com_cutout()
239 nv = copycut(v, newtime, istart, istop); in com_cutout()
[all …]
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/common/
H A Dslurm_time.c47 struct tm newtime; in slurm_ctime2() local
49 localtime_r(timep, &newtime); in slurm_ctime2()
51 strftime(time_str, sizeof(time_str), "%a %b %d %T %Y", &newtime); in slurm_ctime2()
58 struct tm newtime; in slurm_ctime2_r() local
59 localtime_r(timep, &newtime); in slurm_ctime2_r()
61 strftime(time_str, 25, "%a %b %d %T %Y", &newtime); in slurm_ctime2_r()
/dports/games/warzone2100/warzone2100/lib/netplay/
H A Dnetlog.cpp58 auto newtime = getLocalTime(aclock); /* Convert time to struct */ in NETstartLogging() local
60 …2d%02d_%02d%02d%02d.log", newtime.tm_year + 1900, newtime.tm_mon + 1, newtime.tm_mday, newtime.tm_… in NETstartLogging()
68 snprintf(buf, sizeof(buf), "NETPLAY log: %s\n", getAscTime(newtime).c_str()); in NETstartLogging()
175 struct tm newtime = newtime_result.value(); in NETlogEntry() local
189 …sizeof(buf), "%s \t: %s \t:%d\t\t%s", str, messageTypeToString(a), b, getAscTime(newtime).c_str()); in NETlogEntry()
193 snprintf(buf, sizeof(buf), "%s \t: %d \t(Sync) \t%s", str, b, getAscTime(newtime).c_str()); in NETlogEntry()
197 snprintf(buf, sizeof(buf), "%s \t:%d \t\t\t:%d\t\t%s", str, a, b, getAscTime(newtime).c_str()); in NETlogEntry()
/dports/irc/ircd-hybrid/ircd-hybrid-8.2.39/src/
H A Devent.c123 struct timespec newtime; in event_time_set() local
125 if (clock_gettime(CLOCK_REALTIME, &newtime)) in event_time_set()
127 else if (event_base->time.sec_real > (uintmax_t)newtime.tv_sec) in event_time_set()
129 (uintmax_t)newtime.tv_sec, event_base->time.sec_real); in event_time_set()
130 event_base->time.sec_real = newtime.tv_sec; in event_time_set()
133 if (clock_gettime(CLOCK_MONOTONIC_RAW, &newtime) == 0) in event_time_set()
135 if (clock_gettime(CLOCK_MONOTONIC, &newtime) == 0) in event_time_set()
137 event_base->time.sec_monotonic = newtime.tv_sec; in event_time_set()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysys/
H A Dmy_getsystime.c152 ulonglong newtime; in my_micro_time() local
153 my_get_system_time_as_file_time((FILETIME*)&newtime); in my_micro_time()
154 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
155 return (newtime/10); in my_micro_time()
157 ulonglong newtime; in my_micro_time()
164 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
165 return newtime; in my_micro_time()
/dports/databases/percona57-server/percona-server-5.7.36-39/mysys/
H A Dmy_getsystime.c152 ulonglong newtime; in my_micro_time() local
153 my_get_system_time_as_file_time((FILETIME*)&newtime); in my_micro_time()
154 newtime-= OFFSET_TO_EPOCH; in my_micro_time()
155 return (newtime/10); in my_micro_time()
157 ulonglong newtime; in my_micro_time()
164 newtime= (ulonglong)t.tv_sec * 1000000 + t.tv_usec; in my_micro_time()
165 return newtime; in my_micro_time()

12345678910>>...32