Home
last modified time | relevance | path

Searched refs:pb_write (Results 1 – 8 of 8) sorted by relevance

/nanopb-2.7.6/
Dpb_encode.c81 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() function
175 return pb_write(stream, NULL, size); /* Just sizing.. */ in encode_array()
546 return pb_write(stream, &zero, 1); in pb_encode_ex()
601 return pb_write(stream, buffer, i); in pb_encode_varint_32()
610 return pb_write(stream, &byte, 1); in pb_encode_varint()
641 return pb_write(stream, bytes, 4); in pb_encode_fixed32()
657 return pb_write(stream, bytes, 8); in pb_encode_fixed64()
707 return pb_write(stream, buffer, size); in pb_encode_string()
731 return pb_write(stream, NULL, size); /* Just sizing */ in pb_encode_submessage()
Dpb_encode.h124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/nanopb-2.7.6/tests/msgid/
Dencode_msgid.c17 return pb_write(stream, &prefix, 1); in write_prefix()
/nanopb-2.7.6/spm_headers/nanopb/
Dpb_encode.h124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/nanopb-2.7.6/tests/encode_unittests/
Dencode_unittests.c59 TEST(pb_write(&stream, buffer1, sizeof(buffer1))); in main()
61 TEST(!pb_write(&stream, buffer1, 1)); in main()
70 TEST(pb_write(&stream, buffer1, 5)); in main()
72 TEST(!pb_write(&stream, buffer1, 5)); in main()
/nanopb-2.7.6/tests/fuzztest/
Drandom_data.c130 pb_write(&stream, buf, len); in rand_fill_protobuf()
/nanopb-2.7.6/docs/
Dconcepts.md59 3) `bytes_written` and `bytes_left` are updated by pb_write and
84 `max_size`, pb_write returns false before doing anything else. If you
Dreference.md469 ### pb_write subsection
474 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
484 the callback used, calling pb_write again after it has failed once may