Lines Matching refs:param
52 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
55 phpdbg_set_prompt(param->str); in PHPDBG_SET()
63 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
65 } else switch (param->type) { in PHPDBG_SET()
67 if (param->num) { in PHPDBG_SET()
83 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
85 } else switch (param->type) { in PHPDBG_SET()
87 PHPDBG_G(lines) = param->num; in PHPDBG_SET()
99 switch (param->type) { in PHPDBG_SET()
101 if (param->next) { in PHPDBG_SET()
102 if (param->next->num) { in PHPDBG_SET()
103 phpdbg_enable_breakpoint(param->num); in PHPDBG_SET()
105 phpdbg_disable_breakpoint(param->num); in PHPDBG_SET()
108 phpdbg_breakbase_t *brake = phpdbg_find_breakbase(param->num); in PHPDBG_SET()
110 …phpdbg_writeln("setbreak", "id=\"%ld\" active=\"%s\"", "Breakpoint #%ld %s", param->num, brake->di… in PHPDBG_SET()
112 …dbg_error("setbreak", "type=\"nobreak\" id=\"%ld\"", "Failed to find breakpoint #%ld", param->num); in PHPDBG_SET()
126 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
128 } else switch (param->type) { in PHPDBG_SET()
130 if (param->num) { in PHPDBG_SET()
147 const phpdbg_color_t *color = phpdbg_get_color(param->next->str, param->next->len); in PHPDBG_SET()
150 …phpdbg_error("setcolor", "type=\"nocolor\"", "Failed to find the requested color (%s)", param->nex… in PHPDBG_SET()
154 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
175 …error("setcolor", "type=\"invalidtype\"", "Failed to find the requested element (%s)", param->str); in PHPDBG_SET()
183 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
185 } else switch (param->type) { in PHPDBG_SET()
187 if (param->num) { in PHPDBG_SET()
204 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
206 } else switch (param->type) { in PHPDBG_SET()
211 PHPDBG_G(oplog) = fopen(param->str, "w+"); in PHPDBG_SET()
213 …g_error("setoplog", "type=\"openfailure\" file=\"%s\"", "Failed to open %s for oplog", param->str); in PHPDBG_SET()
221 phpdbg_notice("setoplog", "file=\"%s\"", "Successfully opened oplog %s", param->str); in PHPDBG_SET()
233 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
235 } else switch (param->type) { in PHPDBG_SET()
237 if (param->num) { in PHPDBG_SET()
252 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
254 } else switch (param->type) { in PHPDBG_SET()
256 if (param->len == sizeof("opcode") - 1 && !memcmp(param->str, "opcode", sizeof("opcode"))) { in PHPDBG_SET()
258 } else if (param->len == sizeof("line") - 1 && !memcmp(param->str, "line", sizeof("line"))) { in PHPDBG_SET()
273 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
275 } else switch (param->type) { in PHPDBG_SET()
277 if (param->num) { in PHPDBG_SET()