Home
last modified time | relevance | path

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

/nanopb-3.4.0/
Dpb_encode.c83 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() function
177 return pb_write(stream, NULL, size); /* Just sizing.. */ in encode_array()
548 return pb_write(stream, &zero, 1); in pb_encode_ex()
603 return pb_write(stream, buffer, i); in pb_encode_varint_32()
612 return pb_write(stream, &byte, 1); in pb_encode_varint()
640 return pb_write(stream, (const pb_byte_t*)value, 4); in pb_encode_fixed32()
648 return pb_write(stream, bytes, 4); in pb_encode_fixed32()
657 return pb_write(stream, (const pb_byte_t*)value, 8); in pb_encode_fixed64()
669 return pb_write(stream, bytes, 8); in pb_encode_fixed64()
720 return pb_write(stream, buffer, size); in pb_encode_string()
[all …]
Dpb_encode.h124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/nanopb-3.4.0/tests/msgid/
Dencode_msgid.c17 return pb_write(stream, &prefix, 1); in write_prefix()
/nanopb-3.4.0/spm_headers/nanopb/
Dpb_encode.h124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
/nanopb-3.4.0/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-3.4.0/tests/fuzztest/
Drandom_data.c130 pb_write(&stream, buf, len); in rand_fill_protobuf()
/nanopb-3.4.0/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.md482 ### pb_write subsection
487 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
497 the callback used, calling pb_write again after it has failed once may