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

/PHP_TRUNK/ext/fileinfo/libmagic/
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...]
H A Dreadcdf.c141 cdf_timestamp_t tp; local
216 tp = info[i].pi_tp;
217 if (tp != 0) {
220 if (tp < 1000000000000000i64) {
222 if (tp < 1000000000000000LL) {
225 sizeof(tbuf), tp);
232 if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/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.c4410 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4433 tp = tbuf;
4435 tbuf = tp = NULL;
4453 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4454 pos = tp - tbuf;
4455 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4456 tp = tbuf + pos;
4458 *(tp++) = '<';
4472 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4473 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/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);
/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);
1296 struct timeval tp; local
1299 if (gettimeofday(&tp, NULL) == SUCCESS) {
1302 const time_t tt = tp.tv_sec;
1309 phpdbg_asprintf(&buffer, friendly, tp.tv_usec/1000);
/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...]

Completed in 30 milliseconds