Home
last modified time | relevance | path

Searched refs:cptr (Results 1 – 3 of 3) 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)
/Zephyr-latest/drivers/serial/
Duart_mchp_mec5.c249 static int uart_mec5_poll_in(const struct device *dev, unsigned char *cptr) in uart_mec5_poll_in() argument
257 ret = mec_hal_uart_rx_byte(regs, (uint8_t *)cptr); in uart_mec5_poll_in()