Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 128) sorted by relevance

123456

/PHP-5.4/ext/date/tests/
H A Dbug20382-2.phpt48 ts = Monday 2037-10-19 17:17:17 CEST
73 ts = Monday 1983-04-11 17:17:17 CET
78 ts = Monday 2037-10-19 17:17:17 AMT
113 ts = Monday 1971-03-29 17:17:17 AST
123 ts = Friday 1971-01-01 17:17:17 CET
128 ts = Friday 1971-01-01 17:17:17 AST
138 ts = Friday 1971-01-01 17:17:17 CET
143 ts = Monday 1971-03-29 17:17:17 GMT
148 ts = Monday 1983-04-11 17:17:17 CET
153 ts = Monday 1974-09-30 17:17:17 ART
[all …]
H A Ddate_modify-1.phpt8 $ts = date_create("Thu Aug 19 1993 23:59:59");
9 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
10 $ts->modify("+1 second");
11 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
14 $ts = date_create("Sun Mar 27 01:59:59 2005");
15 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
16 $ts->modify("+1 second");
17 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
19 $ts = date_create("Sun Oct 30 01:59:59 2005");
20 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
[all …]
H A Dbug40861.phpt8 $ts = strtotime('2000-01-01 12:00:00');
9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
13 $ts = strtotime('2000-01-01 12:00:00');
14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
18 $ts = strtotime('2000-01-01 12:00:00');
19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts));
24 $ts = strtotime('2000-01-01 12:00:00');
25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
H A Dbug30096.phpt8 $ts = -1;
15 $ts = -1;
22 global $ts, $tsold;
26 $tsold = $ts;
27 $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
29 echo $ts, " | gmdate('r', $ts):", gmdate('r', $ts);
31 echo " | Diff: " . ($ts - $tsold);
H A Dbug62561.phpt6 $ts = new DateTime('@1341115200', $tz);
11 echo 'ts: '.$ts->format('Y-m-d H:i:s')."\n";
12 echo 'day from ts: '.$dayFromTs->format('Y-m-d H:i:s')."\n";
15 ts: 2012-07-01 04:00:00
16 day from ts: 2012-07-02 04:00:00
H A Dbug35885.phpt8 $ts = date(DATE_ISO8601, strtotime('NOW', $time));
11 $res = ($ts == $ts2);
15 var_dump($ts);
H A Dbug60236.phpt8 $ts = $t->format('U');
9 var_dump($ts);
10 $t->setTimestamp($ts);
/PHP-5.4/main/streams/
H A Dmemory.c362 assert(ts != NULL); in php_stream_temp_write()
390 assert(ts != NULL); in php_stream_temp_read()
411 assert(ts != NULL); in php_stream_temp_close()
419 if (ts->meta) { in php_stream_temp_close()
423 efree(ts); in php_stream_temp_close()
434 assert(ts != NULL); in php_stream_temp_flush()
436 return ts->innerstream ? php_stream_flush(ts->innerstream) : -1; in php_stream_temp_flush()
512 if (!ts || !ts->innerstream) { in php_stream_temp_stat()
525 if (ts->meta) { in php_stream_temp_set_option()
585 ts->mode = mode; in _php_stream_temp_open()
[all …]
/PHP-5.4/ext/calendar/
H A Dcal_unix.c31 time_t ts = 0; in PHP_FUNCTION() local
34 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &ts) == FAILURE) { in PHP_FUNCTION()
38 if (!ts) { in PHP_FUNCTION()
39 ts = time(NULL); in PHP_FUNCTION()
40 } else if (ts < 0) { in PHP_FUNCTION()
44 if (!(ta = php_localtime_r(&ts, &tmbuf))) { in PHP_FUNCTION()
/PHP-5.4/ext/date/lib/
H A Dastro.h31 #define timelib_astro_sun_rise_set(ts,lon,lat,hrise,hset,rise,set) \ argument
32 timelib_astro_rise_set_altitude( ts, lon, lat, -35.0/60.0, 1, hrise, hset, rise, set )
37 #define civil_twilight(ts,lon,lat,start,end) \ argument
38 timelib_astro_rise_set_altitude( ts, lon, lat, -6.0, 0, start, end )
43 #define nautical_twilight(ts,lon,lat,start,end) \ argument
44 timelib_astro_rise_set_altitude( ts, lon, lat, -12.0, 0, start, end )
49 #define astronomical_twilight(ts,lon,lat,start,end) \ argument
50 timelib_astro_rise_set_altitude( ts, lon, lat, -18.0, 0, start, end )
H A Dunixtime2tm.c40 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt() argument
48 days = ts / SECS_PER_DAY; in timelib_unixtime2gmt()
49 remainder = ts - (days * SECS_PER_DAY); in timelib_unixtime2gmt()
50 if (ts < 0 && remainder == 0) { in timelib_unixtime2gmt()
56 if (ts >= 0) { in timelib_unixtime2gmt()
131 tm->sse = ts; in timelib_unixtime2gmt()
175 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local() argument
186 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local()
194 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local()
195 timelib_unixtime2gmt(tm, ts + gmt_offset->offset); in timelib_unixtime2local()
[all …]
/PHP-5.4/ext/fileinfo/libmagic/
H A Dcdf_time.c99 cdf_timestamp_to_timespec(struct timeval *ts, cdf_timestamp_t t) in cdf_timestamp_to_timespec() argument
109 ts->tv_usec = (t % CDF_TIME_PREC) * CDF_TIME_PREC; in cdf_timestamp_to_timespec()
138 ts->tv_sec = mktime(&tm); in cdf_timestamp_to_timespec()
139 if (ts->tv_sec == -1) { in cdf_timestamp_to_timespec()
148 cdf_timespec_to_timestamp(cdf_timestamp_t *t, const struct timeval *ts) in cdf_timespec_to_timestamp() argument
152 (void)&ts; in cdf_timespec_to_timestamp()
156 if (gmtime_r(&ts->ts_sec, &tm) == NULL) { in cdf_timespec_to_timestamp()
160 *t = (ts->ts_usec / CDF_TIME_PREC) * CDF_TIME_PREC; in cdf_timespec_to_timestamp()
184 struct timeval ts; in main() local
190 cdf_timestamp_to_timespec(&ts, tst); in main()
[all …]
H A Dprint.c83 struct timeval ts; in file_fmttime() local
84 cdf_timestamp_to_timespec(&ts, t); in file_fmttime()
85 t = ts.tv_sec; in file_fmttime()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_clock.c22 struct timespec ts; in fpm_clock_init() local
26 if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) { in fpm_clock_init()
37 struct timespec ts; in fpm_clock_get() local
39 if (0 > clock_gettime(CLOCK_MONOTONIC, &ts)) { in fpm_clock_get()
44 tv->tv_sec = ts.tv_sec; in fpm_clock_get()
45 tv->tv_usec = ts.tv_nsec / 1000; in fpm_clock_get()
/PHP-5.4/ext/soap/tests/soap12/
H A DT38_1.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:Unknown>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
26 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT38_2.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">bar</test:echoOk>
26 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT26.phpt10 <?xml-stylesheet href="http://example.org/ts-tests/sub.xsl" type = "text/xsl"?>
12 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
20 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT02.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
22 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT32.phpt11 <test:requiredHeader xmlns:test="http://example.org/ts-tests"
15 <test:echoHeader xmlns:test="http://example.org/ts-tests">
24 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT22.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
15 <test:echoOk xmlns:test="http://example.org/ts-tests">foo</test:echoOk>
23 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT74.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 <test:Unknown xmlns:test="http://example.org/ts-tests">
27 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
H A DT41.phpt13 <test:echoStruct xmlns:test="http://example.org/ts-tests"
16 xmlns:ns1="http://example.org/ts-tests/xsd">
29 …e.org/ts-tests" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XML…
H A DT63.phpt11 <test:validateCountryCode xmlns:test="http://example.org/ts-tests"
12 env:role="http://example.org/ts-tests/C"
24 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-…
/PHP-5.4/
H A Dfooter7 * vim600: noet sw=4 ts=4 fdm=marker
8 * vim<600: noet sw=4 ts=4
/PHP-5.4/ext/standard/
H A Ddatetime.c88 char *ts; in PHP_FUNCTION() local
95 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_lengt… in PHP_FUNCTION()
101 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()

Completed in 39 milliseconds

123456