Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_statistics.c222 (*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 Dmysqlnd_statistics.h24 #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 Dmysqlnd_wireprotocol.c335 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_greet_read() local
506 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_auth_write() local
668 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_auth_response_read() local
795 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_change_auth_response_write() local
843 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_ok_read() local
941 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_eof_read() local
1020 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_cmd_write() local
1100 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_rset_header_read() local
1246 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_rset_field_read() local
1827 MYSQLND_STATS * stats = packet->header.stats; in php_mysqlnd_rowp_read() local
[all …]
H A Dmysqlnd_protocol_frame_codec.h23 …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 Dmysqlnd_vio.h23 …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 Dmysqlnd_driver.c141 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()
248 MYSQLND_METHOD(mysqlnd_object_factory, get_pfc)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD()
262 if (PASS != pfc->data->m.init(pfc, stats, error_info)) { in MYSQLND_METHOD()
263 pfc->data->m.dtor(pfc, stats, error_info); in MYSQLND_METHOD()
283 MYSQLND_METHOD(mysqlnd_object_factory, get_vio)(const zend_bool persistent, MYSQLND_STATS * stats, … in MYSQLND_METHOD()
297 if (PASS != vio->data->m.init(vio, stats, error_info)) { in MYSQLND_METHOD()
298 vio->data->m.dtor(vio, stats, error_info); in MYSQLND_METHOD()
/PHP-7.2/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-7.2/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
73 -- 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
62 *** Testing stat() for comparing stats after the deletion of subdir and file ***
H A Dstat_variation1-win32-mb.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 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_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_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_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 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 Dstat_basic-win32-mb.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 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
/PHP-7.2/ext/standard/tests/strings/
H A D004.phpt5 function stats($f, $a) {
22 stats('shuffle', $a);
32 stats('str_shuffle', $a);
/PHP-7.2/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-7.2/ext/mbstring/oniguruma/src/
H A Dregint.h240 #define BIT_STATUS_CLEAR(stats) (stats) = 0 argument
241 #define BIT_STATUS_ON_ALL(stats) (stats) = ~((BitStatusType )0) argument
242 #define BIT_STATUS_AT(stats,n) \ argument
243 ((n) < (int )BIT_STATUS_BITS_NUM ? ((stats) & (1 << n)) : ((stats) & 1))
245 #define BIT_STATUS_ON_AT(stats,n) do {\ argument
247 (stats) |= (1 << (n));\
249 (stats) |= 1;\
252 #define BIT_STATUS_ON_AT_SIMPLE(stats,n) do {\ argument
254 (stats) |= (1 << (n));\

Completed in 66 milliseconds

123