/nanopb-3.4.0/tests/regression/issue_504/ |
D | test.c | 41 printf("response payload (%d):", (int)ostream.bytes_written); in main() 42 for (i = 0; i < ostream.bytes_written; i++) { in main() 47 TEST(ostream.bytes_written != 0); in main() 67 printf("response payload (%d):", (int)ostream.bytes_written); in main() 68 for (i = 0; i < ostream.bytes_written; i++) { in main() 73 TEST(ostream.bytes_written == 0); in main()
|
/nanopb-3.4.0/tests/regression/issue_395/ |
D | test.c | 26 printf("response payload (%d):", (int)ostream.bytes_written); in main() 27 for (i = 0; i < ostream.bytes_written; i++) { in main() 32 TEST(ostream.bytes_written == 2); in main()
|
/nanopb-3.4.0/tests/regression/issue_166/ |
D | enum_encoded_size.c | 22 TEST(s.bytes_written == SignedMsg_size); in main() 29 TEST(s.bytes_written < SignedMsg_size); in main() 38 TEST(s.bytes_written == UnsignedMsg_size); in main()
|
/nanopb-3.4.0/tests/namingstyle/ |
D | test_naming_style_c.c | 66 istream = pb_istream_from_buffer(buffer1, ostream1.bytes_written); in main() 72 TEST(ostream2.bytes_written == ostream1.bytes_written); in main() 73 TEST(memcmp(buffer1, buffer2, ostream1.bytes_written) == 0); in main()
|
/nanopb-3.4.0/tests/regression/issue_242/ |
D | zero_value.c | 26 TEST(ostream.bytes_written == 2); in main() 45 TEST(ostream.bytes_written == 2); in main()
|
/nanopb-3.4.0/tests/regression/issue_256/ |
D | submsg_array.c | 22 TEST(ostream.bytes_written > 0); in main() 25 pb_istream_t istream = pb_istream_from_buffer(buffer, ostream.bytes_written); in main()
|
/nanopb-3.4.0/tests/any_type/ |
D | encode_any.c | 30 msg.details.value.size = stream.bytes_written; in main() 38 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
|
/nanopb-3.4.0/tests/inline/ |
D | inline_unittests.c | 31 TEST(ostream.bytes_written == Message1_size); in main() 52 TEST(ostream.bytes_written == Message2_size); in main() 63 istream = pb_istream_from_buffer(msg2_buffer, ostream.bytes_written); in main()
|
/nanopb-3.4.0/tests/cxx_callback_datatype/ |
D | cxx_callback_datatype.cpp | 57 serialized.resize(sizestream.bytes_written); in main() 66 pb_istream_t instream = pb_istream_from_buffer(&serialized.front(), outstream.bytes_written); in main() 79 for (unsigned i = 0; i != std::min(serialized.size(), outstream.bytes_written); ++i) { in main()
|
/nanopb-3.4.0/tests/float_double_conversion/ |
D | float_double_conversion.c | 52 msglen = stream.bytes_written; in main() 67 msglen = ostream.bytes_written; in main()
|
/nanopb-3.4.0/tests/fuzztest/ |
D | random_data.c | 91 while(stream.bytes_written < min_bytes) in rand_fill_protobuf() 122 if (min_bytes > stream.bytes_written) in rand_fill_protobuf() 123 len = rand_len(min_bytes - stream.bytes_written); in rand_fill_protobuf() 135 return stream.bytes_written; in rand_fill_protobuf()
|
/nanopb-3.4.0/tests/basic_buffer/ |
D | encode_buffer.c | 30 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
|
/nanopb-3.4.0/tests/regression/issue_247/ |
D | padding.c | 27 TEST(stream.bytes_written == 0); in main()
|
/nanopb-3.4.0/tests/regression/issue_253/ |
D | short_array.c | 19 TEST(ostream.bytes_written == TestMessage_size); in main()
|
/nanopb-3.4.0/examples/platformio/src/ |
D | pio_esp32_idf.c | 23 written = ostream.bytes_written; in app_main()
|
D | pio_without_options.c | 24 written = ostream.bytes_written; in main()
|
D | pio_with_options.c | 24 written = ostream.bytes_written; in main()
|
/nanopb-3.4.0/tests/missing_fields/ |
D | missing_fields.c | 24 size = stream.bytes_written; in main()
|
/nanopb-3.4.0/examples/simple/ |
D | simple.c | 32 message_length = stream.bytes_written; in main()
|
/nanopb-3.4.0/examples/cmake_simple/ |
D | simple.c | 32 message_length = stream.bytes_written; in main()
|
/nanopb-3.4.0/examples/conan_dependency/src/ |
D | simple.c | 32 message_length = stream.bytes_written; in main()
|
/nanopb-3.4.0/tests/enum_sizes/ |
D | enumsizes_unittests.c | 28 msgsize = s.bytes_written; in main() 50 msgsize = s.bytes_written; in main()
|
/nanopb-3.4.0/ |
D | pb_encode.c | 76 stream.bytes_written = 0; in pb_ostream_from_buffer() 87 if (stream->bytes_written + count < stream->bytes_written || in pb_write() 88 stream->bytes_written + count > stream->max_size) in pb_write() 102 stream->bytes_written += count; in pb_write() 170 size = sizestream.bytes_written; in encode_array() 563 *size = stream.bytes_written; in pb_get_encoded_size() 738 size = substream.bytes_written; in pb_encode_submessage() 746 if (stream->bytes_written + size > stream->max_size) in pb_encode_submessage() 754 substream.bytes_written = 0; in pb_encode_submessage() 761 stream->bytes_written += substream.bytes_written; in pb_encode_submessage() [all …]
|
/nanopb-3.4.0/tests/fixed_count/ |
D | fixed_count_unittests.c | 30 message_length = ostream.bytes_written; in main() 79 message_length = ostream.bytes_written; in main() 129 message_length = ostream.bytes_written; in main() 164 message_length = ostream.bytes_written; in main()
|
/nanopb-3.4.0/tests/regression/issue_376/ |
D | test_fixarray.c | 24 msglen = stream.bytes_written; in main()
|