Searched refs:ui (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-10.1-release/crypto/openssl/crypto/ui/
H A Dui_util.c1 /* crypto/ui/ui_util.c -*- mode:C; c-file-style: "eay" -*- */
76 UI *ui; local
81 ui = UI_new();
82 if (ui) {
83 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1);
85 ok = UI_add_verify_string(ui, prompt, 0, buff, 0, size - 1, buf);
87 ok = UI_process(ui);
88 UI_free(ui);
H A Dui_locl.h1 /* crypto/ui/ui.h -*- mode:C; c-file-style: "eay" -*- */
63 # include <openssl/ui.h>
81 int (*ui_open_session) (UI *ui);
82 int (*ui_write_string) (UI *ui, UI_STRING *uis);
87 int (*ui_flush) (UI *ui);
88 int (*ui_read_string) (UI *ui, UI_STRING *uis);
89 int (*ui_close_session) (UI *ui);
97 char *(*ui_construct_prompt) (UI *ui, const char *object_desc,
H A Dui.h1 /* crypto/ui/ui.h -*- mode:C; c-file-style: "eay" -*- */
87 void UI_free(UI *ui);
132 int UI_add_input_string(UI *ui, const char *prompt, int flags,
134 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
136 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
139 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
142 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
145 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
148 int UI_add_info_string(UI *ui, cons
[all...]
H A Dui_lib.c1 /* crypto/ui/ui_lib.c -*- mode:C; c-file-style: "eay" -*- */
64 #include <openssl/ui.h>
115 void UI_free(UI *ui) argument
117 if (ui == NULL)
119 sk_UI_STRING_pop_free(ui->strings, free_string);
120 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI, ui, &ui->ex_data);
121 OPENSSL_free(ui);
124 static int allocate_string_stack(UI *ui) argument
126 if (ui
135 general_allocate_prompt(UI *ui, const char *prompt, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf) argument
157 general_allocate_string(UI *ui, const char *prompt, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
182 general_allocate_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf) argument
232 UI_add_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument
241 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument
259 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
268 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument
287 UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
296 UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) argument
352 UI_add_info_string(UI *ui, const char *text) argument
358 UI_dup_info_string(UI *ui, const char *text) argument
374 UI_add_error_string(UI *ui, const char *text) argument
380 UI_dup_error_string(UI *ui, const char *text) argument
395 UI_construct_prompt(UI *ui, const char *object_desc, const char *object_name) argument
427 UI_add_user_data(UI *ui, void *user_data) argument
434 UI_get0_user_data(UI *ui) argument
439 UI_get0_result(UI *ui, int i) argument
452 print_error(const char *str, size_t len, UI *ui) argument
465 UI_process(UI *ui) argument
522 UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void)) argument
577 UI_get_method(UI *ui) argument
582 UI_set_method(UI *ui, const UI_METHOD *meth) argument
611 UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)) argument
620 UI_method_set_writer(UI_METHOD *method, int (*writer) (UI *ui, UI_STRING *uis)) argument
630 UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)) argument
639 UI_method_set_reader(UI_METHOD *method, int (*reader) (UI *ui, UI_STRING *uis)) argument
649 UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui)) argument
658 UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor) (UI *ui, const char *object_desc, const char *object_name)) argument
801 UI_set_result(UI *ui, UI_STRING *uis, const char *result) argument
[all...]
H A Dui_openssl.c1 /* crypto/ui/ui_openssl.c -*- mode:C; c-file-style: "eay" -*- */
315 static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl);
317 static int read_string(UI *ui, UI_STRING *uis);
318 static int write_string(UI *ui, UI_STRING *uis);
320 static int open_console(UI *ui);
321 static int echo_console(UI *ui);
322 static int noecho_console(UI *ui);
323 static int close_console(UI *ui);
345 static int write_string(UI *ui, UI_STRING *uis) argument
359 static int read_string(UI *ui, UI_STRIN argument
413 read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) argument
476 open_console(UI *ui) argument
528 noecho_console(UI *ui) argument
552 echo_console(UI *ui) argument
576 close_console(UI *ui) argument
[all...]
H A Dui_compat.h1 /* crypto/ui/ui.h -*- mode:C; c-file-style: "eay" -*- */
64 # include <openssl/ui.h>
H A DMakefile2 # OpenSSL/crypto/ui/Makefile
5 DIR= ui
29 EXHEADER= ui.h ui_compat.h
85 ui_compat.o: ../../include/openssl/stack.h ../../include/openssl/ui.h
92 ui_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_err.c
99 ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
107 ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
113 ui_util.o: ../../include/openssl/ui.h ui_locl.h ui_util.c
H A Dui_err.c1 /* crypto/ui/ui_err.c */
64 #include <openssl/ui.h>
/freebsd-10.1-release/usr.sbin/sa/
H A Dusrdb.c184 struct userinfo uistore, *ui = &uistore; local
193 memcpy(ui, data.data, sizeof(struct userinfo));
196 user_from_uid(ui->ui_uid, 0), (uintmax_t)ui->ui_calls);
198 t = (ui->ui_utime + ui->ui_stime) / 1000000;
204 /* ui->ui_calls is always != 0 */
207 ui->ui_io / ui->ui_calls, "avio");
209 printf("%12.0f%s", ui
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/evp/
H A Devp_key.c64 #include <openssl/ui.h>
102 UI *ui; local
106 ui = UI_new();
107 UI_add_input_string(ui, prompt, 0, buf, min,
110 UI_add_verify_string(ui, prompt, 0,
113 ret = UI_process(ui);
114 UI_free(ui);
/freebsd-10.1-release/lib/libstand/
H A Dudp.c105 struct udpiphdr *ui; local
110 ui = (struct udpiphdr *)ip;
111 bzero(&ui->ui_x1, sizeof(ui->ui_x1));
112 ui->ui_len = uh->uh_ulen;
113 uh->uh_sum = in_cksum(ui, len);
235 struct udpiphdr *ui; local
246 ui = (struct udpiphdr *)ip;
247 bzero(&ui->ui_x1, sizeof(ui
[all...]
/freebsd-10.1-release/sys/boot/amd64/boot1.efi/
H A Dboot1.c389 u_int ui; local
421 ui = (u_int)va_arg(ap, int);
422 if (ui < (int)ui) {
423 ui = -ui;
426 s = __uitoa(nbuf, ui, 10);
442 ui = (u_int)va_arg(ap, u_int);
443 s = __uitoa(nbuf, ui, 8);
462 ui
518 __uitoa(char *buf, u_int ui, int base) argument
[all...]
/freebsd-10.1-release/crypto/heimdal/include/
H A Dcrypto-headers.h19 #include <openssl/ui.h>
46 #include <hcrypto/ui.h>
/freebsd-10.1-release/contrib/tcpdump/
H A Dprint-ldp.c255 u_int ui,vc_info_len, vc_info_tlv_type, vc_info_tlv_len,idx; local
477 ui = EXTRACT_32BITS(tptr);
480 ui&0x3fffffff,
481 ui&0x80000000 ? "Fatal error" : "Advisory Notification",
482 ui&0x40000000 ? "do" : "don't");
483 ui = EXTRACT_32BITS(tptr);
485 if (ui)
486 printf(", causing Message ID: 0x%08x", ui);
499 ui = EXTRACT_32BITS(tptr);
500 if (ui)
[all...]
/freebsd-10.1-release/crypto/openssl/ssl/
H A Dd1_enc.c211 unsigned long ui; local
223 for (ui = 0; ui < l; ui++)
224 printf(" %02x", rec->input[ui]);
/freebsd-10.1-release/contrib/gcc/
H A Dfp-test.c76 volatile unsigned int ui; variable
119 ui = f1;
130 f1 = ui;
165 ui = d1;
176 d1 = ui;
211 ui = D1;
222 D1 = ui;
/freebsd-10.1-release/crypto/openssl/crypto/des/
H A DMakefile116 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
122 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
129 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
135 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
141 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
147 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
153 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
159 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
165 ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
172 ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui
[all...]
H A Dread2pwd.c114 #include <openssl/ui.h>
/freebsd-10.1-release/kerberos5/include/
H A Dcrypto-headers.h12 #include <openssl/ui.h>
/freebsd-10.1-release/sys/boot/powerpc/boot1.chrp/
H A Dboot1.c619 u_int ui; local
651 ui = (u_int)va_arg(ap, int);
652 if (ui < (int)ui) {
653 ui = -ui;
656 s = __uitoa(nbuf, ui, 10);
672 ui = (u_int)va_arg(ap, u_int);
673 s = __uitoa(nbuf, ui, 8);
692 ui
748 __uitoa(char *buf, u_int ui, int base) argument
[all...]
/freebsd-10.1-release/sys/boot/sparc64/boot1/
H A Dboot1.c599 u_int ui; local
631 ui = (u_int)va_arg(ap, int);
632 if (ui < (int)ui) {
633 ui = -ui;
636 s = __uitoa(nbuf, ui, 10);
652 ui = (u_int)va_arg(ap, u_int);
653 s = __uitoa(nbuf, ui, 8);
672 ui
728 __uitoa(char *buf, u_int ui, int base) argument
[all...]
/freebsd-10.1-release/sys/sys/
H A Dresourcevar.h107 #define UIDINFO_VMSIZE_LOCK(ui) mtx_lock(&((ui)->ui_vmsize_mtx))
108 #define UIDINFO_VMSIZE_UNLOCK(ui) mtx_unlock(&((ui)->ui_vmsize_mtx))
/freebsd-10.1-release/contrib/amd/hlfsd/
H A Dstubs.c78 u_int ui; local
80 ui = ROOTID;
81 memcpy(root.fh_data, &ui, sizeof(ui));
83 ui = SLINKID;
84 memcpy(slink.fh_data, &ui, sizeof(ui));
86 ui = INVALIDID;
87 memcpy(un_fhandle.fh_data, &ui, sizeof(ui));
[all...]
/freebsd-10.1-release/sys/boot/i386/libfirewire/
H A Dfwohci.c274 uint8_t ui[8]; local
313 ui[i] = FW_EUI64_BYTE(&sc->eui,i);
315 ui[0], ui[1], ui[2], ui[3], ui[4], ui[5], ui[6], ui[
[all...]
/freebsd-10.1-release/crypto/openssl/engines/
H A De_chil.c67 #include <openssl/ui.h>
1209 UI *ui = UI_new_method(ui_method); local
1210 if (ui) {
1212 char *prompt = UI_construct_prompt(ui,
1215 ok = UI_add_input_string(ui, prompt,
1218 UI_add_user_data(ui, callback_data);
1219 UI_ctrl(ui, UI_CTRL_PRINT_ERRORS, 1, 0, 0);
1223 ok = UI_process(ui);
1225 while (ok < 0 && UI_ctrl(ui, UI_CTRL_IS_REDOABLE, 0, 0, 0));
1230 UI_free(ui);
1247 UI *ui; local
[all...]

Completed in 338 milliseconds

1234