Lines Matching refs:class_name
72 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor()
87 if (bp->class_name) { in phpdbg_opline_breaks_dtor()
88 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor()
154 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
161 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
174 …dcslashes_str(((phpdbg_breakopline_t*)brake)->class_name, strlen(((phpdbg_breakopline_t*)brake)->c… 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
438 size_t class_len = strlen(class_name); in phpdbg_set_breakpoint_method()
442 if (*class_name == '\\') { in phpdbg_set_breakpoint_method()
443 class_name++; in phpdbg_set_breakpoint_method()
448 class_lcname = zend_str_tolower_dup(class_name, class_len); in phpdbg_set_breakpoint_method()
461 new_break.class_name = estrndup(class_name, class_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()
504 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break()
507 …eaking at opline "ZEND_ULONG_FMT" impossible)", op_array->last, brake->class_name, brake->opline_n… in phpdbg_resolve_op_array_break()
509 …eaking at opline "ZEND_ULONG_FMT" impossible)", op_array->last, brake->class_name, brake->func_nam… in phpdbg_resolve_op_array_break()
563 brake->class_name ? brake->class_name : "", in phpdbg_resolve_op_array_breaks()
564 brake->class_name && brake->func_name ? "::" : "", in phpdbg_resolve_op_array_breaks()
579 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
592 …p_array->filename) && !memcmp(ZSTR_VAL(op_array->filename), new_break->class_name, new_break->clas… in phpdbg_resolve_opline_break()
605 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break()
607 …if (!(ce = zend_hash_str_find_ptr(EG(class_table), zend_str_tolower_dup(new_break->class_name, new… 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()
622 if (new_break->class_name == NULL) { in phpdbg_resolve_opline_break()
625 …phpdbg_error("%s::%s is not a user defined method, no oplines exist", new_break->class_name, new_b… in phpdbg_resolve_opline_break()
649 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline()
655 …ding breakpoint #%d at %s::%s#"ZEND_ULONG_FMT, new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
659 …reakpoint #%d added at %s::%s#"ZEND_ULONG_FMT, new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
666 …hash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
668 …sh_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
677 …phpdbg_error("Breakpoint already exists for %s::%s#"ZEND_ULONG_FMT, new_break.class_name, new_brea… in phpdbg_set_breakpoint_method_opline()
679 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline()
701 new_break.class_name = NULL; in phpdbg_set_breakpoint_function_opline()
747 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline()
753 …phpdbg_notice("Pending breakpoint #%d at %s:"ZEND_ULONG_FMT, new_break.id, new_break.class_name, o… in phpdbg_set_breakpoint_file_opline()
757 …phpdbg_notice("Breakpoint #%d added at %s:"ZEND_ULONG_FMT, new_break.id, new_break.class_name, opl… in phpdbg_set_breakpoint_file_opline()
764 …d_hash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_file_opline()
766 …hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_file_opline()
770 phpdbg_error("Breakpoint already exists for %s:"ZEND_ULONG_FMT, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
771 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_file_opline()
1317 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_print_breakpoint()
1356 ((phpdbg_breakmethod_t*)brake)->class_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()
1591 brake->id, brake->class_name, brake->opline_num, in phpdbg_print_breakpoints()