/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_statistics.c | 220 (*stats)->in_trigger = FALSE; in mysqlnd_stats_init() 239 pefree(stats, persistent); in mysqlnd_stats_end() 250 if (stats) { in mysqlnd_stats_set_trigger() 251 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_set_trigger() 254 MYSQLND_STATS_UNLOCK(stats); in mysqlnd_stats_set_trigger() 267 if (stats) { in mysqlnd_stats_reset_triggers() 268 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_reset_triggers() 269 memset(stats->triggers, 0, stats->count * sizeof(mysqlnd_stat_trigger)); in mysqlnd_stats_reset_triggers() 283 MYSQLND_STATS stats; in _mysqlnd_get_client_stats() local 286 memset(&stats, 0, sizeof(stats)); in _mysqlnd_get_client_stats() [all …]
|
H A D | mysqlnd_statistics.h | 22 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument 23 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument 25 #define MYSQLND_STATS_LOCK(stats) argument 26 #define MYSQLND_STATS_UNLOCK(stats) argument 46 MYSQLND_STATS_LOCK(stats); \ 47 (stats)->values[(statistic)] += (value); \ 55 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 64 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 73 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 82 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ [all …]
|
H A D | mysqlnd_vio.h | 21 …ASS_METHODS_TYPE(mysqlnd_object_factory) *object_factory, MYSQLND_STATS * stats, MYSQLND_ERROR_INF… 22 PHPAPI void mysqlnd_vio_free(MYSQLND_VIO * const vio, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * e…
|
H A D | mysqlnd_protocol_frame_codec.h | 21 …ASS_METHODS_TYPE(mysqlnd_object_factory) *object_factory, MYSQLND_STATS * stats, MYSQLND_ERROR_INF… 22 PHPAPI void mysqlnd_pfc_free(MYSQLND_PFC * const pfc, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * e…
|
H A D | mysqlnd_wireprotocol.c | 334 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_greet_read() local 505 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_write() local 655 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_response_read() local 778 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_change_auth_response_write() local 819 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_ok_read() local 914 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_eof_read() local 982 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_cmd_write() local 1041 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_header_read() local 1183 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_field_read() local 1729 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rowp_read() local [all …]
|
H A D | mysqlnd_driver.c | 139 mysqlnd_stats_init(&data->stats, STAT_LAST, persistent); in MYSQLND_METHOD() 141 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 142 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 244 MYSQLND_METHOD(mysqlnd_object_factory, get_pfc)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD() 257 if (PASS != pfc->data->m.init(pfc, stats, error_info)) { in MYSQLND_METHOD() 258 pfc->data->m.dtor(pfc, stats, error_info); in MYSQLND_METHOD() 269 MYSQLND_METHOD(mysqlnd_object_factory, get_vio)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD() 282 if (PASS != vio->data->m.init(vio, stats, error_info)) { in MYSQLND_METHOD() 283 vio->data->m.dtor(vio, stats, error_info); in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 43 conn->stats, in MYSQLND_METHOD() 69 conn->stats, in MYSQLND_METHOD() 96 conn->stats, in MYSQLND_METHOD() 141 conn->stats, in MYSQLND_METHOD() 172 conn->stats, in MYSQLND_METHOD() 209 conn->stats, in MYSQLND_METHOD() 249 conn->stats, in MYSQLND_METHOD() 278 conn->stats, in MYSQLND_METHOD() 304 conn->stats, in MYSQLND_METHOD() 326 conn->stats, in MYSQLND_METHOD() [all …]
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats_ps.phpt | 19 $stats = mysqli_get_client_stats(); 44 $stats['rows_fetched_from_client_ps_unbuffered'], 47 $stats['rows_fetched_from_client_ps_buffered'] += $num_rows; 48 …if ($after['rows_fetched_from_client_ps_buffered'] != $stats['rows_fetched_from_client_ps_buffered… 50 $stats['rows_fetched_from_client_ps_buffered'], 53 $stats = $after; 69 $stats['rows_fetched_from_client_ps_unbuffered'] += $num_rows; 72 $stats['rows_fetched_from_client_ps_unbuffered'], 75 …if ($after['rows_fetched_from_client_ps_buffered'] != $stats['rows_fetched_from_client_ps_buffered… 77 $stats['rows_fetched_from_client_ps_buffered'], [all …]
|
H A D | mysqli_get_client_stats_implicit_free.phpt | 19 $stats = mysqli_get_client_stats(); 20 printf("BEGINNING: implicit_free_result = %d\n", $stats['implicit_free_result']); 29 if ($after['implicit_free_result'] != $stats['implicit_free_result']) 31 $after['implicit_free_result'] - $stats['implicit_free_result']); 33 $stats = $after; 34 printf("END: implicit_free_result = %d\n", $stats['implicit_free_result']);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | stat_variation3-win32.phpt | 12 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */ 34 // compare self stats 37 // compare the stats 46 // comparing stats after the deletion of subdir and file 47 echo "-- Testing stat() for comparing stats after the deletion of subdir and file --\n"; 49 // compare self stats 51 // compare the stats 68 -- Testing stat() for comparing stats after the deletion of subdir and file --
|
H A D | lstat_stat_variation2.phpt | 5 /* test the effects of rename() on stats of dir */ 22 // compare self stats 26 // compare the two stats - all except ctime
|
H A D | lstat_stat_variation7.phpt | 8 /* test the effects on stats with writing data into a file */ 24 // compare self stats 27 // compare the stats
|
H A D | stat_variation1-win32-mb.phpt | 12 /* test the effects of rename() on stats of dir/file */ 41 // compare the two stats 56 // compare self stats 60 // compare the two stats
|
H A D | stat_variation1-win32.phpt | 12 /* test the effects of rename() on stats of dir/file */ 41 // compare the two stats 56 // compare self stats 60 // compare the two stats
|
H A D | lstat_stat_variation3.phpt | 12 /* test the effects of rename() on stats of link */ 33 // compare self stats 37 // compare the two stats - all except ctime
|
H A D | stat_variation2-win32.phpt | 12 /* test the effects of writing to a file on the stats of the file */ 36 // compare self stats 39 // compare the stats
|
H A D | stat_basic-win32-mb.phpt | 49 // creating file, also dump the value of stats 50 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n"; 51 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 72 *** Testing stat(): comparing stats (recorded before and after file creation) *** 73 -- comparing difference in dir stats before and after creating file in it --
|
H A D | stat_basic-win32.phpt | 49 // creating file, also dump the value of stats 50 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n"; 51 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 72 *** Testing stat(): comparing stats (recorded before and after file creation) *** 73 -- comparing difference in dir stats before and after creating file in it --
|
H A D | lstat_stat_basic.phpt | 63 // creating files and link, also dump the value of stats 64 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio… 65 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 69 echo "-- comparing difference in file stats before and after creating link to it --\n"; 89 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) *** 90 -- comparing difference in dir stats before and after creating file in it -- 200 -- comparing difference in file stats before and after creating link to it --
|
H A D | stat_variation4-win32.phpt | 12 /* test the effects on the stats of dir/file for using is_dir() & is_file() on dir/file */ 38 // compare self stats 56 // compare self stats
|
H A D | stat_variation6-win32.phpt | 12 /* test the effects on the stats of dir/file for changing permissions of dir/file */ 37 // compare self stats 54 // compare self stats
|
H A D | lstat_stat_variation1.phpt | 5 /* test the effects of rename() on stats of file */ 28 // compare the two stats
|
H A D | lstat_stat_variation11.phpt | 12 /* test the effects of is_file() on stats of a file */ 27 // compare self stats
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | 004.phpt | 5 function stats($f, $a) { 22 stats('shuffle', $a); 32 stats('str_shuffle', $a);
|
/PHP-8.0/Zend/tests/ |
H A D | bug55509.phpt | 42 $freeMemory = ($infos['vm.stats.vm.v_inactive_count']*$infos['hw.pagesize']) 43 +($infos['vm.stats.vm.v_cache_count']*$infos['hw.pagesize']) 44 +($infos['vm.stats.vm.v_free_count']*$infos['hw.pagesize']);
|