Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Dmicrotime.c54 struct timeval tp = {0}; in _php_gettimeofday() local
61 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
66 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC)); in _php_gettimeofday()
72 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info()); in _php_gettimeofday()
75 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
76 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
85 snprintf(ret, 100, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, tp.tv_sec); in _php_gettimeofday()
H A Ddns.c628 tp++; in php_parserr()
630 tp += sprintf((char*)tp,"%x",s); in php_parserr()
636 tp++; in php_parserr()
639 tp++; in php_parserr()
641 tp++; in php_parserr()
647 tp++; in php_parserr()
665 tp++; in php_parserr()
673 tp++; in php_parserr()
681 tp++; in php_parserr()
700 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.c4738 tp = tbuf;
4782 *(tp++) = c;
4800 *(tp++) = c;
4830 *tp='\0';
4835 tp = tbuf;
4842 tp = tbuf;
4848 tp = tbuf;
4854 tp = tbuf;
4883 *(tp++) = c;
4908 *(tp++) = c;
[all …]
/PHP-7.2/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.2/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.2/ext/fileinfo/libmagic/
H A Dreadcdf.c139 cdf_timestamp_t tp; in cdf_file_property_info() local
216 tp = info[i].pi_tp; in cdf_file_property_info()
217 if (tp != 0) { in cdf_file_property_info()
219 if (tp < 1000000000000000LL) { in cdf_file_property_info()
221 sizeof(tbuf), tp); in cdf_file_property_info()
228 if (cdf_timestamp_to_timespec(&ts, tp) == -1) { in cdf_file_property_info()
H A Dcdf.c1447 cdf_timestamp_t tp; in cdf_dump_property_info() local
1491 tp = info[i].pi_tp; in cdf_dump_property_info()
1492 if (tp < 1000000000000000LL) { in cdf_dump_property_info()
1493 cdf_print_elapsed_time(buf, sizeof(buf), tp); in cdf_dump_property_info()
1497 cdf_timestamp_to_timespec(&ts, tp); in cdf_dump_property_info()
/PHP-7.2/ext/date/lib/
H A Dparse_date.re549 for (tp = timelib_reltext_lookup; tp->name; tp++) {
551 value = tp->value;
582 for (tp = timelib_month_lookup; tp->name; tp++) {
584 value = tp->value;
629 for (tp = timelib_relunit_lookup; tp->name; tp++) {
631 value = tp;
683 for (tp = timelib_timezone_lookup; tp->name; tp++) {
689 return tp;
693 return tp;
727 *dst = tp->type;
[all …]
H A Dparse_date.c551 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
553 value = tp->value; in timelib_lookup_relative_text()
584 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
586 value = tp->value; in timelib_lookup_month()
631 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
633 value = tp; in timelib_lookup_relunit()
685 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
691 return tp; in abbr_search()
695 return tp; in abbr_search()
729 *dst = tp->type; in timelib_lookup_abbr()
[all …]
/PHP-7.2/ext/sockets/
H A Dconfig.m426 ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n],[],
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_out.c1050 struct timeval tp; in phpdbg_process_print() local
1051 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
1052 …msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msgle… in phpdbg_process_print()
1292 struct timeval tp; in phpdbg_rlog_internal() local
1295 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_rlog_internal()
1298 const time_t tt = tp.tv_sec; in phpdbg_rlog_internal()
1305 phpdbg_asprintf(&buffer, friendly, tp.tv_usec/1000); in phpdbg_rlog_internal()
/PHP-7.2/ext/oci8/tests/
H A Ddetails.inc39 $type_name = strtoupper("tp".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5));
/PHP-7.2/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.2/ext/fileinfo/
H A Dlibmagic.patch1059 cdf_timestamp_t tp;
3179 cdf_timestamp_t tp;
3196 - cdf_timestamp_to_timespec(&ts, tp);
3199 + if (cdf_timestamp_to_timespec(&ts, tp) == -1) {
/PHP-7.2/ext/date/
H A Dphp_date.c2654 struct timeval tp = {0}; /* For setting microseconds */ in php_date_get_current_time_with_fraction() local
2656 gettimeofday(&tp, NULL); in php_date_get_current_time_with_fraction()
2657 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
2658 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction()
/PHP-7.2/ext/imap/
H A Dphp_imap.c3842 PARAMETER *tp = custom_headers_param; in PHP_FUNCTION() local
3857 mail_free_body_parameter(&tp); in PHP_FUNCTION()

Completed in 114 milliseconds