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

/PHP_5_6/ext/readline/
H A Dreadline_cli.h27 char *prompt; variable
H A Dreadline.c78 ZEND_ARG_INFO(0, prompt)
87 ZEND_ARG_INFO(0, prompt)
112 ZEND_ARG_INFO(0, prompt)
209 /* {{{ proto string readline([string prompt])
213 char *prompt = NULL; local
217 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &prompt, &prompt_len)) {
221 result = readline(prompt);
257 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt),1);
296 } else if (!strcasecmp(what, "prompt")) {
332 /* {{{ proto bool readline_add_history(string prompt)
583 char *prompt; local
[all...]
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 char *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, char **prompt TSRMLS_DC) /* {{{ */
375 *prompt
591 char *prompt = cli_get_prompt("php", '>' TSRMLS_CC); local
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_set.c34 PHPDBG_SET_COMMAND_D(prompt, "usage: set prompt [<string>]", 'p', set_prompt, NULL, "|s"),
48 PHPDBG_SET(prompt) /* {{{ */
119 "setting prompt color to %s (%s)", color->name, color->code);
120 if (PHPDBG_G(prompt)[1]) {
121 free(PHPDBG_G(prompt)[1]);
122 PHPDBG_G(prompt)[1]=NULL;
H A Dphpdbg_set.h28 PHPDBG_SET(prompt); variable
H A Dphpdbg.h208 char *prompt[2]; /* prompt */ variable
H A Dphpdbg_utils.c75 PHPDBG_ELEMENT_D("prompt", PHPDBG_COLOR_PROMPT),
378 PHPDBG_API void phpdbg_set_prompt(const char *prompt TSRMLS_DC) /* {{{ */
380 /* free formatted prompt */
381 if (PHPDBG_G(prompt)[1]) {
382 free(PHPDBG_G(prompt)[1]);
383 PHPDBG_G(prompt)[1] = NULL;
385 /* free old prompt */
386 if (PHPDBG_G(prompt)[0]) {
387 free(PHPDBG_G(prompt)[0]);
388 PHPDBG_G(prompt)[
[all...]
H A Dphpdbg_help.c49 unsigned int prompt_len = strlen(PHPDBG_G(prompt)[0]);
80 * Second pass substitutes the bold and prompt escape sequences and line wrap
83 * $P substitutes the prompt sequence
238 } else { /* no prompt command found so try help topic */
299 * $P insert an bold phpdbg> prompt.
804 " **prompt** **p** set the prompt" CR
818 "Color elements can be one of **prompt**, **notice**, or **error**." CR CR
825 " $P set color prompt white-bold" CR
826 " Set the prompt t
[all...]
H A Dphpdbg.c56 pg->prompt[0] = NULL;
57 pg->prompt[1] = NULL;
195 if (PHPDBG_G(prompt)[0]) {
196 free(PHPDBG_G(prompt)[0]);
198 if (PHPDBG_G(prompt)[1]) {
199 free(PHPDBG_G(prompt)[1]);
202 PHPDBG_G(prompt)[0] = NULL;
203 PHPDBG_G(prompt)[1] = NULL;
328 /* {{{ proto void phpdbg_prompt(string prompt) */
331 char *prompt local
[all...]
/PHP_5_6/ext/curl/
H A Dinterface.c1675 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) argument
1691 ZVAL_STRING(argv[1], prompt, 1);

Completed in 29 milliseconds