/dports/graphics/xpaint/xpaint-2.9.10.3/share/c_scripts/procedures/ |
H A D | proc_with_params.c | 20 struct textPromptInfo * prompts; variable 63 info->prompts[i].str = info->prompts[i].rstr; in image_proc() 89 free(prompts); in image_proc() 107 prompts[0].rstr = NULL; in PaintProcedure() 108 prompts[0].len = 12; in PaintProcedure() 111 prompts[1].rstr = NULL; in PaintProcedure() 112 prompts[1].len = 12; in PaintProcedure() 115 prompts[2].rstr = NULL; in PaintProcedure() 116 prompts[2].len = 12; in PaintProcedure() 119 prompts[3].rstr = NULL; in PaintProcedure() [all …]
|
/dports/security/pam_krb5-rh/pam_krb5-2.4.13/src/ |
H A D | prompter.c | 190 prompts[i].prompt, 203 prompts[i].prompt, 205 (prompts[i].reply ? prompts[i].reply->length : 0), 207 (prompts[i].reply ? prompts[i].reply->data : "")); 255 prompts[i].prompt, 257 (prompts[i].reply ? prompts[i].reply->length : 0), 259 (prompts[i].reply ? prompts[i].reply->data : "")); in rs11() 472 (prompts[i].reply ? prompts[i].reply->length : 0), in rq12() 474 (prompts[i].reply ? prompts[i].reply->data : ""), in rq12() 482 pw1 = prompts[i].reply; in rq12() [all …]
|
/dports/graphics/xpaint/xpaint-2.9.10.3/share/c_scripts/filters/ |
H A D | clean.c | 21 static struct textPromptInfo prompts[NUM]; variable 61 if (!info->prompts[i].rstr) continue; in filter_proc() 63 if (info->prompts[i].rstr != info->prompts[i].str) { in filter_proc() 64 free(info->prompts[i].str); in filter_proc() 65 info->prompts[i].str = strdup(info->prompts[i].rstr); in filter_proc() 80 prompts[0].str = strdup("700"); in FilterProcess() 81 prompts[0].rstr = NULL; in FilterProcess() 82 prompts[0].len = 12; in FilterProcess() 84 prompts[1].str = strdup("0"); in FilterProcess() 85 prompts[1].rstr = NULL; in FilterProcess() [all …]
|
/dports/math/R/R-4.1.2/src/library/utils/R/ |
H A D | askYesNo.R | 20 prompts = getOption("askYesNo", gettext(c("Yes", "No", "Cancel"))), argument 22 if (is.character(prompts) && length(prompts) == 1) 23 prompts <- strsplit(prompts, "/")[[1]] 24 if (!is.character(prompts) || length(prompts) != 3) { 25 fn <- match.fun(prompts) 26 return(fn(msg = msg, default = default, prompts = prompts, ...)) 28 choices <- tolower(prompts) 29 if (is.na(default)) choices[3L] <- prompts[3L] 30 else if (default) choices[1L] <- prompts[1L] 31 else choices[2L] <- prompts[2L]
|
/dports/math/libRmath/R-4.1.1/src/library/utils/R/ |
H A D | askYesNo.R | 20 prompts = getOption("askYesNo", gettext(c("Yes", "No", "Cancel"))), argument 22 if (is.character(prompts) && length(prompts) == 1) 23 prompts <- strsplit(prompts, "/")[[1]] 24 if (!is.character(prompts) || length(prompts) != 3) { 25 fn <- match.fun(prompts) 26 return(fn(msg = msg, default = default, prompts = prompts, ...)) 28 choices <- tolower(prompts) 29 if (is.na(default)) choices[3L] <- prompts[3L] 30 else if (default) choices[1L] <- prompts[1L] 31 else choices[2L] <- prompts[2L]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/krb5/os/ |
H A D | prompter.c | 38 krb5_prompt prompts[]) in krb5_prompter_posix() argument 86 (void)memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix() 89 retp = fgets(prompts[i].reply->data, (int)prompts[i].reply->length, in krb5_prompter_posix() 91 if (prompts[i].hidden) in krb5_prompter_posix() 116 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix() 257 if (prompts[i].hidden) { in krb5_prompter_posix() 267 memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix() 269 if (fgets(prompts[i].reply->data, prompts[i].reply->length, stdin) in krb5_prompter_posix() 276 if (prompts[i].hidden) in krb5_prompter_posix() 288 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix() [all …]
|
/dports/security/krb5/krb5-1.19.2/src/lib/krb5/os/ |
H A D | prompter.c | 38 krb5_prompt prompts[]) in krb5_prompter_posix() argument 86 (void)memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix() 89 retp = fgets(prompts[i].reply->data, (int)prompts[i].reply->length, in krb5_prompter_posix() 91 if (prompts[i].hidden) in krb5_prompter_posix() 116 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix() 257 if (prompts[i].hidden) { in krb5_prompter_posix() 267 memset(prompts[i].reply->data, 0, prompts[i].reply->length); in krb5_prompter_posix() 269 if (fgets(prompts[i].reply->data, prompts[i].reply->length, stdin) in krb5_prompter_posix() 276 if (prompts[i].hidden) in krb5_prompter_posix() 288 prompts[i].reply->length = strlen(prompts[i].reply->data); in krb5_prompter_posix() [all …]
|
/dports/x11/sddm/sddm-0.19.0/src/auth/ |
H A D | AuthMessages.h | 71 Request(QList<Prompt> prompts) in Request() argument 72 : prompts(prompts) { } in Request() 74 : prompts(o.prompts) { } in Request() 76 prompts = QList<Prompt>(o.prompts); 80 return prompts == o.prompts; 83 return !(prompts.isEmpty()); in valid() 86 prompts.clear(); in clear() 89 QList<Prompt> prompts { }; 197 QList<Prompt> prompts; variable 203 prompts << p; [all …]
|
H A D | AuthRequest.cpp | 32 QList<AuthPrompt*> prompts { }; member in SDDM::AuthRequest::Private 41 for(const AuthPrompt *qap : qAsConst(prompts)) { in responseChanged() 45 if (finishAutomatically && prompts.length() > 0) in responseChanged() 54 QList<AuthPrompt*> promptsCopy(d->prompts); in setRequest() 55 d->prompts.clear(); in setRequest() 59 d->prompts << qap; in setRequest() 71 QList<AuthPrompt*> AuthRequest::prompts() { in prompts() function in SDDM::AuthRequest 72 return d->prompts; in prompts() 76 return QQmlListProperty<AuthPrompt>(this, d->prompts); in promptsDecl() 99 for (const AuthPrompt* qap : qAsConst(d->prompts)) { in request() [all …]
|
/dports/mail/cone/cone-1.1/curses/ |
H A D | cursesdialog.C | 38 b=prompts.begin(), e=prompts.end(); in getHeight() 65 b=prompts.begin(), e=prompts.end(); in addPrompt() 85 b=prompts.begin(), e=prompts.end(); in addPrompt() 113 prompts.push_back(make_pair(label, field)); in addPrompt() 133 b=prompts.begin(); in addPrompt() 134 e=prompts.end(); in addPrompt() 149 b=prompts.begin(), e=prompts.end(); in delPrompt() 165 b=prompts.begin(), e=prompts.end(); in delPrompt() 181 prompts.erase(p); in delPrompt() 184 b=prompts.begin(), e=prompts.end(); in delPrompt() [all …]
|
/dports/net/samba412/samba-4.12.15/source4/heimdal/lib/krb5/ |
H A D | prompter_posix.c | 42 krb5_prompt prompts[]) in krb5_prompter_posix() argument 53 if (prompts[i].hidden) { in krb5_prompter_posix() 54 if(UI_UTIL_read_pw_string(prompts[i].reply->data, in krb5_prompter_posix() 55 prompts[i].reply->length, in krb5_prompter_posix() 56 prompts[i].prompt, in krb5_prompter_posix() 60 char *s = prompts[i].reply->data; in krb5_prompter_posix() 62 fputs (prompts[i].prompt, stdout); in krb5_prompter_posix() 64 if(fgets(prompts[i].reply->data, in krb5_prompter_posix() 65 prompts[i].reply->length, in krb5_prompter_posix()
|
/dports/net/sems/sems-f89581a/apps/examples/pinauthconference/ |
H A D | PinAuthConference.cpp | 60 AM_PROMPT_END(prompts, cfg, APP_NAME); in onLoad() 90 return new PinAuthConferenceDialog(prompts); in onInvite() 97 return new PinAuthConferenceDialog(prompts); in onInvite() 101 : play_list(this), separator(this, 0), prompts(prompts), state(None) in PinAuthConferenceDialog() 110 prompts.cleanup((long)this); in ~PinAuthConferenceDialog() 143 prompts.addToPlaylist(ENTER_PIN, (long)this, play_list); in onSessionStart() 171 prompts.addToPlaylist(JOIN_SOUND, (long)this, play_list, true); in process() 177 prompts.addToPlaylist(DROP_SOUND, (long)this, play_list, true); in process() 223 prompts.addToPlaylist(WRONG_PIN, (long)this, play_list, true); in onDtmf() 233 prompts.addToPlaylist(num, in onDtmf() [all …]
|
/dports/math/rkward-kde/rkward-0.7.1/rkward/rbackend/rpackages/rkward/R/ |
H A D | rk.KDE_GUI-functions.R | 104 "rk.askYesNo" <- function (msg, default = TRUE, prompts = c("yes", "no", "cancel"), caption = gette… argument 105 if(is.function(prompts)){ 109 prompts <- eval(formals("rk.askYesNo")[["prompts"]]) 114 if(is.character(prompts)){ 115 if(length(prompts) == 1){ 116 prompts <- unlist(strsplit(prompts, "/")) 118 if(length(prompts) != 3){ 121 button.yes <- prompts[1] 122 button.no <- prompts[2] 123 button.cancel <- prompts[3]
|
/dports/security/pam_krb5/pam-krb5-4.9/tests/fakepam/ |
H A D | config.c | 628 static struct prompts * 631 struct prompts *prompts = NULL; in parse_prompts() local 643 prompts = bcalloc(1, sizeof(struct prompts)); in parse_prompts() 644 prompts->prompts = bcalloc(1, sizeof(struct prompt)); in parse_prompts() 646 } else if (prompts->allocated == prompts->size) { in parse_prompts() 649 prompts->prompts = breallocarray(prompts->prompts, count, size); in parse_prompts() 651 for (i = prompts->size; i < prompts->allocated; i++) { in parse_prompts() 652 prompts->prompts[i].prompt = NULL; in parse_prompts() 653 prompts->prompts[i].response = NULL; in parse_prompts() 656 prompt = &prompts->prompts[prompts->size]; in parse_prompts() [all …]
|
H A D | script.c | 160 struct prompts *prompts = appdata_ptr; in converse() local 176 if (prompts->current >= prompts->size) { in converse() 184 prompt = &prompts->prompts[prompts->current]; in converse() 190 prompts->current++; in converse() 291 if (work->prompts != NULL) { in run_script() 293 conv.appdata_ptr = work->prompts; in run_script() 341 if (work->prompts != NULL) { in run_script() 343 free(work->prompts->prompts[i].prompt); in run_script() 344 free(work->prompts->prompts[i].response); in run_script() 346 free(work->prompts->prompts); in run_script() [all …]
|
/dports/devel/py-fabric3/Fabric3-1.14.post1/tests/ |
H A D | test_io.py | 16 def run(txt, prompts): argument 17 with settings(prompts=prompts): 23 prompts = {"prompt2": "response2", 28 eq_(run("this is a prompt for prompt1", prompts), ("prompt1", "response1")) 29 eq_(run("this is a prompt for prompt2", prompts), ("prompt2", "response2")) 30 eq_(run("this is a prompt for promptx:", prompts), (None, None)) 31 eq_(run("prompt for promp", prompts), (None, None))
|
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/prompts/docs/ |
H A D | modalTypes.rst | 8 Window prompts are system prompts. They are clearly distinguishable from website 24 When using window prompts, make sure they can not be spawned by web content. 26 of DoS attacks in the wild where websites spammed window prompts to lock up 41 Tab prompts are system prompts like window prompts. As opposed to window 42 prompts, they are tab modal and don't steal focus from the parent window. 43 Multiple tab prompts cannot be shown at the same time. When opening additional 44 prompts, they are FIFO queued. 75 Content prompts are like tab prompts, but they belong to the web content. Thus, 91 Disabling tab/content modal prompts 93 You can disable tab and content modal prompts and get back window-modal prompts [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/prompts/docs/ |
H A D | modalTypes.rst | 8 Window prompts are system prompts. They are clearly distinguishable from website 24 When using window prompts, make sure they can not be spawned by web content. 26 of DoS attacks in the wild where websites spammed window prompts to lock up 41 Tab prompts are system prompts like window prompts. As opposed to window 42 prompts, they are tab modal and don't steal focus from the parent window. 43 Multiple tab prompts cannot be shown at the same time. When opening additional 44 prompts, they are FIFO queued. 75 Content prompts are like tab prompts, but they belong to the web content. Thus, 91 Disabling tab/content modal prompts 93 You can disable tab and content modal prompts and get back window-modal for [all …]
|
/dports/www/firefox/firefox-99.0/toolkit/components/prompts/docs/ |
H A D | modalTypes.rst | 8 Window prompts are system prompts. They are clearly distinguishable from website 24 When using window prompts, make sure they can not be spawned by web content. 26 of DoS attacks in the wild where websites spammed window prompts to lock up 41 Tab prompts are system prompts like window prompts. As opposed to window 42 prompts, they are tab modal and don't steal focus from the parent window. 43 Multiple tab prompts cannot be shown at the same time. When opening additional 44 prompts, they are FIFO queued. 75 Content prompts are like tab prompts, but they belong to the web content. Thus, 91 Disabling tab/content modal prompts 93 You can disable tab and content modal prompts and get back window-modal for [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/prompts/docs/ |
H A D | modalTypes.rst | 8 Window prompts are system prompts. They are clearly distinguishable from website 24 When using window prompts, make sure they can not be spawned by web content. 26 of DoS attacks in the wild where websites spammed window prompts to lock up 41 Tab prompts are system prompts like window prompts. As opposed to window 42 prompts, they are tab modal and don't steal focus from the parent window. 43 Multiple tab prompts cannot be shown at the same time. When opening additional 44 prompts, they are FIFO queued. 75 Content prompts are like tab prompts, but they belong to the web content. Thus, 91 Disabling tab/content modal prompts 93 You can disable tab and content modal prompts and get back window-modal for [all …]
|
/dports/security/duo/duo_unix-1.11.4/tests/unity_tests/ |
H A D | common_ini_prompts_test.c | 11 cfg.prompts = num_prompts_start; in test_prompt_number_zero() 14 TEST_ASSERT_EQUAL(expected_prompts, cfg.prompts); in test_prompt_number_zero() 24 cfg.prompts = num_prompts_start; in test_prompt_number_negitive_one() 27 TEST_ASSERT_EQUAL(expected_prompts, cfg.prompts); in test_prompt_number_negitive_one() 37 cfg.prompts = num_prompts_start; in test_prompt_number_one() 40 TEST_ASSERT_EQUAL(expected_prompts, cfg.prompts); in test_prompt_number_one() 50 cfg.prompts = num_prompts_start; in test_prompt_number_two() 53 TEST_ASSERT_EQUAL(expected_prompts, cfg.prompts); in test_prompt_number_two()
|
/dports/security/cyrus-sasl2-ldapdb/cyrus-sasl-2.1.28/common/ |
H A D | plugin_common.c | 538 sasl_interact_t *prompts; in _plug_make_prompts() local 553 if (!prompts) { in _plug_make_prompts() 559 *prompts_res = prompts; in _plug_make_prompts() 562 (prompts)->id = SASL_CB_USER; in _plug_make_prompts() 567 prompts++; in _plug_make_prompts() 576 prompts++; in _plug_make_prompts() 580 (prompts)->id = SASL_CB_PASS; in _plug_make_prompts() 585 prompts++; in _plug_make_prompts() 594 prompts++; in _plug_make_prompts() 603 prompts++; in _plug_make_prompts() [all …]
|
/dports/security/cyrus-sasl2-sql/cyrus-sasl-2.1.28/common/ |
H A D | plugin_common.c | 538 sasl_interact_t *prompts; in _plug_make_prompts() local 553 if (!prompts) { in _plug_make_prompts() 559 *prompts_res = prompts; in _plug_make_prompts() 562 (prompts)->id = SASL_CB_USER; in _plug_make_prompts() 567 prompts++; in _plug_make_prompts() 576 prompts++; in _plug_make_prompts() 580 (prompts)->id = SASL_CB_PASS; in _plug_make_prompts() 585 prompts++; in _plug_make_prompts() 594 prompts++; in _plug_make_prompts() 603 prompts++; in _plug_make_prompts() [all …]
|
/dports/security/cyrus-sasl2/cyrus-sasl-2.1.28/common/ |
H A D | plugin_common.c | 538 sasl_interact_t *prompts; in _plug_make_prompts() local 553 if (!prompts) { in _plug_make_prompts() 559 *prompts_res = prompts; in _plug_make_prompts() 562 (prompts)->id = SASL_CB_USER; in _plug_make_prompts() 567 prompts++; in _plug_make_prompts() 576 prompts++; in _plug_make_prompts() 580 (prompts)->id = SASL_CB_PASS; in _plug_make_prompts() 585 prompts++; in _plug_make_prompts() 594 prompts++; in _plug_make_prompts() 603 prompts++; in _plug_make_prompts() [all …]
|
/dports/security/cyrus-sasl2-gssapi/cyrus-sasl-2.1.28/common/ |
H A D | plugin_common.c | 538 sasl_interact_t *prompts; in _plug_make_prompts() local 553 if (!prompts) { in _plug_make_prompts() 559 *prompts_res = prompts; in _plug_make_prompts() 562 (prompts)->id = SASL_CB_USER; in _plug_make_prompts() 567 prompts++; in _plug_make_prompts() 576 prompts++; in _plug_make_prompts() 580 (prompts)->id = SASL_CB_PASS; in _plug_make_prompts() 585 prompts++; in _plug_make_prompts() 594 prompts++; in _plug_make_prompts() 603 prompts++; in _plug_make_prompts() [all …]
|