Lines Matching refs:class_name
72 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor()
85 if (bp->class_name) { in phpdbg_opline_breaks_dtor()
86 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor()
152 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_export_breakpoints()
159 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints()
174 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints()
297 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name TSRMLS_D… in phpdbg_set_breakpoint_method() argument
300 size_t class_len = strlen(class_name); in phpdbg_set_breakpoint_method()
304 if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_name, in phpdbg_set_breakpoint_method()
309 class_name, class_len, in phpdbg_set_breakpoint_method()
319 new_break.class_name = estrndup(class_name, class_len); in phpdbg_set_breakpoint_method()
328 new_break.id, class_name, func_name); in phpdbg_set_breakpoint_method()
332 phpdbg_notice("Breakpoint exists at %s::%s", class_name, func_name); in phpdbg_set_breakpoint_method()
365 if (brake->class_name == NULL) { in phpdbg_resolve_op_array_break()
368 …n file %s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->opline_n… in phpdbg_resolve_op_array_break()
370 …od %s::%s (breaking at opline %ld impossible)", op_array->last, brake->class_name, brake->func_nam… in phpdbg_resolve_op_array_break()
428 brake->class_name?brake->class_name:"", in phpdbg_resolve_op_array_breaks()
429 brake->class_name&&brake->func_name?"::":"", in phpdbg_resolve_op_array_breaks()
444 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
455 …>scope == NULL && !memcmp(execute_data->op_array->filename, new_break->class_name, new_break->clas… in phpdbg_resolve_opline_break()
467 if (new_break->class_name != NULL) { in phpdbg_resolve_opline_break()
469 …if (zend_hash_find(EG(class_table), zend_str_tolower_dup(new_break->class_name, new_break->class_l… in phpdbg_resolve_opline_break()
476 if (new_break->class_name != NULL && new_break->func_name != NULL) { in phpdbg_resolve_opline_break()
477 phpdbg_error("Method %s doesn't exist in class %s", new_break->func_name, new_break->class_name); in phpdbg_resolve_opline_break()
484 if (new_break->class_name == NULL) { in phpdbg_resolve_opline_break()
487 …phpdbg_error("%s::%s is not an user defined method, no oplines exist", new_break->class_name, new_… in phpdbg_resolve_opline_break()
509 new_break.class_name = estrndup(class, new_break.class_len); in phpdbg_set_breakpoint_method_opline()
515 …phpdbg_notice("Pending breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_brea… in phpdbg_set_breakpoint_method_opline()
519 …phpdbg_notice("Breakpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.… in phpdbg_set_breakpoint_method_opline()
526 …if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], new_break.class_name, new_break.clas… in phpdbg_set_breakpoint_method_opline()
530 new_break.class_name, in phpdbg_set_breakpoint_method_opline()
545 …phpdbg_notice("Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_nam… in phpdbg_set_breakpoint_method_opline()
547 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_method_opline()
568 new_break.class_name = NULL; in phpdbg_set_breakpoint_function_opline()
617 new_break.class_name = estrndup(file, new_break.class_len); in phpdbg_set_breakpoint_file_opline()
623 phpdbg_notice("Pending breakpoint #%d at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
627 phpdbg_notice("Breakpoint #%d added at %s:%ld", new_break.id, new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
634 …if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_OPLINE], new_break.class_name, new_break.class_… in phpdbg_set_breakpoint_file_opline()
638 new_break.class_name, in phpdbg_set_breakpoint_file_opline()
644 phpdbg_notice("Breakpoint already exists for %s:%ld", new_break.class_name, opline); in phpdbg_set_breakpoint_file_opline()
645 efree((char*)new_break.class_name); in phpdbg_set_breakpoint_file_opline()
1221 ((phpdbg_breakopline_t*)brake)->class_name,
1242 ((phpdbg_breakopline_t*)brake)->class_name,
1261 ((phpdbg_breakmethod_t*)brake)->class_name,
1373 char *class_name = NULL; local
1384 &class_name, &class_len, &class_idx, 0, &position[0]) == HASH_KEY_IS_STRING) {
1391 brake->id, brake->class_name, brake->func_name,
1452 char *class_name = NULL, *method_name = NULL; local
1463 &class_name, &class_len, &class_idx, 0, &position[0]) == HASH_KEY_IS_STRING) {
1478 brake->id, brake->class_name, brake->func_name, brake->opline_num,
1540 brake->id, brake->class_name, brake->opline_num,