/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd_statistics.c | 223 memset(&stats, 0, sizeof(stats)); in _mysqlnd_get_client_stats() 224 stats_ptr = &stats; in _mysqlnd_get_client_stats() 237 if (*stats == NULL) { in mysqlnd_stats_init() 258 free(stats->triggers); in mysqlnd_stats_end() 259 free(stats->values); in mysqlnd_stats_end() 261 free(stats); in mysqlnd_stats_end() 272 if (stats) { in mysqlnd_stats_set_trigger() 273 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_set_trigger() 289 if (stats) { in mysqlnd_stats_reset_triggers() 290 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_reset_triggers() [all …]
|
H A D | mysqlnd_statistics.h | 32 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument 33 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument 35 #define MYSQLND_STATS_LOCK(stats) argument 36 #define MYSQLND_STATS_UNLOCK(stats) argument 56 MYSQLND_STATS_LOCK(stats); \ 57 (stats)->values[(statistic)] += (value); \ 65 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 74 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 83 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ 92 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \ [all …]
|
H A D | mysqlnd_net.h | 26 PHPAPI MYSQLND_NET * mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_IN… 27 PHPAPI void mysqlnd_net_free(MYSQLND_NET * const net, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * e…
|
H A D | mysqlnd_loaddata.c | 175 ret = net->data->m.send_ex(net, empty_packet, 0, conn->stats, conn->error_info TSRMLS_CC); in mysqlnd_handle_local_infile() 195 ret = net->data->m.send_ex(net, empty_packet, 0, conn->stats, conn->error_info TSRMLS_CC); in mysqlnd_handle_local_infile() 201 …if ((ret = net->data->m.send_ex(net, buf, bufsize, conn->stats, conn->error_info TSRMLS_CC)) == 0)… in mysqlnd_handle_local_infile() 209 …if ((ret = net->data->m.send_ex(net, empty_packet, 0, conn->stats, conn->error_info TSRMLS_CC)) ==… in mysqlnd_handle_local_infile()
|
/PHP-5.6/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-5.6/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 75 -- Testing stat() for comparing stats after the deletion of subdir and file --
|
H A D | lstat_stat_variation9.phpt | 21 /* test the effects on stats by deleting file/subdir from a dir 24 echo "*** Testing stat() for comparing stats after the deletion of subdir and file ***\n"; 43 // comparing stats after the deletion of subdir and file 45 // compare self stats 49 // compare the stats 63 *** Testing stat() for comparing stats after the deletion of subdir and file ***
|
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 | lstat_stat_variation2.phpt | 18 /* test the effects of rename() on stats of dir */ 35 // compare self stats 39 // compare the two stats - all except ctime
|
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_variation7.phpt | 21 /* test the effects on stats with writing data into a file */ 35 // compare self stats 38 // compare the stats
|
H A D | lstat_stat_variation3.phpt | 18 /* test the effects of rename() on stats of link */ 39 // compare self stats 43 // compare the two stats - all except ctime
|
H A D | lstat_stat_variation8.phpt | 22 /* test the effects on stats with creating file/subdir in a dir 39 // compare self stats 42 // compare the stats
|
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 | 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 | 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_variation10.phpt | 19 /* test the effects of is_dir() on stats of a dir */ 38 // compare self stats
|
H A D | lstat_stat_variation17.phpt | 19 /* test the effects on stats by changing permissions of a dir */ 35 // compare self stats
|
H A D | copy_variation18.phpt | 40 echo "Comparing the stats of file before and after copy operation => "; 55 Comparing the stats of file before and after copy operation => bool(true)
|
/PHP-5.6/sapi/phpdbg/tests/ |
H A D | run-tests.php | 190 if (!isset($this->stats[$path])) { 194 $total = array_sum($this->stats[$path]); 200 $stats = @sprintf( 202 $this->stats[$path][true], 203 $this->stats[$path][false], 204 (100 / $total) * $this->stats[$path][true]); 210 $stats, PHP_EOL); 222 $stats = @sprintf( 230 ' ', $this->config['width'] - strlen($stats)), 231 $stats, PHP_EOL); [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | 004.phpt | 5 function stats($f, $a) { 22 stats('shuffle', $a); 32 stats('str_shuffle', $a);
|
/PHP-5.6/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']);
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | regint.h | 262 #define BIT_STATUS_CLEAR(stats) (stats) = 0 argument 263 #define BIT_STATUS_ON_ALL(stats) (stats) = ~((BitStatusType )0) argument 264 #define BIT_STATUS_AT(stats,n) \ argument 265 ((n) < (int )BIT_STATUS_BITS_NUM ? ((stats) & (1 << n)) : ((stats) & 1)) 267 #define BIT_STATUS_ON_AT(stats,n) do {\ argument 269 (stats) |= (1 << (n));\ 271 (stats) |= 1;\ 274 #define BIT_STATUS_ON_AT_SIMPLE(stats,n) do {\ argument 276 (stats) |= (1 << (n));\
|