Searched refs:msg (Results 26 - 50 of 1708) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/lib9p/
H A Dpack.c63 * using msg to track position and direction within request/response.
69 * the same (and not-reset) msg and len > 0 will also return -1.
73 l9p_iov_io(struct l9p_message *msg, void *buffer, size_t len) argument
78 assert(msg != NULL);
83 if (msg->lm_cursor_iov >= msg->lm_niov)
89 size_t idx = msg->lm_cursor_iov;
90 size_t space = msg->lm_iov[idx].iov_len - msg->lm_cursor_offset;
93 if (msg
130 l9p_pu8(struct l9p_message *msg, uint8_t *val) argument
142 l9p_pu16(struct l9p_message *msg, uint16_t *val) argument
172 l9p_pu32(struct l9p_message *msg, uint32_t *val) argument
196 l9p_pu64(struct l9p_message *msg, uint64_t *val) argument
228 l9p_pustring(struct l9p_message *msg, char **s) argument
275 l9p_pustrings(struct l9p_message *msg, uint16_t *num, char **strings, size_t max) argument
314 l9p_puqid(struct l9p_message *msg, struct l9p_qid *qid) argument
340 l9p_puqids(struct l9p_message *msg, uint16_t *num, struct l9p_qid *qids) argument
366 l9p_pustat(struct l9p_message *msg, struct l9p_stat *stat, enum l9p_version version) argument
411 l9p_pudirent(struct l9p_message *msg, struct l9p_dirent *de) argument
431 l9p_pufcall(struct l9p_message *msg, union l9p_fcall *fcall, enum l9p_version version) argument
[all...]
/freebsd-13-stable/contrib/libevent/test/
H A Dregress.gen.c26 * Implementation of msg
41 struct msg *
47 struct msg *
50 struct msg *tmp;
51 if ((tmp = malloc(sizeof(struct msg))) == NULL) {
78 msg_run_expand_to_hold_more(struct msg *msg) argument
80 int tobe_allocated = msg->run_num_allocated;
83 new_data = (struct run**) realloc(msg->run_data,
87 msg
92 msg_run_add(struct msg *msg) argument
109 msg_from_name_assign(struct msg *msg, const char * value) argument
121 msg_to_name_assign(struct msg *msg, const char * value) argument
133 msg_attack_assign(struct msg *msg, const struct kill* value) argument
170 msg_run_assign(struct msg *msg, int off, const struct run* value) argument
202 msg_from_name_get(struct msg *msg, char * *value) argument
211 msg_to_name_get(struct msg *msg, char * *value) argument
220 msg_attack_get(struct msg *msg, struct kill* *value) argument
233 msg_run_get(struct msg *msg, int offset, struct run* *value) argument
388 msg_complete(struct msg *msg) argument
407 evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, struct msg *msg) argument
428 evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, const struct msg *msg) argument
484 kill_how_often_expand_to_hold_more(struct kill *msg) argument
498 kill_how_often_add(struct kill *msg, const ev_uint32_t value) argument
513 kill_weapon_assign(struct kill *msg, const char * value) argument
525 kill_action_assign(struct kill *msg, const char * value) argument
537 kill_how_often_assign(struct kill *msg, int off, const ev_uint32_t value) argument
550 kill_weapon_get(struct kill *msg, char * *value) argument
559 kill_action_get(struct kill *msg, char * *value) argument
568 kill_how_often_get(struct kill *msg, int offset, ev_uint32_t *value) argument
688 kill_complete(struct kill *msg) argument
698 evtag_unmarshal_kill(struct evbuffer *evbuf, ev_uint32_t need_tag, struct kill *msg) argument
719 evtag_marshal_kill(struct evbuffer *evbuf, ev_uint32_t tag, const struct kill *msg) argument
795 run_notes_expand_to_hold_more(struct run *msg) argument
809 run_notes_add(struct run *msg, const char * value) argument
832 run_other_numbers_expand_to_hold_more(struct run *msg) argument
846 run_other_numbers_add(struct run *msg, const ev_uint32_t value) argument
861 run_how_assign(struct run *msg, const char * value) argument
873 run_some_bytes_assign(struct run *msg, const ev_uint8_t * value, ev_uint32_t len) argument
887 run_fixed_bytes_assign(struct run *msg, const ev_uint8_t *value) argument
895 run_notes_assign(struct run *msg, int off, const char * value) argument
914 run_large_number_assign(struct run *msg, const ev_uint64_t value) argument
922 run_other_numbers_assign(struct run *msg, int off, const ev_uint32_t value) argument
935 run_how_get(struct run *msg, char * *value) argument
944 run_some_bytes_get(struct run *msg, ev_uint8_t * *value, ev_uint32_t *plen) argument
954 run_fixed_bytes_get(struct run *msg, ev_uint8_t **value) argument
963 run_notes_get(struct run *msg, int offset, char * *value) argument
973 run_large_number_get(struct run *msg, ev_uint64_t *value) argument
982 run_other_numbers_get(struct run *msg, int offset, ev_uint32_t *value) argument
1186 run_complete(struct run *msg) argument
1196 evtag_unmarshal_run(struct evbuffer *evbuf, ev_uint32_t need_tag, struct run *msg) argument
1217 evtag_marshal_run(struct evbuffer *evbuf, ev_uint32_t tag, const struct run *msg) argument
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dregress.gen.c26 * Implementation of msg
41 struct msg *
47 struct msg *
50 struct msg *tmp;
51 if ((tmp = malloc(sizeof(struct msg))) == NULL) {
78 msg_run_expand_to_hold_more(struct msg *msg) argument
80 int tobe_allocated = msg->run_num_allocated;
83 new_data = (struct run**) realloc(msg->run_data,
87 msg
92 msg_run_add(struct msg *msg) argument
109 msg_from_name_assign(struct msg *msg, const char * value) argument
121 msg_to_name_assign(struct msg *msg, const char * value) argument
133 msg_attack_assign(struct msg *msg, const struct kill* value) argument
170 msg_run_assign(struct msg *msg, int off, const struct run* value) argument
202 msg_from_name_get(struct msg *msg, char * *value) argument
211 msg_to_name_get(struct msg *msg, char * *value) argument
220 msg_attack_get(struct msg *msg, struct kill* *value) argument
233 msg_run_get(struct msg *msg, int offset, struct run* *value) argument
388 msg_complete(struct msg *msg) argument
407 evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, struct msg *msg) argument
428 evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, const struct msg *msg) argument
484 kill_how_often_expand_to_hold_more(struct kill *msg) argument
498 kill_how_often_add(struct kill *msg, const ev_uint32_t value) argument
513 kill_weapon_assign(struct kill *msg, const char * value) argument
525 kill_action_assign(struct kill *msg, const char * value) argument
537 kill_how_often_assign(struct kill *msg, int off, const ev_uint32_t value) argument
550 kill_weapon_get(struct kill *msg, char * *value) argument
559 kill_action_get(struct kill *msg, char * *value) argument
568 kill_how_often_get(struct kill *msg, int offset, ev_uint32_t *value) argument
688 kill_complete(struct kill *msg) argument
698 evtag_unmarshal_kill(struct evbuffer *evbuf, ev_uint32_t need_tag, struct kill *msg) argument
719 evtag_marshal_kill(struct evbuffer *evbuf, ev_uint32_t tag, const struct kill *msg) argument
795 run_notes_expand_to_hold_more(struct run *msg) argument
809 run_notes_add(struct run *msg, const char * value) argument
832 run_other_numbers_expand_to_hold_more(struct run *msg) argument
846 run_other_numbers_add(struct run *msg, const ev_uint32_t value) argument
861 run_how_assign(struct run *msg, const char * value) argument
873 run_some_bytes_assign(struct run *msg, const ev_uint8_t * value, ev_uint32_t len) argument
887 run_fixed_bytes_assign(struct run *msg, const ev_uint8_t *value) argument
895 run_notes_assign(struct run *msg, int off, const char * value) argument
914 run_large_number_assign(struct run *msg, const ev_uint64_t value) argument
922 run_other_numbers_assign(struct run *msg, int off, const ev_uint32_t value) argument
935 run_how_get(struct run *msg, char * *value) argument
944 run_some_bytes_get(struct run *msg, ev_uint8_t * *value, ev_uint32_t *plen) argument
954 run_fixed_bytes_get(struct run *msg, ev_uint8_t **value) argument
963 run_notes_get(struct run *msg, int offset, char * *value) argument
973 run_large_number_get(struct run *msg, ev_uint64_t *value) argument
982 run_other_numbers_get(struct run *msg, int offset, ev_uint32_t *value) argument
1186 run_complete(struct run *msg) argument
1196 evtag_unmarshal_run(struct evbuffer *evbuf, ev_uint32_t need_tag, struct run *msg) argument
1217 evtag_marshal_run(struct evbuffer *evbuf, ev_uint32_t tag, const struct run *msg) argument
[all...]
/freebsd-13-stable/lib/libutil/
H A D_secure_path.c50 const char *msg = NULL; local
56 msg = "%s: cannot stat %s: %m";
59 msg = "%s: %s is not a regular file";
61 msg = "%s: %s is world writable";
64 msg = "%s: %s is not owned by root";
66 msg = "%s: %s is not owned by uid %d";
68 msg = "%s: %s is group writeable by non-authorised groups";
71 if (msg != NULL)
72 syslog(LOG_ERR, msg, "_secure_path", path, uid);
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dbgmsg.h56 TP_PROTO(const char *msg),
57 TP_ARGS(msg),
59 __string(msg, msg)
62 __assign_str(msg, msg);
64 TP_printk("%s", __get_str(msg))
71 TP_PROTO(const char *msg), \
72 TP_ARGS(msg))
/freebsd-13-stable/contrib/wpa/src/wps/
H A Dwps_dev_attr.h14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg);
[all...]
H A Dwps_dev_attr.c16 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg) argument
20 wpabuf_put_be16(msg, ATTR_MANUFACTURER);
29 wpabuf_put_be16(msg, 1);
30 wpabuf_put_u8(msg, ' ');
34 wpabuf_put_be16(msg, len);
35 wpabuf_put_data(msg, dev->manufacturer, len);
40 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg) argument
44 wpabuf_put_be16(msg, ATTR_MODEL_NAME);
53 wpabuf_put_be16(msg, 1);
54 wpabuf_put_u8(msg, ' ');
64 wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg) argument
88 wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg) argument
112 wps_build_primary_dev_type(struct wps_device_data *dev, struct wpabuf *msg) argument
122 wps_build_secondary_dev_type(struct wps_device_data *dev, struct wpabuf *msg) argument
138 wps_build_req_dev_type(struct wps_device_data *dev, struct wpabuf *msg, unsigned int num_req_dev_types, const u8 *req_dev_types) argument
158 wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg) argument
182 wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg) argument
195 wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg) argument
205 wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg) argument
219 wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg, u8 rf_band) argument
226 wps_build_vendor_ext(struct wps_device_data *dev, struct wpabuf *msg) argument
[all...]
/freebsd-13-stable/stand/libsa/
H A Dstrerror.c40 char *msg; member in struct:__anon8256
79 static char msg[32]; local
82 for (i = 0; errtab[i].msg != NULL; i++)
84 return(errtab[i].msg);
85 sprintf(msg, "unknown error (%d)", err);
86 return(msg);
/freebsd-13-stable/usr.sbin/nscd/
H A Dlog.h32 #define LOG_MSG_1(sender, msg, ...) __log_msg(1, sender, msg, ##__VA_ARGS__)
33 #define LOG_MSG_2(sender, msg, ...) __log_msg(2, sender, msg, ##__VA_ARGS__)
34 #define LOG_MSG_3(sender, msg, ...) __log_msg(3, sedner, msg, ##__VA_ARGS__)
/freebsd-13-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_mbox.c64 #define MBOX_CHAN(msg) ((msg) & 0xf)
65 #define MBOX_DATA(msg) ((msg) & ~0xf)
88 int msg[BCM2835_MBOX_CHANS]; member in struct:bcm_mbox_softc
110 uint32_t msg; local
113 msg = mbox_read_4(sc, REG_READ);
114 dprintf("bcm_mbox_intr: raw data %08x\n", msg);
115 chan = MBOX_CHAN(msg);
117 data = MBOX_DATA(msg);
346 bcm2835_mbox_err(device_t dev, bus_addr_t msg_phys, uint32_t resp_phys, struct bcm2835_mbox_hdr *msg, size_t len) argument
397 bcm2835_mbox_property(void *msg, size_t msg_size) argument
451 struct msg_set_power_state msg; local
473 struct msg_notify_xhci_reset msg; local
493 struct msg_get_clock_rate msg; local
515 struct msg_fb_get_w_h msg; local
537 struct msg_fb_get_bpp msg; local
557 struct msg_fb_setup msg; local
[all...]
/freebsd-13-stable/sys/dev/usb/net/
H A Dif_urndis.c83 struct rndis_query_req *msg, uint16_t len,
86 struct rndis_set_req *msg, uint16_t len);
230 } msg; local
285 memset(msg.ibuf.eaddr, 0, sizeof(msg.ibuf.eaddr));
288 &msg.hdr.query, sizeof(msg.hdr.query) + sizeof(msg.ibuf.eaddr),
304 msg.ibuf.filter = htole32(sc->sc_filter);
307 &msg
534 const struct rndis_init_comp *msg; local
577 const struct rndis_query_comp *msg; local
622 const struct rndis_reset_comp *msg; local
661 struct rndis_init_req msg; local
699 struct rndis_halt_req msg; local
724 urndis_ctrl_query(struct urndis_softc *sc, uint32_t oid, struct rndis_query_req *msg, uint16_t len, const void **rbuf, uint16_t *rbufsz) argument
771 urndis_ctrl_set(struct urndis_softc *sc, uint32_t oid, struct rndis_set_req *msg, uint16_t len) argument
824 struct rndis_packet_msg msg; local
950 struct rndis_packet_msg msg; local
[all...]
/freebsd-13-stable/sbin/natd/
H A Dnatd.h23 extern void Quit (const char* msg);
24 extern void Warn (const char* msg);
/freebsd-13-stable/contrib/kyua/admin/
H A Dcheck-style-man.awk29 function warn(msg) {
30 print FILENAME "[" FNR "]: " msg > "/dev/stderr"
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dsave_nothing.c49 nothing_send(ctx, msg)
51 ipmon_msg_t *msg;
55 msg = msg; /* gcc -Wextra */
/freebsd-13-stable/bin/sh/
H A Derror.c130 vwarning(const char *msg, va_list ap) argument
136 doformat(out2, msg, ap);
142 warning(const char *msg, ...) argument
145 va_start(ap, msg);
146 vwarning(msg, ap);
157 verrorwithstatus(int status, const char *msg, va_list ap) argument
170 if (msg)
172 status, msg, getpid()));
177 if (msg)
178 vwarning(msg, a
186 error(const char *msg, ...) argument
196 errorwithstatus(int status, const char *msg, ...) argument
[all...]
/freebsd-13-stable/sys/dev/vmware/vmci/
H A Dvmci_event.h20 int vmci_event_dispatch(struct vmci_datagram *msg);
/freebsd-13-stable/crypto/openssh/
H A Dblacklist_client.h51 #define BLACKLIST_NOTIFY(x,msg) blacklist_notify(x,msg)
56 #define BLACKLIST_NOTIFY(x,msg)
/freebsd-13-stable/share/examples/sunrpc/msg/
H A Dmsg_proc.c9 #include "msg.h" /* need this too: msg.h will be generated by rpcgen */
15 printmessage_1(msg)
16 char **msg;
26 fprintf(f, "%s\n", *msg);
/freebsd-13-stable/usr.bin/m4/
H A Dexpr.c28 int yyerror(const char *msg);
34 yyerror(const char *msg) argument
36 fprintf(stderr, "m4: %s in expr %s\n", msg, copy_toeval);
/freebsd-13-stable/contrib/wpa/src/eap_common/
H A Deap_common.h22 int eap_hdr_len_valid(const struct wpabuf *msg, size_t min_payload);
24 const struct wpabuf *msg, size_t *plen);
27 void eap_update_len(struct wpabuf *msg);
28 u8 eap_get_id(const struct wpabuf *msg);
29 EapType eap_get_type(const struct wpabuf *msg);
/freebsd-13-stable/sys/dev/mpt/
H A Dmpt_debug.c363 mpt_print_reply_hdr(MSG_DEFAULT_REPLY *msg) argument
366 printf("%s Reply @ %p\n", mpt_ioc_function(msg->Function), msg);
367 printf("\tIOC Status %s\n", mpt_ioc_status(msg->IOCStatus));
368 printf("\tIOCLogInfo 0x%08x\n", msg->IOCLogInfo);
369 printf("\tMsgLength 0x%02x\n", msg->MsgLength);
370 printf("\tMsgFlags 0x%02x\n", msg->MsgFlags);
371 printf("\tMsgContext 0x%08x\n", msg->MsgContext);
375 mpt_print_init_reply(MSG_IOC_INIT_REPLY *msg) argument
378 mpt_print_reply_hdr((MSG_DEFAULT_REPLY *)msg);
385 mpt_print_ioc_facts(MSG_IOC_FACTS_REPLY *msg) argument
411 mpt_print_enable_reply(MSG_PORT_ENABLE_REPLY *msg) argument
419 mpt_print_scsi_io_reply(MSG_SCSI_IO_REPLY *msg) argument
434 mpt_print_event_notice(MSG_EVENT_NOTIFY_REPLY *msg) argument
492 MSG_DEFAULT_REPLY *msg = vmsg; local
533 MSG_SCSI_IO_REQUEST local, *msg = &local; local
586 mpt_print_scsi_tmf_request(MSG_SCSI_TASK_MGMT *msg) argument
596 mpt_print_scsi_target_assist_request(PTR_MSG_TARGET_ASSIST_REQUEST msg) argument
611 mpt_print_scsi_target_status_send_request(MSG_TARGET_STATUS_SEND_REQUEST *msg) argument
825 mpt_dump_data(struct mpt_softc *mpt, const char *msg, void *addr, int len) argument
[all...]
/freebsd-13-stable/crypto/openssl/ssl/
H A Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \
25 do_ssl_trace_list(bio, indent, msg, msglen, value, \
41 const unsigned char *msg, size_t msglen,
49 val = msg[0];
51 val = (val << 8) | msg[1];
54 msg += vlen;
601 const unsigned char *msg, size_t msglen)
608 BIO_printf(bio, "%02X", msg[i]);
889 const unsigned char *msg = *msgin; local
898 extslen = (msg[
40 do_ssl_trace_list(BIO *bio, int indent, const unsigned char *msg, size_t msglen, size_t vlen, const ssl_trace_tbl *tbl, size_t ntbl) argument
600 ssl_print_hex(BIO *bio, int indent, const char *name, const unsigned char *msg, size_t msglen) argument
937 ssl_print_client_hello(BIO *bio, const SSL *ssl, int indent, const unsigned char *msg, size_t msglen) argument
994 dtls_print_hello_vfyrequest(BIO *bio, int indent, const unsigned char *msg, size_t msglen) argument
1004 ssl_print_server_hello(BIO *bio, int indent, const unsigned char *msg, size_t msglen) argument
1084 ssl_print_client_keyex(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1128 ssl_print_server_keyex(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1233 ssl_print_certificates(BIO *bio, const SSL *ssl, int server, int indent, const unsigned char *msg, size_t msglen) argument
1263 ssl_print_cert_request(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1352 ssl_print_ticket(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1401 ssl_print_handshake(BIO *bio, const SSL *ssl, int server, const unsigned char *msg, size_t msglen, int indent) argument
1513 const unsigned char *msg = buf; local
[all...]
/freebsd-13-stable/contrib/wpa/src/p2p/
H A Dp2p_parse.c37 struct p2p_message *msg)
50 msg->capability = data;
61 msg->device_id = data;
63 MAC2STR(msg->device_id));
71 msg->go_intent = data;
81 msg->status = data;
95 msg->listen_channel = data;
112 msg->operating_channel = data;
124 msg->channel_list = data;
125 msg
36 p2p_parse_attribute(u8 id, const u8 *data, u16 len, struct p2p_message *msg) argument
420 p2p_parse_p2p_ie(const struct wpabuf *buf, struct p2p_message *msg) argument
456 p2p_parse_wps_ie(const struct wpabuf *buf, struct p2p_message *msg) argument
525 p2p_parse_ies(const u8 *data, size_t len, struct p2p_message *msg) argument
579 p2p_parse(const u8 *data, size_t len, struct p2p_message *msg) argument
594 p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p, size_t p2p_len, struct p2p_message *msg) argument
625 p2p_parse_free(struct p2p_message *msg) argument
785 struct p2p_message msg; local
848 struct p2p_message msg; local
863 struct p2p_message msg; local
878 struct p2p_message msg; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-err.c53 char msg[MAXMSGLEN]; local
63 (void) vsnprintf(msg, sizeof (msg), fmt, ap);
66 printk(KERN_EMERG "%s", msg);
69 panic("%s", msg);
86 char msg[MAXMSGLEN]; local
88 vsnprintf(msg, MAXMSGLEN, fmt, ap);
94 printk("%s", msg);
97 printk(KERN_NOTICE "NOTICE: %s\n", msg);
100 printk(KERN_WARNING "WARNING: %s\n", msg);
[all...]
/freebsd-13-stable/usr.bin/talk/
H A Dinvite.c60 * The msg.id's for the invitations
81 msg.addr = *(struct tsockaddr *)&my_addr;
82 msg.addr.sa_family = htons(my_addr.sin_family);
83 msg.id_num = htonl(-1); /* an impossible id_num */
110 msg.id_num = htonl(local_id);
111 ctl_transact(my_machine_addr, msg, DELETE, &response);
112 msg.id_num = htonl(remote_id);
113 ctl_transact(his_machine_addr, msg, DELETE, &response);
130 msg.id_num = htonl(remote_id + 1);
157 ctl_transact(his_machine_addr, msg, ANNOUNC
[all...]

Completed in 142 milliseconds

1234567891011>>