Searched defs:prompt (Results 1 - 2 of 2) sorted by last modified time

/system/core/liblinenoise/
H A Dlinenoise.c173 static int effectiveLen(const char* prompt) { argument
177 while ( (c = *prompt++) != 0 ) {
187 static void refreshLine(int fd, const char *prompt, char *buf, size_t len, size_t pos, size_t cols) { argument
189 size_t plen = effectiveLen(prompt);
203 /* Write the prompt and the current buffer content */
204 if (write(fd,prompt,strlen(prompt)) == -1) return;
214 static int linenoisePrompt(int fd, char *buf, size_t buflen, const char *prompt) { argument
215 size_t plen = strlen(prompt);
228 if (write(fd,prompt,ple
364 linenoiseRaw(char *buf, size_t buflen, const char *prompt) argument
387 linenoise(const char *prompt) argument
[all...]
/system/core/sh/
H A Dmiscbltin.c94 char *prompt; local
104 prompt = NULL;
107 prompt = optionarg;
112 if (prompt && isatty(0)) {
113 out2str(prompt);

Completed in 68 milliseconds