Searched refs:buffer2 (Results 1 – 5 of 5) sorted by relevance
/nanopb-3.4.0/tests/namingstyle/ |
D | test_naming_style_c.c | 58 uint8_t buffer2[256]; in main() local 60 pb_ostream_t ostream2 = pb_ostream_from_buffer(buffer2, sizeof(buffer2)); in main() 73 TEST(memcmp(buffer1, buffer2, ostream1.bytes_written) == 0); in main()
|
/nanopb-3.4.0/tests/intsizes/ |
D | intsizes_unittests.c | 17 uint8_t buffer1[128], buffer2[128]; \ 63 pb_ostream_t s = pb_ostream_from_buffer(buffer2, sizeof(buffer2)); \ 66 TEST(memcmp(buffer1, buffer2, msgsize) == 0); \
|
/nanopb-3.4.0/tests/mem_release/ |
D | mem_release.c | 91 uint8_t buffer2[256]; in test_TestMessage() local 92 pb_ostream_t ostream = pb_ostream_from_buffer(buffer2, sizeof(buffer2)); in test_TestMessage() 95 TEST(memcmp(buffer, buffer2, msgsize) == 0); in test_TestMessage()
|
/nanopb-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 48 uint8_t buffer2[sizeof(buffer1)]; in main() local 52 TEST(pb_read(&stream, buffer2, 6)) in main() 53 TEST(memcmp(buffer2, "foobar", 6) == 0) in main() 55 TEST(pb_read(&stream, buffer2 + 6, stream.bytes_left)) in main() 56 TEST(memcmp(buffer1, buffer2, sizeof(buffer1)) == 0) in main() 58 TEST(!pb_read(&stream, buffer2, 1)) in main()
|
/nanopb-3.4.0/tests/encode_unittests/ |
D | encode_unittests.c | 55 uint8_t buffer2[sizeof(buffer1)]; in main() local 56 pb_ostream_t stream = pb_ostream_from_buffer(buffer2, sizeof(buffer1)); in main() 60 TEST(memcmp(buffer1, buffer2, sizeof(buffer1)) == 0); in main()
|