Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 25 of 63) sorted by relevance

123

/nanopb-3.4.0/tests/regression/issue_504/
Dtest.c41 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/
Dtest.c26 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/
Denum_encoded_size.c22 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/
Dtest_naming_style_c.c66 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/
Dzero_value.c26 TEST(ostream.bytes_written == 2); in main()
45 TEST(ostream.bytes_written == 2); in main()
/nanopb-3.4.0/tests/regression/issue_256/
Dsubmsg_array.c22 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/
Dencode_any.c30 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/
Dinline_unittests.c31 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/
Dcxx_callback_datatype.cpp57 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/
Dfloat_double_conversion.c52 msglen = stream.bytes_written; in main()
67 msglen = ostream.bytes_written; in main()
/nanopb-3.4.0/tests/fuzztest/
Drandom_data.c91 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/
Dencode_buffer.c30 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
/nanopb-3.4.0/tests/regression/issue_247/
Dpadding.c27 TEST(stream.bytes_written == 0); in main()
/nanopb-3.4.0/tests/regression/issue_253/
Dshort_array.c19 TEST(ostream.bytes_written == TestMessage_size); in main()
/nanopb-3.4.0/examples/platformio/src/
Dpio_esp32_idf.c23 written = ostream.bytes_written; in app_main()
Dpio_without_options.c24 written = ostream.bytes_written; in main()
Dpio_with_options.c24 written = ostream.bytes_written; in main()
/nanopb-3.4.0/tests/missing_fields/
Dmissing_fields.c24 size = stream.bytes_written; in main()
/nanopb-3.4.0/examples/simple/
Dsimple.c32 message_length = stream.bytes_written; in main()
/nanopb-3.4.0/examples/cmake_simple/
Dsimple.c32 message_length = stream.bytes_written; in main()
/nanopb-3.4.0/examples/conan_dependency/src/
Dsimple.c32 message_length = stream.bytes_written; in main()
/nanopb-3.4.0/tests/enum_sizes/
Denumsizes_unittests.c28 msgsize = s.bytes_written; in main()
50 msgsize = s.bytes_written; in main()
/nanopb-3.4.0/
Dpb_encode.c76 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/
Dfixed_count_unittests.c30 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/
Dtest_fixarray.c24 msglen = stream.bytes_written; in main()

123