Home
last modified time | relevance | path

Searched refs:dbg (Results 1 – 10 of 10) sorted by relevance

/PHP-7.2/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h42 #define PDO_DBG_INF(msg) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg
43 #define PDO_DBG_ERR(msg) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg
44 …G_INF_FMT(...) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg), __L…
45 …G_ERR_FMT(...) do { if (dbg_skip_trace == FALSE) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg), __L…
49 if (PDO_MYSQL_G(dbg)) \
50 …dbg_skip_trace = !PDO_MYSQL_G(dbg)->m->func_enter(PDO_MYSQL_G(dbg), __LINE__, __FILE__, func_name,…
52 …define PDO_DBG_RETURN(value) do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_…
53 #define PDO_DBG_VOID_RETURN do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_G…
78 MYSQLND_DEBUG *dbg; /* The DBG object */ variable
H A Dpdo_mysql.c182 MYSQLND_DEBUG *dbg = mysqlnd_debug_init(mysqlnd_debug_std_no_trace_funcs); in PHP_RINIT_FUNCTION() local
183 if (!dbg) { in PHP_RINIT_FUNCTION()
186 dbg->m->set_mode(dbg, PDO_MYSQL_G(debug)); in PHP_RINIT_FUNCTION()
187 PDO_MYSQL_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
198 MYSQLND_DEBUG *dbg = PDO_MYSQL_G(dbg); in PHP_RSHUTDOWN_FUNCTION() local
200 if (dbg) { in PHP_RSHUTDOWN_FUNCTION()
201 dbg->m->close(dbg); in PHP_RSHUTDOWN_FUNCTION()
202 dbg->m->free_handle(dbg); in PHP_RSHUTDOWN_FUNCTION()
203 PDO_MYSQL_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION()
223 pdo_mysql_globals->dbg = NULL; /* The DBG object*/ in PHP_GINIT_FUNCTION()
/PHP-7.2/ext/mysqlnd/
H A Dphp_mysqlnd.c185 mysqlnd_globals->dbg = NULL; /* The DBG object*/ in ZEND_DECLARE_MODULE_GLOBALS()
280 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION()
282 …MYSQLND_DEBUG * dbg = trace_log_plugin->methods.trace_instance_init(mysqlnd_debug_std_no_trace_fun… in PHP_RINIT_FUNCTION() local
284 if (!dbg || !trace_alloc) { in PHP_RINIT_FUNCTION()
287 dbg->m->set_mode(dbg, MYSQLND_G(debug)); in PHP_RINIT_FUNCTION()
289 MYSQLND_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
304 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in PHP_RSHUTDOWN_FUNCTION() local
307 if (dbg) { in PHP_RSHUTDOWN_FUNCTION()
308 dbg->m->close(dbg); in PHP_RSHUTDOWN_FUNCTION()
309 dbg->m->free_handle(dbg); in PHP_RSHUTDOWN_FUNCTION()
[all …]
H A Dmysqlnd_debug.h182 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg))
183 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg))
184 #define DBG_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
185 #define DBG_ERR_FMT(...) DBG_ERR_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
187 #define DBG_ENTER(func_name) DBG_ENTER_EX(MYSQLND_G(dbg), (func_name))
188 #define DBG_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX(MYSQLND_G(dbg), (bname))
189 #define DBG_RETURN(value) DBG_RETURN_EX(MYSQLND_G(dbg), (value))
190 #define DBG_VOID_RETURN DBG_VOID_RETURN_EX(MYSQLND_G(dbg))
191 #define DBG_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX(MYSQLND_G(dbg))
202 #define TRACE_ALLOC_VOID_RETURN DBG_VOID_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc))
[all …]
H A Dmysqlnd_debug.c727 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in mysqlnd_debug() local
728 if (!dbg) { in mysqlnd_debug()
732 if (!dbg) { in mysqlnd_debug()
735 MYSQLND_G(dbg) = dbg; in mysqlnd_debug()
738 if (dbg) { in mysqlnd_debug()
739 dbg->m->close(dbg); in mysqlnd_debug()
740 dbg->m->set_mode(dbg, mode); in mysqlnd_debug()
741 while (zend_stack_count(&dbg->call_stack)) { in mysqlnd_debug()
742 zend_stack_del_top(&dbg->call_stack); in mysqlnd_debug()
744 while (zend_stack_count(&dbg->call_time_stack)) { in mysqlnd_debug()
[all …]
H A Dmysqlnd.h311 MYSQLND_DEBUG * dbg; /* The DBG object for standard tracing */ variable
/PHP-7.2/Zend/
H A Dzend_alloc.c1243 dbg->size = 0;
1254 dbg->size = 0;
1293 dbg->size = 0;
1410 return dbg->size;
1993 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
1995 dbg->size = 0;
1997 dbg->lineno = 0;
2003 dbg = (zend_mm_debug_info*)((char*)dbg + bin_data_size[bin_num]);
2048 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2119 dbg->size = 0;
[all …]
/PHP-7.2/sapi/phpdbg/
H A Dtest.php35 $dbg = new phpdbg(); variable
38 $dbg->isGreat("PHP Rocks!!"));
/PHP-7.2/win32/build/
H A DMakefile.phpize31 …D_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …
H A DMakefile163 …)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …

Completed in 44 milliseconds