Searched defs:stats (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php190 if (!isset($this->stats[$path])) {
194 $total = array_sum($this->stats[$path]);
197 @$this->totals[true] += $this->stats[$path][true];
198 @$this->totals[false] += $this->stats[$path][false];
200 $stats = @sprintf( variable
202 $this->stats[$path][true],
203 $this->stats[$path][false],
204 (100 / $total) * $this->stats[$path][true]);
209 ' ', $this->config['width'] - strlen($stats)),
210 $stats, PHP_EO
222 $stats = @sprintf( variable
552 protected $stats; variable
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c67 MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC)
88 MYSQLND_INC_CONN_STATISTIC_W_VALUE(stats, STAT_BYTES_RECEIVED, count - to_read);
98 MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC)
1014 MYSQLND_METHOD(mysqlnd_net, close_stream)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC)
1044 MYSQLND_METHOD(mysqlnd_net, init)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC)
1065 MYSQLND_METHOD(mysqlnd_net, dtor)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC)
1070 net->data->m.close_stream(net, stats, error_info TSRMLS_CC);
1149 mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC)
1153 net = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_io_channel(persistent, stats, error_info TSRMLS_CC);
1161 mysqlnd_net_free(MYSQLND_NET * const net, MYSQLND_STATS * stats, MYSQLND_ERROR_INF argument
[all...]
H A Dmysqlnd_statistics.c200 mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING * names, zval *return_value TSRMLS_DC ZEND_FILE_LINE_DC) argument
204 array_init_size(return_value, stats->count);
205 for (i = 0; i < stats->count; i++) {
208 sprintf((char *)&tmp, MYSQLND_LLU_SPEC, stats->values[i]);
219 MYSQLND_STATS stats, *stats_ptr = mysqlnd_global_stats; local
222 memset(&stats, 0, sizeof(stats));
223 stats_ptr = &stats;
233 mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count) argument
235 *stats
252 mysqlnd_stats_end(MYSQLND_STATS * stats) argument
267 mysqlnd_stats_set_trigger(MYSQLND_STATS * const stats, enum_mysqlnd_collected_stats statistic, mysqlnd_stat_trigger trigger TSRMLS_DC) argument
[all...]
H A Dmysqlnd_structs.h255 typedef void (*mysqlnd_stat_trigger)(MYSQLND_STATS * stats, enum_mysqlnd_collected_stats stat, int64_t change TSRMLS_DC);
289 typedef enum_func_status (*func_mysqlnd_net__network_read_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC);
290 typedef size_t (*func_mysqlnd_net__network_write_ex)(MYSQLND_NET * const net, const zend_uchar * const buf, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC);
293 typedef enum_func_status (*func_mysqlnd_net__init)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info TSRMLS_DC);
401 typedef MYSQLND_NET * (*func_mysqlnd_object_factory__get_io_channel)(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info TSRMLS_DC);
622 zend_bool as_int_or_float, MYSQLND_STATS * stats TSRMLS_DC);
709 MYSQLND_STATS * stats, zend_bool int_and_float_native TSRMLS_DC);
966 /* stats */
967 MYSQLND_STATS * stats; member in struct:st_mysqlnd_connection_data

Completed in 11 milliseconds