Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/mem_alloc/src/
Dmain.c63 int *iptr = NULL; in _test_no_mem_malloc() local
65 iptr = malloc(BUF_LEN); in _test_no_mem_malloc()
66 zassert_is_null((iptr), "malloc failed, errno: %d", errno); in _test_no_mem_malloc()
67 free(iptr); in _test_no_mem_malloc()
68 iptr = NULL; in _test_no_mem_malloc()
186 int *iptr = NULL; in ZTEST() local
188 iptr = malloc(BUF_LEN * sizeof(int)); in ZTEST()
189 zassert_not_null((iptr), "malloc failed, errno: %d", errno); in ZTEST()
190 memset(iptr, 'p', BUF_LEN * sizeof(int)); in ZTEST()
191 free(iptr); in ZTEST()
[all …]