Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 6 of 6) sorted by relevance

/nanopb-2.7.6/tests/fuzztest/
Drandom_data.c176 void rand_protobuf_noise(uint8_t *buffer, size_t bufsize, size_t *msglen) in rand_protobuf_noise() argument
179 size_t max_size = bufsize - 32 - *msglen; in rand_protobuf_noise()
183 uint8_t *tmp = malloc_with_check(bufsize); in rand_protobuf_noise()
184 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), bufsize - *msglen, 1000); in rand_protobuf_noise()
193 … size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), bufsize - *msglen, 1000); in rand_protobuf_noise()
Drandom_data.h39 void rand_protobuf_noise(uint8_t *buffer, size_t bufsize, size_t *msglen);
/nanopb-2.7.6/
Dpb_encode.h104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
Dpb_encode.c64 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() argument
73 stream.max_size = bufsize; in pb_ostream_from_buffer()
/nanopb-2.7.6/spm_headers/nanopb/
Dpb_encode.h104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
/nanopb-2.7.6/docs/
Dreference.md457 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
462 | bufsize | Maximum number of bytes to write.
716 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize);
721 | bufsize | Size of the byte array.