/php-src/ |
H A D | CODING_STANDARDS.md | 10 1. Document your code in source files and the manual. (tm)
|
H A D | CONTRIBUTING.md | 323 is a Good Thing(tm), and Git lets us do this. Thus, following some basic rules
|
H A D | configure.ac | 543 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
|
/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/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/calendar/ |
H A D | cal_unix.c | 32 struct tm *ta, tmbuf; in PHP_FUNCTION()
|
H A D | easter.c | 33 struct tm te; in _cal_easter() 46 struct tm b, *res; in _cal_easter()
|
/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/date/lib/ |
H A D | timelib.c | 121 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 D | timelib.h | 685 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 D | timelib_private.h | 166 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr);
|
H A D | unixtime2tm.c | 62 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 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/ext/date/tests/ |
H A D | bug33869.phpt | 6 $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 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/ext/fileinfo/libmagic/ |
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 …]
|
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 …]
|
/php-src/ext/fileinfo/tests/ |
H A D | magic | 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
|
H A D | magic私はガラスを食べられます | 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 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/intl/tests/ |
H A D | grapheme.phpt | 590 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 D | grapheme2.phpt | 578 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 D | mysqlnd_debug.c | 92 struct tm *tm_p; in MYSQLND_METHOD() 189 struct tm *tm_p; in MYSQLND_METHOD()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_x86.lua | 2035 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
|