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

/PHP_TRUNK/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.c101 cdf_timestamp_t tp; local
171 tp = info[i].pi_tp;
172 if (tp != 0) {
175 if (tp < 1000000000000000i64) {
177 if (tp < 1000000000000000LL) {
180 sizeof(tbuf), tp);
187 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3787 PARAMETER *tp = custom_headers_param; local
3802 mail_free_body_parameter(&tp);
/PHP_TRUNK/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_TRUNK/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 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.c4572 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4594 tp = tbuf;
4596 tbuf = tp = NULL;
4614 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4615 pos = tp - tbuf;
4616 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4617 tp = tbuf + pos;
4619 *(tp++) = '<';
4633 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4634 pos = tp
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c266 struct timeval tp; local
267 if (gettimeofday(&tp, NULL) == SUCCESS) {
268 rc = fprintf(fp, "[%ld %.8F]: %s\n", tp.tv_sec, tp.tv_usec / 1000000.00, buffer);
287 struct timeval tp; local
290 if (gettimeofday(&tp, NULL) == SUCCESS) {
293 const time_t tt = tp.tv_sec;
297 &buffer, friendly, tp.tv_usec/1000);
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.c538 const timelib_lookup_table *tp; local
547 for (tp = timelib_reltext_lookup; tp->name; tp++) {
548 if (strcasecmp(word, tp->name) == 0) {
549 value = tp->value;
550 *behavior = tp->type;
571 const timelib_lookup_table *tp; local
580 for (tp = timelib_month_lookup; tp
617 const timelib_relunit *tp, *value = NULL; local
673 const timelib_tz_lookup_table *tp, *first_found_elem = NULL; local
732 const timelib_tz_lookup_table *tp; local
25219 const timelib_tz_lookup_table *tp; local
[all...]
H A Dparse_date.re536 const timelib_lookup_table *tp;
545 for (tp = timelib_reltext_lookup; tp->name; tp++) {
546 if (strcasecmp(word, tp->name) == 0) {
547 value = tp->value;
548 *behavior = tp->type;
569 const timelib_lookup_table *tp;
578 for (tp = timelib_month_lookup; tp
[all...]
/PHP_TRUNK/main/
H A DSAPI.c1082 struct timeval tp = {0}; local
1083 if (!gettimeofday(&tp, NULL)) {
1084 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00);

Completed in 34 milliseconds