Searched refs:prompt (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/readline/
H A Dreadline.c78 ZEND_ARG_INFO(0, prompt)
87 ZEND_ARG_INFO(0, prompt)
112 ZEND_ARG_INFO(0, prompt)
211 /* {{{ proto string readline([string prompt])
215 char *prompt = NULL; local
219 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &prompt, &prompt_len)) {
223 result = readline(prompt);
259 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt));
298 } else if (!strcasecmp(what, "prompt")) {
334 /* {{{ proto bool readline_add_history(string prompt)
565 char *prompt; local
[all...]
H A Dreadline_cli.h27 char *prompt; variable
H A Dreadline_cli.c113 rg->prompt = NULL;
119 STD_PHP_INI_ENTRY("cli.prompt", DEFAULT_PROMPT, PHP_INI_ALL, OnUpdateString, prompt, zend_cli_readline_globals, cli_readline_globals)
137 static zend_string *cli_get_prompt(char *block, char prompt TSRMLS_DC) /* {{{ */
140 char *prompt_spec = CLIR_G(prompt) ? CLIR_G(prompt) : DEFAULT_PROMPT;
172 smart_str_appendc(&retval, prompt);
192 zend_eval_stringl(code, prompt_end - prompt_spec - 1, NULL, "php prompt code" TSRMLS_CC);
207 static int cli_is_valid_code(char *code, int len, zend_string **prompt TSRMLS_DC) /* {{{ */
368 *prompt
586 zend_string *prompt = cli_get_prompt("php", '>' TSRMLS_CC); local
[all...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c1623 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) argument
1635 ZVAL_STRING(&argv[1], prompt);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_help.c50 unsigned int prompt_len = strlen(PHPDBG_G(prompt)[0]);
86 * Second pass substitutes the bold and prompt escape sequences and line wrap
89 * $P substitutes the prompt sequence
244 } else { /* no prompt command found so try help topic */
312 * $P insert an bold phpdbg> prompt.
818 " **prompt** **p** set the prompt" CR
832 "Color elements can be one of **prompt**, **notice**, or **error**." CR CR
839 " $P set color prompt white-bold" CR
840 " Set the prompt t
[all...]
H A Dphpdbg_set.c34 PHPDBG_SET_COMMAND_D(prompt, "usage: set prompt [<string>]", 'p', set_prompt, NULL, "|s", 0),
48 PHPDBG_SET(prompt) /* {{{ */
51 phpdbg_writeln("setprompt", "str=\"%s\"", "Current prompt: %s", phpdbg_get_prompt(TSRMLS_C));
118 phpdbg_notice("setcolor", "type=\"prompt\" color=\"%s\" code=\"%s\"", "setting prompt color to %s (%s)", color->name, color->code);
119 if (PHPDBG_G(prompt)[1]) {
120 free(PHPDBG_G(prompt)[1]);
121 PHPDBG_G(prompt)[1]=NULL;
H A Dphpdbg_set.h28 PHPDBG_SET(prompt); variable
H A Dphpdbg_utils.c70 PHPDBG_ELEMENT_D("prompt", PHPDBG_COLOR_PROMPT),
272 PHPDBG_API void phpdbg_set_prompt(const char *prompt TSRMLS_DC) /* {{{ */
274 /* free formatted prompt */
275 if (PHPDBG_G(prompt)[1]) {
276 free(PHPDBG_G(prompt)[1]);
277 PHPDBG_G(prompt)[1] = NULL;
279 /* free old prompt */
280 if (PHPDBG_G(prompt)[0]) {
281 free(PHPDBG_G(prompt)[0]);
282 PHPDBG_G(prompt)[
[all...]
H A Dphpdbg.h102 #define PHPDBG_DEFAULT_PROMPT "prompt>"
278 char *prompt[2]; /* prompt */ variable
H A Dphpdbg.c74 pg->prompt[0] = NULL;
75 pg->prompt[1] = NULL;
234 if (PHPDBG_G(prompt)[0]) {
235 free(PHPDBG_G(prompt)[0]);
237 if (PHPDBG_G(prompt)[1]) {
238 free(PHPDBG_G(prompt)[1]);
241 PHPDBG_G(prompt)[0] = NULL;
242 PHPDBG_G(prompt)[1] = NULL;
390 /* {{{ proto void phpdbg_prompt(string prompt) */
393 char *prompt local
[all...]

Completed in 14 milliseconds