Home
last modified time | relevance | path

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

123

/nanopb-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/tests/regression/issue_242/
Dzero_value.c26 TEST(ostream.bytes_written == 2); in main()
45 TEST(ostream.bytes_written == 2); in main()
/nanopb-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/tests/float_double_conversion/
Dfloat_double_conversion.c52 msglen = stream.bytes_written; in main()
67 msglen = ostream.bytes_written; in main()
/nanopb-2.7.6/tests/basic_buffer/
Dencode_buffer.c30 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
/nanopb-2.7.6/tests/regression/issue_247/
Dpadding.c27 TEST(stream.bytes_written == 0); in main()
/nanopb-2.7.6/tests/regression/issue_253/
Dshort_array.c19 TEST(ostream.bytes_written == TestMessage_size); in main()
/nanopb-2.7.6/tests/missing_fields/
Dmissing_fields.c24 size = stream.bytes_written; in main()
/nanopb-2.7.6/
Dpb_encode.c74 stream.bytes_written = 0; in pb_ostream_from_buffer()
85 if (stream->bytes_written + count < stream->bytes_written || in pb_write()
86 stream->bytes_written + count > stream->max_size) in pb_write()
100 stream->bytes_written += count; in pb_write()
168 size = sizestream.bytes_written; in encode_array()
561 *size = stream.bytes_written; in pb_get_encoded_size()
725 size = substream.bytes_written; in pb_encode_submessage()
733 if (stream->bytes_written + size > stream->max_size) in pb_encode_submessage()
741 substream.bytes_written = 0; in pb_encode_submessage()
748 stream->bytes_written += substream.bytes_written; in pb_encode_submessage()
[all …]
/nanopb-2.7.6/tests/enum_sizes/
Denumsizes_unittests.c28 msgsize = s.bytes_written; in main()
50 msgsize = s.bytes_written; in main()
/nanopb-2.7.6/examples/cmake_simple/
Dsimple.c32 message_length = stream.bytes_written; in main()
/nanopb-2.7.6/examples/simple/
Dsimple.c32 message_length = stream.bytes_written; in main()
/nanopb-2.7.6/examples/cmake_relpath/
Dsimple.c33 message_length = stream.bytes_written; in main()
/nanopb-2.7.6/tests/regression/issue_376/
Dtest_fixarray.c24 msglen = stream.bytes_written; in main()
/nanopb-2.7.6/tests/intsizes/
Dintsizes_unittests.c38 msgsize = s.bytes_written; \
65 TEST(s.bytes_written == msgsize); \
138 TEST(s.bytes_written == IntSizes_size); in main()
/nanopb-2.7.6/tests/fixed_count/
Dfixed_count_unittests.c29 message_length = ostream.bytes_written; in main()
78 message_length = ostream.bytes_written; in main()
128 message_length = ostream.bytes_written; in main()
/nanopb-2.7.6/tests/extensions/
Dencode_extensions.c41 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
/nanopb-2.7.6/tests/map/
Dencode_map.c29 fwrite(buffer, 1, stream.bytes_written, stdout); in main()
/nanopb-2.7.6/tests/regression/issue_558/
Dmixed.c27 msglen = ostream.bytes_written; in main()

123