Lines Matching refs:param
50 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
53 phpdbg_set_prompt(param->str); in PHPDBG_SET()
61 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
63 } else switch (param->type) { in PHPDBG_SET()
65 if (param->num) { in PHPDBG_SET()
81 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
83 } else switch (param->type) { in PHPDBG_SET()
85 PHPDBG_G(lines) = param->num; in PHPDBG_SET()
97 switch (param->type) { in PHPDBG_SET()
99 if (param->next) { in PHPDBG_SET()
100 if (param->next->num) { in PHPDBG_SET()
101 phpdbg_enable_breakpoint(param->num); in PHPDBG_SET()
103 phpdbg_disable_breakpoint(param->num); in PHPDBG_SET()
106 phpdbg_breakbase_t *brake = phpdbg_find_breakbase(param->num); in PHPDBG_SET()
108 …phpdbg_writeln("setbreak", "id=\"%ld\" active=\"%s\"", "Breakpoint #%ld %s", param->num, brake->di… in PHPDBG_SET()
110 …dbg_error("setbreak", "type=\"nobreak\" id=\"%ld\"", "Failed to find breakpoint #%ld", param->num); in PHPDBG_SET()
124 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
126 } else switch (param->type) { in PHPDBG_SET()
128 if (param->num) { in PHPDBG_SET()
145 const phpdbg_color_t *color = phpdbg_get_color(param->next->str, param->next->len); in PHPDBG_SET()
148 …phpdbg_error("setcolor", "type=\"nocolor\"", "Failed to find the requested color (%s)", param->nex… in PHPDBG_SET()
152 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
173 …error("setcolor", "type=\"invalidtype\"", "Failed to find the requested element (%s)", param->str); in PHPDBG_SET()
181 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
183 } else switch (param->type) { in PHPDBG_SET()
185 if (param->num) { in PHPDBG_SET()
202 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
204 } else switch (param->type) { in PHPDBG_SET()
209 PHPDBG_G(oplog) = fopen(param->str, "w+"); in PHPDBG_SET()
211 …g_error("setoplog", "type=\"openfailure\" file=\"%s\"", "Failed to open %s for oplog", param->str); in PHPDBG_SET()
219 phpdbg_notice("setoplog", "file=\"%s\"", "Successfully opened oplog %s", param->str); in PHPDBG_SET()
231 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
233 } else switch (param->type) { in PHPDBG_SET()
235 if (param->num) { in PHPDBG_SET()
250 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
252 } else switch (param->type) { in PHPDBG_SET()
254 if (param->len == sizeof("opcode") - 1 && !memcmp(param->str, "opcode", sizeof("opcode"))) { in PHPDBG_SET()
256 } else if (param->len == sizeof("line") - 1 && !memcmp(param->str, "line", sizeof("line"))) { in PHPDBG_SET()
271 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
273 } else switch (param->type) { in PHPDBG_SET()
275 if (param->num) { in PHPDBG_SET()