Home
last modified time | relevance | path

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

12

/PHP-7.4/sapi/litespeed/
H A Dlscriu.c380 struct tm sTm; in LSCRIU_Restored_Error()
/PHP-7.4/main/
H A Dphp_reentrancy.h54 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm);
58 struct tm *localtime_r(const time_t *const timep, struct tm *p_tm);
76 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf);
80 char *asctime_r(const struct tm *tm, char *buf);
87 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm);
91 struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm);
/PHP-7.4/ext/standard/tests/strings/
H A Dstrtr_variation6.phpt107 string(6) "0120tm"
111 string(6) "0120tm"
115 string(6) "0120tm"
/PHP-7.4/ext/standard/
H A Dftp_fopen_wrapper.c838 struct tm tm, tmbuf, *gmt; in php_stream_ftp_url_stat() local
849 …n = sscanf(p, "%4u%2u%2u%2u%2u%2u", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min,… in php_stream_ftp_url_stat()
854 tm.tm_year -= 1900; in php_stream_ftp_url_stat()
855 tm.tm_mon--; in php_stream_ftp_url_stat()
856 tm.tm_isdst = -1; in php_stream_ftp_url_stat()
867 tm.tm_sec += (long)(stamp - mktime(gmt)); in php_stream_ftp_url_stat()
868 tm.tm_isdst = gmt->tm_isdst; in php_stream_ftp_url_stat()
870 ssb->sb.st_mtime = mktime(&tm); in php_stream_ftp_url_stat()
H A Ddatetime.c44 struct tm *tm1, tmbuf; in php_std_date()
69 char *strptime(const char *s, const char *format, struct tm *tm);
80 struct tm parsed_time; in PHP_FUNCTION()
/PHP-7.4/ext/calendar/
H A Deaster.c31 struct tm te; in _cal_easter()
38 struct tm b, *res; in _cal_easter()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c170 static time_t mkgmtime(struct tm *tm) in mkgmtime() argument
174 return ((((((tm->tm_year - 70) * 365) + mdays[tm->tm_mon] + tm->tm_mday-1 + in mkgmtime()
175 (tm->tm_year-68-1+(tm->tm_mon>=2))/4) * 24) + tm->tm_hour) * 60 + in mkgmtime()
176 tm->tm_min) * 60 + tm->tm_sec; in mkgmtime()
180 struct tm tm; in date_from_ISO8601() local
218 tm.tm_mon = 0; in date_from_ISO8601()
224 tm.tm_mon --; in date_from_ISO8601()
225 if(tm.tm_mon < 0 || tm.tm_mon > 11) { in date_from_ISO8601()
246 tm.tm_min = 0; in date_from_ISO8601()
270 struct tm *tm, tmbuf; in date_to_ISO8601() local
[all …]
H A Dxml_to_soap.c516 struct tm *tm = localtime (&tt); in SOAP_to_xml_element_worker() local
518 if(strftime (buf, BUF_SIZE, "%Y-%m-%dT%H:%M:%SZ", tm)) { in SOAP_to_xml_element_worker()
/PHP-7.4/ext/pgsql/tests/
H A D80_bug39971.phpt17 pg_query("CREATE TABLE php_test (id SERIAL, tm timestamp NOT NULL)");
19 $values = array('tm' => 'now()');
/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/fileinfo/tests/
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
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
/PHP-7.4/ext/fileinfo/libmagic/
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()
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 …]
/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/date/lib/
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 …]
H A Dtimelib_private.h134 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr);
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()
/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/
H A DCODING_STANDARDS.md11 1. Document your code in source files and the manual. (tm)

Completed in 194 milliseconds

12