Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/mem_alloc/src/
Dmain.c267 char *cptr = NULL; in _test_calloc() local
269 cptr = calloc(TOO_BIG, sizeof(int)); in _test_calloc()
270 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
271 free(cptr); in _test_calloc()
273 cptr = calloc(TOO_BIG, sizeof(char)); in _test_calloc()
274 zassert_is_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
275 free(cptr); in _test_calloc()
277 cptr = calloc(CALLOC_BUFLEN, sizeof(char)); in _test_calloc()
278 zassert_not_null((cptr), "calloc failed, errno: %d", errno); in _test_calloc()
279 zassert_true(((memcmp(cptr, zerobuf, CALLOC_BUFLEN)) == 0), in _test_calloc()
[all …]
/Zephyr-latest/include/zephyr/arch/arm64/
Dlib_helpers.h84 MAKE_REG_HELPER_EL123(cptr)