Home
last modified time | relevance | path

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

/php-src/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h39 #define PDO_DBG_INF(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN…
40 #define PDO_DBG_ERR(msg) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log(PDO_MYSQL_G(dbg), __LIN…
41 #define PDO_DBG_INF_FMT(...) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg)…
42 #define PDO_DBG_ERR_FMT(...) do { if (!dbg_skip_trace) PDO_MYSQL_G(dbg)->m->log_va(PDO_MYSQL_G(dbg)…
46 if (PDO_MYSQL_G(dbg)) \
47 …dbg_skip_trace = !PDO_MYSQL_G(dbg)->m->func_enter(PDO_MYSQL_G(dbg), __LINE__, __FILE__, func_name,…
49 …define PDO_DBG_RETURN(value) do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_…
50 #define PDO_DBG_VOID_RETURN do { if (PDO_MYSQL_G(dbg)) PDO_MYSQL_G(dbg)->m->func_leave(PDO_MYSQL_G…
75 MYSQLND_DEBUG *dbg; /* The DBG object */ variable
H A Dpdo_mysql.c197 MYSQLND_DEBUG *dbg = mysqlnd_debug_init(mysqlnd_debug_std_no_trace_funcs); in PHP_RINIT_FUNCTION() local
198 if (!dbg) { in PHP_RINIT_FUNCTION()
201 dbg->m->set_mode(dbg, PDO_MYSQL_G(debug)); in PHP_RINIT_FUNCTION()
202 PDO_MYSQL_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
212 MYSQLND_DEBUG *dbg = PDO_MYSQL_G(dbg); in PHP_RSHUTDOWN_FUNCTION() local
214 if (dbg) { in PHP_RSHUTDOWN_FUNCTION()
215 dbg->m->close(dbg); in PHP_RSHUTDOWN_FUNCTION()
216 dbg->m->free_handle(dbg); in PHP_RSHUTDOWN_FUNCTION()
217 PDO_MYSQL_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION()
236 pdo_mysql_globals->dbg = NULL; /* The DBG object*/ in PHP_GINIT_FUNCTION()
/php-src/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.c712 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in mysqlnd_debug() local
713 if (!dbg) { in mysqlnd_debug()
717 if (!dbg) { in mysqlnd_debug()
720 MYSQLND_G(dbg) = dbg; in mysqlnd_debug()
723 if (dbg) { in mysqlnd_debug()
724 dbg->m->close(dbg); in mysqlnd_debug()
725 dbg->m->set_mode(dbg, mode); in mysqlnd_debug()
726 while (zend_stack_count(&dbg->call_stack)) { in mysqlnd_debug()
727 zend_stack_del_top(&dbg->call_stack); in mysqlnd_debug()
729 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-src/Zend/
H A Dzend_alloc.c1376 dbg->size = 0;
1387 dbg->size = 0;
1430 dbg->size = 0;
1552 return dbg->size;
2212 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2214 dbg->size = 0;
2216 dbg->lineno = 0;
2222 dbg = (zend_mm_debug_info*)((char*)dbg + bin_data_size[bin_num]);
2268 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2339 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-src/sapi/phpdbg/
H A Dtest.php35 $dbg = new phpdbg(); variable
38 $dbg->isGreat("PHP Rocks!!"));
/php-src/win32/build/
H A DMakefile.phpize31 …D_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …
H A DMakefile176 …)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin …
/php-src/ext/opcache/jit/ir/
H A Dir_gdb.c617 struct kinfo_proc proc, dbg; in ir_gdb_present() local
621 if (ir_gdb_info_proc(proc.ki_tracer, &dbg)) { in ir_gdb_present()
622 ret = strstr(dbg.ki_comm, "gdb"); in ir_gdb_present()

Completed in 46 milliseconds