Searched refs:pprompt (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/lib/libdpv/
H A Ddpv.c79 char *pprompt = NULL; /* dpv_config.pprompt */ variable
145 pprompt = NULL;
179 if (config->pprompt != NULL) {
180 if (pprompt == NULL) {
181 pprompt = malloc(DPV_PPROMPT_MAX + 2);
183 if (pprompt == NULL)
186 snprintf(pprompt, DPV_APROMPT_MAX, "%s",
187 config->pprompt);
279 if (use_dialog && pprompt !
[all...]
H A Ddpv_private.h45 extern char *pprompt, *aprompt;
H A Ddpv.h114 char *pprompt; /* Prompt prefix. Default NULL */ member in struct:dpv_config
H A Ddprompt.c144 numlines = dialog_prompt_numlines(pprompt, 0);
151 dheight -= dialog_prompt_nlstate(pprompt);
152 nls = dialog_prompt_nlstate(pprompt);
154 if (pprompt == NULL || *pprompt == '\0')
157 if (pprompt != NULL && *pprompt != '\0')
202 /* For wide mode, long prefix (`pprompt') or append (`aprompt')
205 len = (int)dialog_prompt_longestline(pprompt, 0); /* !nls */
236 dheight += dialog_prompt_wrappedlines(pprompt, dwidt
[all...]
/freebsd-11-stable/usr.sbin/bsdinstall/distextract/
H A Ddistextract.c77 static char pprompt[] = "Extracting distribution files...\n"; local
159 config->pprompt = pprompt;
/freebsd-11-stable/usr.bin/dpv/
H A Ddpv.c347 if (config->pprompt == NULL) {
348 config->pprompt = malloc(DPV_PPROMPT_MAX + 2);
349 if (config->pprompt == NULL)
353 snprintf(config->pprompt, DPV_PPROMPT_MAX, "%s",

Completed in 74 milliseconds