Home
last modified time | relevance | path

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

/Zephyr-latest/lib/os/
Dcbprintf_packaged.c245 #define BUF_OFFSET (buf - (uintptr_t)buf0) in cbvprintf_package() macro
327 if ((buf0 != NULL) && (BUF_OFFSET + sizeof(char *)) > len) { in cbvprintf_package()
361 if (buf0 != NULL && BUF_OFFSET + size > len) { in cbvprintf_package()
436 if ((BUF_OFFSET + size) > len) { in cbvprintf_package()
583 if (BUF_OFFSET + size > len) { in cbvprintf_package()
609 if ((buf0 != NULL) && (BUF_OFFSET + size) > len) { in cbvprintf_package()
627 uint32_t s_ptr_idx = BUF_OFFSET / sizeof(int); in cbvprintf_package()
721 if ((BUF_OFFSET / sizeof(int)) > 255) { in cbvprintf_package()
731 return BUF_OFFSET + len - CBPRINTF_PACKAGE_ALIGNMENT; in cbvprintf_package()
738 pkg_hdr->desc.len = BUF_OFFSET / sizeof(int); in cbvprintf_package()
[all …]
/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/
Dmain.c30 #define BUF_OFFSET 1238 macro
32 #define TEST_PAGE_SZ ROUND_UP(BUF_OFFSET + BUF_SIZE, CONFIG_MMU_PAGE_SIZE)
59 uint8_t *buf = test_page + BUF_OFFSET; in ZTEST()
91 zassert_equal(aligned_offset, BUF_OFFSET, in ZTEST()
93 BUF_OFFSET); in ZTEST()
252 uint8_t *buf = test_page + BUF_OFFSET; in ZTEST()