Home
last modified time | relevance | path

Searched refs:msglen2 (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dfuzzstub.c72 size_t msglen2, msglen3; in do_static_roundtrip() local
88 msglen2 = stream.bytes_written; in do_static_roundtrip()
92 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_static_roundtrip()
104 assert(msglen2 == msglen3); in do_static_roundtrip()
105 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
119 size_t msglen2, msglen3; in do_pointer_roundtrip() local
135 msglen2 = stream.bytes_written; in do_pointer_roundtrip()
139 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_pointer_roundtrip()
151 assert(msglen2 == msglen3); in do_pointer_roundtrip()
152 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
Dfuzztest.c278 size_t msglen2, msglen3; in do_static_roundtrip() local
294 msglen2 = stream.bytes_written; in do_static_roundtrip()
298 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_static_roundtrip()
310 assert(msglen2 == msglen3); in do_static_roundtrip()
311 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
325 size_t msglen2, msglen3; in do_pointer_roundtrip() local
341 msglen2 = stream.bytes_written; in do_pointer_roundtrip()
345 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_pointer_roundtrip()
357 assert(msglen2 == msglen3); in do_pointer_roundtrip()
358 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
/external/nanopb-c/tests/fuzztest/
Dfuzzstub.c72 size_t msglen2, msglen3; in do_static_roundtrip() local
88 msglen2 = stream.bytes_written; in do_static_roundtrip()
92 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_static_roundtrip()
104 assert(msglen2 == msglen3); in do_static_roundtrip()
105 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
119 size_t msglen2, msglen3; in do_pointer_roundtrip() local
135 msglen2 = stream.bytes_written; in do_pointer_roundtrip()
139 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_pointer_roundtrip()
151 assert(msglen2 == msglen3); in do_pointer_roundtrip()
152 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()
Dfuzztest.c278 size_t msglen2, msglen3; in do_static_roundtrip() local
294 msglen2 = stream.bytes_written; in do_static_roundtrip()
298 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_static_roundtrip()
310 assert(msglen2 == msglen3); in do_static_roundtrip()
311 assert(memcmp(buf2, buf3, msglen2) == 0); in do_static_roundtrip()
325 size_t msglen2, msglen3; in do_pointer_roundtrip() local
341 msglen2 = stream.bytes_written; in do_pointer_roundtrip()
345 pb_istream_t stream = pb_istream_from_buffer(buf2, msglen2); in do_pointer_roundtrip()
357 assert(msglen2 == msglen3); in do_pointer_roundtrip()
358 assert(memcmp(buf2, buf3, msglen2) == 0); in do_pointer_roundtrip()