Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dmicrotime.c52 struct timeval tp = {0}; in _php_gettimeofday() local
59 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
64 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC)); in _php_gettimeofday()
70 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info()); in _php_gettimeofday()
73 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
74 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
81 RETURN_NEW_STR(zend_strpprintf(0, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, (long)tp.tv_sec)); in _php_gettimeofday()
H A Ddns.c637 tp++; in php_parserr()
639 tp += sprintf((char*)tp,"%x",s); in php_parserr()
645 tp++; in php_parserr()
648 tp++; in php_parserr()
650 tp++; in php_parserr()
656 tp++; in php_parserr()
674 tp++; in php_parserr()
682 tp++; in php_parserr()
690 tp++; in php_parserr()
709 tp += sprintf((char*)tp,"%x",s); in php_parserr()
[all …]
H A Ddns_win32.c263 char *tp = buf; in php_parserr() local
278 tp[0] = ':'; in php_parserr()
279 tp++; in php_parserr()
281 tp += sprintf((char*)tp,"%x", out[i]); in php_parserr()
286 tp[0] = ':'; in php_parserr()
287 tp++; in php_parserr()
290 tp++; in php_parserr()
292 tp++; in php_parserr()
298 tp[0] = ':'; in php_parserr()
299 tp++; in php_parserr()
[all …]
H A Dstring.c5189 tp = tbuf;
5191 tbuf = tp = NULL;
5230 *(tp++) = '<';
5290 *(tp++) = '>';
5291 *tp='\0';
5294 rp += tp-tbuf;
5296 tp = tbuf;
5339 *(tp++) = c;
5375 tp = tbuf;
5433 tp = tbuf;
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlscriu.c181 static void LSCRIU_Set_Global_Counter_Type(GlobalCounterType_t tp) in LSCRIU_Set_Global_Counter_Type() argument
183 if ((tp == CRIU_GCOUNTER_SHM) || (tp == CRIU_GCOUNTER_SIG) in LSCRIU_Set_Global_Counter_Type()
184 || (tp == CRIU_GCOUNTER_PIPE)) { in LSCRIU_Set_Global_Counter_Type()
185 s_global_counter_type = tp; in LSCRIU_Set_Global_Counter_Type()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_debug.h90 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec) argument
94 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) argument
/PHP-7.4/ext/fileinfo/libmagic/
H A Dreadcdf.c141 cdf_timestamp_t tp; in cdf_file_property_info() local
218 tp = info[i].pi_tp; in cdf_file_property_info()
219 if (tp != 0) { in cdf_file_property_info()
221 if (tp < 1000000000000000LL) { in cdf_file_property_info()
223 sizeof(tbuf), tp); in cdf_file_property_info()
229 cdf_timestamp_to_timespec(&ts, tp); in cdf_file_property_info()
H A Dcdf.c1432 cdf_timestamp_t tp; in cdf_dump_property_info() local
1476 tp = info[i].pi_tp; in cdf_dump_property_info()
1477 if (tp < 1000000000000000LL) { in cdf_dump_property_info()
1478 cdf_print_elapsed_time(buf, sizeof(buf), tp); in cdf_dump_property_info()
1482 cdf_timestamp_to_timespec(&ts, tp); in cdf_dump_property_info()
/PHP-7.4/ext/date/lib/
H A Dparse_date.re548 for (tp = timelib_reltext_lookup; tp->name; tp++) {
550 value = tp->value;
581 for (tp = timelib_month_lookup; tp->name; tp++) {
583 value = tp->value;
628 for (tp = timelib_relunit_lookup; tp->name; tp++) {
630 value = tp;
682 for (tp = timelib_timezone_lookup; tp->name; tp++) {
688 return tp;
692 return tp;
726 *dst = tp->type;
[all …]
H A Dparse_date.c550 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
552 value = tp->value; in timelib_lookup_relative_text()
583 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
585 value = tp->value; in timelib_lookup_month()
630 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
632 value = tp; in timelib_lookup_relunit()
684 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
690 return tp; in abbr_search()
694 return tp; in abbr_search()
728 *dst = tp->type; in timelib_lookup_abbr()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_out.c1029 struct timeval tp; in phpdbg_process_print() local
1030 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
1031 …msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msgle… in phpdbg_process_print()
1272 struct timeval tp; in phpdbg_rlog_internal() local
1275 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_rlog_internal()
1278 const time_t tt = tp.tv_sec; in phpdbg_rlog_internal()
1285 phpdbg_asprintf(&buffer, friendly, tp.tv_usec/1000); in phpdbg_rlog_internal()
/PHP-7.4/ext/oci8/tests/
H A Ddetails.inc39 $type_name = strtoupper("tp".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5));
/PHP-7.4/main/
H A DSAPI.c1090 struct timeval tp = {0}; in sapi_get_request_time() local
1091 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
1092 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00); in sapi_get_request_time()
/PHP-7.4/ext/date/
H A Dphp_date.c2686 struct timeval tp = {0}; /* For setting microseconds */ in php_date_get_current_time_with_fraction() local
2688 gettimeofday(&tp, NULL); in php_date_get_current_time_with_fraction()
2689 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
2690 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction()
/PHP-7.4/ext/imap/
H A Dphp_imap.c3947 PARAMETER *tp = custom_headers_param; in PHP_FUNCTION() local
3962 mail_free_body_parameter(&tp); in PHP_FUNCTION()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1318 cdf_timestamp_t tp;

Completed in 121 milliseconds