Home
last modified time | relevance | path

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

123456

/PHP-5.3/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
98 ts = Friday 1971-01-01 17:17:17 CST
103 ts = Monday 1971-03-29 17:17:17 CST
108 ts = Friday 1971-01-01 17:17:17 WST
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
[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 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.3/main/streams/
H A Dmemory.c367 assert(ts != NULL); in php_stream_temp_write()
394 assert(ts != NULL); in php_stream_temp_read()
415 assert(ts != NULL); in php_stream_temp_close()
423 if (ts->meta) { in php_stream_temp_close()
427 efree(ts); in php_stream_temp_close()
438 assert(ts != NULL); in php_stream_temp_flush()
440 return ts->innerstream ? php_stream_flush(ts->innerstream) : -1; in php_stream_temp_flush()
515 if (!ts || !ts->innerstream) { in php_stream_temp_stat()
528 if (ts->meta) { in php_stream_temp_set_option()
589 ts->mode = mode; in _php_stream_temp_open()
[all …]
/PHP-5.3/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.3/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()
176 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local() argument
187 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local()
195 gmt_offset = timelib_get_time_zone_info(ts, tz); in timelib_unixtime2local()
196 timelib_unixtime2gmt(tm, ts + gmt_offset->offset); in timelib_unixtime2local()
[all …]
H A Dtimelib.h91 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts);
92 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts);
99 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz);
100 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz);
134 double timelib_ts_to_juliandate(timelib_sll ts);
/PHP-5.3/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
108 ts->tv_usec = (t % CDF_TIME_PREC) * CDF_TIME_PREC; in cdf_timestamp_to_timespec()
137 ts->tv_sec = mktime(&tm); in cdf_timestamp_to_timespec()
138 if (ts->tv_sec == -1) { in cdf_timestamp_to_timespec()
147 cdf_timespec_to_timestamp(cdf_timestamp_t *t, const struct timeval *ts) in cdf_timespec_to_timestamp() argument
151 (void)&ts; in cdf_timespec_to_timestamp()
155 if (gmtime_r(&ts->ts_sec, &tm) == NULL) { in cdf_timespec_to_timestamp()
159 *t = (ts->ts_usec / CDF_TIME_PREC) * CDF_TIME_PREC; in cdf_timespec_to_timestamp()
185 struct timeval ts; in main() local
190 cdf_timestamp_to_timespec(&ts, tst); in main()
[all …]
/PHP-5.3/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.3/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.3/
H A Dfooter7 * vim600: noet sw=4 ts=4 fdm=marker
8 * vim<600: noet sw=4 ts=4
/PHP-5.3/ext/standard/
H A Ddatetime.c97 char *ts; in PHP_FUNCTION() local
104 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_lengt… in PHP_FUNCTION()
110 unparsed_part = strptime(ts, format, &parsed_time); in PHP_FUNCTION()
/PHP-5.3/tests/lang/
H A D045.phpt13 $ts = time();
15 if ((time()-$ts) > 2) {

Completed in 83 milliseconds

123456