/external/strace/tests-m32/ |
D | nlattr.c | 64 unsigned int msg_len; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 79 fd, msg_len, msg_len, sprintrc(rc)); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() 84 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 85 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() [all …]
|
D | nlattr_ifla.h | 43 init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_ifinfomsg() argument 46 .nlmsg_len = msg_len, in init_ifinfomsg() 61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg() 67 print_ifinfomsg(const unsigned int msg_len) in print_ifinfomsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
|
D | nlattr_tca_stab.c | 46 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 49 .nlmsg_len = msg_len, in init_tcmsg() 62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 68 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_router_port.c | 54 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 57 .nlmsg_len = msg_len, in init_br_port_msg() 70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg() 76 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
|
D | nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 45 .nlmsg_len = msg_len, in init_tcmsg() 58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 64 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 54 unsigned int len = msg_len; in init_br_port_msg() 84 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg() 92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
|
/external/strace/tests-mx32/ |
D | nlattr.c | 64 unsigned int msg_len; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 79 fd, msg_len, msg_len, sprintrc(rc)); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() 84 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 85 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() [all …]
|
D | nlattr_ifla.h | 43 init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_ifinfomsg() argument 46 .nlmsg_len = msg_len, in init_ifinfomsg() 61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg() 67 print_ifinfomsg(const unsigned int msg_len) in print_ifinfomsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
|
D | nlattr_tca_stab.c | 46 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 49 .nlmsg_len = msg_len, in init_tcmsg() 62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 68 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_router_port.c | 54 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 57 .nlmsg_len = msg_len, in init_br_port_msg() 70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg() 76 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
|
D | nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 45 .nlmsg_len = msg_len, in init_tcmsg() 58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 64 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 54 unsigned int len = msg_len; in init_br_port_msg() 84 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg() 92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
|
/external/strace/tests/ |
D | nlattr.c | 64 unsigned int msg_len; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 79 fd, msg_len, msg_len, sprintrc(rc)); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() 84 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 85 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() [all …]
|
D | nlattr_ifla.h | 43 init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_ifinfomsg() argument 46 .nlmsg_len = msg_len, in init_ifinfomsg() 61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg() 67 print_ifinfomsg(const unsigned int msg_len) in print_ifinfomsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
|
D | nlattr_tca_stab.c | 46 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 49 .nlmsg_len = msg_len, in init_tcmsg() 62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 68 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_router_port.c | 54 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 57 .nlmsg_len = msg_len, in init_br_port_msg() 70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg() 76 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
|
D | nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_tcmsg() argument 45 .nlmsg_len = msg_len, in init_tcmsg() 58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg() 64 print_tcmsg(const unsigned int msg_len) in print_tcmsg() argument 71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
|
D | nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) in init_br_port_msg() argument 54 unsigned int len = msg_len; in init_br_port_msg() 84 print_br_port_msg(const unsigned int msg_len) in print_br_port_msg() argument 91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg() 92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
|
/external/boringssl/src/ssl/ |
D | d1_both.cc | 161 frag->msg_len = msg_hdr->msg_len; in dtls1_hm_fragment_new() 165 (uint8_t *)OPENSSL_malloc(DTLS1_HM_HEADER_LENGTH + msg_hdr->msg_len); in dtls1_hm_fragment_new() 173 !CBB_add_u24(cbb.get(), msg_hdr->msg_len) || in dtls1_hm_fragment_new() 176 !CBB_add_u24(cbb.get(), msg_hdr->msg_len) || in dtls1_hm_fragment_new() 183 if (msg_hdr->msg_len > 0) { in dtls1_hm_fragment_new() 185 if (msg_hdr->msg_len + 7 < msg_hdr->msg_len) { in dtls1_hm_fragment_new() 189 size_t bitmask_len = (msg_hdr->msg_len + 7) / 8; in dtls1_hm_fragment_new() 213 size_t msg_len = frag->msg_len; in dtls1_hm_fragment_mark() local 215 if (frag->reassembly == NULL || start > end || end > msg_len) { in dtls1_hm_fragment_mark() 220 assert(msg_len > 0); in dtls1_hm_fragment_mark() [all …]
|
/external/openssh/ |
D | msg.c | 69 u_int msg_len; in ssh_msg_recv() local 79 msg_len = get_u32(buf); in ssh_msg_recv() 80 if (msg_len > 256 * 1024) { in ssh_msg_recv() 81 error("ssh_msg_recv: read: bad msg_len %u", msg_len); in ssh_msg_recv() 85 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) { in ssh_msg_recv() 89 if (atomicio(read, fd, p, msg_len) != msg_len) { in ssh_msg_recv()
|
/external/tcpdump/ |
D | print-olsr.c | 94 uint8_t msg_len[2]; member 104 uint8_t msg_len[2]; member 323 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local 367 msg_len = EXTRACT_16BITS(msgptr.v6->msg_len); in olsr_print() 368 if ((msg_len >= sizeof (struct olsr_msg6)) in olsr_print() 369 && (msg_len <= length)) in olsr_print() 373 if (msg_type == 0 || msg_len == 0) { in olsr_print() 385 msg_len, (msg_len_valid == 0) ? " (invalid)" : "")); in olsr_print() 390 msg_tlen = msg_len - sizeof(struct olsr_msg6); in olsr_print() 398 msg_len = EXTRACT_16BITS(msgptr.v4->msg_len); in olsr_print() [all …]
|
/external/ltp/utils/sctp/func_tests/ |
D | test_fragments.c | 93 int msg_len, msg_cnt, i; in main() local 160 msg_len = 10; in main() 163 outmessage.msg_iov->iov_len = msg_len; in main() 164 test_sendmsg(sk1, &outmessage, 0, msg_len); in main() 199 test_check_msg_data(&inmessage, error, msg_len, MSG_EOR, stream, ppid); in main() 225 msg_len = 100000; in main() 226 msg_buf = test_build_msg(msg_len); in main() 228 outmessage.msg_iov->iov_len = msg_len; in main() 248 msg_len = msg_sizes[i]; in main() 249 msg_buf = test_build_msg(msg_len); in main() [all …]
|
/external/epid-sdk/epid/common/1.1/src/ |
D | commitment.c | 77 void const* msg, uint32_t msg_len, in CalculateEpid11CommitmentHash() argument 85 uint32_t msg_len; in CalculateEpid11CommitmentHash() member 92 sizeof(*t4mconcat_buf) - sizeof(t4mconcat_buf->msg) + msg_len; in CalculateEpid11CommitmentHash() 95 if (!msg && (0 != msg_len)) { in CalculateEpid11CommitmentHash() 99 if (max_msg_len < (size_t)msg_len) { in CalculateEpid11CommitmentHash() 115 t4mconcat_buf->msg_len = ntohl(msg_len); in CalculateEpid11CommitmentHash() 121 msg, msg_len)) { in CalculateEpid11CommitmentHash()
|
/external/epid-sdk/epid/member/src/ |
D | nrprove_commitment.c | 49 void const* msg, size_t msg_len, in HashNrProveCommitment() argument 56 (0 != msg_len && !msg) || !c_str) { in HashNrProveCommitment() 60 if (msg_len > in HashNrProveCommitment() 66 sizeof(*commit_values) - sizeof(*commit_values->msg) + msg_len; in HashNrProveCommitment() 89 if (0 != memcpy_S(&commit_values->msg[0], msg_len, msg, msg_len)) { in HashNrProveCommitment()
|
/external/boringssl/src/fipstools/ |
D | cavp_sha_test.cc | 56 size_t msg_len = strtoul(msg_len_str.c_str(), nullptr, 0); in TestSHA() local 57 if (msg_len % 8 != 0 || in TestSHA() 58 msg_len / 8 > msg.size()) { in TestSHA() 61 msg_len /= 8; in TestSHA() 66 if (!EVP_Digest(msg.data(), msg_len, out.data(), &digest_len, md, nullptr) || in TestSHA()
|