Searched refs:prompt (Results 126 - 150 of 278) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/apr/include/
H A Dapr_lib.h179 * Display a prompt and read in the password from stdin.
180 * @param prompt The prompt to display
189 APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf,
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dank.c126 char *prompt; local
129 asprintf (&prompt, "%s's Password: ", princ_name);
131 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1);
132 free (prompt);
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Ddes_old.c284 int _ossl_old_des_read_password(_ossl_old_des_cblock *key, const char *prompt, argument
287 return DES_read_password(key, prompt, verify);
292 const char *prompt, int verify)
294 return DES_read_2passwords(key1, key2, prompt, verify);
290 _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, const char *prompt, int verify) argument
/freebsd-11-stable/usr.bin/chpass/
H A Dedit.c230 if (!ep->prompt) {
237 if (strncasecmp(buf, ep->prompt, ep->len) != 0)
241 tfn, ep->prompt);
258 tfn, ep->prompt, val);
/freebsd-11-stable/usr.bin/less/
H A DMakefile7 opttbl.c os.c output.c pattern.c position.c prompt.c search.c \
/freebsd-11-stable/bin/ed/
H A Dmain.c99 static const char *prompt; /* command-line prompt */ variable
100 static const char *dps = "*"; /* default command-line prompt */
117 case 'p': /* set prompt */
118 prompt = optarg;
183 if (prompt) {
184 printf("%s", prompt);
646 prompt = prompt ? NULL : optarg ? optarg : dps;
/freebsd-11-stable/usr.sbin/ppp/
H A Dradius.h112 extern void radius_Show(struct radius *, struct prompt *);
H A Droute.c81 #include "prompt.h"
87 p_sockaddr(struct prompt *prompt, struct sockaddr *phost, argument
115 prompt_Printf(prompt, "%-*s ", width - 1, "default");
117 prompt_Printf(prompt, "%-*s ", width - 1, ncprange_ntoa(&range));
148 prompt_Printf(prompt, "%-*s ", width-1, buf);
183 p_flags(struct prompt *prompt, u_int32_t f, unsigned max) argument
195 prompt_Printf(prompt, "%-*.*s", (int)max, (int)max, name);
357 prompt_Printf(arg->prompt, "
[all...]
H A Diface.c82 #include "prompt.h"
778 prompt_Printf(arg->prompt, "%s (idx %d) <", iface->name, iface->index);
781 prompt_Printf(arg->prompt, "%s%s", flags == iface->flags ? "" : ",",
788 prompt_Printf(arg->prompt, "%s0x%x", flags == iface->flags ? "" : ",",
792 prompt_Printf(arg->prompt, "> mtu %lu has %d address%s:\n", iface->mtu,
799 prompt_Printf(arg->prompt, " inet %s --> ", ncpaddr_ntoa(&ncpaddr));
801 prompt_Printf(arg->prompt, "255.255.255.255");
803 prompt_Printf(arg->prompt, "%s", ncpaddr_ntoa(&iface->addr[f].peer));
805 prompt_Printf(arg->prompt, " netmask 0x%08lx", (long)ntohl(mask.s_addr));
810 prompt_Printf(arg->prompt, " inet
[all...]
H A Dlcp.c67 #include "prompt.h"
166 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name,
168 prompt_Printf(arg->prompt,
176 prompt_Printf(arg->prompt,
186 prompt_Printf(arg->prompt, "\n Defaults: MRU = %d (max %d), ",
189 prompt_Printf(arg->prompt, "\n Defaults: MRU = any (max %d), ",
192 prompt_Printf(arg->prompt, "MTU = %d (max %d), ",
195 prompt_Printf(arg->prompt, "MTU = any (max %d), ", lcp->cfg.max_mtu);
196 prompt_Printf(arg->prompt, "ACCMAP = %08lx\n", (u_long)lcp->cfg.accmap);
197 prompt_Printf(arg->prompt, " LQ
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dssh-add.c413 char prompt[100], *p1, *p2; local
416 strlcpy(prompt, "Enter lock password: ", sizeof(prompt));
417 p1 = read_passphrase(prompt, RP_ALLOW_STDIN);
419 strlcpy(prompt, "Again: ", sizeof prompt);
420 p2 = read_passphrase(prompt, RP_ALLOW_STDIN);
H A Dsshconnect1.c411 char prompt[1024]; local
434 snprintf(prompt, sizeof prompt, "%s%s", challenge,
442 response = read_passphrase(prompt, 0);
468 try_password_authentication(char *prompt) argument
479 password = read_passphrase(prompt, 0);
759 char prompt[80]; local
761 snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ",
763 if (try_password_authentication(prompt))
[all...]
H A Dsshconnect2.c896 char prompt[150]; local
907 snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ",
909 password = read_passphrase(prompt, 0);
928 * parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST
936 char prompt[150]; local
957 snprintf(prompt, sizeof(prompt),
960 password = read_passphrase(prompt, 0);
966 snprintf(prompt, sizeo
1232 char prompt[300], *passphrase, *comment; local
1558 char *name, *inst, *lang, *prompt, *response; local
[all...]
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/
H A Dpartedit.c76 const char *progname, *prompt; local
100 prompt = "Please review the disk setup. When complete, press "
110 prompt = NULL;
116 prompt = "Create partitions for FreeBSD. No changes will be "
121 while (prompt != NULL) {
139 op = diskeditor_show("Partition Editor", prompt,
210 if (prompt == NULL) {
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DIOHandler.h103 virtual bool SetPrompt(llvm::StringRef prompt) { argument
328 llvm::StringRef prompt, llvm::StringRef continuation_prompt,
341 llvm::StringRef prompt, llvm::StringRef continuation_prompt,
386 bool SetPrompt(llvm::StringRef prompt) override;
387 bool SetPrompt(const char *prompt) = delete;
391 void SetContinuationPrompt(llvm::StringRef prompt);
429 uint32_t m_base_line_number; // If non-zero, then show line numbers in prompt
443 IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt,
/freebsd-11-stable/contrib/dialog/
H A Dcalendar.c369 CleanupResult(int code, WINDOW *dialog, char *prompt, DIALOG_VARS * save_vars) argument
374 if (prompt != 0)
375 free(prompt);
441 char *prompt = dlg_strclone(subtitle); local
488 dlg_auto_size(title, prompt, &height, &width, 0, mincols);
505 dlg_print_autowrap(dialog, prompt, height, width);
521 return CleanupResult(DLG_EXIT_ERROR, dialog, prompt, &save_vars);
533 return CleanupResult(DLG_EXIT_ERROR, dialog, prompt, &save_vars);
545 return CleanupResult(DLG_EXIT_ERROR, dialog, prompt, &save_vars);
686 return CleanupResult(result, dialog, prompt,
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dprompt.c2 * prompt.c -- ask the user for authentication information.
485 prompt(const char **result,
590 * preceding a prompt; or if @a realm is null, then do nothing.
628 SVN_ERR(prompt(&(ret->username), _("Username: "), FALSE, pb, pool));
631 SVN_ERR(prompt(&(ret->password), pass_prompt, TRUE, pb, pool));
651 SVN_ERR(prompt(&(ret->username), _("Username: "), FALSE, pb, pool));
730 SVN_ERR(prompt(&choice, buf->data, FALSE, pb, pool));
768 SVN_ERR(prompt(&cert_file, _("Client certificate filename: "),
795 SVN_ERR(prompt(&result, text, TRUE, pb, pool));
805 /* This is a helper for plaintext prompt function
483 prompt(const char **result, function
[all...]
/freebsd-11-stable/stand/common/
H A Dcommands.c378 char *prompt; local
387 prompt = NULL;
393 prompt = optarg;
413 if (prompt != NULL)
414 printf("%s", prompt);
/freebsd-11-stable/bin/sh/
H A Dmiscbltin.c164 char *prompt; local
181 prompt = NULL;
187 prompt = shoptarg;
214 if (prompt && isatty(0)) {
215 out2str(prompt);
/freebsd-11-stable/contrib/libreadline/
H A Dreadline.c181 /* Current prompt. */
193 before readline_internal_setup () prints the first prompt. */
234 /* Non-zero means to erase entire line, including prompt, on empty input lines. */
282 /* Set up the prompt and expand it. Called from readline() and
285 rl_set_prompt (prompt)
286 const char *prompt;
289 rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
299 readline (prompt)
300 const char *prompt;
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dks_file.c275 hx509_prompt prompt; local
278 memset(&prompt, 0, sizeof(prompt));
280 prompt.prompt = "Password for keyfile: ";
281 prompt.type = HX509_PROMPT_TYPE_PASSWORD;
282 prompt.reply.data = password;
283 prompt.reply.length = sizeof(password);
285 ret = hx509_lock_prompt(lock, &prompt);
/freebsd-11-stable/contrib/gdb/gdb/
H A Devent-top.c101 /* This variable contains the new prompt that the user sets with the
102 set prompt command. */
117 /* This is the prompt stack. Prompts will be pushed on the stack as
182 prompt, otherwise just print the prompt. */
185 /* Tell readline what the prompt to display is and what function it
187 the first prompt. */
235 /* Displays the prompt. The prompt that is displayed is the current
236 top of the prompt stac
361 push_prompt(char *prefix, char *prompt, char *suffix) argument
1026 char *prompt = get_prompt (); local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-io.c140 /* The last gdb prompt that was registered in readline.
141 This may be the main gdb prompt or a secondary prompt. */
191 Redisplay the command line with its prompt after readline has
203 char *prompt; local
212 prompt = "";
214 prompt = tui_rl_saved_prompt;
223 for (in = 0; prompt && prompt[in]; in++)
225 waddch (w, prompt[i
[all...]
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin.c645 char prompt[128]; local
674 snprintf (prompt, sizeof(prompt), "%s's %s Password: ",
678 strncpy(prompt, "Password: ", sizeof(prompt));
681 ret = read_string(prompt, password, sizeof(password), 0);
/freebsd-11-stable/crypto/heimdal/admin/
H A Dadd.c39 readstring(const char *prompt, char *buf, size_t len) argument
41 printf("%s", prompt);

Completed in 241 milliseconds

1234567891011>>