Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 46) sorted by path

12

/PHP-7.4/
H A DCODING_STANDARDS.md11 1. Document your code in source files and the manual. (tm)
H A DCONTRIBUTING.md298 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
H A Dconfigure.ac552 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
/PHP-7.4/build/
H A Dphp.m41125 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/docs/
H A Dmailinglist-rules.md10 Collaboration is a Good Thing(tm), and mailinglists lets us do this. Thus,
/PHP-7.4/ext/calendar/
H A Dcal_unix.c34 struct tm *ta, tmbuf; in PHP_FUNCTION()
H A Deaster.c31 struct tm te; in _cal_easter()
38 struct tm b, *res; in _cal_easter()
/PHP-7.4/ext/com_dotnet/
H A Dcom_variant.c956 struct tm tmv; in PHP_FUNCTION()
984 struct tm *tmv; in PHP_FUNCTION()
/PHP-7.4/ext/date/lib/
H A Dtimelib.c118 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr) in timelib_time_tz_abbr_update() argument
123 TIMELIB_TIME_FREE(tm->tz_abbr); in timelib_time_tz_abbr_update()
124 tm->tz_abbr = timelib_strdup(tz_abbr); in timelib_time_tz_abbr_update()
126 tm->tz_abbr[i] = toupper(tz_abbr[i]); in timelib_time_tz_abbr_update()
H A Dtimelib.h617 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);
H A Dtimelib_private.h134 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr);
H A Dunixtime2tm.c106 tm->m = i + 1; in timelib_unixtime2gmt()
108 tm->h = hours; in timelib_unixtime2gmt()
111 tm->z = 0; in timelib_unixtime2gmt()
112 tm->dst = 0; in timelib_unixtime2gmt()
113 tm->sse = ts; in timelib_unixtime2gmt()
130 timelib_unixtime2gmt(tm, tm->sse + tm->z + (tm->dst * 3600)); in timelib_update_from_sse()
139 timelib_unixtime2gmt(tm, tm->sse + gmt_offset->offset); in timelib_update_from_sse()
146 timelib_unixtime2gmt(tm, tm->sse); in timelib_update_from_sse()
153 tm->z = z; in timelib_update_from_sse()
168 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local()
[all …]
/PHP-7.4/ext/date/
H A Dphp_date.c66 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/ext/date/tests/
H A Dbug33869.phpt6 $tm = strtotime("2005-01-01 01:01:01");
7 echo date(DATE_ISO8601, strtotime('+5days', $tm));
9 echo date(DATE_ISO8601, strtotime('+1month', $tm));
11 echo date(DATE_ISO8601, strtotime('+1year', $tm));
13 echo date(DATE_ISO8601, strtotime('+5 days', $tm));
15 echo date(DATE_ISO8601, strtotime('+1 month', $tm));
17 echo date(DATE_ISO8601, strtotime('+1 year', $tm));
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1381 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/fileinfo/libmagic/
H A Dcdf_time.c102 struct tm tm; in cdf_timestamp_to_timespec() local
126 tm.tm_mday = cdf_getday(tm.tm_year, CAST(int, t)); in cdf_timestamp_to_timespec()
127 tm.tm_mon = cdf_getmonth(tm.tm_year, CAST(int, t)); in cdf_timestamp_to_timespec()
128 tm.tm_wday = 0; in cdf_timestamp_to_timespec()
129 tm.tm_yday = 0; in cdf_timestamp_to_timespec()
130 tm.tm_isdst = 0; in cdf_timestamp_to_timespec()
132 tm.tm_gmtoff = 0; in cdf_timestamp_to_timespec()
135 tm.tm_zone = UTC; in cdf_timestamp_to_timespec()
137 tm.tm_year -= 1900; in cdf_timestamp_to_timespec()
155 struct tm tm; in cdf_timespec_to_timestamp() local
[all …]
H A Dfile.h545 char *asctime_r(const struct tm *, char *);
H A Dprint.c240 struct tm *tm, tmz; in file_fmttime() local
253 tm = php_localtime_r(&t, &tmz); in file_fmttime()
255 tm = php_gmtime_r(&t, &tmz); in file_fmttime()
257 if (tm == NULL) in file_fmttime()
259 pp = php_asctime_r(tm, buf); in file_fmttime()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic6056 # CDDB: file(1) magic for CDDB(tm) format CD text data files
6064 0 search/1/w #\040xmcd CDDB(tm) format CD text data
H A Dmagic私はガラスを食べられます6056 # CDDB: file(1) magic for CDDB(tm) format CD text data files
6064 0 search/1/w #\040xmcd CDDB(tm) format CD text data
/PHP-7.4/ext/ftp/
H A Dftp.c1166 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/intl/tests/
H A Dgrapheme.phpt573 array( "http://news.bbc.co.uk/2/hi/middle_east/7831588.stm", 48, 48 , 50 , "tm" ),
1119 …48" graphemes - grapheme_extract starting at byte position 48 with $next = tm == tm $next=50 == 50
H A Dgrapheme2.phpt573 array( "http://news.bbc.co.uk/2/hi/middle_east/7831588.stm", 48, 48 , 50 , "tm" ),
1119 …48" graphemes - grapheme_extract starting at byte position 48 with $next = tm == tm $next=50 == 50
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_debug.c94 struct tm *tm_p; in MYSQLND_METHOD()
191 struct tm *tm_p; in MYSQLND_METHOD()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_module.c536 struct tm *ta;

Completed in 255 milliseconds

12