/PHP-8.2/ext/mysqlnd/ |
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 31 MYSQLND_STATS_LOCK(stats); \ 32 (stats)->values[(statistic)] += (value); \ 39 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 48 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 57 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 66 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ [all …]
|
H A D | mysqlnd_statistics.c | 202 array_init_size(return_value, stats->count); in mysqlnd_fill_stats_hash() 203 for (i = 0; i < stats->count; i++) { in mysqlnd_fill_stats_hash() 206 sprintf((char *)&tmp, "%" PRIu64, stats->values[i]); in mysqlnd_fill_stats_hash() 219 (*stats)->count = statistic_count; in mysqlnd_stats_init() 221 (*stats)->LOCK_access = tsrm_mutex_alloc(); in mysqlnd_stats_init() 232 tsrm_mutex_free(stats->LOCK_access); in mysqlnd_stats_end() 234 pefree(stats->values, persistent); in mysqlnd_stats_end() 236 pefree(stats, persistent); in mysqlnd_stats_end() 247 MYSQLND_STATS stats; in _mysqlnd_get_client_stats() local 250 memset(&stats, 0, sizeof(stats)); in _mysqlnd_get_client_stats() [all …]
|
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_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_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 1170 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_field_read() local 1675 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rowp_read() local [all …]
|
H A D | mysqlnd_driver.c | 136 mysqlnd_stats_init(&data->stats, STAT_LAST, persistent); in MYSQLND_METHOD() 138 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 139 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 220 MYSQLND_METHOD(mysqlnd_object_factory, get_pfc)(const bool persistent, MYSQLND_STATS * stats, MYSQL… in MYSQLND_METHOD() 233 pfc->data->m.init(pfc, stats, error_info); in MYSQLND_METHOD() 242 MYSQLND_METHOD(mysqlnd_object_factory, get_vio)(const bool persistent, MYSQLND_STATS * stats, MYSQL… in MYSQLND_METHOD() 255 vio->data->m.init(vio, stats, error_info); in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 44 conn->stats, in MYSQLND_METHOD() 70 conn->stats, in MYSQLND_METHOD() 97 conn->stats, in MYSQLND_METHOD() 133 conn->stats, in MYSQLND_METHOD() 164 conn->stats, in MYSQLND_METHOD() 201 conn->stats, in MYSQLND_METHOD() 241 conn->stats, in MYSQLND_METHOD() 270 conn->stats, in MYSQLND_METHOD() 296 conn->stats, in MYSQLND_METHOD() 318 conn->stats, in MYSQLND_METHOD() [all …]
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats_ps.phpt | 20 $stats = mysqli_get_client_stats(); 45 $stats['rows_fetched_from_client_ps_unbuffered'], 48 $stats['rows_fetched_from_client_ps_buffered'] += $num_rows; 49 …if ($after['rows_fetched_from_client_ps_buffered'] != $stats['rows_fetched_from_client_ps_buffered… 51 $stats['rows_fetched_from_client_ps_buffered'], 54 $stats = $after; 70 $stats['rows_fetched_from_client_ps_unbuffered'] += $num_rows; 73 $stats['rows_fetched_from_client_ps_unbuffered'], 76 …if ($after['rows_fetched_from_client_ps_buffered'] != $stats['rows_fetched_from_client_ps_buffered… 78 $stats['rows_fetched_from_client_ps_buffered'], [all …]
|
H A D | mysqli_get_client_stats_implicit_free.phpt | 20 $stats = mysqli_get_client_stats(); 21 printf("BEGINNING: implicit_free_result = %d\n", $stats['implicit_free_result']); 30 if ($after['implicit_free_result'] != $stats['implicit_free_result']) 32 $after['implicit_free_result'] - $stats['implicit_free_result']); 34 $stats = $after; 35 printf("END: implicit_free_result = %d\n", $stats['implicit_free_result']);
|
/PHP-8.2/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.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-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 | 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_variation14.phpt | 5 /* test the effects of is_link() on stats of hard link */ 25 // compare self stats
|
/PHP-8.2/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.2/Zend/tests/ |
H A D | bug55509.phpt | 45 $freeMemory = ($infos['vm.stats.vm.v_inactive_count']*$infos['hw.pagesize']) 46 +($infos['vm.stats.vm.v_cache_count']*$infos['hw.pagesize']) 47 +($infos['vm.stats.vm.v_free_count']*$infos['hw.pagesize']);
|