/openbsd-current/gnu/usr.bin/perl/t/re/ |
H A D | pat_psycho.t | 112 my $msg = "CURLYX stress test"; 139 $msg .= ": unexpected match for [$ls]"; 145 $msg .= ": capture: [$ls], got [$cap]"; 152 $msg = ": failed for [$ls]"; 169 ok($ok, $msg);
|
/openbsd-current/sbin/isakmpd/ |
H A D | pf_key_v2.c | 123 pf_key_v2_msg_new(struct sadb_msg *msg, int flags) argument 135 node->seg = msg; 136 node->sz = sizeof *msg; 150 pf_key_v2_msg_add(struct pf_key_v2_msg *msg, struct sadb_ext *ext, int flags) argument 161 TAILQ_FIRST(msg)->cnt++; 162 TAILQ_INSERT_TAIL(msg, node, link); 168 pf_key_v2_msg_free(struct pf_key_v2_msg *msg) argument 172 np = TAILQ_FIRST(msg); 174 TAILQ_REMOVE(msg, np, link); 178 np = TAILQ_FIRST(msg); 203 struct sadb_msg *msg; local 325 struct sadb_msg *msg = TAILQ_FIRST(pmsg)->seg; local 390 pf_key_v2_call(struct pf_key_v2_msg *msg) argument 402 pf_key_v2_find_ext(struct pf_key_v2_msg *msg, u_int16_t type) argument 421 struct sadb_msg msg; local 514 struct sadb_msg msg; local 653 struct sadb_msg msg; local 875 struct sadb_msg msg; local 1494 struct sadb_msg msg; local 2007 struct sadb_msg msg; local 2177 struct sadb_msg *msg; local 2335 struct sadb_msg *msg, askpolicy_msg; local 3182 pf_key_v2_notify(struct pf_key_v2_msg *msg) argument 3204 struct pf_key_v2_msg *msg; local 3234 struct sadb_msg msg; local [all...] |
/openbsd-current/regress/sys/netinet6/pktinfo_addr/ |
H A D | runtest.c | 163 struct msghdr msg; local 173 bzero(&msg, sizeof(msg)); 206 msg.msg_name = dst; 207 msg.msg_namelen = dst->sin6_len; 208 msg.msg_iov = &iov; 209 msg.msg_iovlen = 1; 212 msg.msg_control = &cmsgbuf.buf; 213 msg.msg_controllen = sizeof(cmsgbuf.buf); 214 cmsg = CMSG_FIRSTHDR(&msg); [all...] |
/openbsd-current/lib/libc/rpc/ |
H A D | rpc_prot.c | 227 _seterr_reply(struct rpc_msg *msg, struct rpc_err *error) argument 231 switch (msg->rm_reply.rp_stat) { 234 if (msg->acpted_rply.ar_stat == SUCCESS) { 238 accepted(msg->acpted_rply.ar_stat, error); 242 rejected(msg->rjcted_rply.rj_stat, error); 247 error->re_lb.s1 = (long)(msg->rm_reply.rp_stat); 253 error->re_vers.low = msg->rjcted_rply.rj_vers.low; 254 error->re_vers.high = msg->rjcted_rply.rj_vers.high; 258 error->re_why = msg->rjcted_rply.rj_why; 262 error->re_vers.low = msg [all...] |
H A D | clnt_raw.c | 100 * pre-serialize the static part of the call msg and stash it away 140 struct rpc_msg msg; local 173 msg.acpted_rply.ar_verf = _null_auth; 174 msg.acpted_rply.ar_results.where = resultsp; 175 msg.acpted_rply.ar_results.proc = xresults; 176 if (! xdr_replymsg(xdrs, &msg)) { 180 xdr_replymsg(xdrs, &msg); 184 _seterr_reply(&msg, &error); 188 if (! AUTH_VALIDATE(h->cl_auth, &msg.acpted_rply.ar_verf)) { 198 if (! AUTH_VALIDATE(h->cl_auth, &msg [all...] |
/openbsd-current/usr.sbin/npppd/common/ |
H A D | recvfromto.c | 196 struct msghdr msg; local 205 memset(&msg, 0, sizeof(msg)); 207 msg.msg_name = to; 208 msg.msg_namelen = tolen; 209 msg.msg_iov = iov; 210 msg.msg_iovlen = 1; 211 msg.msg_control = (caddr_t)&cmsgbuf.buf; 212 msg.msg_controllen = sizeof(cmsgbuf.buf); 213 cmsg = CMSG_FIRSTHDR(&msg); [all...] |
/openbsd-current/regress/sbin/iked/parser/ |
H A D | common.c | 56 eap_parse(struct iked *env, const struct iked_sa *sa, struct iked_message *msg, argument 63 ikev2_msg_frompeer(struct iked_message *msg) argument 81 ikev2_ikesa_info(uint64_t spi, const char *msg) argument 143 ikev2_nat_detection(struct iked *env, struct iked_message *msg, argument 188 ikev2_send_informational(struct iked *env, struct iked_message *msg) argument 195 struct ibuf *msg, struct ibuf *src) 220 struct iked_message *msg, uint8_t exchange) 194 ikev2_msg_decrypt(struct iked *env, struct iked_sa *sa, struct ibuf *msg, struct ibuf *src) argument 219 ikev2_msg_lookup(struct iked *env, struct iked_msgqueue *queue, struct iked_message *msg, uint8_t exchange) argument
|
/openbsd-current/usr.sbin/ntpd/ |
H A D | client.c | 55 p->query.msg.status = MODE_CLIENT | (NTP_VERSION << 3); 208 p->query.msg.xmttime.int_partl = arc4random(); 209 p->query.msg.xmttime.fractionl = arc4random(); 212 if (ntp_sendmsg(p->query.fd, NULL, &p->query.msg) == -1) { 275 struct ntp_msg msg; local 333 ntp_getmsg((struct sockaddr *)&p->addr->ss, buf, size, &msg); 335 if (msg.orgtime.int_partl != p->query.msg.xmttime.int_partl || 336 msg.orgtime.fractionl != p->query.msg [all...] |
/openbsd-current/sbin/dump/ |
H A D | tape.c | 201 msg("write error on %s\n", tape); 205 msg("write error %lld blocks into volume %d\n", 210 msg("Closing this volume. Prepare to restart with new media;\n"); 211 msg("this dump volume will be rewritten.\n"); 240 msg("Volume %d completed at: %s", tapeno, ct ? ct : "?\n"); 242 msg("Volume %d took %lld:%02lld:%02lld\n", tapeno, 246 msg("Volume %d transfer rate: %lld KB/s\n", tapeno, blocks); 309 msg("End of tape detected\n"); 382 msg("EOT detected in last 2 tape records!\n"); 383 msg("Us [all...] |
/openbsd-current/usr.sbin/unbound/iterator/ |
H A D | iter_utils.h | 115 * Allocate dns_msg from parsed msg, in regional. 117 * @param msg: parsed message (cleaned and ready for regional allocation). 121 struct dns_msg* dns_alloc_msg(struct sldns_buffer* pkt, struct msg_parse* msg, 217 * @param msg: delegation message, with DS if a secure referral. 222 struct dns_msg* msg, uint16_t dclass); 229 * @param msg: message to examine. 232 int iter_msg_has_dnssec(struct dns_msg* msg); 239 * @param msg: the message to inspect. 244 * false if not sure (empty msg), or not from the zone. 246 int iter_msg_from_zone(struct dns_msg* msg, struc [all...] |
/openbsd-current/sbin/unwind/libunbound/iterator/ |
H A D | iter_utils.h | 115 * Allocate dns_msg from parsed msg, in regional. 117 * @param msg: parsed message (cleaned and ready for regional allocation). 121 struct dns_msg* dns_alloc_msg(struct sldns_buffer* pkt, struct msg_parse* msg, 217 * @param msg: delegation message, with DS if a secure referral. 222 struct dns_msg* msg, uint16_t dclass); 229 * @param msg: message to examine. 232 int iter_msg_has_dnssec(struct dns_msg* msg); 239 * @param msg: the message to inspect. 244 * false if not sure (empty msg), or not from the zone. 246 int iter_msg_from_zone(struct dns_msg* msg, struc [all...] |
/openbsd-current/sys/dev/pci/drm/display/ |
H A D | drm_dp_mst_topology.c | 61 struct drm_dp_sideband_msg_req_body msg; member in struct:drm_dp_pending_up_req 196 /* sideband msg handling */ 337 u8 *buf = raw->msg; 433 const struct drm_dp_query_stream_enc_status *msg; local 435 msg = &req->u.enc_status; 436 buf[idx] = msg->stream_id; 438 memcpy(&buf[idx], msg->client_id, sizeof(msg->client_id)); 439 idx += sizeof(msg->client_id); 441 buf[idx] |= FIELD_PREP(GENMASK(1, 0), msg 723 drm_dp_crc_sideband_chunk_req(u8 *msg, u8 len) argument 742 drm_dp_sideband_msg_set_header(struct drm_dp_sideband_msg_rx *msg, struct drm_dp_sideband_msg_hdr *hdr, u8 hdrlen) argument 774 drm_dp_sideband_append_payload(struct drm_dp_sideband_msg_rx *msg, u8 *replybuf, u8 replybuflen) argument 1022 drm_dp_sideband_parse_reply(const struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_sideband_msg_rx *raw, struct drm_dp_sideband_msg_reply_body *msg) argument 1069 drm_dp_sideband_parse_connection_status_notify(const struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_sideband_msg_rx *raw, struct drm_dp_sideband_msg_req_body *msg) argument 1098 drm_dp_sideband_parse_resource_status_notify(const struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_sideband_msg_rx *raw, struct drm_dp_sideband_msg_req_body *msg) argument 1122 drm_dp_sideband_parse_req(const struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_sideband_msg_rx *raw, struct drm_dp_sideband_msg_req_body *msg) argument 1141 build_dpcd_write(struct drm_dp_sideband_msg_tx *msg, u8 port_num, u32 offset, u8 num_bytes, u8 *bytes) argument 1154 build_link_address(struct drm_dp_sideband_msg_tx *msg) argument 1162 build_clear_payload_id_table(struct drm_dp_sideband_msg_tx *msg) argument 1171 build_enum_path_resources(struct drm_dp_sideband_msg_tx *msg, int port_num) argument 1183 build_allocate_payload(struct drm_dp_sideband_msg_tx *msg, int port_num, u8 vcpi, uint16_t pbn, u8 number_sdp_streams, u8 *sdp_stream_sink) argument 1203 build_power_updown_phy(struct drm_dp_sideband_msg_tx *msg, int port_num, bool power_up) argument 1219 build_query_stream_enc_status(struct drm_dp_sideband_msg_tx *msg, u8 stream_id, u8 *q_id) argument 2718 build_dpcd_read(struct drm_dp_sideband_msg_tx *msg, u8 port_num, u32 offset, u8 num_bytes) argument 2730 drm_dp_send_sideband_msg(struct drm_dp_mst_topology_mgr *mgr, bool up, u8 *msg, int len) argument 3524 drm_dp_encode_up_ack_reply(struct drm_dp_sideband_msg_tx *msg, u8 req_type) argument 3804 struct drm_dp_sideband_msg_rx *msg = local 3876 struct drm_dp_sideband_msg_rx *msg = &mgr->down_rep_recv; local 3939 struct drm_dp_sideband_msg_req_body *msg = &up_req->msg; local 5622 struct drm_dp_sideband_msg_req_body msg; local 5675 struct drm_dp_sideband_msg_req_body msg; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | dump.exp | 73 proc make_dump_file { command msg } { 78 -re ".*\[Ee\]rror.*$gdb_prompt $" { fail $msg } 79 -re ".*\[Ww\]arning.*$gdb_prompt $" { fail $msg } 80 -re ".*\[Uu\]ndefined .*$gdb_prompt $" { fail $msg } 81 -re ".*$gdb_prompt $" { pass $msg } 82 timeout { fail "$msg (timeout)" } 207 proc test_reload_saved_value { filename msg oldval newval } { 212 [capture_value $newval "$msg"]] } then { 213 pass "$msg; value restored ok" 215 fail "$msg; valu [all...] |
/openbsd-current/gnu/usr.bin/perl/dist/Tie-File/t/ |
H A D | 09_gen_rs.t | 197 my $msg = "# expected <$x>, got <$a>"; 198 ctrlfix($msg); 199 print "not ok $N $msg\n"; 205 my $msg = ''; 208 $msg = "expected $c[$_]$RECSEP, got $a[$_]"; 209 ctrlfix($msg); 213 print $good ? "ok $N\n" : "not ok $N # fetch $msg\n";
|
/openbsd-current/regress/lib/libc/sys/ |
H A D | t_msgctl.c | 35 #include <sys/msg.h> 55 struct msg { struct 195 struct msg msg = { MSG_MTYPE_1, { 'a', 'b', 'c' } }; local 208 (void)msgsnd(id, &msg, sizeof(struct msg), IPC_NOWAIT); 227 (void)msgrcv(id, &msg, 228 sizeof(struct msg), MSG_MTYPE_1, IPC_NOWAIT); 308 struct msg msg local [all...] |
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_dp_aux.c | 424 const struct drm_dp_aux_msg *msg) 426 txbuf[0] = (msg->request << 4) | ((msg->address >> 16) & 0xf); 427 txbuf[1] = (msg->address >> 8) & 0xff; 428 txbuf[2] = msg->address & 0xff; 429 txbuf[3] = msg->size - 1; 432 static u32 intel_dp_aux_xfer_flags(const struct drm_dp_aux_msg *msg) argument 439 if ((msg->request & ~DP_AUX_I2C_MOT) == DP_AUX_NATIVE_WRITE && 440 msg->address == DP_AUX_HDCP_AKSV) 447 intel_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) argument 423 intel_dp_aux_header(u8 txbuf[HEADER_SIZE], const struct drm_dp_aux_msg *msg) argument [all...] |
/openbsd-current/usr.bin/ldap/ |
H A D | aldap.c | 362 while (m->msg == NULL) { 383 m->msg = ober_read_elements(&ldap->ber, NULL); 394 LDAP_DEBUG("message", m->msg); 396 if (ober_scanf_elements(m->msg, "{ite", &msgid, &class, &type, &a) != 0) 418 if (m->msg->be_sub) { 419 for (ep = m->msg->be_sub; ep != NULL; ep = ep->be_next) { 499 aldap_freemsg(struct aldap_message *msg) argument 501 if (msg->msg) 502 ober_free_elements(msg 507 aldap_get_resultcode(struct aldap_message *msg) argument 513 aldap_get_dn(struct aldap_message *msg) argument 527 aldap_get_references(struct aldap_message *msg) argument 549 aldap_get_diagmsg(struct aldap_message *msg) argument 563 aldap_count_attrs(struct aldap_message *msg) argument 580 aldap_first_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 610 aldap_next_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 645 aldap_match_attr(struct aldap_message *msg, char *inkey, struct aldap_stringset **outvalues) argument [all...] |
/openbsd-current/libexec/login_ldap/ |
H A D | aldap.c | 362 while (m->msg == NULL) { 383 m->msg = ober_read_elements(&ldap->ber, NULL); 394 LDAP_DEBUG("message", m->msg); 396 if (ober_scanf_elements(m->msg, "{ite", &msgid, &class, &type, &a) != 0) 418 if (m->msg->be_sub) { 419 for (ep = m->msg->be_sub; ep != NULL; ep = ep->be_next) { 499 aldap_freemsg(struct aldap_message *msg) argument 501 if (msg->msg) 502 ober_free_elements(msg 507 aldap_get_resultcode(struct aldap_message *msg) argument 513 aldap_get_dn(struct aldap_message *msg) argument 527 aldap_get_references(struct aldap_message *msg) argument 549 aldap_get_diagmsg(struct aldap_message *msg) argument 563 aldap_count_attrs(struct aldap_message *msg) argument 580 aldap_first_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 610 aldap_next_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 645 aldap_match_attr(struct aldap_message *msg, char *inkey, struct aldap_stringset **outvalues) argument [all...] |
/openbsd-current/usr.sbin/ypldap/ |
H A D | aldap.c | 398 while (m->msg == NULL) { 419 m->msg = ober_read_elements(&ldap->ber, NULL); 430 LDAP_DEBUG("message", m->msg); 432 if (ober_scanf_elements(m->msg, "{ite", &msgid, &class, &type, &a) != 0) 454 if (m->msg->be_sub) { 455 for (ep = m->msg->be_sub; ep != NULL; ep = ep->be_next) { 535 aldap_freemsg(struct aldap_message *msg) argument 537 if (msg->msg) 538 ober_free_elements(msg 543 aldap_get_resultcode(struct aldap_message *msg) argument 549 aldap_get_dn(struct aldap_message *msg) argument 563 aldap_get_references(struct aldap_message *msg) argument 585 aldap_get_diagmsg(struct aldap_message *msg) argument 599 aldap_count_attrs(struct aldap_message *msg) argument 616 aldap_first_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 646 aldap_next_attr(struct aldap_message *msg, char **outkey, struct aldap_stringset **outvalues) argument 681 aldap_match_attr(struct aldap_message *msg, char *inkey, struct aldap_stringset **outvalues) argument [all...] |
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BasicObjCFoundationChecks.cpp | 54 static StringRef GetReceiverInterfaceName(const ObjCMethodCall &msg) { argument 55 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) 120 const ObjCMethodCall &msg, unsigned Arg, 152 const ObjCMethodCall &msg, 158 if (!State->isNull(msg.getArgSVal(Arg)).isConstrainedTrue()) 170 if (CanBeSubscript && msg.getMessageKind() == OCM_Subscript) { 177 os << GetReceiverInterfaceName(msg) << "' cannot be nil"; 180 os << "'"<< GetReceiverInterfaceName(msg) << "' key cannot be nil"; 194 msg.getSelector().print(os); 197 os << "Argument to '" << GetReceiverInterfaceName(msg) << "' metho 151 warnIfNilArg(CheckerContext &C, const ObjCMethodCall &msg, unsigned int Arg, FoundationClass Class, bool CanBeSubscript) const argument 222 checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const argument 606 checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const argument 714 checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const argument [all...] |
/openbsd-current/lib/libz/ |
H A D | infback.c | 36 strm->msg = Z_NULL; /* in case we return an error */ 265 strm->msg = Z_NULL; 308 strm->msg = "error"; 310 strm->msg = (char *)"invalid block type"; 323 strm->msg = "error"; 325 strm->msg = (char *)"invalid stored block lengths"; 365 strm->msg = "error"; 367 strm->msg = (char *)"too many length or distance symbols"; 391 strm->msg = "error"; 393 strm->msg [all...] |
/openbsd-current/sys/lib/libz/ |
H A D | infback.c | 36 strm->msg = Z_NULL; /* in case we return an error */ 265 strm->msg = Z_NULL; 308 strm->msg = "error"; 310 strm->msg = (char *)"invalid block type"; 323 strm->msg = "error"; 325 strm->msg = (char *)"invalid stored block lengths"; 365 strm->msg = "error"; 367 strm->msg = (char *)"too many length or distance symbols"; 391 strm->msg = "error"; 393 strm->msg [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Formatter/ |
H A D | TAP.pm | 114 my ($hid, $msg) = @$set; 115 next unless $msg; 122 && $msg =~ m/^#\s*Failed( \(TODO\))? test /; 124 $msg =~ s/^/$indent/mg if $nesting; 125 print $io $msg; 207 my $msg; 211 chomp($msg = $dumper->Dump); 214 chomp($msg = $details); 215 $msg =~ s/^/# /; 216 $msg [all...] |
/openbsd-current/sbin/fsck_ext2fs/ |
H A D | pass5.c | 62 char msg[255]; local 175 (void)snprintf(msg, sizeof(msg), 180 dofix(&idesc[0], msg)) { 194 (void)snprintf(msg, sizeof(msg), 197 dofix(&idesc[1], msg)) { 207 (void)snprintf(msg, sizeof(msg), 210 dofix(&idesc[1], msg)) { [all...] |
/openbsd-current/usr.bin/signify/ |
H A D | signify.c | 172 uint8_t *msg = NULL; local 181 errx(1, "msg too large in %s", filename); 187 msg = xmalloc(space + 1); 191 errx(1, "msg too large in %s", filename); 193 if (!(msg = realloc(msg, msglen + space + 1))) 196 if ((x = read(fd, msg + msglen, space)) == -1) 204 msg[msglen] = '\0'; 208 return msg; 290 signmsg(uint8_t *seckey, uint8_t *msg, unsigne argument 385 createsig(const char *seckeyfile, const char *msgfile, uint8_t *msg, unsigned long long msglen) argument 440 uint8_t *msg; local 461 verifymsg(struct pubkey *pubkey, uint8_t *msg, unsigned long long msglen, struct sig *sig, int quiet) argument 535 uint8_t *msg; local 555 uint8_t *msg; local 577 uint8_t *msg; local 654 verifychecksums(char *msg, int argc, char **argv, int quiet) argument 722 uint8_t *msg; local [all...] |