Searched defs:prompt (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/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)
211 /* {{{ proto string readline([string prompt])
215 char *prompt = NULL; local
219 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "|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)
563 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 zend_string *cli_get_prompt(char *block, char prompt) /* {{{ */ argument
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");
207 static int cli_is_valid_code(char *code, int len, zend_string **prompt) /* {{{ */ argument
368 *prompt
585 zend_string *prompt = cli_get_prompt("php", '>'); local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_set.h28 PHPDBG_SET(prompt); variable
H A Dphpdbg.c74 pg->prompt[0] = NULL;
75 pg->prompt[1] = NULL;
232 if (PHPDBG_G(prompt)[0]) {
233 free(PHPDBG_G(prompt)[0]);
235 if (PHPDBG_G(prompt)[1]) {
236 free(PHPDBG_G(prompt)[1]);
239 PHPDBG_G(prompt)[0] = NULL;
240 PHPDBG_G(prompt)[1] = NULL;
388 /* {{{ proto void phpdbg_prompt(string prompt) */
391 char *prompt local
[all...]
H A Dphpdbg.h107 #define PHPDBG_DEFAULT_PROMPT "prompt>"
283 char *prompt[2]; /* prompt */ variable
H A Dphpdbg_utils.c70 PHPDBG_ELEMENT_D("prompt", PHPDBG_COLOR_PROMPT),
272 PHPDBG_API void phpdbg_set_prompt(const char *prompt) /* {{{ */ argument
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...]
/PHP_TRUNK/ext/curl/
H A Dinterface.c1618 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) argument
1629 ZVAL_STRING(&argv[1], prompt);

Completed in 29 milliseconds