Home
last modified time | relevance | path

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

12

/PHP-7.0/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 boolean, array given in %s on line %d
148 Warning: gettimeofday() expects parameter 1 to be boolean, array given in %s on line %d
153 Warning: gettimeofday() expects parameter 1 to be boolean, array given in %s on line %d
158 Warning: gettimeofday() expects parameter 1 to be boolean, array given in %s on line %d
253 Warning: gettimeofday() expects parameter 1 to be boolean, 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.0/sapi/fpm/fpm/
H A Dfpm_clock.c49 return gettimeofday(tv, 0); in fpm_clock_get()
117 return gettimeofday(tv, 0); in fpm_clock_get()
H A Dfpm_php_trace.c54 gettimeofday(&tv, 0); in fpm_php_trace_dump()
H A Dzlog.c142 gettimeofday(&tv, 0); in vzlog()
/PHP-7.0/ext/standard/
H A Dlcg.c80 if (gettimeofday(&tv, NULL) == 0) { in lcg_seed()
92 if (gettimeofday(&tv, NULL) == 0) { in lcg_seed()
H A Dmicrotime.h26 PHP_FUNCTION(gettimeofday);
H A Dmicrotime.c63 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
102 PHP_FUNCTION(gettimeofday) in PHP_FUNCTION() argument
H A Duniqid.c72 gettimeofday((struct timeval *) &tv, (struct timezone *) NULL); in PHP_FUNCTION()
/PHP-7.0/win32/
H A Dtime.h45 PHPAPI extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info);
H A Dtime.c85 PHPAPI int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) in gettimeofday() function
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_debug.h84 #define DBG_PROFILE_START_TIME() gettimeofday(&__dbg_prof_tp, NULL); __dbg_prof_start = DBG_PROFIL…
85 #define DBG_PROFILE_END_TIME(duration) gettimeofday(&__dbg_prof_tp, NULL); (duration) = (DBG_PROFIL…
H A Dmysqlnd_debug.c96 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
193 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
/PHP-7.0/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.0/Zend/
H A Dmicro_bench.php243 $t = gettimeofday();
H A Dbench.php350 $t = gettimeofday();
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c1055 gettimeofday(&now, NULL); in limit_handshake_reneg()
1836 gettimeofday(&start_time, NULL); in php_openssl_enable_crypto()
1850 gettimeofday(&cur_time, NULL); in php_openssl_enable_crypto()
1988 gettimeofday(&start_time, NULL); in php_openssl_sockop_io()
1997 gettimeofday(&cur_time, NULL); in php_openssl_sockop_io()
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c1328 gettimeofday( &tv_req_begin, NULL ); in main()
1332 gettimeofday( &tv_req_end, NULL ); in main()
/PHP-7.0/main/
H A Dnetwork.c804 gettimeofday(&limit_time, NULL);
918 gettimeofday(&time_now, NULL);
H A DSAPI.c1087 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_out.c1052 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
1296 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_rlog_internal()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c2102 gettimeofday(&start, NULL);
2515 gettimeofday(&start, NULL);
2571 gettimeofday(&end, NULL);
/PHP-7.0/ext/session/
H A Dsession.c317 gettimeofday(&tv, NULL); in php_session_create_id()
1273 gettimeofday(&tv, NULL);
1436 gettimeofday(&tv, NULL);
2919 gettimeofday(&tv, NULL);

Completed in 76 milliseconds

12