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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c804 cdf_timestamp_t tp; local
976 (void)memcpy(&tp, &q[o4], sizeof(tp));
977 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp);
1324 cdf_timestamp_t tp; local
1368 tp = info[i].pi_tp;
1369 if (tp < 1000000000000000LL) {
1370 cdf_print_elapsed_time(buf, sizeof(buf), tp);
1374 cdf_timestamp_to_timespec(&ts, tp);
H A Dreadcdf.c137 cdf_timestamp_t tp; local
212 tp = info[i].pi_tp;
213 if (tp != 0) {
215 if (tp < 1000000000000000LL) {
217 sizeof(tbuf), tp);
224 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP_TRUNK/ext/standard/
H A Ddns_win32.c256 char *tp = buf; local
269 if (tp > (u_char *)buf) {
271 tp[0] = ':';
272 tp++;
274 tp += sprintf((char*)tp,"%x", out[i]);
279 tp[0] = ':';
280 tp++;
282 tp[0] = ':';
283 tp
[all...]
H A Dmicrotime.c57 struct timeval tp = {0}; local
63 if (gettimeofday(&tp, NULL)) {
68 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC));
74 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info());
77 add_assoc_long(return_value, "sec", tp.tv_sec);
78 add_assoc_long(return_value, "usec", tp.tv_usec);
87 snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec);
H A Ddns.c439 u_char *tp, *p; local
536 zend_string *tp; local
539 tp = zend_string_alloc(dlen, 0);
550 memcpy(ZSTR_VAL(tp) + l2 , cp + l1 + 1, n);
556 ZSTR_VAL(tp)[l2] = '\0';
557 ZSTR_LEN(tp) = l2;
560 add_assoc_str(subarray, "txt", tp);
591 tp = (u_char*)name;
596 if (tp > (u_char *)name) {
598 tp[
[all...]
H A Dstring.c4693 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4713 tp = tbuf;
4715 tbuf = tp = NULL;
4733 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4734 pos = tp - tbuf;
4735 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4736 tp = tbuf + pos;
4738 *(tp++) = '<';
4752 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4753 pos = tp
[all...]
/PHP_TRUNK/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...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3828 PARAMETER *tp = custom_headers_param; local
3843 mail_free_body_parameter(&tp);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_out.c1051 struct timeval tp; local
1052 if (gettimeofday(&tp, NULL) == SUCCESS) {
1053 msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg);
1293 struct timeval tp; local
1296 if (gettimeofday(&tp, NULL) == SUCCESS) {
1299 const time_t tt = tp.tv_sec;
1306 phpdbg_asprintf(&buffer, friendly, tp.tv_usec/1000);
/PHP_TRUNK/main/
H A DSAPI.c1079 struct timeval tp = {0}; local
1080 if (!gettimeofday(&tp, NULL)) {
1081 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00);

Completed in 56 milliseconds