Searched refs:pb_write (Results 1 – 8 of 8) sorted by relevance
/nanopb-3.4.0/ |
D | pb_encode.c | 83 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 …]
|
D | pb_encode.h | 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
|
/nanopb-3.4.0/tests/msgid/ |
D | encode_msgid.c | 17 return pb_write(stream, &prefix, 1); in write_prefix()
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb_encode.h | 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
|
/nanopb-3.4.0/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-3.4.0/tests/fuzztest/ |
D | random_data.c | 130 pb_write(&stream, buf, len); in rand_fill_protobuf()
|
/nanopb-3.4.0/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 | 482 ### 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
|