Searched refs:ts (Results 1 - 21 of 21) sorted by relevance

/PHP_5_6/ext/fileinfo/libmagic/
H A Dcdf_time.c99 cdf_timestamp_to_timespec(struct timeval *ts, cdf_timestamp_t t) argument
109 ts->tv_usec = (t % CDF_TIME_PREC) * CDF_TIME_PREC;
138 ts->tv_sec = mktime(&tm);
139 if (ts->tv_sec == -1) {
148 cdf_timespec_to_timestamp(cdf_timestamp_t *t, const struct timeval *ts) argument
152 (void)&ts;
156 if (gmtime_r(&ts->ts_sec, &tm) == NULL) {
160 *t = (ts->ts_usec / CDF_TIME_PREC) * CDF_TIME_PREC;
184 struct timeval ts; local
190 cdf_timestamp_to_timespec(&ts, ts
[all...]
H A Dprint.c82 struct timeval ts; local
83 cdf_timestamp_to_timespec(&ts, t);
84 t = ts.tv_sec;
H A Dreadcdf.c136 struct timeval ts; local
142 memset(&ts, 0, sizeof(ts));
225 const time_t sec = ts.tv_sec;
226 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
H A Dcdf.c1036 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) argument
1041 ts /= CDF_TIME_PREC;
1042 secs = (int)(ts % 60);
1043 ts /= 60;
1044 mins = (int)(ts % 60);
1045 ts /= 60;
1046 hours = (int)(ts % 24);
1047 ts /= 24;
1048 days = (int)ts;
1156 struct timeval ts; local
1209 struct timeval ts; local
[all...]
/PHP_5_6/TSRM/
H A DTSRM.h100 #define THREAD_HASH_OF(thr,ts) (unsigned long)thr%(unsigned long)ts
/PHP_5_6/ext/date/lib/
H A Dastro.h31 #define timelib_astro_sun_rise_set(ts,lon,lat,hrise,hset,rise,set) \
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) \
38 timelib_astro_rise_set_altitude( ts, lon, lat, -6.0, 0, start, end )
43 #define nautical_twilight(ts,lon,lat,start,end) \
44 timelib_astro_rise_set_altitude( ts, lon, lat, -12.0, 0, start, end )
49 #define astronomical_twilight(ts,lon,lat,start,end) \
50 timelib_astro_rise_set_altitude( ts, lon, lat, -18.0, 0, start, end )
H A Dastro.c293 double timelib_ts_to_juliandate(timelib_sll ts) argument
297 tmp = ts;
H A Dparse_tz.c335 static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time) argument
353 if (ts < tz->trans[0]) {
370 if (ts < tz->trans[i]) {
379 static tlinfo* fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) argument
388 if (ts > tz->leap_times[i].trans) {
395 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) argument
400 if ((to = fetch_timezone_offset(tz, ts, &dummy))) {
406 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) argument
415 if ((to = fetch_timezone_offset(tz, ts, &transistion_time))) {
427 if ((tl = fetch_leaptime_offset(tz, ts))) {
[all...]
H A Dtimelib.c181 timelib_sll ts; local
183 ts = d->sse;
185 if (ts < LONG_MIN || ts > LONG_MAX) {
H A Dunixtime2tm.c40 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) argument
48 days = ts / SECS_PER_DAY;
49 remainder = ts - (days * SECS_PER_DAY);
50 if (ts < 0 && remainder == 0) {
56 if (ts >= 0) {
79 if (ts <= TIMELIB_LL_CONST(-6857352000)) {
115 TIMELIB_DEBUG(printf("A: ts=%lld, year=%lld, month=%lld, day=%lld,", ts, cur_year, i + 1, tmp_days - months[i]););
131 tm->sse = ts;
175 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) argument
[all...]
H A Dtimelib.h92 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts);
93 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts);
102 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz);
103 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz);
139 double timelib_ts_to_juliandate(timelib_sll ts);
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_clock.c22 struct timespec ts; local
26 if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) {
37 struct timespec ts; local
39 if (0 > clock_gettime(CLOCK_MONOTONIC, &ts)) {
44 tv->tv_sec = ts.tv_sec;
45 tv->tv_usec = ts.tv_nsec / 1000;
/PHP_5_6/ext/mbstring/oniguruma/
H A Dregexec.c1159 static struct timeval ts, te; variable in typeref:struct:timeval
1161 #define TIMEDIFF(te,ts) (((te).tv_usec - (ts).tv_usec) + \
1162 (((te).tv_sec - (ts).tv_sec)*1000000))
1167 static struct tms ts, te; variable in typeref:struct:tms
1169 #define TIMEDIFF(te,ts) ((te).tms_utime - (ts).tms_utime)
1183 GETTIME(ts);\
1188 OpTime[OpCurr] += TIMEDIFF(te, ts);\
/PHP_5_6/ext/intl/calendar/
H A Dcalendar_methods.cpp1250 int64_t ts; local
1264 ts = (int64_t)date;
1266 ts_str_len = slprintf(ts_str, sizeof(ts_str), "@%I64d", ts);
/PHP_5_6/win32/build/
H A Dprojectgen.js145 /* generate .defs file for php5[ts].dll */
171 /* generate win32\wsyslog.h for php5[ts].dll */
186 /* generate ext\date\lib\timelib_config.h for php5[ts].dll */
205 /* generate php5[ts].dsp */
208 var ts = (PHP_ZTS != "no" ? "ts" : "");
209 var extname = "php5" + ts;
235 dsp = FSO.CreateTextFile("win32\\php5" + ts + ".dsp", true);
236 STDOUT.WriteLine("\tGenerating win32\\php5" + ts + ".dsp");
248 var ts
[all...]
/PHP_5_6/ext/calendar/
H A Dcal_unix.c31 time_t ts = 0; local
34 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &ts) == FAILURE) {
38 if (!ts) {
39 ts = time(NULL);
40 } else if (ts < 0) {
44 if (!(ta = php_localtime_r(&ts, &tmbuf))) {
76 * vim600: sw=4 ts=4 fdm=marker
77 * vim<600: sw=4 ts=4
/PHP_5_6/ext/standard/
H A Ddatetime.c88 char *ts; local
95 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &ts, &ts_length, &format, &format_length) == FAILURE) {
101 unparsed_part = strptime(ts, format, &parsed_time);
126 * vim600: sw=4 ts=4 fdm=marker
127 * vim<600: sw=4 ts=4
/PHP_5_6/ext/date/
H A Dphp_date.h184 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);
189 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
H A Dphp_date.c1220 long ts; local
1223 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &format, &format_len, &ts) == FAILURE) {
1227 ts = time(NULL);
1230 string = php_format_date(format, format_len, ts, localtime TSRMLS_CC);
1236 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC) /* {{{ */ argument
1248 timelib_unixtime2local(t, ts);
1251 timelib_unixtime2gmt(t, ts);
1263 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC) argument
1277 timelib_unixtime2local(t, ts);
1280 timelib_unixtime2gmt(t, ts);
1379 long ts = 0; local
1448 long preset_ts = 0, ts; local
1507 long ts, adjust_seconds = 0; local
1636 timelib_time *ts; local
1753 timelib_time *ts; local
1799 timelib_time *ts; local
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c97434 int ts = getTempStore(zStorageType); local
[all...]
/PHP_5_6/main/streams/
H A Dmemory.c362 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
363 assert(ts != NULL);
365 if (!ts->innerstream) {
368 if (php_stream_is(ts->innerstream, PHP_STREAM_IS_MEMORY)) {
370 char *membuf = php_stream_memory_get_buffer(ts->innerstream, &memsize);
372 if (memsize + count >= ts->smax) {
373 php_stream *file = php_stream_fopen_temporary_file(ts->tmpdir, "php", NULL);
375 php_stream_free_enclosed(ts->innerstream, PHP_STREAM_FREE_CLOSE);
376 ts->innerstream = file;
377 php_stream_encloses(stream, ts
388 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
409 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
438 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
449 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
469 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
515 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
526 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local
587 php_stream_temp_data *ts; local
619 php_stream_temp_data *ts; local
[all...]

Completed in 196 milliseconds