Home
last modified time | relevance | path

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

123456

/PHP-5.5/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.5/main/streams/
H A Dmemory.c366 assert(ts != NULL); in php_stream_temp_write()
398 assert(ts != NULL); in php_stream_temp_read()
419 assert(ts != NULL); in php_stream_temp_close()
427 if (ts->meta) { in php_stream_temp_close()
431 efree(ts); in php_stream_temp_close()
442 assert(ts != NULL); in php_stream_temp_flush()
444 return ts->innerstream ? php_stream_flush(ts->innerstream) : -1; in php_stream_temp_flush()
520 if (!ts || !ts->innerstream) { in php_stream_temp_stat()
533 if (ts->meta) { in php_stream_temp_set_option()
593 ts->mode = mode; in _php_stream_temp_open()
[all …]
/PHP-5.5/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.5/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.5/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 …]
/PHP-5.5/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.5/ext/intl/tests/
H A Ddateformat_timezone_arg_variations.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 echo $df->format($ts), "\n";
19 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
36 echo $df->format($ts), "\n";
H A Ddateformat_timezone_arg_variations4.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 echo $df->format($ts), "\n";
19 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
36 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant4.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_timezone_arg_variations2.phpt12 $ts = strtotime('2012-01-01 00:00:00 UTC');
16 echo $df->format($ts), "\n";
19 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
36 echo $df->format($ts), "\n";
H A Ddateformat_timezone_arg_variations3.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 echo $df->format($ts), "\n";
20 echo $df->format($ts), "\n";
23 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
37 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant2.phpt13 $ts = strtotime('2012-01-01 00:00:00 UTC');
17 echo $df->format($ts), "\n";
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
41 echo $df->format($ts), "\n";
H A Ddateformat_create_cal_arg_variant3.phpt14 $ts = strtotime('2012-01-01 00:00:00 UTC');
18 echo $df->format($ts), "\n";
22 echo $df->format($ts), "\n";
27 echo $df->format($ts), "\n";
31 echo $df->format($ts), "\n";
35 echo $df->format($ts), "\n";
39 echo $df->format($ts), "\n";
42 echo $df->format($ts), "\n";
/PHP-5.5/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-…
/PHP-5.5/
H A Dfooter7 * vim600: noet sw=4 ts=4 fdm=marker
8 * vim<600: noet sw=4 ts=4

Completed in 63 milliseconds

123456