| /PHP_5_5/TSRM/ |
| H A D | TSRM.h | 100 #define THREAD_HASH_OF(thr,ts) (unsigned long)thr%(unsigned long)ts
|
| /PHP_5_5/ext/date/lib/ |
| H A D | astro.h | 31 #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 D | astro.c | 293 double timelib_ts_to_juliandate(timelib_sll ts) argument 297 tmp = ts;
|
| H A D | parse_tz.c | 335 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 D | unixtime2tm.c | 40 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; 176 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) argument [all...] |
| H A D | timelib.c | 181 timelib_sll ts; local 183 ts = d->sse; 185 if (ts < LONG_MIN || ts > LONG_MAX) {
|
| H A D | timelib.h | 92 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts); 93 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts); 100 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz); 101 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz); 136 double timelib_ts_to_juliandate(timelib_sll ts);
|
| /PHP_5_5/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 88215 int ts = getTempStore(zStorageType); local [all...] |
| /PHP_5_5/sapi/fpm/fpm/ |
| H A D | fpm_clock.c | 22 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_5/win32/build/ |
| H A D | projectgen.js | 145 /* 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_5/ext/mbstring/oniguruma/ |
| H A D | regexec.c | 1159 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_5/ext/calendar/ |
| H A D | cal_unix.c | 31 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_5/ext/standard/ |
| H A D | datetime.c | 88 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_5/main/streams/ |
| H A D | memory.c | 361 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 362 assert(ts != NULL); 364 if (!ts->innerstream) { 367 if (php_stream_is(ts->innerstream, PHP_STREAM_IS_MEMORY)) { 369 char *membuf = php_stream_memory_get_buffer(ts->innerstream, &memsize); 371 if (memsize + count >= ts->smax) { 374 php_stream_free_enclosed(ts->innerstream, PHP_STREAM_FREE_CLOSE); 375 ts->innerstream = file; 376 php_stream_encloses(stream, ts->innerstream); 379 return php_stream_write(ts 387 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 408 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 433 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 444 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 464 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 510 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 521 php_stream_temp_data *ts = (php_stream_temp_data*)stream->abstract; local 574 php_stream_temp_data *ts; local 604 php_stream_temp_data *ts; local [all...] |
| /PHP_5_5/ext/intl/calendar/ |
| H A D | calendar_methods.cpp | 1225 int64_t ts; local 1239 ts = (int64_t)date; 1241 ts_str_len = slprintf(ts_str, sizeof(ts_str), "@%I64d", ts);
|
| /PHP_5_5/ext/date/ |
| H A D | php_date.h | 188 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC); 193 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC);
|
| H A D | php_date.c | 1203 long ts; local 1206 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &format, &format_len, &ts) == FAILURE) { 1210 ts = time(NULL); 1213 string = php_format_date(format, format_len, ts, localtime TSRMLS_CC); 1219 PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC) /* {{{ */ argument 1231 timelib_unixtime2local(t, ts); 1234 timelib_unixtime2gmt(t, ts); 1246 PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC) argument 1260 timelib_unixtime2local(t, ts); 1263 timelib_unixtime2gmt(t, ts); 1362 long ts = 0; local 1430 long preset_ts = 0, ts; local 1489 long ts, adjust_seconds = 0; local 1618 timelib_time *ts; local 1728 timelib_time *ts; local 1774 timelib_time *ts; local [all...] |
| /PHP_5_5/ext/fileinfo/libmagic/ |
| H A D | cdf.c | 1028 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) argument 1033 ts /= CDF_TIME_PREC; 1034 secs = (int)(ts % 60); 1035 ts /= 60; 1036 mins = (int)(ts % 60); 1037 ts /= 60; 1038 hours = (int)(ts % 24); 1039 ts /= 24; 1040 days = (int)ts; 1148 struct timeval ts; local 1201 struct timeval ts; local [all...] |
| H A D | cdf_time.c | 99 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 D | readcdf.c | 53 struct timeval ts; local 145 if (cdf_timestamp_to_timespec(&ts, tp) == -1) { 148 c = cdf_ctime(&ts.tv_sec, tbuf);
|
| H A D | print.c | 82 struct timeval ts; local 83 cdf_timestamp_to_timespec(&ts, t); 84 t = ts.tv_sec;
|