tm                 32 ext/calendar/cal_unix.c 	struct tm *ta, tmbuf;
tm                 32 ext/calendar/easter.c 	struct tm te;
tm                 39 ext/calendar/easter.c 		struct tm b, *res;
tm                965 ext/com_dotnet/com_variant.c 		struct tm tmv;
tm                993 ext/com_dotnet/com_variant.c 	struct tm *tmv;
tm                 92 ext/date/lib/timelib.c void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr)
tm                 97 ext/date/lib/timelib.c 	TIMELIB_TIME_FREE(tm->tz_abbr);
tm                 98 ext/date/lib/timelib.c 	tm->tz_abbr = timelib_strdup(tz_abbr);
tm                100 ext/date/lib/timelib.c 		tm->tz_abbr[i] = toupper(tz_abbr[i]);
tm                108 ext/date/lib/timelib.h void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts);
tm                109 ext/date/lib/timelib.h void timelib_unixtime2local(timelib_time *tm, timelib_sll ts);
tm                110 ext/date/lib/timelib.h void timelib_update_from_sse(timelib_time *tm);
tm                128 ext/date/lib/timelib.h void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr);
tm                129 ext/date/lib/timelib.h void timelib_time_tz_name_update(timelib_time* tm, char* tz_name);
tm                138 ext/date/lib/timelib.h void timelib_time_set_option(timelib_time* tm, int option, void* option_value);
tm                 44 ext/date/lib/unixtime2tm.c void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts)
tm                127 ext/date/lib/unixtime2tm.c 	tm->y = cur_year;
tm                128 ext/date/lib/unixtime2tm.c 	tm->m = i + 1;
tm                129 ext/date/lib/unixtime2tm.c 	tm->d = tmp_days - months[i];
tm                130 ext/date/lib/unixtime2tm.c 	tm->h = hours;
tm                131 ext/date/lib/unixtime2tm.c 	tm->i = minutes;
tm                132 ext/date/lib/unixtime2tm.c 	tm->s = seconds;
tm                133 ext/date/lib/unixtime2tm.c 	tm->z = 0;
tm                134 ext/date/lib/unixtime2tm.c 	tm->dst = 0;
tm                135 ext/date/lib/unixtime2tm.c 	tm->sse = ts;
tm                136 ext/date/lib/unixtime2tm.c 	tm->sse_uptodate = 1;
tm                137 ext/date/lib/unixtime2tm.c 	tm->tim_uptodate = 1;
tm                138 ext/date/lib/unixtime2tm.c 	tm->is_localtime = 0;
tm                141 ext/date/lib/unixtime2tm.c void timelib_update_from_sse(timelib_time *tm)
tm                144 ext/date/lib/unixtime2tm.c 	int z = tm->z;
tm                145 ext/date/lib/unixtime2tm.c 	signed int dst = tm->dst;
tm                147 ext/date/lib/unixtime2tm.c 	sse = tm->sse;
tm                149 ext/date/lib/unixtime2tm.c 	switch (tm->zone_type) {
tm                152 ext/date/lib/unixtime2tm.c 			timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600));
tm                160 ext/date/lib/unixtime2tm.c 			gmt_offset = timelib_get_time_zone_info(tm->sse, tm->tz_info);
tm                161 ext/date/lib/unixtime2tm.c 			timelib_unixtime2gmt(tm, tm->sse + gmt_offset->offset);
tm                168 ext/date/lib/unixtime2tm.c 			timelib_unixtime2gmt(tm, tm->sse);
tm                172 ext/date/lib/unixtime2tm.c 	tm->sse = sse;
tm                173 ext/date/lib/unixtime2tm.c 	tm->is_localtime = 1;
tm                174 ext/date/lib/unixtime2tm.c 	tm->have_zone = 1;
tm                175 ext/date/lib/unixtime2tm.c 	tm->z = z;
tm                176 ext/date/lib/unixtime2tm.c 	tm->dst = dst;
tm                179 ext/date/lib/unixtime2tm.c void timelib_unixtime2local(timelib_time *tm, timelib_sll ts)
tm                182 ext/date/lib/unixtime2tm.c 	timelib_tzinfo      *tz = tm->tz_info;
tm                184 ext/date/lib/unixtime2tm.c 	switch (tm->zone_type) {
tm                187 ext/date/lib/unixtime2tm.c 			int z = tm->z;
tm                188 ext/date/lib/unixtime2tm.c 			signed int dst = tm->dst;
tm                190 ext/date/lib/unixtime2tm.c 			timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600));
tm                192 ext/date/lib/unixtime2tm.c 			tm->z = z;
tm                193 ext/date/lib/unixtime2tm.c 			tm->dst = dst;
tm                199 ext/date/lib/unixtime2tm.c 			timelib_unixtime2gmt(tm, ts + gmt_offset->offset);
tm                202 ext/date/lib/unixtime2tm.c 			tm->sse = ts;
tm                203 ext/date/lib/unixtime2tm.c 			tm->dst = gmt_offset->is_dst;
tm                204 ext/date/lib/unixtime2tm.c 			tm->z = gmt_offset->offset;
tm                205 ext/date/lib/unixtime2tm.c 			tm->tz_info = tz;
tm                207 ext/date/lib/unixtime2tm.c 			timelib_time_tz_abbr_update(tm, gmt_offset->abbr);
tm                212 ext/date/lib/unixtime2tm.c 			tm->is_localtime = 0;
tm                213 ext/date/lib/unixtime2tm.c 			tm->have_zone = 0;
tm                217 ext/date/lib/unixtime2tm.c 	tm->is_localtime = 1;
tm                218 ext/date/lib/unixtime2tm.c 	tm->have_zone = 1;
tm               1606 ext/date/php_date.c 	struct tm            ta;
tm                101 ext/fileinfo/libmagic/cdf_time.c 	struct tm tm;
tm                112 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_sec = (int)(t % 60);
tm                115 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_min = (int)(t % 60);
tm                118 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_hour = (int)(t % 24);
tm                122 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_year = (int)(CDF_BASE_YEAR + (t / 365));
tm                124 ext/fileinfo/libmagic/cdf_time.c 	rdays = cdf_getdays(tm.tm_year);
tm                126 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_mday = cdf_getday(tm.tm_year, (int)t);
tm                127 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_mon = cdf_getmonth(tm.tm_year, (int)t);
tm                128 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_wday = 0;
tm                129 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_yday = 0;
tm                130 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_isdst = 0;
tm                132 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_gmtoff = 0;
tm                135 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_zone = UTC;
tm                137 ext/fileinfo/libmagic/cdf_time.c 	tm.tm_year -= 1900;
tm                138 ext/fileinfo/libmagic/cdf_time.c 	ts->tv_sec = mktime(&tm);
tm                155 ext/fileinfo/libmagic/cdf_time.c 	struct tm tm;
tm                156 ext/fileinfo/libmagic/cdf_time.c 	if (gmtime_r(&ts->ts_sec, &tm) == NULL) {
tm                161 ext/fileinfo/libmagic/cdf_time.c 	*t = tm.tm_sec;
tm                162 ext/fileinfo/libmagic/cdf_time.c 	*t += tm.tm_min * 60;
tm                163 ext/fileinfo/libmagic/cdf_time.c 	*t += tm.tm_hour * 60 * 60;
tm                164 ext/fileinfo/libmagic/cdf_time.c 	*t += tm.tm_mday * 60 * 60 * 24;
tm                520 ext/fileinfo/libmagic/file.h char   *asctime_r(const struct tm *, char *);
tm                 81 ext/fileinfo/libmagic/print.c 	struct tm *tm = NULL;
tm                102 ext/fileinfo/libmagic/print.c 			struct tm *tm1;
tm                113 ext/fileinfo/libmagic/print.c 		tm = gmtime(&t);
tm                114 ext/fileinfo/libmagic/print.c 		if (tm == NULL)
tm                116 ext/fileinfo/libmagic/print.c 		pp = asctime_r(tm, buf);
tm                118 ext/fileinfo/libmagic/print.c 	if (tm == NULL)
tm                120 ext/fileinfo/libmagic/print.c 	pp = asctime_r(tm, buf);
tm               1022 ext/ftp/ftp.c  	struct tm	*gmt, tmbuf;
tm               1023 ext/ftp/ftp.c  	struct tm	tm;
tm               1038 ext/ftp/ftp.c  	n = sscanf(ptr, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec);
tm               1042 ext/ftp/ftp.c  	tm.tm_year -= 1900;
tm               1043 ext/ftp/ftp.c  	tm.tm_mon--;
tm               1044 ext/ftp/ftp.c  	tm.tm_isdst = -1;
tm               1055 ext/ftp/ftp.c  	tm.tm_sec += stamp - mktime(gmt);
tm               1056 ext/ftp/ftp.c  	tm.tm_isdst = gmt->tm_isdst;
tm               1058 ext/ftp/ftp.c  	stamp = mktime(&tm);
tm                530 ext/interbase/ibase_query.c 			struct tm t = { 0, 0, 0, 0, 0, 0 };
tm                691 ext/interbase/ibase_query.c 			struct tm t;
tm                697 ext/interbase/ibase_query.c 					struct tm *res;
tm               1320 ext/interbase/ibase_query.c 		struct tm t;
tm                212 ext/interbase/php_ibase_udf.c 				struct tm t;
tm                 97 ext/mysqlnd/mysqlnd_debug.c 		struct tm *tm_p;
tm                194 ext/mysqlnd/mysqlnd_debug.c 		struct tm *tm_p;
tm                536 ext/opcache/zend_accelerator_module.c 	struct tm *ta;
tm                729 ext/openssl/openssl.c 	struct tm thetime;
tm                353 ext/pdo_firebird/firebird_statement.c 				struct tm t;
tm                126 ext/phar/zip.c 	struct tm *tm, tmbuf;
tm                130 ext/phar/zip.c 	tm = php_localtime_r(&now, &tmbuf);
tm                132 ext/phar/zip.c 	tm->tm_year = ((ddate>>9)&127) + 1980 - 1900;
tm                133 ext/phar/zip.c 	tm->tm_mon = ((ddate>>5)&15) - 1;
tm                134 ext/phar/zip.c 	tm->tm_mday = ddate&31;
tm                136 ext/phar/zip.c 	tm->tm_hour = (dtime>>11)&31;
tm                137 ext/phar/zip.c 	tm->tm_min = (dtime>>5)&63;
tm                138 ext/phar/zip.c 	tm->tm_sec = (dtime<<1)&62;
tm                140 ext/phar/zip.c 	return mktime(tm);
tm                147 ext/phar/zip.c 	struct tm *tm, tmbuf;
tm                149 ext/phar/zip.c 	tm = php_localtime_r(&time, &tmbuf);
tm                150 ext/phar/zip.c 	cdate = ((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday;
tm                151 ext/phar/zip.c 	ctime = ((tm->tm_hour)<<11) + ((tm->tm_min)<<5) + ((tm->tm_sec)>>1);
tm               1189 ext/session/session.c 	struct tm tm, *res;
tm               1192 ext/session/session.c 	res = php_gmtime_r(when, &tm);
tm               1200 ext/session/session.c 				week_days[tm.tm_wday], tm.tm_mday,
tm               1201 ext/session/session.c 				month_names[tm.tm_mon], tm.tm_year + 1900,
tm               1202 ext/session/session.c 				tm.tm_hour, tm.tm_min,
tm               1203 ext/session/session.c 				tm.tm_sec);
tm               2869 ext/soap/php_encoding.c 	struct tm *ta, tmbuf;
tm               15759 ext/sqlite3/libsqlite/sqlite3.c static int osLocaltime(time_t *t, struct tm *pTm){
tm               15762 ext/sqlite3/libsqlite/sqlite3.c   struct tm *pX;
tm               15805 ext/sqlite3/libsqlite/sqlite3.c   struct tm sLocal;
tm               16409 ext/sqlite3/libsqlite/sqlite3.c   struct tm *pTm;
tm               16410 ext/sqlite3/libsqlite/sqlite3.c   struct tm sNow;
tm               35207 ext/sqlite3/libsqlite/sqlite3.c struct tm *__cdecl localtime(const time_t *t)
tm               35209 ext/sqlite3/libsqlite/sqlite3.c   static struct tm y;
tm               4509 ext/standard/basic_functions.c 	struct timeval tm;
tm               4516 ext/standard/basic_functions.c 	if (gettimeofday((struct timeval *) &tm, NULL) != 0) {
tm               4520 ext/standard/basic_functions.c 	c_ts = (double)(d_ts - tm.tv_sec - tm.tv_usec / 1000000.00);
tm                 56 ext/standard/datetime.c 	struct tm *tm1, tmbuf;
tm                 81 ext/standard/datetime.c char *strptime(const char *s, const char *format, struct tm *tm);
tm                 92 ext/standard/datetime.c 	struct tm  parsed_time;
tm                828 ext/standard/ftp_fopen_wrapper.c 		struct tm tm, tmbuf, *gmt;
tm                839 ext/standard/ftp_fopen_wrapper.c 		n = sscanf(p, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec);
tm                844 ext/standard/ftp_fopen_wrapper.c 		tm.tm_year -= 1900;
tm                845 ext/standard/ftp_fopen_wrapper.c 		tm.tm_mon--;
tm                846 ext/standard/ftp_fopen_wrapper.c 		tm.tm_isdst = -1;
tm                857 ext/standard/ftp_fopen_wrapper.c 		tm.tm_sec += (long)(stamp - mktime(gmt));
tm                858 ext/standard/ftp_fopen_wrapper.c 		tm.tm_isdst = gmt->tm_isdst;
tm                860 ext/standard/ftp_fopen_wrapper.c 		ssb->sb.st_mtime = mktime(&tm);
tm                845 ext/standard/info.c 	        struct tm *ta, tmbuf;
tm                521 ext/xmlrpc/libxmlrpc/xml_to_soap.c 				struct tm *tm = localtime (&tt);
tm                523 ext/xmlrpc/libxmlrpc/xml_to_soap.c 				if(strftime (buf, BUF_SIZE, "%Y-%m-%dT%H:%M:%SZ", tm)) {
tm                176 ext/xmlrpc/libxmlrpc/xmlrpc.c static time_t mkgmtime(struct tm *tm)
tm                180 ext/xmlrpc/libxmlrpc/xmlrpc.c     return ((((((tm->tm_year - 70) * 365) + mdays[tm->tm_mon] + tm->tm_mday-1 +
tm                181 ext/xmlrpc/libxmlrpc/xmlrpc.c                   (tm->tm_year-68-1+(tm->tm_mon>=2))/4) * 24) + tm->tm_hour) * 60 +
tm                182 ext/xmlrpc/libxmlrpc/xmlrpc.c         tm->tm_min) * 60 + tm->tm_sec;
tm                186 ext/xmlrpc/libxmlrpc/xmlrpc.c    struct tm tm;
tm                212 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_isdst = -1;
tm                217 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_year = 0;
tm                220 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_year += (text[i]-'0')*n;
tm                224 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_mon = 0;
tm                227 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_mon += (text[i+4]-'0')*n;
tm                230 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_mon --;
tm                231 ext/xmlrpc/libxmlrpc/xmlrpc.c    if(tm.tm_mon < 0 || tm.tm_mon > 11) {
tm                236 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_mday = 0;
tm                239 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_mday += (text[i+6]-'0')*n;
tm                244 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_hour = 0;
tm                247 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_hour += (text[i+9]-'0')*n;
tm                252 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_min = 0;
tm                255 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_min += (text[i+12]-'0')*n;
tm                260 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_sec = 0;
tm                263 ext/xmlrpc/libxmlrpc/xmlrpc.c       tm.tm_sec += (text[i+15]-'0')*n;
tm                267 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm.tm_year -= 1900;
tm                269 ext/xmlrpc/libxmlrpc/xmlrpc.c    *value = mkgmtime(&tm);
tm                276 ext/xmlrpc/libxmlrpc/xmlrpc.c    struct tm *tm, tmbuf;
tm                277 ext/xmlrpc/libxmlrpc/xmlrpc.c    tm = php_gmtime_r(&value, &tmbuf);
tm                278 ext/xmlrpc/libxmlrpc/xmlrpc.c    if (!tm) {
tm                282 ext/xmlrpc/libxmlrpc/xmlrpc.c 	return strftime (buf, length, "%Y-%m-%dT%H:%M:%SZ", tm);
tm                284 ext/xmlrpc/libxmlrpc/xmlrpc.c    return strftime(buf, length, "%Y%m%dT%H:%M:%SZ", tm);
tm                810 ext/zip/lib/zip_dirent.c     struct tm tm;
tm                812 ext/zip/lib/zip_dirent.c     memset(&tm, 0, sizeof(tm));
tm                815 ext/zip/lib/zip_dirent.c     tm.tm_isdst = -1;
tm                817 ext/zip/lib/zip_dirent.c     tm.tm_year = ((ddate>>9)&127) + 1980 - 1900;
tm                818 ext/zip/lib/zip_dirent.c     tm.tm_mon = ((ddate>>5)&15) - 1;
tm                819 ext/zip/lib/zip_dirent.c     tm.tm_mday = ddate&31;
tm                821 ext/zip/lib/zip_dirent.c     tm.tm_hour = (dtime>>11)&31;
tm                822 ext/zip/lib/zip_dirent.c     tm.tm_min = (dtime>>5)&63;
tm                823 ext/zip/lib/zip_dirent.c     tm.tm_sec = (dtime<<1)&62;
tm                825 ext/zip/lib/zip_dirent.c     return mktime(&tm);
tm                901 ext/zip/lib/zip_dirent.c     struct tm *tm;
tm                903 ext/zip/lib/zip_dirent.c     tm = localtime(&intime);
tm                904 ext/zip/lib/zip_dirent.c     if (tm->tm_year < 80) {
tm                905 ext/zip/lib/zip_dirent.c 	tm->tm_year = 80;
tm                908 ext/zip/lib/zip_dirent.c     *ddate = (zip_uint16_t)(((tm->tm_year+1900-1980)<<9) + ((tm->tm_mon+1)<<5) + tm->tm_mday);
tm                909 ext/zip/lib/zip_dirent.c     *dtime = (zip_uint16_t)(((tm->tm_hour)<<11) + ((tm->tm_min)<<5) + ((tm->tm_sec)>>1));
tm               1479 main/main.c    				struct tm *ta, tmbuf;
tm                 63 main/php_reentrancy.h PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm);
tm                 67 main/php_reentrancy.h struct tm *localtime_r(const time_t *const timep, struct tm *p_tm);
tm                 85 main/php_reentrancy.h PHPAPI char *php_asctime_r(const struct tm *tm, char *buf);
tm                 89 main/php_reentrancy.h char *asctime_r(const struct tm *tm, char *buf);
tm                 96 main/php_reentrancy.h PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm);
tm                100 main/php_reentrancy.h struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm);
tm                 68 main/reentrancy.c PHPAPI char *php_asctime_r(const struct tm *tm, char *buf)
tm                 70 main/reentrancy.c 	if (asctime_r(tm, buf) == buf)
tm                 84 main/reentrancy.c PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm)
tm                 98 main/reentrancy.c PHPAPI char *php_asctime_r(const struct tm *tm, char *buf)
tm                100 main/reentrancy.c 	if (asctime_r(tm, buf, 26) != -1)
tm                105 main/reentrancy.c PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm)
tm                116 main/reentrancy.c PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm)
tm                119 main/reentrancy.c         if (((struct tm*)gmtime_r(timep, p_tm)) == p_tm)
tm                176 main/reentrancy.c PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm)
tm                178 main/reentrancy.c 	struct tm *tmp;
tm                184 main/reentrancy.c 		memcpy(p_tm, tmp, sizeof(struct tm));
tm                215 main/reentrancy.c PHPAPI char *php_asctime_r(const struct tm *tm, char *buf)
tm                221 main/reentrancy.c 	tmp = asctime(tm);
tm                233 main/reentrancy.c PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm)
tm                235 main/reentrancy.c 	struct tm *tmp;
tm                241 main/reentrancy.c 		memcpy(p_tm, tmp, sizeof(struct tm));
tm                251 sapi/cli/php_cli_server.c 	struct tm tm;
tm                256 sapi/cli/php_cli_server.c 	php_localtime_r(&tv.tv_sec, &tm);
tm                257 sapi/cli/php_cli_server.c 	php_asctime_r(&tm, buf);
tm                 69 sapi/fpm/fpm/zlog.c 	struct tm t;