Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 19 of 19) sorted by relevance

/PHP-7.1/ext/standard/
H A Dmicrotime.c57 struct timeval tp = {0}; in _php_gettimeofday() local
63 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
68 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC)); in _php_gettimeofday()
74 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info()); in _php_gettimeofday()
77 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
78 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
87 snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec); in _php_gettimeofday()
H A Ddns.c631 tp++; in php_parserr()
633 tp += sprintf((char*)tp,"%x",s); in php_parserr()
639 tp++; in php_parserr()
642 tp++; in php_parserr()
644 tp++; in php_parserr()
650 tp++; in php_parserr()
668 tp++; in php_parserr()
676 tp++; in php_parserr()
684 tp++; in php_parserr()
703 tp += sprintf((char*)tp,"%x",s); in php_parserr()
[all …]
H A Ddns_win32.c258 char *tp = buf; in php_parserr() local
273 tp[0] = ':'; in php_parserr()
274 tp++; in php_parserr()
276 tp += sprintf((char*)tp,"%x", out[i]); in php_parserr()
281 tp[0] = ':'; in php_parserr()
282 tp++; in php_parserr()
285 tp++; in php_parserr()
287 tp++; in php_parserr()
293 tp[0] = ':'; in php_parserr()
294 tp++; in php_parserr()
[all …]
H A Dstring.c4653 tp = tbuf;
4697 *(tp++) = c;
4715 *(tp++) = c;
4745 *tp='\0';
4750 tp = tbuf;
4757 tp = tbuf;
4763 tp = tbuf;
4769 tp = tbuf;
4798 *(tp++) = c;
4823 *(tp++) = c;
[all …]
/PHP-7.1/sapi/litespeed/
H A Dlscriu.c188 static void LSCRIU_Set_Global_Counter_Type(GlobalCounterType_t tp) in LSCRIU_Set_Global_Counter_Type() argument
190 if ((tp == CRIU_GCOUNTER_SHM) || (tp == CRIU_GCOUNTER_SIG) in LSCRIU_Set_Global_Counter_Type()
191 || (tp == CRIU_GCOUNTER_PIPE)) { in LSCRIU_Set_Global_Counter_Type()
192 s_global_counter_type = tp; in LSCRIU_Set_Global_Counter_Type()
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_debug.h93 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec) argument
97 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) argument
/PHP-7.1/ext/fileinfo/libmagic/
H A Dreadcdf.c137 cdf_timestamp_t tp; in cdf_file_property_info() local
212 tp = info[i].pi_tp; in cdf_file_property_info()
213 if (tp != 0) { in cdf_file_property_info()
215 if (tp < 1000000000000000LL) { in cdf_file_property_info()
217 sizeof(tbuf), tp); in cdf_file_property_info()
224 if (cdf_timestamp_to_timespec(&ts, tp) == -1) { in cdf_file_property_info()
H A Dcdf.c804 cdf_timestamp_t tp; in cdf_read_property_info() local
975 (void)memcpy(&tp, &q[o4], sizeof(tp)); in cdf_read_property_info()
976 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp); in cdf_read_property_info()
1323 cdf_timestamp_t tp; in cdf_dump_property_info() local
1367 tp = info[i].pi_tp; in cdf_dump_property_info()
1368 if (tp < 1000000000000000LL) { in cdf_dump_property_info()
1369 cdf_print_elapsed_time(buf, sizeof(buf), tp); in cdf_dump_property_info()
1373 cdf_timestamp_to_timespec(&ts, tp); in cdf_dump_property_info()
/PHP-7.1/ext/sockets/
H A Dconfig.m426 ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n],[],
/PHP-7.1/ext/date/lib/
H A Dparse_date.re571 for (tp = timelib_reltext_lookup; tp->name; tp++) {
573 value = tp->value;
604 for (tp = timelib_month_lookup; tp->name; tp++) {
606 value = tp->value;
651 for (tp = timelib_relunit_lookup; tp->name; tp++) {
653 value = tp;
705 for (tp = timelib_timezone_lookup; tp->name; tp++) {
711 return tp;
715 return tp;
749 *dst = tp->type;
[all …]
H A Dunixtime2tm.c300 void timelib_set_fraction_from_timeval(timelib_time *t, struct timeval tp) in timelib_set_fraction_from_timeval() argument
302 t->f = (double) tp.tv_usec / 1000000; in timelib_set_fraction_from_timeval()
H A Dtimelib.h142 void timelib_set_fraction_from_timeval(timelib_time *t, struct timeval tp);
H A Dparse_date.c573 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
575 value = tp->value; in timelib_lookup_relative_text()
606 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
608 value = tp->value; in timelib_lookup_month()
653 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
655 value = tp; in timelib_lookup_relunit()
707 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
713 return tp; in abbr_search()
717 return tp; in abbr_search()
751 *dst = tp->type; in timelib_lookup_abbr()
[all …]
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_out.c1051 struct timeval tp; in phpdbg_process_print() local
1052 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
1053 …msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msgle… in phpdbg_process_print()
1293 struct timeval tp; in phpdbg_rlog_internal() local
1296 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_rlog_internal()
1299 const time_t tt = tp.tv_sec; in phpdbg_rlog_internal()
1306 phpdbg_asprintf(&buffer, friendly, tp.tv_usec/1000); in phpdbg_rlog_internal()
/PHP-7.1/ext/oci8/tests/
H A Ddetails.inc39 $type_name = strtoupper("tp".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5));
/PHP-7.1/main/
H A DSAPI.c1091 struct timeval tp = {0}; in sapi_get_request_time() local
1092 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
1093 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00); in sapi_get_request_time()
/PHP-7.1/ext/date/
H A Dphp_date.c2629 struct timeval tp = {0}; /* For setting microseconds */ in php_date_get_current_time_with_fraction() local
2631 gettimeofday(&tp, NULL); in php_date_get_current_time_with_fraction()
2632 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
2633 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch1085 cdf_timestamp_t tp;
3223 cdf_timestamp_t tp;
3240 - cdf_timestamp_to_timespec(&ts, tp);
3243 + if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP-7.1/ext/imap/
H A Dphp_imap.c3845 PARAMETER *tp = custom_headers_param; in PHP_FUNCTION() local
3860 mail_free_body_parameter(&tp); in PHP_FUNCTION()

Completed in 139 milliseconds