Searched refs:tp (Results 1 - 11 of 11) sorted by relevance

/PHP_5_5/ext/standard/
H A Dmicrotime.c56 struct timeval tp = {0}; local
62 if (gettimeofday(&tp, NULL)) {
67 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC));
73 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info(TSRMLS_C));
76 add_assoc_long(return_value, "sec", tp.tv_sec);
77 add_assoc_long(return_value, "usec", tp.tv_usec);
86 snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec);
H A Ddns_win32.c257 char *tp = buf; local
270 if (tp > (u_char *)buf) {
272 tp[0] = ':';
273 tp++;
275 tp += sprintf((char*)tp,"%x", out[i]);
280 tp[0] = ':';
281 tp++;
283 tp[0] = ':';
284 tp
[all...]
H A Dstring.c4584 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4606 tp = tbuf;
4608 tbuf = tp = NULL;
4626 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4627 pos = tp - tbuf;
4628 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4629 tp = tbuf + pos;
4631 *(tp++) = '<';
4645 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4646 pos = tp
[all...]
H A Ddns.c428 u_char *tp, *p; local
527 tp = emalloc(dlen + 1);
539 memcpy(tp + l2 , cp + l1 + 1, n);
545 tp[l2] = '\0';
548 add_assoc_stringl(*subarray, "txt", tp, l2, 0);
579 tp = (u_char*)name;
584 if (tp > (u_char *)name) {
586 tp[0] = ':';
587 tp++;
589 tp
[all...]
/PHP_5_5/ext/imap/
H A Dphp_imap.c3787 PARAMETER *tp = custom_headers_param; local
3802 mail_free_body_parameter(&tp);
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_debug.h90 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec)
94 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp)
/PHP_5_5/ext/fileinfo/libmagic/
H A Dreadcdf.c52 cdf_timestamp_t tp; local
132 tp = info[i].pi_tp;
133 if (tp != 0) {
136 if (tp < 1000000000000000i64) {
138 if (tp < 1000000000000000LL) {
141 sizeof(tbuf), tp);
148 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
H A Dcdf.c767 cdf_timestamp_t tp; local
934 (void)memcpy(&tp, &q[o4], sizeof(tp));
935 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp);
1205 cdf_timestamp_t tp; local
1249 tp = info[i].pi_tp;
1251 if (tp < 1000000000000000i64) {
1253 if (tp < 1000000000000000LL) {
1255 cdf_print_elapsed_time(buf, sizeof(buf), tp);
1258 cdf_timestamp_to_timespec(&ts, tp);
[all...]
/PHP_5_5/main/
H A DSAPI.c1078 struct timeval tp = {0}; local
1079 if (!gettimeofday(&tp, NULL)) {
1080 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00);
/PHP_5_5/ext/date/lib/
H A Dparse_date.c541 const timelib_lookup_table *tp; local
550 for (tp = timelib_reltext_lookup; tp->name; tp++) {
551 if (strcasecmp(word, tp->name) == 0) {
552 value = tp->value;
553 *behavior = tp->type;
574 const timelib_lookup_table *tp; local
583 for (tp = timelib_month_lookup; tp
620 const timelib_relunit *tp, *value = NULL; local
676 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; local
716 const timelib_tz_lookup_table *tp; local
25198 const timelib_tz_lookup_table *tp; local
[all...]
H A Dparse_date.re539 const timelib_lookup_table *tp;
548 for (tp = timelib_reltext_lookup; tp->name; tp++) {
549 if (strcasecmp(word, tp->name) == 0) {
550 value = tp->value;
551 *behavior = tp->type;
572 const timelib_lookup_table *tp;
581 for (tp = timelib_month_lookup; tp
[all...]

Completed in 73 milliseconds