Home
last modified time | relevance | path

Searched refs:gettimeofday (Results 1 – 25 of 31) sorted by relevance

12

/PHP-7.3/ext/date/tests/
H A Dgettimeofday_basic.phpt2 Test gettimeofday() function : basic functionality
5 /* Prototype : array gettimeofday([bool get_as_float])
11 echo "*** Testing gettimeofday() : basic functionality ***\n";
18 // Calling gettimeofday() with all possible arguments
19 var_dump( gettimeofday($get_as_float) );
21 // Calling gettimeofday() with mandatory arguments
22 var_dump( gettimeofday() );
27 // Calling gettimeofday() with all possible arguments
28 var_dump( gettimeofday($get_as_float) );
33 *** Testing gettimeofday() : basic functionality ***
H A Dgettimeofday_error.phpt2 Test gettimeofday() function : error conditions
5 /* Prototype : array gettimeofday([bool get_as_float])
11 echo "*** Testing gettimeofday() : error conditions ***\n";
14 //Test gettimeofday with one more than the expected number of arguments
15 echo "\n-- Testing gettimeofday() function with more than expected no. of arguments --\n";
18 var_dump( gettimeofday($get_as_float, $extra_arg) );
23 *** Testing gettimeofday() : error conditions ***
25 -- Testing gettimeofday() function with more than expected no. of arguments --
27 Warning: gettimeofday() expects at most 1 parameter, 2 given in %s on line %d
H A Dgettimeofday_variation1.phpt2 Test gettimeofday() function : usage variation - Passing unexpected values to get_as_float argument
5 /* Prototype : array gettimeofday([bool get_as_float])
11 echo "*** Testing gettimeofday() : usage variation ***\n";
97 var_dump( gettimeofday($value) );
103 *** Testing gettimeofday() : usage variation ***
143 Warning: gettimeofday() expects parameter 1 to be bool, array given in %s on line %d
148 Warning: gettimeofday() expects parameter 1 to be bool, array given in %s on line %d
153 Warning: gettimeofday() expects parameter 1 to be bool, array given in %s on line %d
158 Warning: gettimeofday() expects parameter 1 to be bool, array given in %s on line %d
253 Warning: gettimeofday() expects parameter 1 to be bool, object given in %s on line %d
[all …]
H A Dbug35143.phpt2 Bug #35143 (gettimeofday() ignores current time zone)
8 var_dump(gettimeofday());
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_clock.c47 return gettimeofday(tv, 0); in fpm_clock_get()
115 return gettimeofday(tv, 0); in fpm_clock_get()
H A Dfpm_php_trace.c52 gettimeofday(&tv, 0); in fpm_php_trace_dump()
H A Dzlog.c172 gettimeofday(&tv, 0); in zlog_buf_prefix()
/PHP-7.3/ext/standard/
H A Dlcg.c78 if (gettimeofday(&tv, NULL) == 0) { in lcg_seed()
90 if (gettimeofday(&tv, NULL) == 0) { in lcg_seed()
H A Dmicrotime.h24 PHP_FUNCTION(gettimeofday);
H A Dmicrotime.c59 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
95 PHP_FUNCTION(gettimeofday) in PHP_FUNCTION() argument
H A Duniqid.c65 (void)gettimeofday((struct timeval *) &tv, (struct timezone *) NULL); in PHP_FUNCTION()
/PHP-7.3/win32/
H A Dtime.h47 PHPAPI extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info);
H A Dtime.c81 PHPAPI int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) in gettimeofday() function
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_debug.h91 #define DBG_PROFILE_START_TIME() gettimeofday(&__dbg_prof_tp, NULL); __dbg_prof_start = DBG_PROFIL…
92 #define DBG_PROFILE_END_TIME(duration) gettimeofday(&__dbg_prof_tp, NULL); (duration) = (DBG_PROFIL…
H A Dmysqlnd_debug.c95 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
192 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_control_string.phpt69 // T - gettimeofday() system call, system dependent format
73 …d be that the test is borked and does not recognize the format of the gettimeofday() system call. …
/PHP-7.3/ext/openssl/
H A Dxp_ssl.c1100 gettimeofday(&now, NULL); in php_openssl_limit_handshake_reneg()
1918 gettimeofday(&start_time, NULL); in php_openssl_enable_crypto()
1932 gettimeofday(&cur_time, NULL); in php_openssl_enable_crypto()
2070 gettimeofday(&start_time, NULL); in php_openssl_sockop_io()
2079 gettimeofday(&cur_time, NULL); in php_openssl_sockop_io()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_out.c1051 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
1295 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_rlog_internal()
/PHP-7.3/main/
H A Dnetwork.c806 gettimeofday(&limit_time, NULL);
932 gettimeofday(&time_now, NULL);
H A DSAPI.c1095 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
/PHP-7.3/sapi/litespeed/
H A Dlsapi_main.c1602 gettimeofday( &tv_req_begin, NULL ); in main()
1606 gettimeofday( &tv_req_end, NULL ); in main()
H A Dlsapilib.c250 gettimeofday(&tv, NULL); in LSAPI_Log()
1357 gettimeofday( &tv, NULL ); in init_conn_key()
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c2283 gettimeofday(&start, NULL);
2698 gettimeofday(&start, NULL);
2757 gettimeofday(&end, NULL);
/PHP-7.3/ext/session/
H A Dsession.c1167 gettimeofday(&tv, NULL); in CACHE_LIMITER_FUNC()
1332 gettimeofday(&tv, NULL); in php_session_send_cookie()
3119 gettimeofday(&tv, NULL); in php_session_rfc1867_update()
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c257 gettimeofday(&tv, NULL); in php_cli_server_get_system_time()
355 if (!gettimeofday(&tv, NULL)) { in append_essential_headers()

Completed in 104 milliseconds

12