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);
514 memcpy(tp + ll , cp + ll + 1, n);
518 tp[dlen] = '\0';
521 add_assoc_stringl(*subarray, "txt", tp, (dlen>0)?dlen - 1:0, 0);
551 tp = (u_char*)name;
555 if (tp > (u_char *)name) {
557 tp[0] = ':';
558 tp++;
560 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)
/PHP_5_3/ext/date/lib/
H A Dparse_date.c576 const timelib_lookup_table *tp; local
585 for (tp = timelib_reltext_lookup; tp->name; tp++) {
586 if (strcasecmp(word, tp->name) == 0) {
587 value = tp->value;
588 *behavior = tp->type;
609 const timelib_lookup_table *tp; local
618 for (tp = timelib_month_lookup; tp
655 const timelib_relunit *tp, *value = NULL; local
710 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; local
769 const timelib_tz_lookup_table *tp; local
25257 const timelib_tz_lookup_table *tp; local
[all...]
H A Dparse_date.re574 const timelib_lookup_table *tp;
583 for (tp = timelib_reltext_lookup; tp->name; tp++) {
584 if (strcasecmp(word, tp->name) == 0) {
585 value = tp->value;
586 *behavior = tp->type;
607 const timelib_lookup_table *tp;
616 for (tp = timelib_month_lookup; tp
[all...]
/PHP_5_3/ext/fileinfo/libmagic/
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...]
H A Dreadcdf.c52 cdf_timestamp_t tp; local
132 tp = info[i].pi_tp;
133 if (tp != 0) {
135 if (tp < 1000000000000000i64) {
137 if (tp < 1000000000000000LL) {
141 sizeof(tbuf), tp);
148 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {

Completed in 46 milliseconds