Lines Matching refs:p
238 struct passwd *p; in _default_history_file() local
245 if ((p = getpwuid(getuid())) == NULL) in _default_history_file()
248 len = strlen(p->pw_dir) + sizeof("/.history"); in _default_history_file()
252 (void)snprintf(path, len, "%s/.history", p->pw_dir); in _default_history_file()
266 char *p; in rl_set_prompt() local
278 while ((p = strchr(rl_prompt, RL_PROMPT_END_IGNORE)) != NULL) { in rl_set_prompt()
280 if (p[1] == RL_PROMPT_START_IGNORE) { in rl_set_prompt()
281 memmove(p, p + 2, 1 + strlen(p + 2)); in rl_set_prompt()
283 *p = RL_PROMPT_START_IGNORE; in rl_set_prompt()
442 readline(const char *p) in readline() argument
445 const char * volatile prompt = p; in readline()
2045 rl_reset_terminal(const char *p __attribute__((__unused__))) in rl_reset_terminal() argument