/external/libpcap/ |
fmtutils.c | 65 size_t msglen; local 77 msglen = strlen(errbuf); 83 if (msglen + 3 > errbuflen) { 87 p = errbuf + msglen; 88 errbuflen_remaining = errbuflen - msglen; 92 msglen += 2;
|
pcap-libdlpi.c | 383 size_t msglen; local 403 msglen = p->bufsize; 407 &msglen, -1, NULL); 422 len = msglen;
|
sockutils.c | 439 size_t msglen; local 456 msglen = strlen(errbufptr); 458 errbufptr[msglen] = ' '; 459 errbufptr[msglen + 1] = 0; 461 bufspaceleft = bufspaceleft - (msglen + 1); 462 errbufptr += (msglen + 1); [all...] |
/external/nanopb-c/tests/regression/issue_229/ |
multiple_oneof.c | 10 size_t msglen; local 20 msglen = stream.bytes_written; 24 pb_istream_t stream = pb_istream_from_buffer(buf, msglen);
|
/external/nanopb-c/tests/regression/issue_249/ |
test.c | 37 pb_size_t msglen; local 44 msglen = stream.bytes_written; 49 pb_istream_t stream = pb_istream_from_buffer(buf, msglen);
|
/external/grpc-grpc/third_party/nanopb/tests/io_errors/ |
io_errors.c | 49 size_t msglen; local 54 msglen = fread(buffer, 1, sizeof(buffer), stdin); 63 for (i = 0; i < msglen; i++) 65 stream.bytes_left = msglen; 83 stream.bytes_left = msglen; 86 fs.fail_after = msglen; 103 for (i = 0; i < msglen; i++) 105 stream.max_size = msglen; 124 stream.max_size = msglen; 128 fs.fail_after = msglen; [all...] |
/external/nanopb-c/tests/io_errors/ |
io_errors.c | 49 size_t msglen; local 54 msglen = fread(buffer, 1, sizeof(buffer), stdin); 63 for (i = 0; i < msglen; i++) 65 stream.bytes_left = msglen; 83 stream.bytes_left = msglen; 86 fs.fail_after = msglen; 103 for (i = 0; i < msglen; i++) 105 stream.max_size = msglen; 124 stream.max_size = msglen; 128 fs.fail_after = msglen; [all...] |
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
fuzzstub.c | 19 static bool do_static_decode(uint8_t *buffer, size_t msglen, bool assert_success) 25 stream = pb_istream_from_buffer(buffer, msglen); 42 static bool do_pointer_decode(uint8_t *buffer, size_t msglen, bool assert_success) 50 stream = pb_istream_from_buffer(buffer, msglen); 67 static void do_static_roundtrip(uint8_t *buffer, size_t msglen) 79 pb_istream_t stream = pb_istream_from_buffer(buffer, msglen); 114 static void do_pointer_roundtrip(uint8_t *buffer, size_t msglen) 126 pb_istream_t stream = pb_istream_from_buffer(buffer, msglen); 165 size_t msglen; local 168 msglen = fread(buffer, 1, BUFSIZE, stdin) [all...] |
fuzztest.c | 176 static bool do_static_encode(uint8_t *buffer, size_t *msglen) 194 *msglen = stream.bytes_written; 202 static void do_protobuf_noise(uint8_t *buffer, size_t *msglen) 205 size_t max_size = BUFSIZE - 32 - *msglen; 210 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), BUFSIZE - *msglen, 512); 211 memmove(buffer + s, buffer, *msglen); 214 *msglen += s; 219 size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), BUFSIZE - *msglen, 512); 220 *msglen += s 371 size_t msglen; local [all...] |
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg02.c | 39 static const unsigned msglen = ARRAY_SIZE(msg) - 1; variable 78 R = sendto(sdw, msg, msglen, 0, (struct sockaddr*)&addr_r, addrlen_r);
|
/external/ltp/utils/sctp/func_tests/ |
test_recvmsg.c | 69 int error, msglen, i; local 138 for (i = 0, msglen = 30000; i < 15; i++, msglen-=2000) { 142 test_check_msg_data(&inmessage, error, msglen,
|
/external/nanopb-c/tests/fuzztest/ |
fuzzstub.c | 19 static bool do_static_decode(uint8_t *buffer, size_t msglen, bool assert_success) 25 stream = pb_istream_from_buffer(buffer, msglen); 42 static bool do_pointer_decode(uint8_t *buffer, size_t msglen, bool assert_success) 50 stream = pb_istream_from_buffer(buffer, msglen); 67 static void do_static_roundtrip(uint8_t *buffer, size_t msglen) 79 pb_istream_t stream = pb_istream_from_buffer(buffer, msglen); 114 static void do_pointer_roundtrip(uint8_t *buffer, size_t msglen) 126 pb_istream_t stream = pb_istream_from_buffer(buffer, msglen); 165 size_t msglen; local 168 msglen = fread(buffer, 1, BUFSIZE, stdin) [all...] |
fuzztest.c | 176 static bool do_static_encode(uint8_t *buffer, size_t *msglen) 194 *msglen = stream.bytes_written; 202 static void do_protobuf_noise(uint8_t *buffer, size_t *msglen) 205 size_t max_size = BUFSIZE - 32 - *msglen; 210 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), BUFSIZE - *msglen, 512); 211 memmove(buffer + s, buffer, *msglen); 214 *msglen += s; 219 size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), BUFSIZE - *msglen, 512); 220 *msglen += s 371 size_t msglen; local [all...] |
/bionic/libc/kernel/uapi/scsi/ |
scsi_netlink.h | 31 uint16_t msglen; member in struct:scsi_nl_hdr 50 #define INIT_SCSI_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->msglen = mlen; }
|
/external/iproute2/testsuite/tools/ |
generate_nlmsg.c | 97 int msglen; local 100 msglen = fill_vf_rate_test(buf, sizeof(buf)); 101 if (msglen < 0) { 110 if (fwrite(buf, msglen, 1, fp) != 1) {
|
/external/kernel-headers/original/uapi/scsi/ |
scsi_netlink.h | 48 uint16_t msglen; member in struct:scsi_nl_hdr 120 (hdr)->msglen = mlen; \
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-mcast_receiver.c | 372 ssize_t msglen; /* the length of message */ local 408 msglen = recvfrom(sd, msgbuf, msgbuf_size, MSG_DONTWAIT, 410 if (msglen < 0) { 414 fprintf(stderr, "received %zd byte message\n", msglen);
|
ns-udpserver.c | 145 ssize_t msglen; /* the length of message */ local 168 if ((msglen = recvfrom(sock_fd, msgbuf, msgbuf_size, 0, 172 msgbuf[msglen] = '\0'; 178 if (sendto(sock_fd, msgbuf, msglen, 0, 180 sizeof(client_addr)) != msglen)
|
/external/wpa_supplicant_8/src/rsn_supp/ |
preauth.c | 135 size_t msglen; local 144 msg = wpa_sm_alloc_eapol(sm, type, buf, len, &msglen, NULL); 148 wpa_hexdump(MSG_MSGDUMP, "TX EAPOL (preauth)", msg, msglen); 150 ETH_P_RSN_PREAUTH, msg, msglen);
|
/external/ppp/pppd/ |
upap.c | 382 int msglen; local 442 msglen = strlen(msg); 443 if (msglen > 255) 444 msglen = 255; 445 upap_sresp(u, retcode, id, msg, msglen); 475 u_char msglen; local 487 GETCHAR(msglen, inp); 488 if (msglen > 0) { 490 if (len < msglen) { 495 PRINTMSG(msg, msglen); 515 u_char msglen; local [all...] |
/external/u-boot/lib/ |
sha1.c | 276 unsigned char msglen[8]; local 282 PUT_UINT32_BE (high, msglen, 0); 283 PUT_UINT32_BE (low, msglen, 4); 289 sha1_update (ctx, msglen, 8);
|
sha256.c | 234 uint8_t msglen[8]; local 240 PUT_UINT32_BE(high, msglen, 0); 241 PUT_UINT32_BE(low, msglen, 4); 247 sha256_update(ctx, msglen, 8);
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_client_write.c | 876 size_t msglen; local 880 msglen = 2000; 882 msglen += tls_client_cert_chain_der_len(conn); 884 msg = os_malloc(msglen); 889 end = msg + msglen;
|
tlsv1_server_write.c | 933 size_t msglen; local 954 msglen = 1000 + tls_server_cert_chain_der_len(conn) + ocsp_resp_len; 956 msg = os_malloc(msglen); 963 end = msg + msglen;
|
/external/libcups/cups/ |
snmp.c | 1091 msglen, /* Length of entire message */ local 1142 msglen = 2 + asn1_size_integer(packet->version) + 1145 total = 1 + asn1_size_length(msglen) + msglen; 1160 asn1_set_length(&bufptr, msglen); [all...] |