Lines Matching refs:opline

482 PHPDBG_API void phpdbg_set_breakpoint_opline(zend_ulong opline) /* {{{ */  in phpdbg_set_breakpoint_opline()  argument
484 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline)) { in phpdbg_set_breakpoint_opline()
491 new_break.opline = opline; in phpdbg_set_breakpoint_opline()
494 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline, &new_break, sizeof(phpdbg_b… in phpdbg_set_breakpoint_opline()
496 …cess\" id=\"%d\" opline=\"%#lx\"", "Breakpoint #%d added at %#lx", new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline()
499 …"breakpoint", "type=\"exists\" add=\"fail\" opline=\"%#lx\"", "Breakpoint exists at %#lx", opline); in phpdbg_set_breakpoint_opline()
521 opline_break.opline = brake->opline = (zend_ulong)(op_array->opcodes + brake->opline_num); in phpdbg_resolve_op_array_break()
534 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], opline_break.opline, &opline_break,… in phpdbg_resolve_op_array_break()
570 opline_break->opline); in phpdbg_resolve_op_array_breaks()
642 …bg_set_breakpoint_method_opline(const char *class, const char *method, zend_ulong opline) /* {{{ */ in phpdbg_set_breakpoint_method_opline() argument
653 new_break.opline_num = opline; in phpdbg_set_breakpoint_method_opline()
654 new_break.opline = 0; in phpdbg_set_breakpoint_method_opline()
658 …ng breakpoint #%d at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
662 …akpoint #%d added at %s::%s#%ld", new_break.id, new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
679 if (zend_hash_index_exists(method_table, opline)) { in phpdbg_set_breakpoint_method_opline()
680 …"", "Breakpoint already exists for %s::%s#%ld", new_break.class_name, new_break.func_name, opline); in phpdbg_set_breakpoint_method_opline()
691 zend_hash_index_update_mem(method_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_method_opline()
695 PHPDBG_API void phpdbg_set_breakpoint_function_opline(const char *function, zend_ulong opline) /* {… in phpdbg_set_breakpoint_function_opline() argument
705 new_break.opline_num = opline; in phpdbg_set_breakpoint_function_opline()
706 new_break.opline = 0; in phpdbg_set_breakpoint_function_opline()
710 …"%s\" num=\"%ld\"", "Pending breakpoint #%d at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
714 …=\"%s\" num=\"%ld\"", "Breakpoint #%d added at %s#%ld", new_break.id, new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
726 if (zend_hash_index_exists(func_table, opline)) { in phpdbg_set_breakpoint_function_opline()
727 …function=\"%s\" num=\"%ld\"", "Breakpoint already exists for %s#%ld", new_break.func_name, opline); in phpdbg_set_breakpoint_function_opline()
737 zend_hash_index_update_mem(func_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_function_opline()
741 PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline) /* {{{ */ in phpdbg_set_breakpoint_file_opline() argument
751 new_break.opline_num = opline; in phpdbg_set_breakpoint_file_opline()
752 new_break.opline = 0; 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()
772 if (zend_hash_index_exists(file_table, opline)) { 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()
783 zend_hash_index_update_mem(file_table, opline, &new_break, sizeof(phpdbg_breakopline_t)); in phpdbg_set_breakpoint_file_opline()
809 PHPDBG_API void phpdbg_set_breakpoint_opline_ex(phpdbg_opline_ptr_t opline) /* {{{ */ in phpdbg_set_breakpoint_opline_ex() argument
811 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) { in phpdbg_set_breakpoint_opline_ex()
817 new_break.opline = (zend_ulong) opline; in phpdbg_set_breakpoint_opline_ex()
820 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline, &new_break, si… in phpdbg_set_breakpoint_opline_ex()
822 …int", "id=\"%d\" opline=\"%#lx\"", "Breakpoint #%d added at %#lx", new_break.id, new_break.opline); in phpdbg_set_breakpoint_opline_ex()
825 …int", "type=\"exists\" opline=\"%#lx\"", "Breakpoint exists for opline %#lx", (zend_ulong) opline); in phpdbg_set_breakpoint_opline_ex()
955 …te_data) && (brake = zend_hash_index_find_ptr(breaks, EG(current_execute_data)->opline->lineno))) { in phpdbg_find_breakpoint_file()
1008 static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_opline(phpdbg_opline_ptr_t opline) /* {{{ … in phpdbg_find_breakpoint_opline() argument
1012 …if ((brake = zend_hash_index_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) &&… in phpdbg_find_breakpoint_opline()
1051 return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num; in phpdbg_find_breakpoint_param()
1084 return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num; in phpdbg_find_breakpoint_param()
1092 return ((zend_ulong)(phpdbg_opline_ptr_t)execute_data->opline == param->addr); in phpdbg_find_breakpoint_param()
1109 const zend_op *orig_opline = EG(current_execute_data)->opline; in phpdbg_find_conditional_breakpoint()
1136 EG(current_execute_data)->opline = orig_opline; in phpdbg_find_conditional_breakpoint()
1171 …if (execute_data->opline == op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_… in phpdbg_find_breakpoint()
1178 …OPLINE_BP) && (base = phpdbg_find_breakpoint_opline((phpdbg_opline_ptr_t) execute_data->opline))) { in phpdbg_find_breakpoint()
1182 … & PHPDBG_HAS_OPCODE_BP) && (base = phpdbg_find_breakpoint_opcode(execute_data->opline->opcode))) { in phpdbg_find_breakpoint()
1235 … zend_hash_index_del(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], ((phpdbg_breakopline_t *) brake)->opline); in phpdbg_delete_breakpoint()
1315 ((phpdbg_breakline_t*)brake)->opline, in phpdbg_print_breakpoint()
1543 brake->id, brake->opline, type, in phpdbg_print_breakpoints()
1549 brake->id, brake->opline, in phpdbg_print_breakpoints()