Lines Matching refs:func_name

73 	efree((char*)bp->func_name);  in phpdbg_class_breaks_dtor()
90 if (bp->func_name) { in phpdbg_opline_breaks_dtor()
91 efree((char*)bp->func_name); in phpdbg_opline_breaks_dtor()
155 ((phpdbg_breakmethod_t*)brake)->func_name); in phpdbg_export_breakpoints_to_string()
162 ((phpdbg_breakopline_t*)brake)->func_name, in phpdbg_export_breakpoints_to_string()
169 ((phpdbg_breakopline_t*)brake)->func_name, in phpdbg_export_breakpoints_to_string()
435 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name) /* {{{ … in phpdbg_set_breakpoint_method() argument
439 size_t func_len = strlen(func_name); in phpdbg_set_breakpoint_method()
447 func_lcname = zend_str_tolower_dup(func_name, func_len); in phpdbg_set_breakpoint_method()
463 new_break.func_name = estrndup(func_name, func_len); in phpdbg_set_breakpoint_method()
468 phpdbg_notice("Breakpoint #%d added at %s::%s", new_break.id, class_name, func_name); in phpdbg_set_breakpoint_method()
472 phpdbg_error("Breakpoint exists at %s::%s", class_name, func_name); in phpdbg_set_breakpoint_method()
505 …reaking at opline "ZEND_ULONG_FMT" impossible)", op_array->last, brake->func_name, brake->opline_n… in phpdbg_resolve_op_array_break()
506 } else if (brake->func_name == NULL) { in phpdbg_resolve_op_array_break()
509 …ZEND_ULONG_FMT" impossible)", op_array->last, brake->class_name, brake->func_name, brake->opline_n… in phpdbg_resolve_op_array_break()
564 brake->class_name && brake->func_name ? "::" : "", in phpdbg_resolve_op_array_breaks()
565 brake->func_name ? brake->func_name : "", in phpdbg_resolve_op_array_breaks()
577 if (new_break->func_name == NULL) { in phpdbg_resolve_opline_break()
613 …if (!(func = zend_hash_str_find_ptr(func_table, zend_str_tolower_dup(new_break->func_name, new_bre… in phpdbg_resolve_opline_break()
614 if (new_break->class_name != NULL && new_break->func_name != NULL) { in phpdbg_resolve_opline_break()
615 phpdbg_error("Method %s doesn't exist in class %s", new_break->func_name, new_break->class_name); in phpdbg_resolve_opline_break()
623 phpdbg_error("%s is not a user defined function, no oplines exist", new_break->func_name); in phpdbg_resolve_opline_break()
625 …::%s is not a user defined method, no oplines exist", new_break->class_name, new_break->func_name); in phpdbg_resolve_opline_break()
647 new_break.func_name = estrndup(method, new_break.func_len); in phpdbg_set_breakpoint_method_opline()
655 …nt #%d at %s::%s#"ZEND_ULONG_FMT, new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
659 … added at %s::%s#"ZEND_ULONG_FMT, new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
671 …if (!(method_table = zend_hash_str_find_ptr(class_table, new_break.func_name, new_break.func_len))… in phpdbg_set_breakpoint_method_opline()
673 …method_table = zend_hash_str_update_mem(class_table, new_break.func_name, new_break.func_len, &met… in phpdbg_set_breakpoint_method_opline()
677 …oint already exists for %s::%s#"ZEND_ULONG_FMT, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
678 efree((char*)new_break.func_name); in phpdbg_set_breakpoint_method_opline()
699 new_break.func_name = estrndup(function, new_break.func_len); in phpdbg_set_breakpoint_function_opline()
707 …phpdbg_notice("Pending breakpoint #%d at %s#"ZEND_ULONG_FMT, new_break.id, new_break.func_name, op… in phpdbg_set_breakpoint_function_opline()
711 …phpdbg_notice("Breakpoint #%d added at %s#"ZEND_ULONG_FMT, new_break.id, new_break.func_name, opli… in phpdbg_set_breakpoint_function_opline()
718 …ash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], new_break.func_name, new_break.func_… in phpdbg_set_breakpoint_function_opline()
720 …h_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_FUNCTION_OPLINE], new_break.func_name, new_break.func_… in phpdbg_set_breakpoint_function_opline()
724 phpdbg_error("Breakpoint already exists for %s#"ZEND_ULONG_FMT, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
725 efree((char*)new_break.func_name); in phpdbg_set_breakpoint_function_opline()
745 new_break.func_name = NULL; in phpdbg_set_breakpoint_file_opline()
1318 ((phpdbg_breakopline_t*)brake)->func_name, in phpdbg_print_breakpoint()
1328 ((phpdbg_breakopline_t*)brake)->func_name, in phpdbg_print_breakpoint()
1357 ((phpdbg_breakmethod_t*)brake)->func_name, in phpdbg_print_breakpoint()
1471 brake->id, brake->class_name, brake->func_name, in phpdbg_print_breakpoints()
1558 brake->id, brake->class_name, brake->func_name, brake->opline_num, in phpdbg_print_breakpoints()
1575 brake->id, brake->func_name, brake->opline_num, in phpdbg_print_breakpoints()