Home
last modified time | relevance | path

Searched refs:msgs (Results 1 – 25 of 67) sorted by relevance

123

/netbsd/src/external/bsd/openpam/dist/t/
Dt_pam_conv.c63 t_pam_conv(int nm, const struct pam_message **msgs, in t_pam_conv() argument
86 if (msgs[i]->msg_style != s->msgs[i].msg_style) { in t_pam_conv()
89 s->msgs[i].msg_style, msgs[i]->msg_style); in t_pam_conv()
92 if (strcmp(msgs[i]->msg, s->msgs[i].msg) != 0) { in t_pam_conv()
95 s->msgs[i].msg, msgs[i]->msg); in t_pam_conv()
98 switch (msgs[i]->msg_style) { in t_pam_conv()
100 t_printv("[PAM_PROMPT_ECHO_OFF] %s\n", msgs[i]->msg); in t_pam_conv()
103 t_printv("[PAM_PROMPT_ECHO_ON] %s\n", msgs[i]->msg); in t_pam_conv()
106 t_printv("[PAM_ERROR_MSG] %s\n", msgs[i]->msg); in t_pam_conv()
109 t_printv("[PAM_TEXT_INFO] %s\n", msgs[i]->msg); in t_pam_conv()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/
Dgss_display_status.c68 static const char *msgs[] = { in calling_error() local
79 else if (v >= sizeof(msgs)/sizeof(*msgs)) in calling_error()
82 return msgs[v]; in calling_error()
88 static const char *msgs[] = { in routine_error() local
112 if (v >= sizeof(msgs)/sizeof(*msgs)) in routine_error()
115 return msgs[v]; in routine_error()
121 static const char *msgs[] = { in supplementary_error() local
132 if (v >= sizeof(msgs)/sizeof(*msgs)) in supplementary_error()
135 return msgs[v]; in supplementary_error()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
Ddisplay_status.c41 static const char *msgs[] = { in calling_error() local
52 else if (v >= sizeof(msgs)/sizeof(*msgs)) in calling_error()
55 return msgs[v]; in calling_error()
61 static const char *msgs[] = { in routine_error() local
87 else if (v >= sizeof(msgs)/sizeof(*msgs)) in routine_error()
90 return msgs[v]; in routine_error()
96 static const char *msgs[] = { in supplementary_error() local
107 if (v >= sizeof(msgs)/sizeof(*msgs)) in supplementary_error()
110 return msgs[v]; in supplementary_error()
/netbsd/src/usr.bin/xlint/lint1/
Dcheck-msgs.lua15 local msgs = {} ---@type table<string>string
21 msgs[id] = msg
27 return msgs
39 local function check_message(fname, lineno, id, comment, msgs)
40 local msg = msgs[id]
76 local function check_file(fname, msgs)
89 check_message(fname, lineno, id, comment, msgs)
92 fname, lineno, id, msgs[id])
113 local function check_test_files(msgs)
119 if msgs[msgid] then
[all …]
Derr.c57 static const char *const msgs[] = { variable
446 static bool is_suppressed[sizeof(msgs) / sizeof(msgs[0])];
462 id >= sizeof(msgs) / sizeof(msgs[0]) || in suppress_messages()
463 msgs[id][0] == '\0') in suppress_messages()
552 (void)vfprintf(out, msgs[msgid], ap); in verror_at()
573 (void)vfprintf(out, msgs[msgid], ap); in vwarning_at()
589 (void)vfprintf(out, msgs[msgid], ap); in vmessage_at()
DMakefile78 err-msgs.h: err.c
85 CLEANFILES+= err-msgs.h
86 DPSRCS+= err-msgs.h
/netbsd/src/usr.bin/xlint/lint2/
Dcheck-msgs.lua15 local msgs = {} ---@type table<number>string
21 msgs[tonumber(id)] = msg
27 return msgs
39 local function check_message(fname, lineno, id, comment, msgs)
40 local msg = msgs[id]
66 local function check_file(fname, msgs)
78 check_message(fname, lineno, id, comment, msgs)
81 fname, lineno, id, msgs[id])
93 local msgs = load_messages("msg.c")
95 check_file(fname, msgs)
Dmsg.c49 static const char *msgs[] = { variable
78 (void)vprintf(msgs[n], ap); in msg()
/netbsd/src/sys/external/bsd/drm2/linux/
Dlinux_i2c.c128 __i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int n) in __i2c_transfer() argument
135 ret = (*adapter->algo->master_xfer)(adapter, msgs, n); in __i2c_transfer()
145 i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int n) in i2c_transfer() argument
151 ret = __i2c_transfer(adapter, msgs, n); in i2c_transfer()
159 netbsd_i2c_transfer(i2c_tag_t i2c, struct i2c_msg *msgs, int n) in netbsd_i2c_transfer() argument
165 const i2c_op_t op = linux_i2c_flags_op(msgs[i].flags, in netbsd_i2c_transfer()
167 const int flags = linux_i2c_flags_flags(msgs[i].flags); in netbsd_i2c_transfer()
172 error = iic_exec(i2c, op, msgs[i].addr, in netbsd_i2c_transfer()
173 NULL, 0, msgs[i].buf, msgs[i].len, flags); in netbsd_i2c_transfer()
178 error = iic_exec(i2c, op, msgs[i].addr, in netbsd_i2c_transfer()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
Dbn_error.c23 } msgs[] = { variable
35 for (x = 0; x < (int)(sizeof(msgs) / sizeof(msgs[0])); x++) { in mp_error_to_string()
36 if (msgs[x].code == code) { in mp_error_to_string()
37 return msgs[x].msg; in mp_error_to_string()
/netbsd/src/lib/libpam/modules/pam_radius/
Dpam_radius.c194 struct pam_message msgs[MAX_CHALLENGE_MSGS]; in do_challenge() local
218 msgs[num_msgs].msg = rad_cvt_string(attrval, attrlen); in do_challenge()
219 if (msgs[num_msgs].msg == NULL) { in do_challenge()
224 msgs[num_msgs].msg_style = PAM_TEXT_INFO; in do_challenge()
225 msg_ptrs[num_msgs] = &msgs[num_msgs]; in do_challenge()
235 msgs[num_msgs].msg = strdup("(null RADIUS challenge): "); in do_challenge()
236 if (msgs[num_msgs].msg == NULL) { in do_challenge()
240 msgs[num_msgs].msg_style = PAM_TEXT_INFO; in do_challenge()
241 msg_ptrs[num_msgs] = &msgs[num_msgs]; in do_challenge()
244 msgs[num_msgs-1].msg_style = PAM_PROMPT_ECHO_ON; in do_challenge()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Danvil_clnt.c217 int *msgs, int *rcpts, int *newtls, int *auths) in anvil_clnt_lookup() argument
231 RECV_ATTR_INT(ANVIL_ATTR_MAIL, msgs), in anvil_clnt_lookup()
271 const char *addr, int *msgs) in anvil_clnt_mail() argument
283 RECV_ATTR_INT(ANVIL_ATTR_RATE, msgs), in anvil_clnt_mail()
446 int msgs; in main() local
481 if (anvil_clnt_mail(anvil, service, addr, &msgs) != ANVIL_STAT_OK) in main()
484 vstream_printf("rate=%d\n", msgs); in main()
511 if (anvil_clnt_lookup(anvil, service, addr, &count, &rate, &msgs, in main()
516 "auths=%d\n", count, rate, msgs, rcpts, newtls, in main()
/netbsd/src/external/bsd/wpa/dist/src/radius/
Dradius_client.c226 struct radius_msg_list *msgs; member
558 entry = radius->msgs; in radius_client_timer()
586 entry = radius->msgs; in radius_client_timer()
597 radius->msgs = entry->next; in radius_client_timer()
609 entry = radius->msgs; in radius_client_timer()
621 if (radius->msgs) { in radius_client_timer()
649 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_auth_failover()
676 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_acct_failover()
698 if (radius->msgs == NULL) { in radius_client_update_timeout()
703 for (entry = radius->msgs; entry; entry = entry->next) { in radius_client_update_timeout()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/com_err/
Derror.c57 return p->table->msgs[code - p->table->base]; in com_right()
67 const char *msg = p->table->msgs[code - p->table->base]; in com_right_r()
93 if (et->table->msgs == messages) in initialize_error_table_r()
100 et->table->msgs = messages; in initialize_error_table_r()
/netbsd/src/sys/external/bsd/drm2/dist/drm/
Ddrm_scdc_helper.c62 struct i2c_msg msgs[2] = { in drm_scdc_read() local
76 ret = i2c_transfer(adapter, msgs, ARRAY_SIZE(msgs)); in drm_scdc_read()
79 if (ret != ARRAY_SIZE(msgs)) in drm_scdc_read()
Ddrm_dp_dual_mode_helper.c71 struct i2c_msg msgs[] = { in drm_dp_dual_mode_read() local
87 ret = i2c_transfer(adapter, msgs, ARRAY_SIZE(msgs)); in drm_dp_dual_mode_read()
90 if (ret != ARRAY_SIZE(msgs)) in drm_dp_dual_mode_read()
Ddrm_dp_helper.c825 static int drm_dp_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, in drm_dp_i2c_xfer() argument
839 msg.address = msgs[i].addr; in drm_dp_i2c_xfer()
840 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
853 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
862 for (j = 0; j < msgs[i].len; j += msg.size) { in drm_dp_i2c_xfer()
863 msg.buffer = msgs[i].buf + j; in drm_dp_i2c_xfer()
864 msg.size = min(transfer_size, msgs[i].len - j); in drm_dp_i2c_xfer()
872 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
/netbsd/src/distrib/notes/common/
Dextract-contrib-string.pl271 $msgs=$msg;
272 $msgs=~s/(This (software|product))/|$1/g;
273 $msgs=~s,^\|,,;
275 foreach $msg (split(/\|/, $msgs)) {
/netbsd/src/external/bsd/wpa/dist/src/eap_server/
Deap_server_eke.c32 struct wpabuf *msgs; member
106 wpabuf_free(data->msgs); in eap_eke_reset()
228 wpabuf_free(data->msgs); in eap_eke_build_identity()
229 data->msgs = wpabuf_dup(msg); in eap_eke_build_identity()
230 if (data->msgs == NULL) { in eap_eke_build_identity()
293 if (wpabuf_resize(&data->msgs, wpabuf_len(msg)) < 0) { in eap_eke_build_commit()
298 wpabuf_put_buf(data->msgs, msg); in eap_eke_build_commit()
351 if (eap_eke_auth(&data->sess, "EAP-EKE server", data->msgs, auth) < 0) { in eap_eke_build_confirm()
505 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity()
509 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_identity()
[all …]
/netbsd/src/external/bsd/wpa/dist/src/eap_peer/
Deap_eke.c30 struct wpabuf *msgs; member
139 wpabuf_free(data->msgs); in eap_eke_deinit()
336 wpabuf_free(data->msgs); in eap_eke_process_id()
337 data->msgs = wpabuf_alloc(wpabuf_len(reqData) + wpabuf_len(resp)); in eap_eke_process_id()
338 if (data->msgs == NULL) { in eap_eke_process_id()
343 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_id()
344 wpabuf_put_buf(data->msgs, resp); in eap_eke_process_id()
484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
490 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_commit()
491 wpabuf_put_buf(data->msgs, resp); in eap_eke_process_commit()
[all …]
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/
Deventhistory.cpp103 void EventHistory::addEvents(WpaMsgList msgs) in addEvents() argument
106 for (it = msgs.begin(); it != msgs.end(); it++) in addEvents()
/netbsd/src/etc/
Daliases55 # uncomment this for msgs(1):
56 # msgs: "|/usr/bin/msgs -s"
/netbsd/src/usr.bin/msgs/
DMakefile4 PROG= msgs
8 COPTS.msgs.c+= ${CC_WNO_FORMAT_TRUNCATION} ${CC_WNO_STRINGOP_TRUNCATION}
/netbsd/src/external/ibm-public/postfix/dist/src/smtpstone/
Dthroughput2 100 msgs in 10 sessions.
4 send = time to send 100 msgs into postfix
/netbsd/src/games/rogue/
Dmessage.c62 static char msgs[NMESSAGES][DCOLS] = {"", "", "", "", ""}; variable
94 (void)strlcpy(msgs[imsg], msg, sizeof(msgs[imsg])); in message()
132 message(msgs[((imsg - c) % NMESSAGES)], 0); in remessage()

123