Searched refs:bufsize (Results 1 – 6 of 6) sorted by relevance
/nanopb-3.4.0/tests/fuzztest/ |
D | random_data.c | 176 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()
|
D | random_data.h | 39 void rand_protobuf_noise(uint8_t *buffer, size_t bufsize, size_t *msglen);
|
/nanopb-3.4.0/ |
D | pb_encode.h | 104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
|
D | pb_encode.c | 62 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/ |
D | pb_encode.h | 104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
|
/nanopb-3.4.0/docs/ |
D | reference.md | 470 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.
|