Home
last modified time | relevance | path

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

12345

/netbsd-src/external/bsd/openpam/dist/t/
H A 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/
H A 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/
H A 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/
H A 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 …]
H A 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()
/netbsd-src/usr.bin/xlint/lint2/
H A Dcheck-msgs.lua2 -- $NetBSD: check-msgs.lua,v 1.3 2024/11/30 18:17:11 rillig Exp $
6 usage: lua ./check-msgs.lua *.c
15 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[i
[all...]
/netbsd-src/sys/external/bsd/drm2/linux/
H A 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/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Di2c.h103 struct i2c_msg msgs[] = { in nvkm_rdi2cr() local
108 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nvkm_rdi2cr()
119 struct i2c_msg msgs[] = { in nv_rd16i2cr() local
124 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nv_rd16i2cr()
135 struct i2c_msg msgs[] = { in nvkm_wri2cr() local
139 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nvkm_wri2cr()
150 struct i2c_msg msgs[] = { in nv_wr16i2cr() local
154 int ret = i2c_transfer(adap, msgs, ARRAY_SIZE(msgs)); in nv_wr16i2cr()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_gmbus.c625 gmbus_is_index_xfer(struct i2c_msg *msgs, int i, int num) in gmbus_is_index_xfer() argument
628 msgs[i].addr == msgs[i + 1].addr && in gmbus_is_index_xfer()
629 !(msgs[i].flags & I2C_M_RD) && in gmbus_is_index_xfer()
630 (msgs[i].len == 1 || msgs[i].len == 2) && in gmbus_is_index_xfer()
631 msgs[i + 1].len > 0); in gmbus_is_index_xfer()
635 gmbus_index_xfer(struct drm_i915_private *dev_priv, struct i2c_msg *msgs, in gmbus_index_xfer() argument
642 if (msgs[0].len == 2) in gmbus_index_xfer()
644 msgs[0].buf[1] | (msgs[0].buf[0] << 8); in gmbus_index_xfer()
645 if (msgs[0].len == 1) in gmbus_index_xfer()
647 (msgs[0].buf[0] << GMBUS_SLAVE_INDEX_SHIFT); in gmbus_index_xfer()
[all …]
H A Dintel_hdcp.c1228 } msgs; in hdcp2_authentication_key_exchange() local
1237 ret = hdcp2_prepare_ake_init(connector, &msgs.ake_init); in hdcp2_authentication_key_exchange()
1241 ret = shim->write_2_2_msg(intel_dig_port, &msgs.ake_init, in hdcp2_authentication_key_exchange()
1242 sizeof(msgs.ake_init)); in hdcp2_authentication_key_exchange()
1247 &msgs.send_cert, sizeof(msgs.send_cert)); in hdcp2_authentication_key_exchange()
1251 if (msgs.send_cert.rx_caps[0] != HDCP_2_2_RX_CAPS_VERSION_VAL) { in hdcp2_authentication_key_exchange()
1256 hdcp->is_repeater = HDCP_2_2_RX_REPEATER(msgs.send_cert.rx_caps[2]); in hdcp2_authentication_key_exchange()
1258 if (drm_hdcp_check_ksvs_revoked(dev, msgs.send_cert.cert_rx.receiver_id, in hdcp2_authentication_key_exchange()
1268 ret = hdcp2_verify_rx_cert_prepare_km(connector, &msgs.send_cert, in hdcp2_authentication_key_exchange()
1270 &msgs.no_stored_km, &size); in hdcp2_authentication_key_exchange()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A 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/external/gpl3/binutils/dist/gprofng/src/
H A DEmsg.cc535 msgs = NULL; in DbeMessages()
540 if (msgs) in ~DbeMessages()
542 msgs->destroy (); in ~DbeMessages()
543 delete msgs; in ~DbeMessages()
550 for (int i = msgs ? msgs->size () - 1 : -1; i >= 0; i--) in get_error()
552 Emsg *msg = msgs->get (i); in get_error()
562 for (int i = 0, sz = msgs ? msgs->size () : 0; i < sz; i++) in remove_msg()
563 if (msg == msgs->get (i)) in remove_msg()
565 msgs->remove (i); in remove_msg()
594 if (msgs == NULL) in append_msg()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DEmsg.cc535 msgs = NULL; in DbeMessages()
540 if (msgs) in ~DbeMessages()
542 msgs->destroy (); in ~DbeMessages()
543 delete msgs; in ~DbeMessages()
550 for (int i = msgs ? msgs->size () - 1 : -1; i >= 0; i--) in get_error()
552 Emsg *msg = msgs->get (i); in get_error()
562 for (int i = 0, sz = msgs ? msgs->size () : 0; i < sz; i++) in remove_msg()
563 if (msg == msgs->get (i)) in remove_msg()
565 msgs->remove (i); in remove_msg()
594 if (msgs == NULL) in append_msg()
[all …]
/netbsd-src/lib/libpam/modules/pam_radius/
H A 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/
H A 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/gpl2/gettext/dist/gettext-tools/tests/
H A Dmsgunfmt-tcl-137 test -d msgs || mkdir msgs
40 ${MSGFMT} --tcl -d msgs -l fr fr.po || exit 1
45 ${MSGUNFMT} --tcl -d msgs -l fr -o prog.out || exit 1
H A Dlang-tcl18 ::msgcat::mcload [file join [file dirname [info script]] msgs]
67 test -d msgs || mkdir msgs
70 ${MSGFMT} --tcl -d msgs -l fr fr.po || exit 1
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/com_err/
H A 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/
H A 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()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c485 struct i2c_msg *msgs; in dm_helpers_submit_i2c() local
495 msgs = kcalloc(num, sizeof(struct i2c_msg), GFP_KERNEL); in dm_helpers_submit_i2c()
497 if (!msgs) in dm_helpers_submit_i2c()
501 msgs[i].flags = cmd->payloads[i].write ? 0 : I2C_M_RD; in dm_helpers_submit_i2c()
502 msgs[i].addr = cmd->payloads[i].address; in dm_helpers_submit_i2c()
503 msgs[i].len = cmd->payloads[i].length; in dm_helpers_submit_i2c()
504 msgs[i].buf = cmd->payloads[i].data; in dm_helpers_submit_i2c()
507 result = i2c_transfer(&aconnector->i2c->base, msgs, num) == num; in dm_helpers_submit_i2c()
509 kfree(msgs); in dm_helpers_submit_i2c()
/netbsd-src/distrib/notes/common/
H A Dextract-contrib-string.pl271 $msgs=$msg;
272 $msgs=~s/(This (software|product))/|$1/g;
273 $msgs=~s,^\|,,;
275 foreach $msg (split(/\|/, $msgs)) {
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_i2c.c45 struct i2c_msg *msgs, int num);
57 struct i2c_msg msgs[] = { in radeon_ddc_probe() local
77 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); in radeon_ddc_probe()
79 ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); in radeon_ddc_probe()
337 struct i2c_msg *msgs, int num) in r100_hw_i2c_xfer() argument
474 p = &msgs[0]; in r100_hw_i2c_xfer()
506 p = &msgs[i]; in r100_hw_i2c_xfer()
590 struct i2c_msg *msgs, int num) in r500_hw_i2c_xfer() argument
677 p = &msgs[0]; in r500_hw_i2c_xfer()
714 p = &msgs[i]; in r500_hw_i2c_xfer()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_smu_v11_0_i2c.c635 struct i2c_msg *msgs, int num) in smu_v11_0_i2c_eeprom_i2c_xfer() argument
648 if (msgs[i].flags & I2C_M_RD) in smu_v11_0_i2c_eeprom_i2c_xfer()
650 (uint8_t)msgs[i].addr, in smu_v11_0_i2c_eeprom_i2c_xfer()
651 msgs[i].buf, msgs[i].len); in smu_v11_0_i2c_eeprom_i2c_xfer()
654 (uint8_t)msgs[i].addr, in smu_v11_0_i2c_eeprom_i2c_xfer()
655 msgs[i].buf, msgs[i].len); in smu_v11_0_i2c_eeprom_i2c_xfer()
H A Damdgpu_ras_eeprom.c385 struct i2c_msg *msgs, *msg; in amdgpu_ras_eeprom_process_recods() local
400 msgs = kcalloc(num, sizeof(*msgs), GFP_KERNEL); in amdgpu_ras_eeprom_process_recods()
401 if (!msgs) { in amdgpu_ras_eeprom_process_recods()
419 msg = &msgs[i]; in amdgpu_ras_eeprom_process_recods()
448 ret = i2c_transfer(&control->eeprom_accessor, msgs, num); in amdgpu_ras_eeprom_process_recods()
493 kfree(msgs); in amdgpu_ras_eeprom_process_recods()
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.cpp103 void EventHistory::addEvents(WpaMsgList msgs) in addEvents() argument
106 for (it = msgs.begin(); it != msgs.end(); it++) in addEvents()

12345