Home
last modified time | relevance | path

Searched refs:timestruct (Results 1 – 25 of 89) sorted by relevance

1234

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/time/
H A Dtime_exploded_posix.cc46 return mktime64(timestruct); in SysTimeFromTimeStruct()
48 return timegm64(timestruct); in SysTimeFromTimeStruct()
56 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
88 return mktime(timestruct); in SysTimeFromTimeStruct()
98 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
107 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
115 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
150 struct tm timestruct; in Explode() local
174 struct tm timestruct; in FromExploded() local
205 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/time/
H A Dtime_exploded_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
89 return mktime(timestruct); in SysTimeFromTimeStruct()
99 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
107 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
115 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
144 struct tm timestruct; in Explode() local
168 struct tm timestruct; in FromExploded() local
199 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/www/firefox/firefox-99.0/security/sandbox/chromium/base/time/
H A Dtime_exploded_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
89 return mktime(timestruct); in SysTimeFromTimeStruct()
99 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
107 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
115 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
145 struct tm timestruct; in Explode() local
169 struct tm timestruct; in FromExploded() local
200 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium/base/time/
H A Dtime_exploded_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
89 return mktime(timestruct); in SysTimeFromTimeStruct()
99 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
107 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
115 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
145 struct tm timestruct; in Explode() local
169 struct tm timestruct; in FromExploded() local
200 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium/base/time/
H A Dtime_exploded_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
89 return mktime(timestruct); in SysTimeFromTimeStruct()
99 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
107 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
115 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
145 struct tm timestruct; in Explode() local
169 struct tm timestruct; in FromExploded() local
200 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/chromium/base/time/
H A Dtime_exploded_posix.cc51 return mktime64(timestruct); in SysTimeFromTimeStruct()
61 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
93 return mktime(timestruct); in SysTimeFromTimeStruct()
103 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
112 return mktime(timestruct); in SysTimeFromTimeStruct()
114 return timegm(timestruct); in SysTimeFromTimeStruct()
122 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
156 struct tm timestruct; in Explode() local
180 struct tm timestruct; in FromExploded() local
211 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/base/time/
H A Dtime_exploded_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
91 return mktime(timestruct); in SysTimeFromTimeStruct()
101 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
109 return is_local ? mktime(timestruct) : timegm(timestruct); in SysTimeFromTimeStruct()
117 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
151 struct tm timestruct; in Explode() local
175 struct tm timestruct; in FromExploded() local
206 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/chromium/base/time/
H A Dtime_posix.cc49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
68 return mktime(timestruct); in SysTimeFromTimeStruct()
70 return timegm(timestruct); in SysTimeFromTimeStruct()
78 gmtime_r(&t, timestruct); in SysTimeToTimeStruct()
200 struct tm timestruct; in Explode() local
215 struct tm timestruct; in FromExploded() local
246 timestruct = timestruct0; in FromExploded()
247 timestruct.tm_isdst = 0; in FromExploded()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
77 seconds = mktime(&timestruct); in FromExploded()
80 seconds = mktime(&timestruct); in FromExploded()
82 seconds = timegm(&timestruct); in FromExploded()
132 struct tm timestruct; in Explode() local
136 gmtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
77 seconds = mktime(&timestruct); in FromExploded()
80 seconds = mktime(&timestruct); in FromExploded()
82 seconds = timegm(&timestruct); in FromExploded()
132 struct tm timestruct; in Explode() local
136 gmtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/www/firefox/firefox-99.0/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
77 seconds = mktime(&timestruct); in FromExploded()
80 seconds = mktime(&timestruct); in FromExploded()
82 seconds = timegm(&timestruct); in FromExploded()
132 struct tm timestruct; in Explode() local
136 gmtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
77 seconds = mktime(&timestruct); in FromExploded()
80 seconds = mktime(&timestruct); in FromExploded()
82 seconds = timegm(&timestruct); in FromExploded()
132 struct tm timestruct; in Explode() local
136 gmtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
75 seconds = mktime(&timestruct); in FromExploded()
78 seconds = mktime(&timestruct); in FromExploded()
80 seconds = timegm(&timestruct); in FromExploded()
131 struct tm timestruct; in Explode() local
133 localtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/base/
H A Dtime_posix.cc60 struct tm timestruct; in FromExploded() local
61 timestruct.tm_sec = exploded.second; in FromExploded()
62 timestruct.tm_min = exploded.minute; in FromExploded()
63 timestruct.tm_hour = exploded.hour; in FromExploded()
65 timestruct.tm_mon = exploded.month - 1; in FromExploded()
77 seconds = mktime(&timestruct); in FromExploded()
80 seconds = mktime(&timestruct); in FromExploded()
82 seconds = timegm(&timestruct); in FromExploded()
132 struct tm timestruct; in Explode() local
136 gmtime_r(&seconds, &timestruct); in Explode()
[all …]
/dports/math/linbox/linbox-1.6.3/linbox/algorithms/opencl-kernels/
H A Dkernel-parser.py81 timestruct = time.localtime()
85 if(timestruct.tm_mon < 10):
88 timestamp = str(timestruct.tm_mon) + "/"
90 if(timestruct.tm_mday < 10):
95 timestamp += str(timestruct.tm_year) + " "
97 if(timestruct.tm_hour < 10):
102 if(timestruct.tm_min < 10):
105 timestamp += str(timestruct.tm_min) + ":"
107 if(timestruct.tm_sec < 10):
108 timestamp += "0" + str(timestruct.tm_sec)
[all …]
/dports/ftp/wput/wput-0.6.2/src/
H A Dftp-ls.c115 struct tm timestruct, *tnow; in ftp_parse_unix_ls() local
417 timestruct.tm_year = year; in ftp_parse_unix_ls()
419 timestruct.tm_year -= 1900; in ftp_parse_unix_ls()
420 timestruct.tm_wday = 0; in ftp_parse_unix_ls()
421 timestruct.tm_yday = 0; in ftp_parse_unix_ls()
422 timestruct.tm_isdst = -1; in ftp_parse_unix_ls()
439 struct tm timestruct; in ftp_parse_winnt_ls() local
496 timestruct.tm_sec = 0; in ftp_parse_winnt_ls()
502 timestruct.tm_wday = 0; in ftp_parse_winnt_ls()
503 timestruct.tm_yday = 0; in ftp_parse_winnt_ls()
[all …]
/dports/ftp/wget/wget-1.21.2/src/
H A Dftp-ls.c103 struct tm timestruct, *tnow; in ftp_parse_unix_ls() local
382 timestruct.tm_sec = sec; in ftp_parse_unix_ls()
403 timestruct.tm_wday = 0; in ftp_parse_unix_ls()
404 timestruct.tm_yday = 0; in ftp_parse_unix_ls()
405 timestruct.tm_isdst = -1; in ftp_parse_unix_ls()
421 struct tm timestruct; in ftp_parse_winnt_ls() local
492 timestruct.tm_sec = 0; in ftp_parse_winnt_ls()
498 timestruct.tm_wday = 0; in ftp_parse_winnt_ls()
499 timestruct.tm_yday = 0; in ftp_parse_winnt_ls()
500 timestruct.tm_isdst = -1; in ftp_parse_winnt_ls()
[all …]
/dports/comms/xlog/xlog-2.0.22/src/logfile/
H A Deditest.c237 struct tm timestruct; in editest_qso_foreach() local
240 memset(&timestruct, 0, sizeof(timestruct)); in editest_qso_foreach()
242 &timestruct.tm_mday, in editest_qso_foreach()
243 &timestruct.tm_mon, in editest_qso_foreach()
244 &timestruct.tm_year); in editest_qso_foreach()
245 if (timestruct.tm_year < 70) in editest_qso_foreach()
246 timestruct.tm_year += 100; in editest_qso_foreach()
247 timestruct.tm_mon--; in editest_qso_foreach()
248 strftime (sdate, 16, "%d %b %Y", &timestruct); in editest_qso_foreach()
H A Dedi.c341 struct tm timestruct; in edi_qso_foreach() local
344 timestruct.tm_year = (field[0]-'0')*10 + (field[1]-'0'); in edi_qso_foreach()
345 timestruct.tm_mon = (field[2]-'0')*10 + (field[3]-'0'); in edi_qso_foreach()
346 timestruct.tm_mday = (field[4]-'0')*10 + (field[5]-'0'); in edi_qso_foreach()
348 if (timestruct.tm_year < 70) in edi_qso_foreach()
349 timestruct.tm_year += 100; in edi_qso_foreach()
350 timestruct.tm_mon--; in edi_qso_foreach()
351 strftime (sdate, 31, "%d %b %Y", &timestruct); in edi_qso_foreach()
/dports/devel/avr-libc/avr-libc-2.0.0/libc/time/
H A Dweek_of_year.c42 week_of_year(const struct tm * timestruct, uint8_t base) in week_of_year() argument
47 first = 7 + timestruct->tm_yday - timestruct->tm_wday + base; in week_of_year()
51 n = timestruct->tm_yday - first; in week_of_year()
H A Dweek_of_month.c42 week_of_month(const struct tm * timestruct, uint8_t base) in week_of_month() argument
47 n = timestruct->tm_mday - 1; in week_of_month()
50 first = 7 + n - timestruct->tm_wday + base; in week_of_month()
/dports/comms/xdx/xdx-2.4/src/
H A Dutils.c180 struct tm *timestruct = NULL; in xdxgettime() local
184 timestruct = localtime (&current); in xdxgettime()
186 strftime (stimenow, 20, "%T", timestruct); in xdxgettime()
188 strftime (stimenow, 20, "%H", timestruct); in xdxgettime()
198 struct tm *timestruct = NULL; in xdxgetdate() local
202 timestruct = localtime (&current); in xdxgetdate()
204 strftime (datenow, 20, "%Y-%m-%d", timestruct); in xdxgetdate()
206 strftime (datenow, 20, "%Y%m%d", timestruct); in xdxgetdate()
/dports/net-mgmt/bandwidthd/bandwidthd-2.0.1/
H A Dgraph.c773 struct tm *timestruct; in PrepareXAxis() local
794 timestruct->tm_sec = 0; in PrepareXAxis()
795 timestruct->tm_min = 0; in PrepareXAxis()
828 timestruct->tm_mday = 1; in PrepareXAxis()
835 timestruct->tm_mon++; in PrepareXAxis()
862 timestruct->tm_sec = 0; in PrepareXAxis()
863 timestruct->tm_min = 0; in PrepareXAxis()
864 timestruct->tm_hour = 0; in PrepareXAxis()
892 timestruct->tm_sec = 0; in PrepareXAxis()
893 timestruct->tm_min = 0; in PrepareXAxis()
[all …]
/dports/games/gnuchess/gnuchess-6.2.9/src/frontend/
H A Dpgn.cc62 struct tm *timestruct; in PGNSaveToFile() local
85 timestruct=localtime((time_t*) &secs); in PGNSaveToFile()
86 fprintf(fp,"[Date \"%4d.%02d.%02d\"]\n",timestruct->tm_year+1900, in PGNSaveToFile()
87 timestruct->tm_mon+1,timestruct->tm_mday); in PGNSaveToFile()
/dports/lang/spidermonkey78/firefox-78.9.0/testing/mozbase/mozpower/tests/
H A Dtest_intelpowergadget.py193 timestruct = time.strptime(hour_min_sec, '%H:%M:%S')
196 hours=timestruct.tm_hour,
197 minutes=timestruct.tm_min,
198 seconds=timestruct.tm_sec

1234