/PHP-7.4/ |
H A D | configure.ac | 552 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
|
H A D | CONTRIBUTING.md | 298 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | zlog.c | 78 struct tm t; in zlog_print_time()
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 66 struct timeval tm; in php_time() local 68 if (UNEXPECTED(gettimeofday(&tm, NULL) != SUCCESS)) { in php_time() 73 return tm.tv_sec; in php_time() 1668 struct tm ta; in php_strftime()
|
/PHP-7.4/main/ |
H A D | main.c | 1758 struct tm *ta, tmbuf; in php_message_handler_for_zend()
|
H A D | reentrancy.c | 66 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument 68 if (asctime_r(tm, buf) == buf) in php_asctime_r() 82 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r() 96 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument 103 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r() 114 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r() 116 struct tm *tmp; in php_localtime_r() 156 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument 162 tmp = asctime(tm); in php_asctime_r() 177 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1381 struct tm tm; 1382 - if (gmtime_r(&ts->ts_sec, &tm) == NULL) { 1886 -struct tm *gmtime_r(const time_t *, struct tm *); 1889 -struct tm *localtime_r(const time_t *, struct tm *); 3126 - tm = localtime_r(&t, &tmz); 3127 + tm = php_localtime_r(&t, &tmz); 3129 - tm = gmtime_r(&t, &tmz); 3130 + tm = php_gmtime_r(&t, &tmz); 3132 if (tm == NULL) 3134 - pp = asctime_r(tm, buf); [all …]
|
/PHP-7.4/ext/openssl/ |
H A D | openssl.c | 960 struct tm thetime; in php_openssl_asn1_time_to_time_t()
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli_server.c | 262 struct tm tm; in php_cli_server_get_system_time() local 267 php_localtime_r(&tv.tv_sec, &tm); in php_cli_server_get_system_time() 268 php_asctime_r(&tm, buf); in php_cli_server_get_system_time()
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 402 struct tm t; in firebird_stmt_get_col()
|
/PHP-7.4/ext/standard/ |
H A D | info.c | 785 struct tm *ta, tmbuf; in php_print_info()
|
H A D | config.m4 | 378 int strptime(const char *s, const char *format, struct tm *tm);
|
H A D | basic_functions.c | 4638 struct timeval tm; local 4647 if (gettimeofday((struct timeval *) &tm, NULL) != 0) { 4652 current_ns = ((uint64_t) tm.tv_sec) * ns_per_sec + ((uint64_t) tm.tv_usec) * 1000;
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 1166 struct tm *gmt, tmbuf; in ftp_mdtm() 1167 struct tm tm; in ftp_mdtm() local 1182 …n = sscanf(ptr, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_mi… in ftp_mdtm() 1186 tm.tm_year -= 1900; in ftp_mdtm() 1187 tm.tm_mon--; in ftp_mdtm() 1188 tm.tm_isdst = -1; in ftp_mdtm() 1199 tm.tm_sec += stamp - mktime(gmt); in ftp_mdtm() 1200 tm.tm_isdst = gmt->tm_isdst; in ftp_mdtm() 1202 stamp = mktime(&tm); in ftp_mdtm()
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.c | 2837 struct tm *ta, tmbuf; in to_xml_datetime_ex()
|
/PHP-7.4/ext/session/ |
H A D | session.c | 1120 struct tm tm, *res; in strcpy_gmt() local 1123 res = php_gmtime_r(when, &tm); in strcpy_gmt() 1131 week_days[tm.tm_wday], tm.tm_mday, in strcpy_gmt() 1132 month_names[tm.tm_mon], tm.tm_year + 1900, in strcpy_gmt() 1133 tm.tm_hour, tm.tm_min, in strcpy_gmt() 1134 tm.tm_sec); in strcpy_gmt()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 251 struct tm tm; in LSAPI_Log() local 253 localtime_r(&tv.tv_sec, &tm); in LSAPI_Log() 257 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, in LSAPI_Log() 258 tm.tm_hour, tm.tm_min, tm.tm_sec, (int)tv.tv_usec); in LSAPI_Log() 263 tm.tm_hour, tm.tm_min, tm.tm_sec); in LSAPI_Log()
|
/PHP-7.4/ext/phar/ |
H A D | zip.c | 126 struct tm *tm, tmbuf; in phar_zip_d2u_time() local 133 tm->tm_mon = ((ddate>>5)&15) - 1; in phar_zip_d2u_time() 134 tm->tm_mday = ddate&31; in phar_zip_d2u_time() 136 tm->tm_hour = (dtime>>11)&31; in phar_zip_d2u_time() 137 tm->tm_min = (dtime>>5)&63; in phar_zip_d2u_time() 138 tm->tm_sec = (dtime<<1)&62; in phar_zip_d2u_time() 140 return mktime(tm); in phar_zip_d2u_time() 147 struct tm *tm, tmbuf; in phar_zip_u2d_time() local 150 if (tm->tm_year >= 1980) { in phar_zip_u2d_time() 151 cdate = ((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday; in phar_zip_u2d_time() [all …]
|
/PHP-7.4/build/ |
H A D | php.m4 | 1125 struct tm t; 1140 struct tm t, *s; 1280 …AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)() = localtime_r]])]… 1285 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)() = gmtime_r]])],[
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | file.h | 545 char *asctime_r(const struct tm *, char *);
|
/PHP-7.4/ext/calendar/ |
H A D | cal_unix.c | 34 struct tm *ta, tmbuf; in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 94 struct tm *tm_p; in MYSQLND_METHOD() 191 struct tm *tm_p; in MYSQLND_METHOD()
|
/PHP-7.4/ext/date/lib/ |
H A D | timelib.h | 617 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts); 623 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts); 629 void timelib_update_from_sse(timelib_time *tm);
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_variant.c | 956 struct tm tmv; in PHP_FUNCTION() 984 struct tm *tmv; in PHP_FUNCTION()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_module.c | 536 struct tm *ta;
|