| /src/games/rogue/ |
| message.c | 63 static short msg_col = 0, imsg = -1; variable 93 imsg = (imsg + 1) % NMESSAGES; 94 (void)strlcpy(msgs[imsg], msg, sizeof(msgs[imsg])); 126 if (imsg != -1) { 129 while (c > imsg) { 132 message(msgs[((imsg - c) % NMESSAGES)], 0);
|
| /src/external/bsd/tmux/dist/compat/ |
| imsg.h | 1 /* $OpenBSD: imsg.h,v 1.24 2025/06/05 08:55:07 tb Exp $ */ 60 struct imsg { struct 68 /* imsg-buffer.c */ 138 /* imsg.c */ 147 int imsgbuf_get(struct imsgbuf *, struct imsg *); 148 ssize_t imsg_get(struct imsgbuf *, struct imsg *); 149 int imsg_ibufq_pop(struct ibufqueue *, struct imsg *); 150 void imsg_ibufq_push(struct ibufqueue *, struct imsg *); 151 int imsg_get_ibuf(struct imsg *, struct ibuf *); 152 int imsg_get_data(struct imsg *, void *, size_t) [all...] |
| /src/external/bsd/tmux/dist/ |
| proc.c | 64 void (*dispatchcb)(struct imsg *, void *); 70 static int peer_check_version(struct tmuxpeer *, struct imsg *); 78 struct imsg imsg; local 86 if ((n = imsg_get(&peer->ibuf, &imsg)) == -1) { 92 log_debug("peer %p message %d", peer, imsg.hdr.type); 94 if (peer_check_version(peer, &imsg) != 0) { 95 imsg_free(&imsg); 99 peer->dispatchcb(&imsg, peer->arg); 100 imsg_free(&imsg); [all...] |
| /src/external/bsd/libpcap/dist/ |
| pcap-sita.c | 74 char *imsg; /* a pointer to an inbound message */ member in struct:unit 221 if (u->imsg) { /* then if an inbound message buffer exists */ 224 bigger_buffer = (char *)realloc(u->imsg, 1); /* and re-allocate the old large buffer into a new small one */ 229 u->imsg = bigger_buffer; 587 ptr = u->imsg; /* point to the start of the msg for this IOP */ 588 while (ptr < (u->imsg + u->len)) { 734 if ((u->imsg = realloc(u->imsg, (u->len + len))) == NULL) /* extend the buffer for the new data */ 736 memcpy((u->imsg + u->len), buf, len); /* append the new data */
|
| /src/external/mpl/dhcp/dist/includes/ |
| failover.h | 274 failover_message_t *imsg; member in struct:__anon24432
|
| /src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| mDNSEmbeddedAPI.h | 2580 // The imsg is declared as a union with a pointer type to enforce CPU-appropriate alignment 2581 union { DNSMessage m; void *p; } imsg; // Incoming message received from wire member in struct:mDNS_struct
|