Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 29) sorted by relevance

12

/nanopb-3.4.0/tests/common/
Dmalloc_wrappers.c56 char *buf = NULL; in malloc_with_check() local
85 char *buf = (char*)mem - PREFIX_SIZE; in free_with_check() local
111 char *buf = (char*)ptr - PREFIX_SIZE; in realloc_with_check() local
170 char *buf = (char*)mem - PREFIX_SIZE; in get_allocation_size() local
/nanopb-3.4.0/tests/regression/issue_227/
Dunaligned_uint64.c6 uint8_t buf[128]; in main() local
/nanopb-3.4.0/tests/regression/issue_547/
Dtest.c8 pb_byte_t buf[512]; in main() local
/nanopb-3.4.0/examples/network_server/
Dcommon.c11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback()
17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in read_callback()
/nanopb-3.4.0/tests/regression/issue_247/
Dpadding.c21 pb_byte_t buf[128] = {0}; in main() local
/nanopb-3.4.0/tests/regression/issue_166/
Denum_encoded_size.c11 uint8_t buf[256]; in main() local
/nanopb-3.4.0/tests/fuzztest/
Drandom_data.c78 void rand_fill(uint8_t *buf, size_t count) in rand_fill()
87 size_t rand_fill_protobuf(uint8_t *buf, size_t min_bytes, size_t max_bytes, int min_tag) in rand_fill_protobuf()
120 uint8_t *buf; in rand_fill_protobuf() local
139 void rand_mess(uint8_t *buf, size_t count) in rand_mess()
Dflakystream.c4 bool flakystream_callback(pb_istream_t *stream, pb_byte_t *buf, size_t count) in flakystream_callback()
Dgenerate_message.c55 static uint8_t buf[FUZZTEST_BUFSIZE]; in generate_message() local
/nanopb-3.4.0/tests/regression/issue_229/
Dmultiple_oneof.c9 uint8_t buf[128]; in main() local
/nanopb-3.4.0/tests/basic_stream/
Dencode_stream.c10 bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in streamcallback()
Ddecode_stream.c58 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count) in callback()
/nanopb-3.4.0/tests/proto3_optional/
Doptional.c9 uint8_t buf[256]; in main() local
/nanopb-3.4.0/tests/sort_by_tag/
Dsort_by_tag.c10 pb_byte_t buf[256]; in main() local
/nanopb-3.4.0/tests/regression/issue_558/
Dmixed.c10 pb_byte_t buf[64]; in main() local
/nanopb-3.4.0/tests/io_errors/
Dio_errors.c17 bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in read_callback()
31 bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) in write_callback()
/nanopb-3.4.0/tests/regression/GHSA-gcx3-7m76-287p/
Dtest.c8 bool stream_callback(pb_istream_t *stream, uint8_t *buf, size_t count) in stream_callback()
/nanopb-3.4.0/tests/enum_sizes/
Denumsizes_unittests.c21 uint8_t buf[256]; in main() local
/nanopb-3.4.0/tests/regression/issue_544/
Dsubmsg_callback.c24 pb_byte_t buf[64]; in main() local
/nanopb-3.4.0/tests/regression/issue_249/
Dtest.c36 pb_byte_t buf[128] = {0}; in main() local
/nanopb-3.4.0/tests/float_double_conversion/
Dfloat_double_conversion.c34 uint8_t buf[16]; in main() local
/nanopb-3.4.0/tests/raw_decode/
Draw_decode.c17 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count) in callback()
/nanopb-3.4.0/
Dpb_encode.c52 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write()
62 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer()
83 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write()
Dpb_decode.c68 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read()
81 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read()
124 static bool checkreturn pb_readbyte(pb_istream_t *stream, pb_byte_t *buf) in pb_readbyte()
142 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen) in pb_istream_from_buffer()
322 …return read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, pb_byte_t *buf, size_t *size) in read_raw_value()
/nanopb-3.4.0/tests/alltypes_proto3_callback/
Ddecode_alltypes_callback.c82 uint8_t buf[16] = {0}; in read_string() local
183 uint8_t buf[16] = {0}; in read_repeated_string() local

12