/freebsd-9.3-release/crypto/openssl/crypto/ui/ |
H A D | ui_locl.h | 1 /* 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 D | ui_util.c | 1 /* 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 D | ui_lib.c | 1 /* 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 778 UI_set_result(UI *ui, UI_STRING *uis, const char *result) argument [all...] |
H A D | ui.h | 1 /* 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 D | ui_openssl.c | 1 /* crypto/ui/ui_openssl.c -*- mode:C; c-file-style: "eay" -*- */ 313 static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl); 315 static int read_string(UI *ui, UI_STRING *uis); 316 static int write_string(UI *ui, UI_STRING *uis); 318 static int open_console(UI *ui); 319 static int echo_console(UI *ui); 320 static int noecho_console(UI *ui); 321 static int close_console(UI *ui); 343 static int write_string(UI *ui, UI_STRING *uis) argument 357 static int read_string(UI *ui, UI_STRIN argument 411 read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) argument 474 open_console(UI *ui) argument 526 noecho_console(UI *ui) argument 550 echo_console(UI *ui) argument 574 close_console(UI *ui) argument [all...] |
H A D | ui_compat.h | 1 /* crypto/ui/ui.h -*- mode:C; c-file-style: "eay" -*- */ 64 # include <openssl/ui.h>
|
H A D | Makefile | 2 # OpenSSL/crypto/ui/Makefile 5 DIR= ui 29 EXHEADER= ui.h ui_compat.h 83 ui_compat.o: ../../include/openssl/stack.h ../../include/openssl/ui.h 90 ui_err.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ui_err.c 97 ui_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 105 ui_openssl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 111 ui_util.o: ../../include/openssl/ui.h ui_locl.h ui_util.c
|
H A D | ui_err.c | 1 /* crypto/ui/ui_err.c */ 64 #include <openssl/ui.h>
|
/freebsd-9.3-release/usr.bin/wtmpcvt/ |
H A D | wtmpcvt.c | 58 outmp_to_futx(const struct outmp *ui, struct futx *uo) argument 63 strncpy(uo->fu_ ## field, ui->ut_ ## field, \ 64 MIN(sizeof uo->fu_ ## field, sizeof ui->ut_ ## field)); \ 67 strncpy(uo->fu_id, ui->ut_line, \ 68 MIN(sizeof uo->fu_id, sizeof ui->ut_line)); \ 70 #define MATCH(field, value) (strncmp(ui->ut_ ## field, (value), \ 71 sizeof(ui->ut_ ## field)) == 0) 83 } else if (!MATCH(user, "") && !MATCH(line, "") && ui->ut_time != 0) { 98 uo->fu_tv = htobe64((uint64_t)ui->ut_time * 1000000); 105 struct outmp ui; local [all...] |
/freebsd-9.3-release/usr.sbin/sa/ |
H A D | usrdb.c | 184 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-9.3-release/crypto/openssl/crypto/evp/ |
H A D | evp_key.c | 64 #include <openssl/ui.h> 96 UI *ui; local 100 ui = UI_new(); 101 UI_add_input_string(ui, prompt, 0, buf, 0, 104 UI_add_verify_string(ui, prompt, 0, 107 ret = UI_process(ui); 108 UI_free(ui);
|
/freebsd-9.3-release/lib/libstand/ |
H A D | udp.c | 105 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-9.3-release/kerberos5/include/ |
H A D | crypto-headers.h | 13 #include <openssl/ui.h>
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-ldp.c | 255 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-9.3-release/crypto/openssl/ssl/ |
H A D | d1_enc.c | 211 unsigned long ui; local 223 for (ui = 0; ui < l; ui++) 224 printf(" %02x", rec->input[ui]);
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | fp-test.c | 76 volatile unsigned int ui; variable 119 ui = f1; 130 f1 = ui; 165 ui = d1; 176 d1 = ui; 211 ui = D1; 222 D1 = ui;
|
/freebsd-9.3-release/sys/boot/powerpc/boot1.chrp/ |
H A D | boot1.c | 620 u_int ui; local 652 ui = (u_int)va_arg(ap, int); 653 if (ui < (int)ui) { 654 ui = -ui; 657 s = __uitoa(nbuf, ui, 10); 673 ui = (u_int)va_arg(ap, u_int); 674 s = __uitoa(nbuf, ui, 8); 693 ui 749 __uitoa(char *buf, u_int ui, int base) argument [all...] |
/freebsd-9.3-release/sys/boot/sparc64/boot1/ |
H A D | boot1.c | 600 u_int ui; local 632 ui = (u_int)va_arg(ap, int); 633 if (ui < (int)ui) { 634 ui = -ui; 637 s = __uitoa(nbuf, ui, 10); 653 ui = (u_int)va_arg(ap, u_int); 654 s = __uitoa(nbuf, ui, 8); 673 ui 729 __uitoa(char *buf, u_int ui, int base) argument [all...] |
/freebsd-9.3-release/sys/sys/ |
H A D | resourcevar.h | 107 #define UIDINFO_VMSIZE_LOCK(ui) mtx_lock(&((ui)->ui_vmsize_mtx)) 108 #define UIDINFO_VMSIZE_UNLOCK(ui) mtx_unlock(&((ui)->ui_vmsize_mtx))
|
/freebsd-9.3-release/crypto/openssl/crypto/des/ |
H A D | read2pwd.c | 114 #include <openssl/ui.h>
|
H A D | Makefile | 127 cbc_cksm.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 133 cbc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 140 cfb64ede.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 146 cfb64enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 152 cfb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 158 des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 165 des_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 171 des_old.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 177 des_old2.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h 183 ecb3_enc.o: ../../include/openssl/ui [all...] |
/freebsd-9.3-release/contrib/amd/hlfsd/ |
H A D | stubs.c | 78 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-9.3-release/sys/boot/i386/libfirewire/ |
H A D | fwohci.c | 274 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-9.3-release/crypto/openssl/engines/ |
H A D | e_chil.c | 67 #include <openssl/ui.h> 1212 UI *ui = UI_new_method(ui_method); local 1213 if (ui) { 1215 char *prompt = UI_construct_prompt(ui, 1218 ok = UI_add_input_string(ui, prompt, 1221 UI_add_user_data(ui, callback_data); 1222 UI_ctrl(ui, UI_CTRL_PRINT_ERRORS, 1, 0, 0); 1226 ok = UI_process(ui); 1228 while (ok < 0 && UI_ctrl(ui, UI_CTRL_IS_REDOABLE, 0, 0, 0)); 1233 UI_free(ui); 1250 UI *ui; local [all...] |
/freebsd-9.3-release/sys/netinet/ |
H A D | udp_usrreq.c | 948 struct udpiphdr *ui; local 1191 ui = mtod(m, struct udpiphdr *); 1192 bzero(ui->ui_x1, sizeof(ui->ui_x1)); /* XXX still needed? */ 1193 ui->ui_pr = IPPROTO_UDP; 1194 ui->ui_src = laddr; 1195 ui->ui_dst = faddr; 1196 ui->ui_sport = lport; 1197 ui->ui_dport = fport; 1198 ui [all...] |