Home
last modified time | relevance | path

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

/aosp_15_r20/external/nanopb-c/tests/fuzztest/
H A 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 …]
H A Dfuzztest.c209 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_encode()
236 uint8_t *tmp = malloc_with_check(BUFSIZE); in do_protobuf_noise()
256 alltypes_static_AllTypes *msg = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_decode()
286 msg = malloc_with_check(sizeof(alltypes_pointer_AllTypes)); in do_pointer_decode()
308 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
309 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_static_roundtrip()
311 alltypes_static_AllTypes *msg1 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
312 alltypes_static_AllTypes *msg2 = malloc_with_check(sizeof(alltypes_static_AllTypes)); in do_static_roundtrip()
357 uint8_t *buf2 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
358 uint8_t *buf3 = malloc_with_check(BUFSIZE); in do_pointer_roundtrip()
[all …]
/aosp_15_r20/external/nanopb-c/tests/common/
H A Dmalloc_wrappers.h3 void* malloc_with_check(size_t size);
H A Dmalloc_wrappers.c9 void* malloc_with_check(size_t size) in malloc_with_check() function