Home
last modified time | relevance | path

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

12

/php-src/
H A DCODING_STANDARDS.md10 1. Document your code in source files and the manual. (tm)
H A DCONTRIBUTING.md323 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
H A Dconfigure.ac543 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
/php-src/build/
H A Dphp.m41071 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/docs/
H A Dmailinglist-rules.md10 Collaboration is a Good Thing(tm), and mailing lists lets us do this. Thus,
/php-src/ext/calendar/
H A Dcal_unix.c32 struct tm *ta, tmbuf; in PHP_FUNCTION()
H A Deaster.c33 struct tm te; in _cal_easter()
46 struct tm b, *res; in _cal_easter()
/php-src/ext/com_dotnet/
H A Dcom_variant.c941 struct tm tmv; in PHP_FUNCTION()
968 struct tm *tmv; in PHP_FUNCTION()
/php-src/ext/date/lib/
H A Dtimelib.c121 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr) in timelib_time_tz_abbr_update() argument
126 TIMELIB_TIME_FREE(tm->tz_abbr); in timelib_time_tz_abbr_update()
127 tm->tz_abbr = timelib_strdup(tz_abbr); in timelib_time_tz_abbr_update()
129 tm->tz_abbr[i] = toupper(tz_abbr[i]); in timelib_time_tz_abbr_update()
H A Dtimelib.h685 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts);
691 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts);
697 void timelib_update_from_sse(timelib_time *tm);
H A Dtimelib_private.h166 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr);
H A Dunixtime2tm.c62 timelib_unixtime2date(ts, &tm->y, &tm->m, &tm->d); in timelib_unixtime2gmt()
72 tm->h = hours; in timelib_unixtime2gmt()
75 tm->z = 0; in timelib_unixtime2gmt()
76 tm->dst = 0; in timelib_unixtime2gmt()
77 tm->sse = ts; in timelib_unixtime2gmt()
94 timelib_unixtime2gmt(tm, tm->sse + tm->z + (tm->dst * 3600)); in timelib_update_from_sse()
103 timelib_unixtime2gmt(tm, tm->sse + offset); in timelib_update_from_sse()
109 timelib_unixtime2gmt(tm, tm->sse); in timelib_update_from_sse()
116 tm->z = z; in timelib_update_from_sse()
131 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local()
[all …]
/php-src/ext/date/
H A Dphp_date.c61 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/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-src/ext/fileinfo/
H A Dlibmagic.patch1576 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/ext/fileinfo/libmagic/
H A Dcdf_time.c101 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 …]
H A Dfile.h636 char *asctime_r(const struct tm *, char *);
H A Dprint.c276 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 …]
/php-src/ext/fileinfo/tests/
H A Dmagic7777 # CDDB: file(1) magic for CDDB(tm) format CD text data files
7785 0 search/1/w #\040xmcd CDDB(tm) format CD text data
H A Dmagic私はガラスを食べられます7777 # CDDB: file(1) magic for CDDB(tm) format CD text data files
7785 0 search/1/w #\040xmcd CDDB(tm) format CD text data
/php-src/ext/ftp/
H A Dftp.c1176 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/intl/tests/
H A Dgrapheme.phpt590 array( "http://news.bbc.co.uk/2/hi/middle_east/7831588.stm", 48, 48 , 50 , "tm" ),
1136 …48" graphemes - grapheme_extract starting at byte position 48 with $next = tm == tm $next=50 == 50
H A Dgrapheme2.phpt578 array( "http://news.bbc.co.uk/2/hi/middle_east/7831588.stm", 48, 48 , 50 , "tm" ),
1124 …48" graphemes - grapheme_extract starting at byte position 48 with $next = tm == tm $next=50 == 50
/php-src/ext/mysqlnd/
H A Dmysqlnd_debug.c92 struct tm *tm_p; in MYSQLND_METHOD()
189 struct tm *tm_p; in MYSQLND_METHOD()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua2035 for tm in gmatch(template, "[^%|]+") do
2036 local s = map_modename[sub(tm, 1, 1)]
2037 s = s..gsub(sub(tm, 2, nparams), ".", function(c)
2046 local function matchtm(tm, args)
2048 if not match(args[i].mode, sub(tm, i, i)) then return end
2084 for tm in gmatch(template, "[^%|]+") do
2086 local szm, pat = match(tm, "^(.-):(.*)$", #args+1)
2088 if matchtm(tm, args) then

Completed in 198 milliseconds

12