/php-src/ext/openssl/ |
H A D | openssl.c | 739 struct tm thetime; in php_openssl_asn1_time_to_time_t()
|
/php-src/ |
H A D | configure.ac | 543 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
|
H A D | CONTRIBUTING.md | 323 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
|
/php-src/build/ |
H A D | php.m4 | 1071 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 D | main.c | 1695 struct tm *ta, tmbuf; in php_message_handler_for_zend()
|
H A D | reentrancy.c | 62 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 D | ftp.c | 1176 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 D | session.c | 1132 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 D | zend_accelerator_module.c | 594 struct tm *ta;
|
/php-src/ext/date/ |
H A D | php_date.c | 61 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 D | lscriu.c | 380 struct tm sTm; in LSCRIU_Restored_Error()
|
H A D | lsapilib.c | 250 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 D | zlog.c | 79 struct tm t; in zlog_print_time()
|
/php-src/ext/com_dotnet/ |
H A D | com_variant.c | 941 struct tm tmv; in PHP_FUNCTION() 968 struct tm *tmv; in PHP_FUNCTION()
|
/php-src/ext/standard/ |
H A D | basic_functions.c | 1194 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 D | config.m4 | 380 int strptime(const char *s, const char *format, struct tm *tm);
|
H A D | info.c | 803 struct tm *ta, tmbuf; in php_print_info()
|
/php-src/docs/ |
H A D | mailinglist-rules.md | 10 Collaboration is a Good Thing(tm), and mailing lists lets us do this. Thus,
|
/php-src/ext/fileinfo/libmagic/ |
H A D | file.h | 636 char *asctime_r(const struct tm *, char *);
|
H A D | print.c | 276 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 D | cdf_time.c | 101 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 D | libmagic.patch | 1576 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 D | php_cli_server.c | 269 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 D | zip.c | 156 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 D | firebird_statement.c | 442 struct tm t; in pdo_firebird_stmt_get_col()
|