Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 50) sorted by relevance

12

/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_statistics.c236 memset(&stats, 0, sizeof(stats)); in _mysqlnd_get_client_stats()
237 stats_ptr = &stats; in _mysqlnd_get_client_stats()
250 if (*stats == NULL) { in mysqlnd_stats_init()
272 free(stats->triggers); in mysqlnd_stats_end()
273 free(stats->values); in mysqlnd_stats_end()
275 free(stats); in mysqlnd_stats_end()
286 if (stats) { in mysqlnd_stats_set_trigger()
287 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_set_trigger()
303 if (stats) { in mysqlnd_stats_reset_triggers()
304 MYSQLND_STATS_LOCK(stats); in mysqlnd_stats_reset_triggers()
[all …]
H A Dmysqlnd_statistics.h38 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument
39 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument
41 #define MYSQLND_STATS_LOCK(stats) argument
42 #define MYSQLND_STATS_UNLOCK(stats) argument
62 MYSQLND_STATS_LOCK(stats); \
63 (stats)->values[(statistic)] += (value); \
71 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
80 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
89 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
98 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
[all …]
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_get_client_stats_ps.phpt20 $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 Dmysqli_get_client_stats_implicit_free.phpt20 $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.3/ext/standard/tests/file/
H A Dstat_variation3-win32.phpt17 /* 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 Dlstat_stat_variation9.phpt21 /* 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 Dstat_variation1-win32.phpt17 /* 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 Dlstat_stat_variation7.phpt21 /* test the effects on stats with writing data into a file */
35 // compare self stats
38 // compare the stats
H A Dstat_variation2-win32.phpt17 /* test the effects of writing to a file on the stats of the file */
41 // compare self stats
44 // compare the stats
H A Dlstat_stat_variation2.phpt18 /* test the effects of rename() on stats of dir */
35 // compare self stats
39 // compare the two stats - all except ctime
H A Dlstat_stat_variation8.phpt22 /* test the effects on stats with creating file/subdir in a dir
39 // compare self stats
42 // compare the stats
H A Dlstat_stat_variation3.phpt18 /* test the effects of rename() on stats of link */
39 // compare self stats
43 // compare the two stats - all except ctime
H A Dstat_basic-win32.phpt54 // 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 Dlstat_stat_basic.phpt70 // 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 Dstat_variation4-win32.phpt17 /* 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 Dstat_variation6-win32.phpt17 /* 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 Dlstat_stat_variation10.phpt19 /* test the effects of is_dir() on stats of a dir */
38 // compare self stats
H A Dlstat_stat_variation17.phpt19 /* test the effects on stats by changing permissions of a dir */
35 // compare self stats
H A Dcopy_variation18.phpt40 echo "Comparing the stats of file before and after copy operation => ";
55 Comparing the stats of file before and after copy operation => bool(true)
H A Dlstat_stat_variation1.phpt18 /* test the effects of rename() on stats of file */
41 // compare the two stats
H A Dlstat_stat_variation11.phpt22 /* test the effects of is_file() on stats of a file */
37 // compare self stats
/PHP-5.3/ext/standard/tests/strings/
H A D004.phpt5 function stats($f, $a) {
22 stats('shuffle', $a);
32 stats('str_shuffle', $a);
/PHP-5.3/tests/output/
H A Dbug63377.phpt42 $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.3/Zend/tests/
H A Dbug55509.phpt42 $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.3/ext/mbstring/oniguruma/
H A Dregint.h372 #define BIT_STATUS_CLEAR(stats) (stats) = 0 argument
373 #define BIT_STATUS_ON_ALL(stats) (stats) = ~((BitStatusType )0) argument
374 #define BIT_STATUS_AT(stats,n) \ argument
375 ((n) < BIT_STATUS_BITS_NUM ? ((stats) & (1 << n)) : ((stats) & 1))
377 #define BIT_STATUS_ON_AT(stats,n) do {\ argument
379 (stats) |= (1 << (n));\
381 (stats) |= 1;\
384 #define BIT_STATUS_ON_AT_SIMPLE(stats,n) do {\ argument
386 (stats) |= (1 << (n));\

Completed in 54 milliseconds

12