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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dreadcdf.c135 cdf_timestamp_t tp; local
210 tp = info[i].pi_tp;
211 if (tp != 0) {
214 if (tp < 1000000000000000i64) {
216 if (tp < 1000000000000000LL) {
219 sizeof(tbuf), tp);
226 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
H A Dcdf.c770 cdf_timestamp_t tp; local
937 (void)memcpy(&tp, &q[o4], sizeof(tp));
938 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp);
1208 cdf_timestamp_t tp; local
1252 tp = info[i].pi_tp;
1254 if (tp < 1000000000000000i64) {
1256 if (tp < 1000000000000000LL) {
1258 cdf_print_elapsed_time(buf, sizeof(buf), tp);
1261 cdf_timestamp_to_timespec(&ts, tp);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c279 struct timeval tp; local
280 if (gettimeofday(&tp, NULL) == SUCCESS) {
281 rc = fprintf(fp, "[%ld %.8F]: %s\n", tp.tv_sec, tp.tv_usec / 1000000.00, buffer);
300 struct timeval tp; local
303 if (gettimeofday(&tp, NULL) == SUCCESS) {
306 const time_t tt = tp.tv_sec;
310 &buffer, friendly, tp.tv_usec/1000);
/PHP_TRUNK/ext/standard/
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.c427 u_char *tp, *p; local
523 zend_string *tp; local
526 tp = zend_string_alloc(dlen, 0);
537 memcpy(tp->val + l2 , cp + l1 + 1, n);
543 tp->val[l2] = '\0';
544 tp->len = l2;
547 add_assoc_str(subarray, "txt", tp);
578 tp = (u_char*)name;
583 if (tp > (u_char *)name) {
585 tp[
[all...]
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 Dstring.c4419 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4442 tp = tbuf;
4444 tbuf = tp = NULL;
4462 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4463 pos = tp - tbuf;
4464 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4465 tp = tbuf + pos;
4467 *(tp++) = '<';
4481 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4482 pos = tp
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3767 PARAMETER *tp = custom_headers_param; local
3782 mail_free_body_parameter(&tp);
/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/main/
H A DSAPI.c1080 struct timeval tp = {0}; local
1081 if (!gettimeofday(&tp, NULL)) {
1082 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00);

Completed in 38 milliseconds