/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_statistics.c | 222 (*stats)->in_trigger = FALSE; in mysqlnd_stats_init() 241 pefree(stats, persistent); in mysqlnd_stats_end() 252 if (stats) { in mysqlnd_stats_set_trigger() 253 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_set_trigger() 256 MYSQLND_STATS_UNLOCK(stats); in mysqlnd_stats_set_trigger() 269 if (stats) { in mysqlnd_stats_reset_triggers() 270 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_reset_triggers() 271 memset(stats->triggers, 0, stats->count * sizeof(mysqlnd_stat_trigger)); in mysqlnd_stats_reset_triggers() 285 MYSQLND_STATS stats; in _mysqlnd_get_client_stats() local 288 memset(&stats, 0, sizeof(stats)); in _mysqlnd_get_client_stats() [all …]
|
H A D | mysqlnd_statistics.h | 24 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument 25 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument 27 #define MYSQLND_STATS_LOCK(stats) argument 28 #define MYSQLND_STATS_UNLOCK(stats) argument 48 MYSQLND_STATS_LOCK(stats); \ 49 (stats)->values[(statistic)] += (value); \ 57 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 66 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 75 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 84 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ [all …]
|
H A D | mysqlnd_protocol_frame_codec.h | 23 …ASS_METHODS_TYPE(mysqlnd_object_factory) *object_factory, MYSQLND_STATS * stats, MYSQLND_ERROR_INF… 24 PHPAPI void mysqlnd_pfc_free(MYSQLND_PFC * const pfc, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * e…
|
H A D | mysqlnd_vio.h | 23 …ASS_METHODS_TYPE(mysqlnd_object_factory) *object_factory, MYSQLND_STATS * stats, MYSQLND_ERROR_INF… 24 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 499 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_write() local 649 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_response_read() local 772 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_change_auth_response_write() local 813 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_ok_read() local 908 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_eof_read() local 976 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_cmd_write() local 1044 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_header_read() local 1186 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_field_read() local 1744 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rowp_read() local [all …]
|
H A D | mysqlnd_driver.c | 141 mysqlnd_stats_init(&data->stats, STAT_LAST, persistent); in MYSQLND_METHOD() 143 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 144 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 246 MYSQLND_METHOD(mysqlnd_object_factory, get_pfc)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD() 259 if (PASS != pfc->data->m.init(pfc, stats, error_info)) { in MYSQLND_METHOD() 260 pfc->data->m.dtor(pfc, stats, error_info); in MYSQLND_METHOD() 271 MYSQLND_METHOD(mysqlnd_object_factory, get_vio)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD() 284 if (PASS != vio->data->m.init(vio, stats, error_info)) { in MYSQLND_METHOD() 285 vio->data->m.dtor(vio, stats, error_info); in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 45 conn->stats, in MYSQLND_METHOD() 71 conn->stats, in MYSQLND_METHOD() 98 conn->stats, in MYSQLND_METHOD() 143 conn->stats, in MYSQLND_METHOD() 174 conn->stats, in MYSQLND_METHOD() 211 conn->stats, in MYSQLND_METHOD() 251 conn->stats, in MYSQLND_METHOD() 280 conn->stats, in MYSQLND_METHOD() 306 conn->stats, in MYSQLND_METHOD() 328 conn->stats, in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_loaddata.c | 162 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 182 ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info); in mysqlnd_handle_local_infile() 188 if ((ret = net->data->m.send(net, vio, buf, bufsize, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile() 196 if ((ret = net->data->m.send(net, vio, empty_packet, 0, conn->stats, conn->error_info)) == 0) { in mysqlnd_handle_local_infile()
|
/PHP-7.4/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-7.4/ext/standard/tests/file/ |
H A D | stat_variation3-win32.phpt | 17 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */ 39 // compare self stats 42 // compare the stats 51 // comparing stats after the deletion of subdir and file 52 echo "-- Testing stat() for comparing stats after the deletion of subdir and file --\n"; 54 // compare self stats 56 // compare the stats 73 -- Testing stat() for comparing stats after the deletion of subdir and file --
|
H A D | lstat_stat_variation2.phpt | 12 /* test the effects of rename() on stats of dir */ 29 // compare self stats 33 // compare the two stats - all except ctime
|
H A D | lstat_stat_variation7.phpt | 15 /* test the effects on stats with writing data into a file */ 30 // compare self stats 33 // compare the stats
|
H A D | stat_variation1-win32-mb.phpt | 17 /* test the effects of rename() on stats of dir/file */ 46 // compare the two stats 61 // compare self stats 65 // compare the two stats
|
H A D | stat_variation1-win32.phpt | 17 /* test the effects of rename() on stats of dir/file */ 46 // compare the two stats 61 // compare self stats 65 // compare the two stats
|
H A D | stat_variation2-win32.phpt | 17 /* test the effects of writing to a file on the stats of the file */ 41 // compare self stats 44 // compare the stats
|
H A D | lstat_stat_variation3.phpt | 19 /* test the effects of rename() on stats of link */ 40 // compare self stats 44 // compare the two stats - all except ctime
|
H A D | stat_basic-win32-mb.phpt | 54 // creating file, also dump the value of stats 55 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n"; 56 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 77 *** Testing stat(): comparing stats (recorded before and after file creation) *** 78 -- comparing difference in dir stats before and after creating file in it --
|
H A D | stat_basic-win32.phpt | 54 // creating file, also dump the value of stats 55 echo "*** Testing stat(): comparing stats (recorded before and after file creation) ***\n"; 56 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 77 *** Testing stat(): comparing stats (recorded before and after file creation) *** 78 -- comparing difference in dir stats before and after creating file in it --
|
H A D | stat_variation4-win32.phpt | 17 /* test the effects on the stats of dir/file for using is_dir() & is_file() on dir/file */ 43 // compare self stats 61 // compare self stats
|
H A D | stat_variation6-win32.phpt | 17 /* test the effects on the stats of dir/file for changing permissions of dir/file */ 41 // compare self stats 58 // compare self stats
|
H A D | lstat_stat_basic.phpt | 70 // creating files and link, also dump the value of stats 71 echo "*** Testing stat() and lstat() : comparing stats (recorded before and after file/link creatio… 72 echo "-- comparing difference in dir stats before and after creating file in it --\n"; 76 echo "-- comparing difference in file stats before and after creating link to it --\n"; 96 *** Testing stat() and lstat() : comparing stats (recorded before and after file/link creation) *** 97 -- comparing difference in dir stats before and after creating file in it -- 207 -- comparing difference in file stats before and after creating link to it --
|
H A D | lstat_stat_variation17.phpt | 19 /* test the effects on stats by changing permissions of a dir */ 35 // compare self stats
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | 004.phpt | 5 function stats($f, $a) { 22 stats('shuffle', $a); 32 stats('str_shuffle', $a);
|
/PHP-7.4/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']);
|