/PHP-7.0/ext/standard/ |
H A D | microtime.c | 57 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 D | dns.c | 621 tp++; in php_parserr() 623 tp += sprintf((char*)tp,"%x",s); in php_parserr() 629 tp++; in php_parserr() 632 tp++; in php_parserr() 634 tp++; in php_parserr() 640 tp++; in php_parserr() 658 tp++; in php_parserr() 666 tp++; in php_parserr() 674 tp++; in php_parserr() 693 tp += sprintf((char*)tp,"%x",s); in php_parserr() [all …]
|
H A D | dns_win32.c | 258 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 D | string.c | 4629 tp = tbuf; 4673 *(tp++) = c; 4691 *(tp++) = c; 4721 *tp='\0'; 4726 tp = tbuf; 4733 tp = tbuf; 4739 tp = tbuf; 4745 tp = tbuf; 4774 *(tp++) = c; 4799 *(tp++) = c; [all …]
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 83 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec) argument 87 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) argument
|
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 137 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 D | cdf.c | 804 cdf_timestamp_t tp; in cdf_read_property_info() local 976 (void)memcpy(&tp, &q[o4], sizeof(tp)); in cdf_read_property_info() 977 inp[i].pi_tp = CDF_TOLE8((uint64_t)tp); in cdf_read_property_info() 1324 cdf_timestamp_t tp; in cdf_dump_property_info() local 1368 tp = info[i].pi_tp; in cdf_dump_property_info() 1369 if (tp < 1000000000000000LL) { in cdf_dump_property_info() 1370 cdf_print_elapsed_time(buf, sizeof(buf), tp); in cdf_dump_property_info() 1374 cdf_timestamp_to_timespec(&ts, tp); in cdf_dump_property_info()
|
/PHP-7.0/ext/sockets/ |
H A D | config.m4 | 26 ], [static struct msghdr tp; int n = (int) tp.msg_flags; return n],[],
|
/PHP-7.0/ext/date/lib/ |
H A D | parse_date.re | 558 for (tp = timelib_reltext_lookup; tp->name; tp++) { 560 value = tp->value; 591 for (tp = timelib_month_lookup; tp->name; tp++) { 593 value = tp->value; 638 for (tp = timelib_relunit_lookup; tp->name; tp++) { 640 value = tp; 691 for (tp = timelib_timezone_lookup; tp->name; tp++) { 697 return tp; 701 return tp; 735 *dst = tp->type; [all …]
|
H A D | parse_date.c | 560 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text() 562 value = tp->value; in timelib_lookup_relative_text() 593 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month() 595 value = tp->value; in timelib_lookup_month() 640 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit() 642 value = tp; in timelib_lookup_relunit() 693 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search() 699 return tp; in abbr_search() 703 return tp; in abbr_search() 737 *dst = tp->type; in timelib_lookup_abbr() [all …]
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_out.c | 1051 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.0/ext/oci8/tests/ |
H A D | details.inc | 39 $type_name = strtoupper("tp".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5));
|
/PHP-7.0/main/ |
H A D | SAPI.c | 1086 struct timeval tp = {0}; in sapi_get_request_time() local 1087 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time() 1088 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00); in sapi_get_request_time()
|
/PHP-7.0/ext/fileinfo/ |
H A D | libmagic.patch | 1085 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.0/ext/imap/ |
H A D | php_imap.c | 3845 PARAMETER *tp = custom_headers_param; in PHP_FUNCTION() local 3860 mail_free_body_parameter(&tp); in PHP_FUNCTION()
|