Lines Matching refs:class_name

75 	efree((char*)bp->class_name);  in phpdbg_class_breaks_dtor()
90 if (bp->class_name) { in phpdbg_opline_breaks_dtor()
91 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor()
157 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
164 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
177 …dcslashes_str(((phpdbg_breakopline_t*)brake)->class_name, strlen(((phpdbg_breakopline_t*)brake)->c… in phpdbg_export_breakpoints_to_string()
438 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name) /* {{{ … in phpdbg_set_breakpoint_method() argument
441 size_t class_len = strlen(class_name); in phpdbg_set_breakpoint_method()
445 if (*class_name == '\\') { in phpdbg_set_breakpoint_method()
446 class_name++; in phpdbg_set_breakpoint_method()
451 class_lcname = zend_str_tolower_dup(class_name, class_len); in phpdbg_set_breakpoint_method()
464 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method()
471 …=\"%d\" method=\"%s::%s\"", "Breakpoint #%d added at %s::%s", new_break.id, class_name, func_name); in phpdbg_set_breakpoint_method()
475 …=\"exists\" add=\"fail\" method=\"%s::%s\"", "Breakpoint exists at %s::%s", class_name, func_name); in phpdbg_set_breakpoint_method()
507 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break()
510 …n file %s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->opline_n… in phpdbg_resolve_op_array_break()
512 …od %s::%s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->func_nam… in phpdbg_resolve_op_array_break()
566 brake->class_name ? brake->class_name : "", in phpdbg_resolve_op_array_breaks()
567 brake->class_name && brake->func_name ? "::" : "", in phpdbg_resolve_op_array_breaks()
582 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
595 …p_array->filename) && !memcmp(ZSTR_VAL(op_array->filename), new_break->class_name, new_break->clas… in phpdbg_resolve_opline_break()
608 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break()
610 …if (!(ce = zend_hash_str_find_ptr(EG(class_table), zend_str_tolower_dup(new_break->class_name, new… in phpdbg_resolve_opline_break()
617 if (new_break->class_name != NULL && new_break->func_name != NULL) { in phpdbg_resolve_opline_break()
618 …d=\"%s::%s\"", "Method %s doesn't exist in class %s", new_break->func_name, new_break->class_name); in phpdbg_resolve_opline_break()
625 if (new_break->class_name == NULL) { in phpdbg_resolve_opline_break()
628 …", "%s::%s is not a user defined method, no oplines exist", new_break->class_name, new_break->func… in phpdbg_resolve_opline_break()
652 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline()
658 …ld\"", "Pending breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
662 …"%ld\"", "Breakpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
669 …hash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
671 …sh_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_method_opline()
680 …\" num=\"%ld\"", "Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_… in phpdbg_set_breakpoint_method_opline()
682 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline()
704 new_break.class_name = NULL; in phpdbg_set_breakpoint_function_opline()
750 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline()
756 …%s\" num=\"%ld\"", "Pending breakpoint #%d at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
760 …\"%s\" num=\"%ld\"", "Breakpoint #%d added at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
767 …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()
769 …hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class… in phpdbg_set_breakpoint_file_opline()
773 …s\" file=\"%s\" num=\"%d\"", "Breakpoint already exists for %s:%ld", new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
774 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_file_opline()
1324 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_print_breakpoint()
1363 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_print_breakpoint()
1480 brake->id, brake->class_name, brake->func_name, in phpdbg_print_breakpoints()
1567 brake->id, brake->class_name, brake->func_name, brake->opline_num, in phpdbg_print_breakpoints()
1600 brake->id, brake->class_name, brake->opline_num, in phpdbg_print_breakpoints()