Lines Matching refs:BUF_OFFSET
245 #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()
766 if ((BUF_OFFSET + 1) > len) { in cbvprintf_package()
796 if ((BUF_OFFSET + 1 + size) > len) { in cbvprintf_package()
812 return BUF_OFFSET; in cbvprintf_package()
814 #undef BUF_OFFSET in cbvprintf_package()