Home
last modified time | relevance | path

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

/Zephyr-latest/lib/os/
Dcbprintf_packaged.c223 static int append_string(cbprintf_convert_cb cb, void *ctx, const char *str, uint16_t strl) in append_string() argument
229 strl = strl > 0 ? strl : strlen(str) + 1; in append_string()
230 return cb(str, strl, ctx); in append_string()
918 uint16_t *strl, in cbprintf_package_convert() argument
983 if (strl && strl_cnt < strl_len) { in cbprintf_package_convert()
984 strl[strl_cnt++] = (uint16_t)len; in cbprintf_package_convert()
1029 if (strl && strl_cnt < strl_len) { in cbprintf_package_convert()
1030 strl[strl_cnt++] = (uint16_t)len; in cbprintf_package_convert()
1151 uint16_t str_len = (strl && (i < strl_len)) ? strl[i] : 0; in cbprintf_package_convert()
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c261 uint16_t strl[4]; in log_frontend_msg() local
265 strl, ARRAY_SIZE(strl)); in log_frontend_msg()
295 strl, ARRAY_SIZE(strl)); in log_frontend_msg()
Dlog_frontend_stmesp.c336 uint16_t strl[4]; in log_frontend_msg() local
356 package_len = cbprintf_package_convert(package, desc.package_len, NULL, NULL, flags, strl, in log_frontend_msg()
357 ARRAY_SIZE(strl)); in log_frontend_msg()
376 flags, strl, ARRAY_SIZE(strl)); in log_frontend_msg()
395 flags, strl, ARRAY_SIZE(strl)); in log_frontend_msg()
/Zephyr-latest/tests/lib/cbprintf_package/src/
Dmain.c509 uint16_t strl[2] = {0}; in ZTEST() local
513 CBPRINTF_PACKAGE_CONVERT_RO_STR, strl, ARRAY_SIZE(strl)); in ZTEST()
517 zassert_equal(strl[0], strlen(test_str) + 1); in ZTEST()
518 zassert_equal(strl[1], strlen(cstr) + 1); in ZTEST()
523 CBPRINTF_PACKAGE_CONVERT_RO_STR, strl, ARRAY_SIZE(strl)); in ZTEST()
909 uint16_t strl[2]; in ZTEST() local
931 strl, ARRAY_SIZE(strl)); in ZTEST()
936 zassert_equal(strl[0], strlen(test_str1) + 1); in ZTEST()
937 zassert_equal(strl[1], strlen(test_str2) + 1); in ZTEST()
940 strl, ARRAY_SIZE(strl)); in ZTEST()
/Zephyr-latest/subsys/logging/
Dlog_msg.c302 uint16_t strl[4]; in z_impl_z_log_msg_static_create() local
307 strl, ARRAY_SIZE(strl)); in z_impl_z_log_msg_static_create()
325 flags, strl, ARRAY_SIZE(strl)); in z_impl_z_log_msg_static_create()
/Zephyr-latest/include/zephyr/sys/
Dcbprintf.h517 uint16_t *strl,
577 uint16_t *strl, in cbprintf_package_copy() argument
588 flags, strl, strl_len); in cbprintf_package_copy()