Home
last modified time | relevance | path

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

12

/PHP-5.5/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-5.5/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.c53 gettimeofday(&tv, 0); in fpm_php_trace_dump()
H A Dzlog.c141 gettimeofday(&tv, 0); in zlog_ex()
/PHP-5.5/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.c62 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
101 PHP_FUNCTION(gettimeofday) in PHP_FUNCTION() argument
H A Duniqid.c71 gettimeofday((struct timeval *) &tv, (struct timezone *) NULL); in PHP_FUNCTION()
/PHP-5.5/win32/
H A Dtime.h45 PHPAPI extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info);
H A Dtime.c80 PHPAPI int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) in gettimeofday() function
/PHP-5.5/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.c106 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
204 if (gettimeofday(&tv, NULL) != -1) { in MYSQLND_METHOD()
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c219 gettimeofday(&start_time, NULL); in php_openssl_sockop_io()
228 gettimeofday(&cur_time, NULL); in php_openssl_sockop_io()
604 gettimeofday(&start_time, NULL); in php_openssl_enable_crypto()
618 gettimeofday(&cur_time, NULL); in php_openssl_enable_crypto()
/PHP-5.5/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-5.5/Zend/
H A Dmicro_bench.php243 $t = gettimeofday();
H A Dbench.php350 $t = gettimeofday();
/PHP-5.5/main/
H A Dnetwork.c792 gettimeofday(&limit_time, NULL);
897 gettimeofday(&time_now, NULL);
H A DSAPI.c1078 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c1116 gettimeofday( &tv_req_begin, NULL ); in main()
1120 gettimeofday( &tv_req_end, NULL ); in main()
/PHP-5.5/ext/session/
H A Dsession.c303 gettimeofday(&tv, NULL); in php_session_create_id()
1202 gettimeofday(&tv, NULL);
1371 gettimeofday(&tv, NULL);
2585 gettimeofday(&tv, NULL);
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c2106 gettimeofday(&start, NULL);
2574 gettimeofday(&end, NULL);
/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch1627 (void) gettimeofday( &tv, (struct timezone*) 0 );
1637 (void) gettimeofday( &tv, (struct timezone*) 0 );

Completed in 70 milliseconds

12