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

/PHP_5_3/ext/standard/
H A Ddns_win32.c248 char *tp = buf; local
261 if (tp > (u_char *)buf) {
263 tp[0] = ':';
264 tp++;
266 tp += sprintf((char*)tp,"%x", out[i]);
271 tp[0] = ':';
272 tp++;
274 tp[0] = ':';
275 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.c4309 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4325 tp = tbuf;
4327 tbuf = tp = NULL;
4345 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4346 pos = tp - tbuf;
4347 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4348 tp = tbuf + pos;
4350 *(tp++) = '<';
4364 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4365 pos = tp
[all...]
H A Ddns.c422 u_char *tp, *p; local
503 tp = emalloc(dlen + 1);
510 memcpy(tp + ll , cp + ll + 1, n);
514 tp[dlen] = '\0';
517 add_assoc_stringl(*subarray, "txt", tp, (dlen>0)?dlen - 1:0, 0);
547 tp = (u_char*)name;
551 if (tp > (u_char *)name) {
553 tp[0] = ':';
554 tp++;
556 tp
[all...]
/PHP_5_3/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) {
133 if (tp < 1000000000000000i64) {
135 if (tp < 1000000000000000LL) {
139 sizeof(tbuf), tp);
145 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP_5_3/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
707 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; local
766 const timelib_tz_lookup_table *tp; local
25250 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_3/ext/imap/
H A Dphp_imap.c3796 PARAMETER *tp = custom_headers_param; local
3811 mail_free_body_parameter(&tp);
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_debug.h79 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec)
83 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp)

Completed in 26 milliseconds