Home
last modified time | relevance | path

Searched refs:msgsize (Results 1 – 13 of 13) sorted by relevance

/external/nanopb-c/tests/mem_release/
Dmem_release.c46 size_t msgsize; in test_TestMessage() local
61 msgsize = stream.bytes_written; in test_TestMessage()
66 fwrite(buffer, 1, msgsize, stdout); in test_TestMessage()
82 stream = pb_istream_from_buffer(buffer, msgsize); in test_TestMessage()
94 TEST(ostream.bytes_written == msgsize); in test_TestMessage()
95 TEST(memcmp(buffer, buffer2, msgsize) == 0); in test_TestMessage()
117 size_t msgsize; in test_OneofMessage() local
151 msgsize = stream.bytes_written; in test_OneofMessage()
156 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_OneofMessage()
/external/grpc-grpc/third_party/nanopb/tests/mem_release/
Dmem_release.c46 size_t msgsize; in test_TestMessage() local
61 msgsize = stream.bytes_written; in test_TestMessage()
66 fwrite(buffer, 1, msgsize, stdout); in test_TestMessage()
82 stream = pb_istream_from_buffer(buffer, msgsize); in test_TestMessage()
94 TEST(ostream.bytes_written == msgsize); in test_TestMessage()
95 TEST(memcmp(buffer, buffer2, msgsize) == 0); in test_TestMessage()
117 size_t msgsize; in test_OneofMessage() local
151 msgsize = stream.bytes_written; in test_OneofMessage()
156 pb_istream_t stream = pb_istream_from_buffer(buffer, msgsize); in test_OneofMessage()
/external/nanopb-c/tests/enum_sizes/
Denumsizes_unittests.c22 size_t msgsize; in main() local
28 msgsize = s.bytes_written; in main()
33 pb_istream_t s = pb_istream_from_buffer(buf, msgsize); in main()
50 msgsize = s.bytes_written; in main()
55 pb_istream_t s = pb_istream_from_buffer(buf, msgsize); in main()
/external/grpc-grpc/third_party/nanopb/tests/enum_sizes/
Denumsizes_unittests.c22 size_t msgsize; in main() local
28 msgsize = s.bytes_written; in main()
33 pb_istream_t s = pb_istream_from_buffer(buf, msgsize); in main()
50 msgsize = s.bytes_written; in main()
55 pb_istream_t s = pb_istream_from_buffer(buf, msgsize); in main()
/external/grpc-grpc/third_party/nanopb/tests/intsizes/
Dintsizes_unittests.c18 size_t msgsize; \
38 msgsize = s.bytes_written; \
42 pb_istream_t s = pb_istream_from_buffer(buffer1, msgsize); \
65 TEST(s.bytes_written == msgsize); \
66 TEST(memcmp(buffer1, buffer2, msgsize) == 0); \
/external/nanopb-c/tests/intsizes/
Dintsizes_unittests.c18 size_t msgsize; \
38 msgsize = s.bytes_written; \
42 pb_istream_t s = pb_istream_from_buffer(buffer1, msgsize); \
65 TEST(s.bytes_written == msgsize); \
66 TEST(memcmp(buffer1, buffer2, msgsize) == 0); \
/external/ltp/testcases/network/stress/ns-tools/
Dns-udpsender.c65 size_t msgsize; member
207 udp_p->msgsize = opt_ul; in parse_options()
354 udp_p->msg = malloc(udp_p->msgsize); in create_udp_datagram()
359 fill_payload(udp_p->msg, udp_p->msgsize); in create_udp_datagram()
397 retval = sendto(udp_p->sd, udp_p->msg, udp_p->msgsize, 0, in send_udp_datagram()
400 if (retval != udp_p->msgsize) { in send_udp_datagram()
/external/ltp/testcases/kernel/syscalls/epoll2/examples/
Depoll-test.c91 static int msgsize = STD_MESSAGE_SIZE, port = STD_SERVER_PORT, variable
373 msgsize = ((msgsize + 63) / 64) * 64; in eph_send_response()
375 resp = malloc(msgsize + 256); in eph_send_response()
381 "Content-Length: %d\r\n" "\r\n", msgsize); in eph_send_response()
383 while (msgsize > 0) { in eph_send_response()
388 msgsize -= 64; in eph_send_response()
552 prgname, msgsize, port, maxsfd, stksize); in eph_usage()
565 msgsize = atoi(argv[i]); in main()
/external/grpc-grpc/third_party/nanopb/tests/options/
Doptions.expected2 char msgsize\[30\];
Doptions.proto21 required string msgsize = 1; field
/external/nanopb-c/tests/options/
Doptions.expected2 char msgsize\[30\];
Doptions.proto21 required string msgsize = 1; field
/external/syzkaller/sys/linux/
Dsys.txt743 msgsize intptr