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

/PHP_5_4/ext/fileinfo/libmagic/
H A Dcdf.c764 cdf_timestamp_t tp; local
921 (void)memcpy(&tp, &q[o4], sizeof(tp));
922 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp);
1200 cdf_timestamp_t tp; local
1244 tp = info[i].pi_tp;
1246 if (tp < 1000000000000000i64) {
1248 if (tp < 1000000000000000LL) {
1250 cdf_print_elapsed_time(buf, sizeof(buf), tp);
1253 cdf_timestamp_to_timespec(&ts, tp);
[all...]
H A Dreadcdf.c52 cdf_timestamp_t tp; local
130 tp = info[i].pi_tp;
131 if (tp != 0) {
134 if (tp < 1000000000000000i64) {
136 if (tp < 1000000000000000LL) {
139 sizeof(tbuf), tp);
145 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP_5_4/ext/standard/
H A Ddns.c422 u_char *tp, *p; local
513 tp = emalloc(dlen + 1);
520 memcpy(tp + ll , cp + ll + 1, n);
524 tp[dlen] = '\0';
527 add_assoc_stringl(*subarray, "txt", tp, (dlen>0)?dlen - 1:0, 0);
557 tp = (u_char*)name;
561 if (tp > (u_char *)name) {
563 tp[0] = ':';
564 tp++;
566 tp
[all...]
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 Dstring.c4626 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4648 tp = tbuf;
4650 tbuf = tp = NULL;
4668 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4669 pos = tp - tbuf;
4670 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4671 tp = tbuf + pos;
4673 *(tp++) = '<';
4687 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4688 pos = tp
[all...]
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...]
/PHP_5_4/ext/imap/
H A Dphp_imap.c3787 PARAMETER *tp = custom_headers_param; local
3802 mail_free_body_parameter(&tp);
/PHP_5_4/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_4/ext/date/lib/
H A Dparse_date.c573 const timelib_lookup_table *tp; local
582 for (tp = timelib_reltext_lookup; tp->name; tp++) {
583 if (strcasecmp(word, tp->name) == 0) {
584 value = tp->value;
585 *behavior = tp->type;
606 const timelib_lookup_table *tp; local
615 for (tp = timelib_month_lookup; tp
652 const timelib_relunit *tp, *value = NULL; local
708 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; local
767 const timelib_tz_lookup_table *tp; local
25253 const timelib_tz_lookup_table *tp; local
[all...]
H A Dparse_date.re571 const timelib_lookup_table *tp;
580 for (tp = timelib_reltext_lookup; tp->name; tp++) {
581 if (strcasecmp(word, tp->name) == 0) {
582 value = tp->value;
583 *behavior = tp->type;
604 const timelib_lookup_table *tp;
613 for (tp = timelib_month_lookup; tp
[all...]
/PHP_5_4/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);

Completed in 53 milliseconds