Home
last modified time | relevance | path

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

/nanopb-3.4.0/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-3.4.0/
Dpb_encode.h104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
Dpb_encode.c62 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() argument
75 stream.max_size = bufsize; in pb_ostream_from_buffer()
/nanopb-3.4.0/spm_headers/nanopb/
Dpb_encode.h104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
/nanopb-3.4.0/docs/
Dreference.md470 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
475 | bufsize | Maximum number of bytes to write.
729 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize);
734 | bufsize | Size of the byte array. Typically length of the message to be decoded.