/netbsd/external/bsd/libfido2/dist/tools/ |
H A D | pin.c | 23 char prompt[1024]; in pin_set() local 31 r = snprintf(prompt, sizeof(prompt), "Enter new PIN for %s: ", path); in pin_set() 32 if (r < 0 || (size_t)r >= sizeof(prompt)) { in pin_set() 42 r = snprintf(prompt, sizeof(prompt), "Enter the same PIN again: "); in pin_set() 43 if (r < 0 || (size_t)r >= sizeof(prompt)) { in pin_set() 78 char prompt[1024]; in pin_change() local 90 r = snprintf(prompt, sizeof(prompt), "Enter current PIN for %s: ", path); in pin_change() 91 if (r < 0 || (size_t)r >= sizeof(prompt)) { in pin_change() 101 r = snprintf(prompt, sizeof(prompt), "Enter new PIN for %s: ", path); in pin_change() 102 if (r < 0 || (size_t)r >= sizeof(prompt)) { in pin_change() [all …]
|
/netbsd/games/phantasia/ |
H A D | gamesupport.c | 231 prompt = "level"; in changestats() 276 prompt = "mana"; in changestats() 291 prompt = "gold"; in changestats() 296 prompt = "gems"; in changestats() 301 prompt = "sin"; in changestats() 306 prompt = "x"; in changestats() 311 prompt = "y"; in changestats() 330 prompt = "type"; in changestats() 424 mvprintw(23, 0, "%s = %f; %s = ", prompt, *dptr, prompt); in changestats() 431 mvprintw(23, 0, "%s = %d; %s = ", prompt, *sptr, prompt); in changestats() [all …]
|
/netbsd/usr.bin/telnet/ |
H A D | main.c | 93 prompt, in usage() 135 ++prompt; in main() 137 prompt = argv[0]; in main() 180 prompt); in main() 205 prompt); in main() 212 prompt); in main() 220 prompt); in main() 228 prompt); in main() 234 prompt); in main() 251 prompt); in main() [all …]
|
/netbsd/external/bsd/openpam/dist/lib/libpam/ |
H A D | pam_get_user.c | 66 const char *prompt) in pam_get_user() argument 80 prompt = promptp; in pam_get_user() 82 if (prompt == NULL) { in pam_get_user() 85 prompt = promptp; in pam_get_user() 88 if (prompt == NULL) in pam_get_user() 89 prompt = user_prompt; in pam_get_user() 92 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_user() 94 prompt = prompt_buf; in pam_get_user() 95 r = pam_prompt(pamh, PAM_PROMPT_ECHO_ON, &resp, "%s", prompt); in pam_get_user()
|
H A D | pam_get_authtok.c | 71 const char *prompt) in pam_get_authtok() argument 124 prompt = promptp; in pam_get_authtok() 126 if (prompt == NULL) { in pam_get_authtok() 129 prompt = promptp; in pam_get_authtok() 132 if (prompt == NULL) in pam_get_authtok() 133 prompt = default_prompt; in pam_get_authtok() 136 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt); in pam_get_authtok() 138 prompt = prompt_buf; in pam_get_authtok() 141 r = pam_prompt(pamh, style, &resp, "%s", prompt); in pam_get_authtok() 145 r = pam_prompt(pamh, style, &resp2, "Retype %s", prompt); in pam_get_authtok()
|
/netbsd/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
H A D | prompt.py | 110 def substitute_prompt(prompt): argument 114 plen = len(prompt) 117 if prompt[i] == '\\': 121 cmdch = prompt[i] 126 if i + 1 < plen and prompt[i + 1] == '{': 128 while j < plen and prompt[j] != '}': 131 if j >= plen or prompt[j] != '}': 134 arg = prompt[i + 2 : j] 142 result += prompt[i] 144 result += prompt[i]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/ |
H A D | prompt.py | 110 def substitute_prompt(prompt): argument 114 plen = len(prompt) 117 if prompt[i] == '\\': 121 cmdch = prompt[i] 126 if i + 1 < plen and prompt[i + 1] == '{': 128 while j < plen and prompt[j] != '}': 131 if j >= plen or prompt[j] != '}': 134 arg = prompt[i + 2 : j] 142 result += prompt[i] 144 result += prompt[i]
|
/netbsd/external/gpl2/texinfo/dist/info/ |
H A D | m-x.c | 38 read_function_name (char *prompt, WINDOW *window) in read_function_name() argument 60 line = info_read_completing_in_echo_area (window, prompt, array); in read_function_name() 102 char *prompt; variable 104 prompt = (char *)xmalloc (20); 113 sprintf (prompt, "%d %s ", count, keys); 115 sprintf (prompt, "%s ", keys); 118 line = read_function_name (prompt, window); 170 char prompt[80]; variable 175 sprintf (prompt, _("Set screen height to (%d): "), new_height); 177 line = info_read_in_echo_area (window, prompt);
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
H A D | evp_key.c | 20 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument 22 if (prompt == NULL) in EVP_set_pw_prompt() 25 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt() 43 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument 45 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string() 48 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument 55 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min() 56 prompt = prompt_string; in EVP_read_pw_string_min() 60 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min() 63 && UI_add_verify_string(ui, prompt, 0, buff, min, in EVP_read_pw_string_min()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/ |
H A D | evp_key.c | 24 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument 26 if (prompt == NULL) in EVP_set_pw_prompt() 29 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt() 47 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument 49 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string() 52 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument 59 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min() 60 prompt = prompt_string; in EVP_read_pw_string_min() 64 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min() 67 && UI_add_verify_string(ui, prompt, 0, buff, min, in EVP_read_pw_string_min()
|
/netbsd/external/mit/libcbor/dist/ |
H A D | release.sh | 8 function prompt() { function 25 prompt "Is the changelog correct and complete?" 29 prompt "Is the Doxyfile version correct?" 33 prompt "Is the CMake version correct?" 37 prompt "Are the versions correct?" 67 prompt "Will proceed to tag the release with $TAG_NAME." 75 prompt "Have you added the release to https://github.com/PJK/libcbor/releases/tag/$TAG_NAME?" 88 prompt "Have you updated the tap?"
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ui/ |
H A D | ui_lib.c | 104 if (prompt == NULL) { in general_allocate_prompt() 110 ret->out_string = prompt; in general_allocate_prompt() 201 return general_allocate_string(ui, prompt, 0, in UI_add_input_string() 212 if (prompt != NULL) { in UI_dup_input_string() 213 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_string() 240 if (prompt != NULL) { in UI_dup_verify_string() 241 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_verify_string() 271 if (prompt != NULL) { in UI_dup_input_boolean() 272 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_boolean() 360 char *prompt = NULL; in UI_construct_prompt() local [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/ui/ |
H A D | ui_lib.c | 104 if (prompt == NULL) { in general_allocate_prompt() 110 ret->out_string = prompt; in general_allocate_prompt() 200 return general_allocate_string(ui, prompt, 0, in UI_add_input_string() 211 if (prompt != NULL) { in UI_dup_input_string() 212 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_string() 239 if (prompt != NULL) { in UI_dup_verify_string() 240 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_verify_string() 270 if (prompt != NULL) { in UI_dup_input_boolean() 271 prompt_copy = OPENSSL_strdup(prompt); in UI_dup_input_boolean() 359 char *prompt = NULL; in UI_construct_prompt() local [all …]
|
/netbsd/external/bsd/tmux/dist/ |
H A D | cmd-command-prompt.c | 55 char *prompt; member 88 char *tmp, *prompts, *prompt, *next_prompt; in cmd_command_prompt_exec() local 120 while ((prompt = strsep(&next_prompt, ",")) != NULL) { in cmd_command_prompt_exec() 124 tmp = xstrdup(prompt); in cmd_command_prompt_exec() 126 xasprintf(&tmp, "%s ", prompt); in cmd_command_prompt_exec() 127 cdata->prompts[cdata->count].prompt = tmp; in cmd_command_prompt_exec() 159 status_prompt_set(tc, target, cdata->prompts[0].prompt, in cmd_command_prompt_exec() 176 struct cmd_command_prompt_prompt *prompt; in cmd_command_prompt_callback() local 188 prompt = &cdata->prompts[cdata->current]; in cmd_command_prompt_callback() 189 status_prompt_update(c, prompt->prompt, prompt->input); in cmd_command_prompt_callback() [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hx509/ |
H A D | lock.c | 47 hx509_prompter_fct prompt; member 174 hx509_lock_set_prompter(hx509_lock lock, hx509_prompter_fct prompt, void *data) in hx509_lock_set_prompter() argument 176 lock->prompt = prompt; in hx509_lock_set_prompter() 184 lock->prompt = NULL; in hx509_lock_reset_promper() 194 prompter->prompt, in default_prompter() 200 fputs (prompter->prompt, stdout); in default_prompter() 212 hx509_lock_prompt(hx509_lock lock, hx509_prompt *prompt) in hx509_lock_prompt() argument 214 if (lock->prompt == NULL) in hx509_lock_prompt() 216 return (*lock->prompt)(lock->prompt_data, prompt); in hx509_lock_prompt()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | readpass.c | 124 read_passphrase(const char *prompt, int flags) in read_passphrase() argument 182 if ((ret = ssh_askpass(askpass, prompt, askpass_hint)) == NULL) in read_passphrase() 203 char *p, prompt[1024]; in ask_permission() local 207 vsnprintf(prompt, sizeof(prompt), fmt, args); in ask_permission() 210 p = read_passphrase(prompt, in ask_permission() 243 char *prompt = NULL; in notify_start() local 250 xvasprintf(&prompt, fmt, args); in notify_start() 256 writemsg(prompt); in notify_start() 275 free(prompt); in notify_start() 283 execlp(askpass, askpass, prompt, (char *)NULL); in notify_start() [all …]
|
H A D | readpassphrase.c | 47 readpassphrase(prompt, buf, bufsiz, flags) in readpassphrase() argument 48 const char *prompt; in readpassphrase() 67 return getpassfd(prompt, buf, bufsiz, NULL, gflags, 0); 116 (void)write(output, prompt, strlen(prompt)); 146 getpass(prompt) in getpass() argument 147 const char *prompt; in getpass() 151 return(readpassphrase(prompt, buf, sizeof(buf), RPP_ECHO_OFF));
|
/netbsd/external/bsd/pdisk/dist/ |
H A D | io.c | 147 get_okay(const char *prompt, int default_value) in get_okay() argument 152 printf("%s", prompt); in get_okay() 170 printf("%s", prompt); in get_okay() 178 get_command(const char *prompt, int promptBeforeGet, int *command) in get_command() argument 183 printf("%s", prompt); in get_command() 193 printf("%s", prompt); in get_command() 204 get_number_argument(const char *prompt, long *number, long default_value) in get_number_argument() argument 218 printf("%s", prompt); in get_number_argument() 283 get_string_argument(const char *prompt, char **string, int reprompt) in get_string_argument() argument 297 printf("%s", prompt); in get_string_argument()
|
/netbsd/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | ui.c | 63 read_string(const char *preprompt, const char *prompt, in read_string() argument 71 _cprintf("%s%s", preprompt, prompt); in read_string() 108 read_string(const char *preprompt, const char *prompt, in read_string() argument 139 fprintf(stderr, "%s%s", preprompt, prompt); in read_string() 191 UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, int verify) in UI_UTIL_read_pw_string() argument 195 ret = read_string("", prompt, buf, length, 0); in UI_UTIL_read_pw_string() 205 ret = read_string("Verify password - ", prompt, buf2, length, 0); in UI_UTIL_read_pw_string()
|
/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | getpass.c | 88 getpass (const char *prompt) in getpass() argument 130 fputs_unlocked (prompt, out); in getpass() 189 getpass (const char *prompt) in getpass() argument 195 if (prompt) in getpass() 197 fputs (prompt, stderr); in getpass() 221 if (prompt) in getpass()
|
/netbsd/lib/libc/gen/ |
H A D | getpass.c | 86 getpassfd(const char *prompt, char *buf, size_t len, int *fd, int flags, in __weak_alias() 95 _DIAGASSERT(prompt != NULL); in __weak_alias() 138 if (prompt != NULL) { in __weak_alias() 139 size_t plen = strlen(prompt); in __weak_alias() 140 (void)write(fd[1], prompt, plen); in __weak_alias() 321 getpass_r(const char *prompt, char *buf, size_t len) in getpass_r() argument 323 return getpassfd(prompt, buf, len, NULL, GETPASS_ECHO_NL, 0); in getpass_r() 327 getpass(const char *prompt) in getpass() argument 346 if ((rv = getpass_r(prompt, buf, (size_t)bufsiz)) == NULL) in getpass()
|
/netbsd/external/gpl3/gdb/dist/readline/readline/examples/rlfe/ |
H A D | rlfe.c | 388 char *prompt = empty_string; in main() local 571 rl_callback_handler_install (prompt, line_handler); in main() 657 if (prompt != empty_string) in main() 658 free (prompt); in main() 659 if (prompt == NULL) in main() 662 prompt = empty_string; in main() 670 sprintf (prompt, "\001%s\002%.*s\001%s\002", in main() 677 prompt = malloc (buf_count + 1); in main() 678 memcpy (prompt, buf, buf_count); in main() 679 prompt[buf_count] = '\0'; in main() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/ |
H A D | rlfe.c | 388 char *prompt = empty_string; in main() local 571 rl_callback_handler_install (prompt, line_handler); in main() 657 if (prompt != empty_string) in main() 658 free (prompt); in main() 659 if (prompt == NULL) in main() 662 prompt = empty_string; in main() 670 sprintf (prompt, "\001%s\002%.*s\001%s\002", in main() 677 prompt = malloc (buf_count + 1); in main() 678 memcpy (prompt, buf, buf_count); in main() 679 prompt[buf_count] = '\0'; in main() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/include/openssl/ |
H A D | ui.h | 89 int UI_add_input_string(UI *ui, const char *prompt, int flags, 91 int UI_dup_input_string(UI *ui, const char *prompt, int flags, 93 int UI_add_verify_string(UI *ui, const char *prompt, int flags, 96 int UI_dup_verify_string(UI *ui, const char *prompt, int flags, 99 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, 102 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, 358 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, 360 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt,
|
/netbsd/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | getpass.c | 75 lutil_getpass( const char *prompt ) in lutil_getpass() argument 87 if( prompt == NULL ) prompt = _("Password: "); in lutil_getpass() 91 printf("->getpass(%s)\n", prompt); in lutil_getpass() 111 fprintf(stderr, "%s", prompt); in lutil_getpass()
|