Home
last modified time | relevance | path

Searched refs:malloc_with_check (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dfuzzstub.c24 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_decode()
48 msg = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_decode()
70 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
71 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
73 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
74 alltypes_static_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
117 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
118 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
120 alltypes_pointer_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip()
121 alltypes_pointer_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip()
[all …]
Dfuzztest.c182 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_encode()
209 uint8_t *tmp = malloc_with_check(BUFSIZE); in do_protobuf_noise()
229 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_decode()
254 msg = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_decode()
276 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
277 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
279 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
280 alltypes_static_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
323 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
324 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
[all …]
/external/nanopb-c/tests/fuzztest/
Dfuzzstub.c24 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_decode()
48 msg = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_decode()
70 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
71 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
73 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
74 alltypes_static_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
117 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
118 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
120 alltypes_pointer_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip()
121 alltypes_pointer_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_roundtrip()
[all …]
Dfuzztest.c182 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_encode()
209 uint8_t *tmp = malloc_with_check(BUFSIZE); in do_protobuf_noise()
229 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_decode()
254 msg = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_decode()
276 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
277 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
279 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
280 alltypes_static_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
323 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
324 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
[all …]
/external/nanopb-c/tests/common/
Dmalloc_wrappers.h3 void* malloc_with_check(size_t size);
Dmalloc_wrappers.c9 void* malloc_with_check(size_t size) in malloc_with_check() function
/external/grpc-grpc/third_party/nanopb/tests/common/
Dmalloc_wrappers.h3 void* malloc_with_check(size_t size);
Dmalloc_wrappers.c9 void* malloc_with_check(size_t size) in malloc_with_check() function