Searched refs:pb_write (Results 1 – 8 of 8) sorted by relevance
/nanopb-2.7.6/ |
D | pb_encode.c | 81 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()
|
D | pb_encode.h | 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
|
/nanopb-2.7.6/tests/msgid/ |
D | encode_msgid.c | 17 return pb_write(stream, &prefix, 1); in write_prefix()
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_encode.h | 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
|
/nanopb-2.7.6/tests/encode_unittests/ |
D | encode_unittests.c | 59 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/ |
D | random_data.c | 130 pb_write(&stream, buf, len); in rand_fill_protobuf()
|
/nanopb-2.7.6/docs/ |
D | concepts.md | 59 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
|
D | reference.md | 469 ### 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
|