Lines Matching refs:param
337 if (VCWD_STAT(param->str, &sb) != FAILURE) { in PHPDBG_COMMAND()
339 char *res = phpdbg_resolve_path(param->str TSRMLS_CC); in PHPDBG_COMMAND()
371 phpdbg_error("Cannot use %s as execution context, not a valid file or symlink", param->str); in PHPDBG_COMMAND()
374 phpdbg_error("Cannot stat %s, ensure the file exists", param->str); in PHPDBG_COMMAND()
520 if (!param) { in PHPDBG_COMMAND()
522 } else phpdbg_switch_frame(param->num TSRMLS_CC); in PHPDBG_COMMAND()
617 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
621 char *argv_str = strtok(param->str, " "); in PHPDBG_COMMAND()
689 if (zend_eval_stringl(param->str, param->len, in PHPDBG_COMMAND()
717 if (!param) { in PHPDBG_COMMAND()
720 phpdbg_dump_backtrace(param->num TSRMLS_CC); in PHPDBG_COMMAND()
790 if (!param) { in PHPDBG_COMMAND()
794 } else switch (param->type) { in PHPDBG_COMMAND()
796 phpdbg_set_breakpoint_opline(param->addr TSRMLS_CC); in PHPDBG_COMMAND()
800 phpdbg_set_breakpoint_file(phpdbg_current_file(TSRMLS_C), param->num TSRMLS_CC); in PHPDBG_COMMAND()
806 phpdbg_set_breakpoint_method(param->method.class, param->method.name TSRMLS_CC); in PHPDBG_COMMAND()
809 …phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num TSRMLS_CC); in PHPDBG_COMMAND()
812 phpdbg_set_breakpoint_function_opline(param->str, param->num TSRMLS_CC); in PHPDBG_COMMAND()
815 phpdbg_set_breakpoint_file(param->file.name, param->file.line TSRMLS_CC); in PHPDBG_COMMAND()
818 phpdbg_set_breakpoint_file_opline(param->file.name, param->file.line TSRMLS_CC); in PHPDBG_COMMAND()
821 phpdbg_set_breakpoint_expression(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
824 phpdbg_set_breakpoint_symbol(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
827 phpdbg_set_breakpoint_opcode(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
839 if ((fd=VCWD_POPEN((char*)param->str, "w"))) { in PHPDBG_COMMAND()
844 "Failed to execute %s", param->str); in PHPDBG_COMMAND()
854 if (VCWD_STAT(param->str, &sb) != -1) { in PHPDBG_COMMAND()
855 phpdbg_try_file_init(param->str, param->len, 0 TSRMLS_CC); in PHPDBG_COMMAND()
858 "Failed to stat %s, file does not exist", param->str); in PHPDBG_COMMAND()
866 FILE *handle = VCWD_FOPEN(param->str, "w+"); in PHPDBG_COMMAND()
873 "Failed to open or create %s, check path and permissions", param->str); in PHPDBG_COMMAND()
882 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND()
894 phpdbg_error("The requested function (%s) could not be found", param->str); in PHPDBG_COMMAND()
955 if (!param) { in PHPDBG_COMMAND()
957 } else switch (param->type) { in PHPDBG_COMMAND()
965 phpdbg_list_function_byname(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
979 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
981 } else switch (param->type) { in PHPDBG_COMMAND()
983 if (phpdbg_create_var_watchpoint(param->str, param->len TSRMLS_CC) != FAILURE) { in PHPDBG_COMMAND()
984 phpdbg_notice("Set watchpoint on %.*s", (int)param->len, param->str); in PHPDBG_COMMAND()