/openbsd-current/usr.sbin/ldpd/ |
H A D | labelmapping.c | 128 struct ldp_msg msg; local 138 memcpy(&msg, buf, sizeof(msg)); 144 session_shutdown(nbr, S_BAD_TLV_LEN, msg.id, msg.type); 150 send_notification(nbr->tcp, S_MISS_MSG, msg.id, msg.type); 155 session_shutdown(nbr, S_BAD_TLV_LEN, msg.id, msg.type); 165 map.msg_id = msg 455 tlv_decode_label(struct nbr *nbr, struct ldp_msg *msg, char *buf, uint16_t len, uint32_t *label) argument 692 tlv_decode_fec_elm(struct nbr *nbr, struct ldp_msg *msg, char *buf, uint16_t len, struct map *map) argument [all...] |
H A D | notification.c | 114 struct ldp_msg msg; local 119 memcpy(&msg, buf, sizeof(msg)); 124 session_shutdown(nbr, S_BAD_MSG_LEN, msg.id, msg.type); 131 session_shutdown(nbr, S_BAD_TLV_LEN, msg.id, msg.type); 147 session_shutdown(nbr, S_BAD_TLV_LEN, msg.id, msg.type); 155 session_shutdown(nbr, S_BAD_TLV_LEN, msg [all...] |
/openbsd-current/sbin/iked/ |
H A D | ikev2_msg.c | 61 struct iked_message msg; local 68 bzero(&msg, sizeof(msg)); 71 msg.msg_peerlen = sizeof(msg.msg_peer); 72 msg.msg_locallen = sizeof(msg.msg_local); 73 msg.msg_parent = &msg; 74 memcpy(&msg 111 ikev1_recv(struct iked *env, struct iked_message *msg) argument 138 ikev2_msg_init(struct iked *env, struct iked_message *msg, struct sockaddr_storage *peer, socklen_t peerlen, struct sockaddr_storage *local, socklen_t locallen, int response) argument 158 ikev2_msg_copy(struct iked *env, struct iked_message *msg) argument 189 ikev2_msg_cleanup(struct iked *env, struct iked_message *msg) argument 242 ikev2_msg_valid_ike_sa(struct iked *env, struct ike_header *oldhdr, struct iked_message *msg) argument 269 ikev2_msg_send(struct iked *env, struct iked_message *msg) argument 570 ikev2_msg_decrypt(struct iked *env, struct iked_sa *sa, struct ibuf *msg, struct ibuf *src) argument 1161 ikev2_msg_frompeer(struct iked_message *msg) argument 1197 ikev2_msg_enqueue(struct iked *env, struct iked_msgqueue *queue, struct iked_message *msg, int timeout) argument 1223 ikev2_msg_prevail(struct iked *env, struct iked_msgqueue *queue, struct iked_message *msg) argument 1261 ikev2_msg_lookup(struct iked *env, struct iked_msgqueue *queue, struct iked_message *msg, uint8_t exchange) argument 1277 ikev2_msg_retransmit_response(struct iked *env, struct iked_sa *sa, struct iked_message *msg, struct ike_header *hdr) argument 1333 struct iked_message *msg = TAILQ_FIRST(&mr->mrt_frags); local [all...] |
/openbsd-current/gnu/usr.bin/perl/t/io/ |
H A D | msg.t | 45 pass('acquired msg queue'); 53 my $msg = pack("l! a*", $type, $content); 54 if (ok(msgsnd($id, $msg, IPC_NOWAIT), "send a message")) { 57 is($rcvbuf, $msg, "received should match sent"); 61 utf8::upgrade(my $umsg = $msg); 65 is($rcvbuf, $msg, "received should match sent"); 69 if (ok(msgsnd($id, $msg, IPC_NOWAIT), "send a message (upgraded receiver)")) { 72 is($rcvbuf, $msg, "received should match sent (upgraded receiver)");
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | split_unicode.t | 42 my $msg = sprintf "Space: U+%04x", $cp; 49 ok(@res == 2 && join('-',@res) eq "A:-:B", "$msg - /\\s+/"); 50 is($cnt, scalar(@res), "$msg - /\\s+/ (count)"); 57 ok(@r2 == 2 && join('-', @r2) eq ":A:-:B", "$msg - ' '"); 58 is($c2, scalar(@r2), "$msg - ' ' (count)"); 62 ok(@r3 == 3 && join('-', @r3) eq "-:A:-:B", "$msg - /\\s+/ No.2"); 63 is($c3, scalar(@r3), "$msg - /\\s+/ No.2 (count)");
|
H A D | die.t | 77 my $msg = "ce ��tii tu, b�� ?\n"; 78 eval { die $msg }; 79 is( $@, $msg, "Literal passed to die" ); 82 eval { die $msg }; 83 is( $err, $msg, 'die handler with utf8' ); 84 eval { warn $msg }; 85 is( $err, $msg, 'warn handler with utf8' );
|
/openbsd-current/gnu/llvm/lld/include/lld/Common/ |
H A D | ErrorHandler.h | 110 void error(const Twine &msg); 111 void error(const Twine &msg, ErrorTag tag, ArrayRef<StringRef> args); 112 [[noreturn]] void fatal(const Twine &msg); 113 void log(const Twine &msg); 114 void message(const Twine &msg, llvm::raw_ostream &s); 115 void warn(const Twine &msg); 126 std::string getLocation(const Twine &msg); 128 const Twine &msg); 147 void error(const Twine &msg); 148 void error(const Twine &msg, ErrorTa [all...] |
/openbsd-current/sys/dev/pci/drm/radeon/ |
H A D | radeon_dp_auxch.c | 55 radeon_dp_aux_transfer_native(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) argument 65 u8 *buf = msg->buffer; 71 if (WARN_ON(msg->size > 16)) 74 switch (msg->request & ~DP_AUX_I2C_MOT) { 89 if (msg->size) { 90 msize = msg->size - 1; 93 bytes += msg->size; 119 /* request, address, msg size */ 120 byte = (msg->request << 4) | ((msg [all...] |
/openbsd-current/usr.bin/dig/lib/dns/ |
H A D | tsig.c | 41 #define is_response(msg) (msg->flags & DNS_MESSAGEFLAG_QR) 82 tsig_verify_tcp(isc_buffer_t *source, dns_message_t *msg); 406 dns_tsig_sign(dns_message_t *msg) { argument 424 REQUIRE(msg != NULL); 425 key = dns_message_gettsigkey(msg); 430 response = is_response(msg); 431 if (response && msg->querytsig == NULL) 443 tsig.timesigned = now + msg->timeadjust; 446 tsig.originalid = msg 703 dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg) argument 1040 tsig_verify_tcp(isc_buffer_t *source, dns_message_t *msg) argument [all...] |
/openbsd-current/usr.bin/gencat/ |
H A D | gencat.c | 116 void MCAddMsg(int msgId, const char *msg); 170 warning(char *cptr, char *msg) argument 172 warnx("%s on line %ld\n%s", msg, lineno, curline); 182 error(char *cptr, char *msg) argument 184 warning(cptr, msg); 292 static char *msg = NULL; local 304 msg = xrealloc(msg, clen); 306 msg = xmalloc(clen); 309 tptr = msg; 506 struct _msgT *msg; local 679 struct _msgT *msg; local 702 struct _msgT *msg; local [all...] |
/openbsd-current/usr.sbin/unbound/iterator/ |
H A D | iter_scrub.c | 63 remove_rrset(const char* str, sldns_buffer* pkt, struct msg_parse* msg, argument 75 else msg->rrset_first = (*rrset)->rrset_all_next; 76 if(msg->rrset_last == *rrset) 77 msg->rrset_last = prev; 78 msg->rrset_count --; 80 case LDNS_SECTION_ANSWER: msg->an_rrsets--; break; 81 case LDNS_SECTION_AUTHORITY: msg->ns_rrsets--; break; 82 case LDNS_SECTION_ADDITIONAL: msg->ar_rrsets--; break; 85 msgparse_bucket_remove(msg, *rrset); 151 mark_additional_rrset(sldns_buffer* pkt, struct msg_parse* msg, argument 252 synth_cname_rrset(uint8_t** sname, size_t* snamelen, uint8_t* alias, size_t aliaslen, struct regional* region, struct msg_parse* msg, struct rrset_parse* rrset, struct rrset_parse* prev, struct rrset_parse* nx, sldns_buffer* pkt) argument 340 soa_in_auth(struct msg_parse* msg) argument 383 scrub_normalize(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, struct regional* region, struct module_env* env) argument 655 store_rrset(sldns_buffer* pkt, struct msg_parse* msg, struct module_env* env, struct rrset_parse* rrset) argument 723 scrub_sanitize_rr_length(sldns_buffer* pkt, struct msg_parse* msg, struct rrset_parse* prev, struct rrset_parse** rrset, int* added_ede, struct module_qstate* qstate) argument 786 scrub_sanitize(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, uint8_t* zonename, struct module_env* env, struct iter_env* ie, struct module_qstate* qstate) argument 916 scrub_message(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, uint8_t* zonename, struct regional* region, struct module_env* env, struct module_qstate* qstate, struct iter_env* ie) argument [all...] |
/openbsd-current/sbin/unwind/libunbound/iterator/ |
H A D | iter_scrub.c | 63 remove_rrset(const char* str, sldns_buffer* pkt, struct msg_parse* msg, argument 75 else msg->rrset_first = (*rrset)->rrset_all_next; 76 if(msg->rrset_last == *rrset) 77 msg->rrset_last = prev; 78 msg->rrset_count --; 80 case LDNS_SECTION_ANSWER: msg->an_rrsets--; break; 81 case LDNS_SECTION_AUTHORITY: msg->ns_rrsets--; break; 82 case LDNS_SECTION_ADDITIONAL: msg->ar_rrsets--; break; 85 msgparse_bucket_remove(msg, *rrset); 151 mark_additional_rrset(sldns_buffer* pkt, struct msg_parse* msg, argument 252 synth_cname_rrset(uint8_t** sname, size_t* snamelen, uint8_t* alias, size_t aliaslen, struct regional* region, struct msg_parse* msg, struct rrset_parse* rrset, struct rrset_parse* prev, struct rrset_parse* nx, sldns_buffer* pkt) argument 340 soa_in_auth(struct msg_parse* msg) argument 383 scrub_normalize(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, struct regional* region, struct module_env* env) argument 655 store_rrset(sldns_buffer* pkt, struct msg_parse* msg, struct module_env* env, struct rrset_parse* rrset) argument 723 scrub_sanitize_rr_length(sldns_buffer* pkt, struct msg_parse* msg, struct rrset_parse* prev, struct rrset_parse** rrset, int* added_ede, struct module_qstate* qstate) argument 786 scrub_sanitize(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, uint8_t* zonename, struct module_env* env, struct iter_env* ie, struct module_qstate* qstate) argument 916 scrub_message(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinfo, uint8_t* zonename, struct regional* region, struct module_env* env, struct module_qstate* qstate, struct iter_env* ie) argument [all...] |
/openbsd-current/regress/lib/libc/sys/ |
H A D | t_ptrace.c | 150 uint8_t msg = 0xde; /* dummy message for IPC based on pipe(2) */ local 168 rv = write(fds_toparent[1], &msg, sizeof(msg)); 169 FORKEE_ASSERTX(rv == sizeof(msg)); 178 rv = read(fds_fromparent[0], &msg, sizeof(msg)); 179 FORKEE_ASSERTX(rv == sizeof(msg)); 187 rv = read(fds_toparent[0], &msg, sizeof(msg)); 188 ATF_REQUIRE(rv == sizeof(msg)); [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-jitlistener/ |
H A D | llvm-jitlistener.cpp | 50 iJIT_Method_Load* msg = static_cast<iJIT_Method_Load*>(EventSpecificData); local 52 ReportedDebugFuncs[msg->method_id]; 54 outs() << "Method load [" << msg->method_id << "]: " << msg->method_name 55 << ", Size = " << msg->method_size << "\n"; 57 for(unsigned int i = 0; i < msg->line_number_size; ++i) { 58 if (!msg->line_number_table) { 63 std::string(msg->source_file_name), 64 msg->line_number_table[i].LineNumber); 65 ReportedDebugFuncs[msg [all...] |
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/smumgr/ |
H A D | smu9_smumgr.c | 90 * @param msg the message to send. 94 uint16_t msg) 99 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_101, msg); 101 WREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_66, msg); 110 * @param msg the message to send. 113 int smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 125 smu9_send_msg_to_smc_without_waiting(hwmgr, msg); 129 dev_err(adev->dev, "Failed to send message: 0x%x, ret value: 0x%x\n", msg, ret); 137 * @param msg: the message to send. 142 uint16_t msg, uint32_ 93 smu9_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, uint16_t msg) argument 141 smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter) argument [all...] |
/openbsd-current/usr.bin/talk/ |
H A D | ctl_transact.c | 50 ctl_transact(struct in_addr target, CTL_MSG msg, int type, CTL_RESPONSE *rp) argument 55 msg.type = type; 68 cc = sendto(ctl_sockt, (char *)&msg, sizeof (msg), 0, 71 if (cc != sizeof (msg)) {
|
/openbsd-current/gnu/usr.bin/perl/dist/Tie-File/t/ |
H A D | 22_autochomp.t | 126 my $msg; 130 $msg = "expected <$c[$_]>, got <$aa>"; 131 ctrlfix($msg); 135 print $good ? "ok $N\n" : "not ok $N # $msg\n"; 150 ctrlfix(my $msg = "expected UNDEF, got <$a>"); 151 print "not ok $N \# $msg\n"; 154 ctrlfix(my $msg = "expected <$x>, got UNDEF"); 155 print "not ok $N \# $msg\n"; 158 ctrlfix(my $msg = "expected <$x>, got <$a>"); 159 print "not ok $N \# $msg\ [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/include/ |
H A D | logger_interface.h | 130 #define DTN_INFO(msg, ...) \ 131 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__) 150 #define DISPLAY_STATS(msg, ...) DC_LOG_PERF_TRACE(msg, __VA_ARGS__) 154 #define LOG_GAMMA_WRITE(msg, ...)
|
/openbsd-current/usr.bin/ssh/ |
H A D | sftp-client.c | 216 struct sshbuf *msg; local 219 if ((msg = sshbuf_new()) == NULL) 221 if ((r = sshbuf_put_u8(msg, code)) != 0 || 222 (r = sshbuf_put_u32(msg, id)) != 0 || 223 (r = sshbuf_put_string(msg, s, len)) != 0) 225 send_msg(conn, msg); 227 sshbuf_free(msg); 234 struct sshbuf *msg; local 237 if ((msg = sshbuf_new()) == NULL) 239 if ((r = sshbuf_put_u8(msg, cod 253 struct sshbuf *msg; local 284 struct sshbuf *msg; local 328 struct sshbuf *msg; local 380 struct sshbuf *msg; local 440 struct sshbuf *msg; local 605 struct sshbuf *msg; local 658 struct sshbuf *msg; local 686 struct sshbuf *msg; local 988 struct sshbuf *msg; local 1086 struct sshbuf *msg; local 1201 struct sshbuf *msg; local 1245 struct sshbuf *msg; local 1283 struct sshbuf *msg; local 1319 struct sshbuf *msg; local 1352 struct sshbuf *msg; local 1411 struct sshbuf *msg; local 1442 struct sshbuf *msg; local 1471 struct sshbuf *msg; local 1505 struct sshbuf *msg; local 1527 struct sshbuf *msg; local 1581 struct sshbuf *msg; local 2016 struct sshbuf *msg; local 2364 struct sshbuf *msg; local 2432 struct sshbuf *msg; local 2827 struct sshbuf *msg, *uidbuf, *gidbuf; local [all...] |
/openbsd-current/sbin/isakmpd/ |
H A D | isakmp_cfg.c | 95 cfg_initiator_send_ATTR(struct message *msg) argument 97 struct sa *isakmp_sa = msg->isakmp_sa; 98 struct ipsec_exch *ie = msg->exchange->data; 108 if (msg->exchange->phase == 2) { 109 hashp = cfg_add_hash(msg); 251 if (message_add_payload(msg, ISAKMP_PAYLOAD_ATTRIBUTE, attrp, attrlen, 340 if (msg->exchange->phase == 2) 341 if (cfg_finalize_hash(msg, hashp, attrp, attrlen)) 356 cfg_initiator_recv_ATTR(struct message *msg) argument 358 struct payload *attrp = payload_first(msg, ISAKMP_PAYLOAD_ATTRIBUT 465 cfg_responder_recv_ATTR(struct message *msg) argument 546 cfg_responder_send_ATTR(struct message *msg) argument 591 cfg_add_hash(struct message *msg) argument 612 cfg_finalize_hash(struct message *msg, u_int8_t *hashp, u_int8_t *data, u_int16_t length) argument 633 cfg_verify_hash(struct message *msg) argument [all...] |
/openbsd-current/gnu/llvm/lld/wasm/ |
H A D | WriterUtils.cpp | 78 void debugWrite(uint64_t offset, const Twine &msg) { argument 79 LLVM_DEBUG(dbgs() << format(" | %08lld: ", offset) << msg << "\n"); 83 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg) { argument 84 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); 88 void writeSleb128(raw_ostream &os, int64_t number, const Twine &msg) { argument 89 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); 94 const Twine &msg) { 95 debugWrite(os.tell(), msg + " [data[" + Twine(count) + "]]"); 99 void writeStr(raw_ostream &os, StringRef string, const Twine &msg) { argument 101 msg 93 writeBytes(raw_ostream &os, const char *bytes, size_t count, const Twine &msg) argument 106 writeU8(raw_ostream &os, uint8_t byte, const Twine &msg) argument 111 writeU32(raw_ostream &os, uint32_t number, const Twine &msg) argument 116 writeU64(raw_ostream &os, uint64_t number, const Twine &msg) argument 121 writeValueType(raw_ostream &os, ValType type, const Twine &msg) argument 138 writeI32Const(raw_ostream &os, int32_t number, const Twine &msg) argument 143 writeI64Const(raw_ostream &os, int64_t number, const Twine &msg) argument 148 writePtrConst(raw_ostream &os, int64_t number, bool is64, const Twine &msg) argument [all...] |
/openbsd-current/regress/usr.sbin/syslogd/ |
H A D | args-client-tcp-nontransp-maxline.pl | 22 my $msg = generate_chars(MAXLINE+1); 23 print "$msg\n"; 24 print STDERR "<<< $msg\n"; 27 $msg = generate_chars(MAXLINE); 28 print $msg; 29 print STDERR "<<< $msg\n";
|
/openbsd-current/gnu/llvm/lldb/packages/Python/lldbsuite/test/make/ |
H A D | dylib.h | 48 char *msg; 50 NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (char *)&msg, 0, NULL); 51 return msg;
|
/openbsd-current/gnu/gcc/libssp/ |
H A D | ssp.c | 160 const char *msg = "*** stack smashing detected ***: "; local 161 fail (msg, strlen (msg), "stack smashing detected: terminated"); 167 const char *msg = "*** buffer overflow detected ***: "; local 168 fail (msg, strlen (msg), "buffer overflow detected: terminated");
|
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | sigaltstack.exp | 81 proc finish_test { pattern msg } { 84 gdb_test_multiple "finish" $msg { 90 fail "$msg (could not set breakpoint)" 93 pass $msg
|