Home
last modified time | relevance | path

Searched refs:prompt_buf (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/openpam/lib/libpam/
H A Dpam_get_user.c63 char prompt_buf[1024]; in pam_get_user() local
86 prompt_size = sizeof prompt_buf; in pam_get_user()
87 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_user()
88 if (r == PAM_SUCCESS && prompt_size <= sizeof prompt_buf) in pam_get_user()
89 prompt = prompt_buf; in pam_get_user()
H A Dpam_get_authtok.c68 char prompt_buf[1024]; in pam_get_authtok() local
130 prompt_size = sizeof prompt_buf; in pam_get_authtok()
131 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_authtok()
132 if (r == PAM_SUCCESS && prompt_size <= sizeof prompt_buf) in pam_get_authtok()
133 prompt = prompt_buf; in pam_get_authtok()
/freebsd/contrib/dialog/
H A Dguage.c44 char prompt_buf[MY_LEN]; member
203 obj->prompt_buf[0] = '\0'; in handle_input()
207 strcpy(obj->prompt_buf, buf); in handle_input()
212 if (strlen(obj->prompt_buf) + strlen(buf) < in handle_input()
213 sizeof(obj->prompt_buf) - 1) { in handle_input()
214 strcat(obj->prompt_buf, buf); in handle_input()
218 if (obj->prompt != obj->prompt_buf) in handle_input()
220 obj->prompt = obj->prompt_buf; in handle_input()
270 if (obj->prompt != obj->prompt_buf) { in my_cleanup()
272 obj->prompt = obj->prompt_buf; in my_cleanup()