Home
last modified time | relevance | path

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

/PHP-8.1/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h37 #define PDO_DBG_INF(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN…
38 #define PDO_DBG_ERR(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN…
39 #define PDO_DBG_INF_FMT(...) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg)…
40 #define PDO_DBG_ERR_FMT(...) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg)…
44 if (PDO_MYSQL_G(dbg)) \
45 …dbg_skip_trace = !PDO_MYSQL_G(dbg)->m->func_enter(PDO_MYSQL_G(dbg), __LINE__, __FILE__, func_name,…
47 …define PDO_DBG_RETURN(value) do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_…
48 #define PDO_DBG_VOID_RETURN do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_G…
73 MYSQLND_DEBUG *dbg; /* The DBG object */ variable
H A Dpdo_mysql.c173 MYSQLND_DEBUG *dbg = mysqlnd_debug_init(mysqlnd_debug_std_no_trace_funcs); in PHP_RINIT_FUNCTION() local
174 if (!dbg) { in PHP_RINIT_FUNCTION()
177 dbg->m->set_mode(dbg, PDO_MYSQL_G(debug)); in PHP_RINIT_FUNCTION()
178 PDO_MYSQL_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
188 MYSQLND_DEBUG *dbg = PDO_MYSQL_G(dbg); in PHP_RSHUTDOWN_FUNCTION() local
190 if (dbg) { in PHP_RSHUTDOWN_FUNCTION()
191 dbg->m->close(dbg); in PHP_RSHUTDOWN_FUNCTION()
192 dbg->m->free_handle(dbg); in PHP_RSHUTDOWN_FUNCTION()
193 PDO_MYSQL_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION()
212 pdo_mysql_globals->dbg = NULL; /* The DBG object*/ in PHP_GINIT_FUNCTION()
/PHP-8.1/ext/mysqlnd/
H A Dphp_mysqlnd.c147 mysqlnd_globals->dbg = NULL; /* The DBG object*/ in ZEND_DECLARE_MODULE_GLOBALS()
218 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION()
220 …MYSQLND_DEBUG * dbg = trace_log_plugin->methods.trace_instance_init(mysqlnd_debug_std_no_trace_fun… in PHP_RINIT_FUNCTION() local
222 if (!dbg || !trace_alloc) { in PHP_RINIT_FUNCTION()
225 dbg->m->set_mode(dbg, MYSQLND_G(debug)); in PHP_RINIT_FUNCTION()
227 MYSQLND_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
241 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in PHP_RSHUTDOWN_FUNCTION() local
244 if (dbg) { in PHP_RSHUTDOWN_FUNCTION()
245 dbg->m->close(dbg); in PHP_RSHUTDOWN_FUNCTION()
246 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.c732 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in mysqlnd_debug() local
733 if (!dbg) { in mysqlnd_debug()
737 if (!dbg) { in mysqlnd_debug()
740 MYSQLND_G(dbg) = dbg; in mysqlnd_debug()
743 if (dbg) { in mysqlnd_debug()
744 dbg->m->close(dbg); in mysqlnd_debug()
745 dbg->m->set_mode(dbg, mode); in mysqlnd_debug()
746 while (zend_stack_count(&dbg->call_stack)) { in mysqlnd_debug()
747 zend_stack_del_top(&dbg->call_stack); in mysqlnd_debug()
749 while (zend_stack_count(&dbg->call_time_stack)) { in mysqlnd_debug()
[all …]
H A Dmysqlnd.h300 MYSQLND_DEBUG * dbg; /* The DBG object for standard tracing */ variable
/PHP-8.1/Zend/
H A Dzend_alloc.c1261 dbg->size = 0;
1272 dbg->size = 0;
1311 dbg->size = 0;
1428 return dbg->size;
2058 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2060 dbg->size = 0;
2062 dbg->lineno = 0;
2068 dbg = (zend_mm_debug_info*)((char*)dbg + bin_data_size[bin_num]);
2114 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2185 dbg->size = 0;
[all …]
H A Dzend_gdb.c150 struct kinfo_proc *dbg = kinfo_getproc(proc->ki_tracer); in zend_gdb_present() local
152 ret = (dbg && strstr(dbg->ki_comm, "gdb")); in zend_gdb_present()
/PHP-8.1/sapi/phpdbg/
H A Dtest.php35 $dbg = new phpdbg(); variable
38 $dbg->isGreat("PHP Rocks!!"));
/PHP-8.1/win32/build/
H A DMakefile.phpize31 …D_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …
H A DMakefile177 …)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …

Completed in 33 milliseconds