Lines Matching refs:class_name
74 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor()
89 if (bp->class_name) { in phpdbg_opline_breaks_dtor()
90 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor()
156 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
163 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
176 …d_string_init(((phpdbg_breakopline_t*)brake)->class_name, strlen(((phpdbg_breakopline_t*)brake)->c… in phpdbg_export_breakpoints_to_string()
424 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name) /* {{{ … in phpdbg_set_breakpoint_method() argument
427 size_t class_len = strlen(class_name); in phpdbg_set_breakpoint_method()
431 if (*class_name == '\\') { in phpdbg_set_breakpoint_method()
432 class_name++; in phpdbg_set_breakpoint_method()
437 class_lcname = zend_str_tolower_dup(class_name, class_len); in phpdbg_set_breakpoint_method()
450 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method()
457 …=\"%d\" method=\"%s::%s\"", "Breakpoint #%d added at %s::%s", new_break.id, class_name, func_name); in phpdbg_set_breakpoint_method()
461 …=\"exists\" add=\"fail\" method=\"%s::%s\"", "Breakpoint exists at %s::%s", class_name, func_name); in phpdbg_set_breakpoint_method()
493 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break()
496 …n file %s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->opline_n… in phpdbg_resolve_op_array_break()
498 …od %s::%s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->func_nam… in phpdbg_resolve_op_array_break()
552 brake->class_name ? brake->class_name : "", in phpdbg_resolve_op_array_breaks()
553 brake->class_name && brake->func_name ? "::" : "", in phpdbg_resolve_op_array_breaks()
568 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
581 …p_array->filename) && !memcmp(ZSTR_VAL(op_array->filename), new_break->class_name, new_break->clas… in phpdbg_resolve_opline_break()
594 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break()
596 …if (!(ce = zend_hash_str_find_ptr(EG(class_table), zend_str_tolower_dup(new_break->class_name, new… in phpdbg_resolve_opline_break()
603 if (new_break->class_name != NULL && new_break->func_name != NULL) { in phpdbg_resolve_opline_break()
604 …d=\"%s::%s\"", "Method %s doesn't exist in class %s", new_break->func_name, new_break->class_name); in phpdbg_resolve_opline_break()
611 if (new_break->class_name == NULL) { in phpdbg_resolve_opline_break()
614 …", "%s::%s is not a user defined method, no oplines exist", new_break->class_name, new_break->func… in phpdbg_resolve_opline_break()
638 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline()
644 …ld\"", "Pending breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
648 …"%ld\"", "Breakpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
655 …hash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
657 …sh_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
666 …\" num=\"%ld\"", "Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
668 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline()
690 new_break.class_name = NULL; in phpdbg_set_breakpoint_function_opline()
736 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline()
742 …%s\" num=\"%ld\"", "Pending breakpoint #%d at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
746 …\"%s\" num=\"%ld\"", "Breakpoint #%d added at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
753 …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()
755 …hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_file_opline()
759 …s\" file=\"%s\" num=\"%d\"", "Breakpoint already exists for %s:%ld", new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
760 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_file_opline()
1281 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_print_breakpoint()
1320 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_print_breakpoint()
1437 brake->id, brake->class_name, brake->func_name, in phpdbg_print_breakpoints()
1524 brake->id, brake->class_name, brake->func_name, brake->opline_num, in phpdbg_print_breakpoints()
1557 brake->id, brake->class_name, brake->opline_num, in phpdbg_print_breakpoints()