Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 46) sorted by last modified time

12

/php-src/ext/openssl/
H A Dopenssl.c739 struct tm thetime; in php_openssl_asn1_time_to_time_t()
/php-src/
H A Dconfigure.ac543 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
H A DCONTRIBUTING.md323 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
/php-src/build/
H A Dphp.m41071 struct tm t;
1086 struct tm t, *s;
1228 …AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)(void) = localtime_r…
1233 …AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)(void) = gmtime_r]])…
/php-src/main/
H A Dmain.c1695 struct tm *ta, tmbuf; in php_message_handler_for_zend()
H A Dreentrancy.c62 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
64 if (asctime_r(tm, buf) == buf) in php_asctime_r()
78 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r()
92 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
99 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r()
110 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r()
112 struct tm *tmp; in php_localtime_r()
152 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
158 tmp = asctime(tm); in php_asctime_r()
173 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r()
[all …]
/php-src/ext/ftp/
H A Dftp.c1176 struct tm *gmt, tmbuf; in ftp_mdtm()
1177 struct tm tm; in ftp_mdtm() local
1192 …n = sscanf(ptr, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_mi… in ftp_mdtm()
1196 tm.tm_year -= 1900; in ftp_mdtm()
1197 tm.tm_mon--; in ftp_mdtm()
1198 tm.tm_isdst = -1; in ftp_mdtm()
1209 tm.tm_sec += stamp - mktime(gmt); in ftp_mdtm()
1210 tm.tm_isdst = gmt->tm_isdst; in ftp_mdtm()
1212 stamp = mktime(&tm); in ftp_mdtm()
/php-src/ext/session/
H A Dsession.c1132 struct tm tm, *res; in strcpy_gmt() local
1135 res = php_gmtime_r(when, &tm); in strcpy_gmt()
1143 week_days[tm.tm_wday], tm.tm_mday, in strcpy_gmt()
1144 month_names[tm.tm_mon], tm.tm_year + 1900, in strcpy_gmt()
1145 tm.tm_hour, tm.tm_min, in strcpy_gmt()
1146 tm.tm_sec); in strcpy_gmt()
/php-src/ext/opcache/
H A Dzend_accelerator_module.c594 struct tm *ta;
/php-src/ext/date/
H A Dphp_date.c61 struct timeval tm; in php_time() local
63 if (UNEXPECTED(gettimeofday(&tm, NULL) != SUCCESS)) { in php_time()
68 return tm.tv_sec; in php_time()
1260 struct tm ta; in php_strftime()
/php-src/sapi/litespeed/
H A Dlscriu.c380 struct tm sTm; in LSCRIU_Restored_Error()
H A Dlsapilib.c250 struct tm tm; in LSAPI_Log() local
252 localtime_r(&tv.tv_sec, &tm); in LSAPI_Log()
256 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, in LSAPI_Log()
257 tm.tm_hour, tm.tm_min, tm.tm_sec, (int)tv.tv_usec); in LSAPI_Log()
262 tm.tm_hour, tm.tm_min, tm.tm_sec); in LSAPI_Log()
/php-src/sapi/fpm/fpm/
H A Dzlog.c79 struct tm t; in zlog_print_time()
/php-src/ext/com_dotnet/
H A Dcom_variant.c941 struct tm tmv; in PHP_FUNCTION()
968 struct tm *tmv; in PHP_FUNCTION()
/php-src/ext/standard/
H A Dbasic_functions.c1194 struct timeval tm; local
1203 if (gettimeofday((struct timeval *) &tm, NULL) != 0) {
1208 current_ns = ((uint64_t) tm.tv_sec) * ns_per_sec + ((uint64_t) tm.tv_usec) * 1000;
H A Dconfig.m4380 int strptime(const char *s, const char *format, struct tm *tm);
H A Dinfo.c803 struct tm *ta, tmbuf; in php_print_info()
/php-src/docs/
H A Dmailinglist-rules.md10 Collaboration is a Good Thing(tm), and mailing lists lets us do this. Thus,
/php-src/ext/fileinfo/libmagic/
H A Dfile.h636 char *asctime_r(const struct tm *, char *);
H A Dprint.c276 struct tm *tm, tmz; in file_fmtdatetime() local
296 if (tm == NULL) in file_fmtdatetime()
298 pp = php_asctime_r(tm, buf); in file_fmtdatetime()
316 struct tm tm; in file_fmtdate() local
318 memset(&tm, 0, sizeof(tm)); in file_fmtdate()
319 tm.tm_mday = v & 0x1f; in file_fmtdate()
321 tm.tm_year = (v >> 9) + 80; in file_fmtdate()
335 struct tm tm; in file_fmttime() local
337 memset(&tm, 0, sizeof(tm)); in file_fmttime()
338 tm.tm_sec = (v & 0x1f) * 2; in file_fmttime()
[all …]
H A Dcdf_time.c101 struct tm tm; in cdf_timestamp_to_timespec() local
125 tm.tm_mday = cdf_getday(tm.tm_year, CAST(int, t)); in cdf_timestamp_to_timespec()
126 tm.tm_mon = cdf_getmonth(tm.tm_year, CAST(int, t)); in cdf_timestamp_to_timespec()
127 tm.tm_wday = 0; in cdf_timestamp_to_timespec()
128 tm.tm_yday = 0; in cdf_timestamp_to_timespec()
129 tm.tm_isdst = 0; in cdf_timestamp_to_timespec()
131 tm.tm_gmtoff = 0; in cdf_timestamp_to_timespec()
134 tm.tm_zone = UTC; in cdf_timestamp_to_timespec()
136 tm.tm_year -= 1900; in cdf_timestamp_to_timespec()
154 struct tm tm; in cdf_timespec_to_timestamp() local
[all …]
/php-src/ext/fileinfo/
H A Dlibmagic.patch1576 char *asctime_r(const struct tm *, char *);
1579 -struct tm *gmtime_r(const time_t *, struct tm *);
1582 -struct tm *localtime_r(const time_t *, struct tm *);
2824 - tm = localtime_r(&t, &tmz);
2825 + tm = php_localtime_r(&t, &tmz);
2827 - tm = gmtime_r(&t, &tmz);
2828 + tm = php_gmtime_r(&t, &tmz);
2830 if (tm == NULL)
2832 - pp = asctime_r(tm, buf);
2833 + pp = php_asctime_r(tm, buf);
/php-src/sapi/cli/
H A Dphp_cli_server.c269 struct tm tm; in php_cli_server_get_system_time() local
273 if (!php_localtime_r(&tv.tv_sec, &tm)) { in php_cli_server_get_system_time()
276 return php_asctime_r(&tm, buf) != NULL; in php_cli_server_get_system_time()
/php-src/ext/phar/
H A Dzip.c156 struct tm *tm, tmbuf; in phar_zip_d2u_time() local
163 tm->tm_mon = ((ddate>>5)&15) - 1; in phar_zip_d2u_time()
164 tm->tm_mday = ddate&31; in phar_zip_d2u_time()
166 tm->tm_hour = (dtime>>11)&31; in phar_zip_d2u_time()
167 tm->tm_min = (dtime>>5)&63; in phar_zip_d2u_time()
168 tm->tm_sec = (dtime<<1)&62; in phar_zip_d2u_time()
170 return mktime(tm); in phar_zip_d2u_time()
177 struct tm *tm, tmbuf; in phar_zip_u2d_time() local
181 if (tm->tm_year >= 80) { in phar_zip_u2d_time()
182 cdate = ((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday; in phar_zip_u2d_time()
[all …]
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c442 struct tm t; in pdo_firebird_stmt_get_col()

Completed in 238 milliseconds

12