Lines Matching refs:param
402 if (VCWD_STAT(param->str, &sb) != FAILURE) { in PHPDBG_COMMAND()
404 char *res = phpdbg_resolve_path(param->str); in PHPDBG_COMMAND()
448 phpdbg_error("Cannot use %s as execution context, not a valid file or symlink", param->str); in PHPDBG_COMMAND()
451 phpdbg_error("Cannot stat %s, ensure the file exists", param->str); in PHPDBG_COMMAND()
460 char *sep = param->str; in PHPDBG_COMMAND()
461 int seplen = param->len; in PHPDBG_COMMAND()
699 if (!param) { in PHPDBG_COMMAND()
702 phpdbg_switch_frame(param->num); in PHPDBG_COMMAND()
767 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
769 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND()
953 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
969 if (zend_eval_stringl(param->str, param->len, &retval, "eval()'d code") == SUCCESS) { in PHPDBG_COMMAND()
1012 if (!param) { in PHPDBG_COMMAND()
1015 phpdbg_dump_backtrace(param->num); in PHPDBG_COMMAND()
1030 if (param) { in PHPDBG_COMMAND()
1031 i = param->num; in PHPDBG_COMMAND()
1073 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1074 return phpdbg_do_print_stack(param); in PHPDBG_COMMAND()
1075 } else switch (param->type) { in PHPDBG_COMMAND()
1077 return phpdbg_do_print_func(param); in PHPDBG_COMMAND()
1079 return phpdbg_do_print_method(param); in PHPDBG_COMMAND()
1136 if (!param) { in PHPDBG_COMMAND()
1145 } else switch (param->type) { in PHPDBG_COMMAND()
1147 phpdbg_set_breakpoint_opline(param->addr); in PHPDBG_COMMAND()
1151 phpdbg_set_breakpoint_file(phpdbg_current_file(), strlen(phpdbg_current_file()), param->num); in PHPDBG_COMMAND()
1157 phpdbg_set_breakpoint_method(param->method.class, param->method.name); in PHPDBG_COMMAND()
1160 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND()
1163 phpdbg_set_breakpoint_function_opline(param->str, param->num); in PHPDBG_COMMAND()
1166 phpdbg_set_breakpoint_file(param->file.name, 0, param->file.line); in PHPDBG_COMMAND()
1169 phpdbg_set_breakpoint_file_opline(param->file.name, param->file.line); in PHPDBG_COMMAND()
1172 phpdbg_set_breakpoint_expression(param->str, param->len); in PHPDBG_COMMAND()
1175 phpdbg_set_breakpoint_symbol(param->str, param->len); in PHPDBG_COMMAND()
1178 phpdbg_set_breakpoint_opcode(param->str, param->len); in PHPDBG_COMMAND()
1190 if ((fd=VCWD_POPEN((char*)param->str, "w"))) { in PHPDBG_COMMAND()
1194 phpdbg_error("Failed to execute %s", param->str); in PHPDBG_COMMAND()
1356 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1362 } else switch (param->type) { in PHPDBG_COMMAND()
1365 path = estrndup(param->str, param->len); in PHPDBG_COMMAND()
1377 …("Cannot dynamically load %.*s - dynamic modules are not supported", (int) param->len, param->str); in PHPDBG_COMMAND()
1391 if (VCWD_STAT(param->str, &sb) != -1) { in PHPDBG_COMMAND()
1392 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND()
1394 phpdbg_error("Failed to stat %s, file does not exist", param->str); in PHPDBG_COMMAND()
1402 FILE *handle = VCWD_FOPEN(param->str, "w+"); in PHPDBG_COMMAND()
1408 phpdbg_error("Failed to open or create %s, check path and permissions", param->str); in PHPDBG_COMMAND()
1417 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND()
1418 size_t lcname_len = param->len; in PHPDBG_COMMAND()
1427 phpdbg_error("The requested function (%s) could not be found", param->str); in PHPDBG_COMMAND()
1485 if (!param) { in PHPDBG_COMMAND()
1487 } else switch (param->type) { in PHPDBG_COMMAND()
1495 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND()
1509 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1511 } else switch (param->type) { in PHPDBG_COMMAND()
1513 phpdbg_create_var_watchpoint(param->str, param->len); in PHPDBG_COMMAND()