Lines Matching refs:param

403 	if (VCWD_STAT(param->str, &sb) != FAILURE) {  in PHPDBG_COMMAND()
405 char *res = phpdbg_resolve_path(param->str); in PHPDBG_COMMAND()
449 phpdbg_error("Cannot use %s as execution context, not a valid file or symlink", param->str); in PHPDBG_COMMAND()
452 phpdbg_error("Cannot stat %s, ensure the file exists", param->str); in PHPDBG_COMMAND()
461 char *sep = param->str; in PHPDBG_COMMAND()
462 int seplen = param->len; in PHPDBG_COMMAND()
702 if (!param) { in PHPDBG_COMMAND()
705 phpdbg_switch_frame(param->num); in PHPDBG_COMMAND()
770 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
772 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND()
956 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
972 if (zend_eval_stringl(param->str, param->len, &retval, "eval()'d code") == SUCCESS) { in PHPDBG_COMMAND()
1015 if (!param) { in PHPDBG_COMMAND()
1018 phpdbg_dump_backtrace(param->num); in PHPDBG_COMMAND()
1033 if (param) { in PHPDBG_COMMAND()
1034 i = param->num; in PHPDBG_COMMAND()
1076 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1077 return phpdbg_do_print_stack(param); in PHPDBG_COMMAND()
1078 } else switch (param->type) { in PHPDBG_COMMAND()
1080 return phpdbg_do_print_func(param); in PHPDBG_COMMAND()
1082 return phpdbg_do_print_method(param); in PHPDBG_COMMAND()
1139 if (!param) { in PHPDBG_COMMAND()
1148 } else switch (param->type) { in PHPDBG_COMMAND()
1150 phpdbg_set_breakpoint_opline(param->addr); in PHPDBG_COMMAND()
1154 phpdbg_set_breakpoint_file(phpdbg_current_file(), strlen(phpdbg_current_file()), param->num); in PHPDBG_COMMAND()
1160 phpdbg_set_breakpoint_method(param->method.class, param->method.name); in PHPDBG_COMMAND()
1163 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND()
1166 phpdbg_set_breakpoint_function_opline(param->str, param->num); in PHPDBG_COMMAND()
1169 phpdbg_set_breakpoint_file(param->file.name, 0, param->file.line); in PHPDBG_COMMAND()
1172 phpdbg_set_breakpoint_file_opline(param->file.name, param->file.line); in PHPDBG_COMMAND()
1175 phpdbg_set_breakpoint_expression(param->str, param->len); in PHPDBG_COMMAND()
1178 phpdbg_set_breakpoint_symbol(param->str, param->len); in PHPDBG_COMMAND()
1181 phpdbg_set_breakpoint_opcode(param->str, param->len); in PHPDBG_COMMAND()
1193 if ((fd=VCWD_POPEN((char*)param->str, "w"))) { in PHPDBG_COMMAND()
1197 phpdbg_error("Failed to execute %s", param->str); in PHPDBG_COMMAND()
1362 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1368 } else switch (param->type) { in PHPDBG_COMMAND()
1371 path = estrndup(param->str, param->len); in PHPDBG_COMMAND()
1383 …("Cannot dynamically load %.*s - dynamic modules are not supported", (int) param->len, param->str); in PHPDBG_COMMAND()
1397 if (VCWD_STAT(param->str, &sb) != -1) { in PHPDBG_COMMAND()
1398 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND()
1400 phpdbg_error("Failed to stat %s, file does not exist", param->str); in PHPDBG_COMMAND()
1408 FILE *handle = VCWD_FOPEN(param->str, "w+"); in PHPDBG_COMMAND()
1414 phpdbg_error("Failed to open or create %s, check path and permissions", param->str); in PHPDBG_COMMAND()
1423 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND()
1433 phpdbg_error("The requested function (%s) could not be found", param->str); in PHPDBG_COMMAND()
1491 if (!param) { in PHPDBG_COMMAND()
1493 } else switch (param->type) { in PHPDBG_COMMAND()
1501 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND()
1515 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1517 } else switch (param->type) { in PHPDBG_COMMAND()
1519 phpdbg_create_var_watchpoint(param->str, param->len); in PHPDBG_COMMAND()