Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 56) sorted by relevance

123

/dragonfly/crypto/libressl/crypto/ui/
H A Dui_lib.c114 UI_free(UI *ui) in UI_free() argument
119 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_UI, ui, &ui->ex_data); in UI_free()
120 free(ui); in UI_free()
344 return ui->meth->ui_construct_prompt(ui, object_desc, in UI_construct_prompt()
394 UI *ui = arg; in print_error() local
402 !ui->meth->ui_write_string(ui, &uis)) in print_error()
412 if (ui->meth->ui_open_session && !ui->meth->ui_open_session(ui)) in UI_process()
420 !ui->meth->ui_write_string(ui, in UI_process()
428 switch (ui->meth->ui_flush(ui)) { in UI_process()
442 switch (ui->meth->ui_read_string(ui, in UI_process()
[all …]
H A Dui_openssl.c151 static int open_console(UI *ui);
152 static int echo_console(UI *ui);
153 static int noecho_console(UI *ui);
154 static int close_console(UI *ui);
189 read_string(UI *ui, UI_STRING *uis) in read_string() argument
198 return read_string_inner(ui, uis, in read_string()
258 if (!echo && !noecho_console(ui)) in read_string_inner()
296 open_console(UI *ui) in open_console() argument
326 noecho_console(UI *ui) in noecho_console() argument
337 echo_console(UI *ui) in echo_console() argument
[all …]
H A Dui_locl.h82 int (*ui_open_session)(UI *ui);
84 int (*ui_write_string)(UI *ui, UI_STRING *uis);
88 int (*ui_flush)(UI *ui);
90 int (*ui_read_string)(UI *ui, UI_STRING *uis);
92 int (*ui_close_session)(UI *ui);
100 char *(*ui_construct_prompt)(UI *ui, const char *object_desc,
/dragonfly/contrib/binutils-2.34/bfd/
H A Dpei-x86_64.c121 ui->sizeofUnwindCodes = PEX64_UWI_SIZEOF_UWCODE_ARRAY (ui->CountOfCodes); in pex64_get_unwind_info()
122 ui->SizeOfBlock = ui->sizeofUnwindCodes + 4; in pex64_get_unwind_info()
130 switch (ui->Flags) in pex64_get_unwind_info()
164 if (ui->CountOfCodes == 0 || ui->rawUnwindCodes == NULL) in pex64_xdata_print_uwd_codes()
175 if (ui->rawUnwindCodes + 1 >= ui->rawUnwindCodesEnd) in pex64_xdata_print_uwd_codes()
189 if (ui->rawUnwindCodes + 1 + (ui->CountOfCodes * 2) >= ui->rawUnwindCodesEnd) in pex64_xdata_print_uwd_codes()
218 if (ui->rawUnwindCodes + 2 + (ui->CountOfCodes * 2) >= ui->rawUnwindCodesEnd) in pex64_xdata_print_uwd_codes()
441 if (ui.Version != 1 && ui.Version != 2) in pex64_dump_xdata()
460 switch (ui.Flags) in pex64_dump_xdata()
485 (unsigned int) ui.SizeOfPrologue, (unsigned int) ui.FrameOffset); in pex64_dump_xdata()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Dpei-x86_64.c115 ui->sizeofUnwindCodes = PEX64_UWI_SIZEOF_UWCODE_ARRAY (ui->CountOfCodes); in pex64_get_unwind_info()
116 ui->SizeOfBlock = ui->sizeofUnwindCodes + 4; in pex64_get_unwind_info()
120 switch (ui->Flags) in pex64_get_unwind_info()
150 if (ui->CountOfCodes == 0 || ui->rawUnwindCodes == NULL) in pex64_xdata_print_uwd_codes()
161 if (ui->Version == 2 in pex64_xdata_print_uwd_codes()
239 if (ui->Version == 1) in pex64_xdata_print_uwd_codes()
350 if (ui.Version != 1 && ui.Version != 2) in pex64_dump_xdata()
369 switch (ui.Flags) in pex64_dump_xdata()
394 (unsigned int) ui.SizeOfPrologue, (unsigned int) ui.FrameOffset); in pex64_dump_xdata()
400 if (ui.CountOfCodes * 2 + ui.rawUnwindCodes > xdata + xdata_section->size) in pex64_dump_xdata()
[all …]
/dragonfly/crypto/libressl/include/openssl/
H A Dui.h89 void UI_free(UI *ui);
149 int UI_add_info_string(UI *ui, const char *text);
150 int UI_dup_info_string(UI *ui, const char *text);
151 int UI_add_error_string(UI *ui, const char *text);
211 void *UI_add_user_data(UI *ui, void *user_data);
213 void *UI_get0_user_data(UI *ui);
216 const char *UI_get0_result(UI *ui, int i);
219 int UI_process(UI *ui);
254 const UI_METHOD *UI_get_method(UI *ui);
329 int (*writer)(UI *ui, UI_STRING *uis));
[all …]
/dragonfly/contrib/tcpdump/
H A Dprint-tftp.c93 u_int ui; in tftp_print() local
125 if (ui == 0) in tftp_print()
127 bp += ui; in tftp_print()
128 length -= ui; in tftp_print()
135 if (ui == 0) in tftp_print()
137 bp += ui; in tftp_print()
138 length -= ui; in tftp_print()
145 if (ui == 0) in tftp_print()
147 bp += ui; in tftp_print()
160 bp += ui; in tftp_print()
[all …]
H A Dprint-ldp.c479 ui = GET_BE_U_4(tptr); in ldp_tlv_print()
482 ui&0x3fffffff, in ldp_tlv_print()
484 ui&0x40000000 ? "do" : "don't"); in ldp_tlv_print()
485 ui = GET_BE_U_4(tptr); in ldp_tlv_print()
487 if (ui) in ldp_tlv_print()
502 ui = GET_BE_U_4(tptr); in ldp_tlv_print()
503 if (ui) in ldp_tlv_print()
504 ND_PRINT(", Reconnect Timeout: %ums", ui); in ldp_tlv_print()
506 ui = GET_BE_U_4(tptr); in ldp_tlv_print()
507 if (ui) in ldp_tlv_print()
[all …]
/dragonfly/contrib/tnftp/src/
H A Dfetch.c238 ui->host = ui->port = ui->path = 0; in initurlinfo()
580 STRorNULL(ui->host), STRorNULL(ui->port), in parse_url()
581 ui->portnum ? ui->portnum : -1, STRorNULL(ui->path)); in parse_url()
743 *ui = pui; in handle_proxy()
803 ui->host, ui->portnum); in print_get()
889 (int)(p - ui->host), ui->host); in print_connect()
1367 if (ui.utype == FILE_URL_T && ! EMPTYSTRING(ui.host) in fetch_url()
1465 isproxy = handle_noproxy(ui.host, ui.portnum); in fetch_url()
1486 warnx("Can't connect to `%s:%s'", ui.host, ui.port); in fetch_url()
1967 STRorNULL(ui.host), STRorNULL(ui.port), in fetch_ftp()
[all …]
/dragonfly/usr.bin/wtmpcvt/
H A Dwtmpcvt.c55 outmp_to_utmpx(const struct outmp *ui, struct utmpx *uo) in outmp_to_utmpx() argument
60 strncpy(uo->ut_ ## field, ui->ut_ ## field, \ in outmp_to_utmpx()
61 MIN(sizeof uo->ut_ ## field, sizeof ui->ut_ ## field)); \ in outmp_to_utmpx()
64 strncpy(uo->ut_id, ui->ut_line, \ in outmp_to_utmpx()
65 MIN(sizeof uo->ut_id, sizeof ui->ut_line)); \ in outmp_to_utmpx()
67 #define MATCH(field, value) (strncmp(ui->ut_ ## field, (value), \ in outmp_to_utmpx()
68 sizeof(ui->ut_ ## field)) == 0) in outmp_to_utmpx()
98 uo->ut_tv.tv_sec = ui->ut_time; in outmp_to_utmpx()
106 struct outmp ui; in main() local
127 while (fread(&ui, sizeof ui, 1, in) == 1) { in main()
[all …]
/dragonfly/games/hack/
H A Dhack.cmd.c330 ui++; in finddir()
332 ui += 7; in finddir()
333 ui %= 8; in finddir()
339 if (!isroom(u.ux + xdir[ui], u.uy + ydir[ui])) in finddir()
344 ui += 7; in finddir()
346 ui++; in finddir()
347 ui %= 8; in finddir()
353 if (isroom(u.ux + xdir[ui], u.uy + ydir[ui])) in finddir()
356 u.di = ui; in finddir()
357 u.dx = xdir[ui]; in finddir()
[all …]
/dragonfly/stand/lib/
H A Dudp.c100 struct udpiphdr *ui; in sendudp() local
105 ui = (struct udpiphdr *)ip; in sendudp()
106 bzero(&ui->ui_x1, sizeof(ui->ui_x1)); in sendudp()
107 ui->ui_len = uh->uh_ulen; in sendudp()
108 uh->uh_sum = in_cksum(ui, len); in sendudp()
226 struct udpiphdr *ui; in readudp() local
237 ui = (struct udpiphdr *)ip; in readudp()
238 bzero(&ui->ui_x1, sizeof(ui->ui_x1)); in readudp()
239 ui->ui_len = uh->uh_ulen; in readudp()
240 if (in_cksum(ui, n) != 0) { in readudp()
/dragonfly/usr.sbin/sa/
H A Dusrdb.c226 struct userinfo uistore, *ui = &uistore; in usracct_print() local
235 memcpy(ui, data.data, sizeof(struct userinfo)); in usracct_print()
238 user_from_uid(ui->ui_uid, 0), (uintmax_t)ui->ui_calls); in usracct_print()
240 t = (double) (ui->ui_utime + ui->ui_stime) / in usracct_print()
249 printf("%12ju%s", (uintmax_t)ui->ui_io / ui->ui_calls, in usracct_print()
252 printf("%12ju%s", (uintmax_t)ui->ui_io, "tio"); in usracct_print()
256 printf("%12.0f%s", ui->ui_mem / t, "k"); in usracct_print()
258 printf("%12ju%s", (uintmax_t)ui->ui_mem, "k*sec"); in usracct_print()
/dragonfly/crypto/libressl/crypto/evp/
H A Devp_key.c104 UI *ui; in EVP_read_pw_string_min() local
113 ui = UI_new(); in EVP_read_pw_string_min()
114 if (ui == NULL) in EVP_read_pw_string_min()
116 if (UI_add_input_string(ui, prompt, 0, buf, min, len - 1) < 0) in EVP_read_pw_string_min()
119 if (UI_add_verify_string(ui, prompt, 0, buff, min, len - 1, buf) in EVP_read_pw_string_min()
123 ret = UI_process(ui); in EVP_read_pw_string_min()
124 UI_free(ui); in EVP_read_pw_string_min()
/dragonfly/tools/tools/netrate/pktgen/
H A Dpktgen.c479 struct udpiphdr *ui; in pktgen_start_ifsq_handler() local
513 ui = mtod(m, struct udpiphdr *); in pktgen_start_ifsq_handler()
514 ui->ui_pr = IPPROTO_UDP; in pktgen_start_ifsq_handler()
516 ui->ui_src.s_addr = dst->sin_addr.s_addr; in pktgen_start_ifsq_handler()
518 ui->ui_sport = dst->sin_port; in pktgen_start_ifsq_handler()
519 ui->ui_dport = pktg->pktg_src.sin_port; in pktgen_start_ifsq_handler()
523 ui->ui_sport = pktg->pktg_src.sin_port; in pktgen_start_ifsq_handler()
524 ui->ui_dport = dst->sin_port; in pktgen_start_ifsq_handler()
526 ui->ui_ulen = ulen; in pktgen_start_ifsq_handler()
527 ui->ui_sum = in_pseudo(ui->ui_src.s_addr, ui->ui_dst.s_addr, in pktgen_start_ifsq_handler()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-dse.c98 imm_use_iterator ui; in dse_possible_dead_store_p() local
112 FOR_EACH_IMM_USE_STMT (use_stmt, ui, defvar) in dse_possible_dead_store_p()
121 BREAK_FROM_IMM_USE_STMT (ui); in dse_possible_dead_store_p()
140 BREAK_FROM_IMM_USE_STMT (ui); in dse_possible_dead_store_p()
149 BREAK_FROM_IMM_USE_STMT (ui); in dse_possible_dead_store_p()
158 BREAK_FROM_IMM_USE_STMT (ui); in dse_possible_dead_store_p()
H A Dfp-test.c75 volatile unsigned int ui; variable
118 ui = f1; in main()
129 f1 = ui; in main()
164 ui = d1; in main()
175 d1 = ui; in main()
210 ui = D1; in main()
221 D1 = ui; in main()
H A Dalias.c2753 unsigned int ui; in init_alias_analysis() local
2900 for (ui = 0; ui < maxreg; ui++) in init_alias_analysis()
2902 if (new_reg_base_value[ui] in init_alias_analysis()
2903 && new_reg_base_value[ui] != VEC_index (rtx, reg_base_value, ui) in init_alias_analysis()
2904 && ! rtx_equal_p (new_reg_base_value[ui], in init_alias_analysis()
2905 VEC_index (rtx, reg_base_value, ui))) in init_alias_analysis()
2907 VEC_replace (rtx, reg_base_value, ui, new_reg_base_value[ui]); in init_alias_analysis()
/dragonfly/contrib/mpfr/src/
H A Drint.c99 mp_size_t un, rn, ui; in mpfr_rint() local
121 ui = un; in mpfr_rint()
129 ui = (exp - 1) / GMP_NUMB_BITS + 1; /* #limbs of the int part */ in mpfr_rint()
130 MPFR_ASSERTD (un >= ui); in mpfr_rint()
131 uj = un - ui; /* lowest limb of the integer part */ in mpfr_rint()
144 if (ui > rn) in mpfr_rint()
208 uj = un - ui; /* lowest limb of the integer part in u */ in mpfr_rint()
209 rj = rn - ui; /* lowest limb of the integer part in r */ in mpfr_rint()
212 MPN_COPY(rp + rj, up + uj, ui); in mpfr_rint()
216 rn = ui; in mpfr_rint()
/dragonfly/sys/netinet/
H A Dudp_usrreq.c897 struct udpiphdr *ui; in udp_send() local
1040 bzero(ui->ui_x1, sizeof ui->ui_x1); /* XXX still needed? */ in udp_send()
1041 ui->ui_pr = IPPROTO_UDP; in udp_send()
1047 ui->ui_dst = sin->sin_addr; in udp_send()
1048 ui->ui_dport = sin->sin_port; in udp_send()
1050 ui->ui_dst = inp->inp_faddr; in udp_send()
1078 ui->ui_sport = inp->inp_lport; in udp_send()
1102 ui->ui_sum = in_pseudo(ui->ui_src.s_addr, ui->ui_dst.s_addr, in udp_send()
1108 ui->ui_sum = 0; in udp_send()
1137 hash = udp_addrhash(ui->ui_dst.s_addr, ui->ui_dport, in udp_send()
[all …]
/dragonfly/crypto/libressl/apps/openssl/
H A Dapps.c291 ui_open(UI *ui) in ui_open() argument
297 ui_read(UI *ui, UI_STRING *uis) in ui_read() argument
303 UI_get0_user_data(ui)) { in ui_read()
318 ui_write(UI *ui, UI_STRING *uis) in ui_write() argument
324 UI_get0_user_data(ui)) { in ui_write()
337 ui_close(UI *ui) in ui_close() argument
346 UI *ui = NULL; in password_callback() local
365 ui = UI_new_method(ui_method); in password_callback()
366 if (ui) { in password_callback()
387 ok = UI_process(ui); in password_callback()
[all …]
H A Dapps.h159 int ui_open(UI *ui);
160 int ui_read(UI *ui, UI_STRING *uis);
161 int ui_write(UI *ui, UI_STRING *uis);
162 int ui_close(UI *ui);
/dragonfly/contrib/gmp/
H A Ddumbmp.c270 mpz_set_ui (mpz_t r, unsigned long ui) in mpz_set_ui() argument
274 PTR(r)[0] = LO(ui); in mpz_set_ui()
275 PTR(r)[1] = HI(ui); in mpz_set_ui()
282 mpz_init_set_ui (mpz_t r, unsigned long ui) in mpz_init_set_ui() argument
285 mpz_set_ui (r, ui); in mpz_init_set_ui()
397 mpz_add_ui (mpz_t r, mpz_t a, unsigned long int ui) in mpz_add_ui() argument
402 mpz_set_ui (b, ui); in mpz_add_ui()
463 mpz_sub_ui (mpz_t r, mpz_t a, unsigned long int ui) in mpz_sub_ui() argument
468 mpz_set_ui (b, ui); in mpz_sub_ui()
509 mpz_mul_ui (mpz_t r, mpz_t a, unsigned long int ui) in mpz_mul_ui() argument
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-dse.c540 imm_use_iterator ui; in dse_classify_store() local
555 FOR_EACH_IMM_USE_STMT (use_stmt, ui, defvar) in dse_classify_store()
564 BREAK_FROM_IMM_USE_STMT (ui); in dse_classify_store()
583 BREAK_FROM_IMM_USE_STMT (ui); in dse_classify_store()
623 BREAK_FROM_IMM_USE_STMT (ui); in dse_classify_store()
632 BREAK_FROM_IMM_USE_STMT (ui); in dse_classify_store()
/dragonfly/contrib/file/src/
H A Dreadelf.c82 uint16_t ui; in getu16() member
87 tmpval.ui = value; in getu16()
92 return retval.ui; in getu16()
101 uint32_t ui; in getu32() member
106 tmpval.ui = value; in getu32()
113 return retval.ui; in getu32()
122 uint64_t ui; in getu64() member
127 tmpval.ui = value; in getu64()
138 return retval.ui; in getu64()

123