Searched refs:fsc_len (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/lib/cbprintf_package/src/ |
D | main.c | 249 int fsc_len; in ZTEST() local 270 fsc_len = cbprintf_fsc_package(package, len, NULL, 0); in ZTEST() 274 zassert_equal(exp_len, fsc_len); in ZTEST() 276 uint8_t __aligned(CBPRINTF_PACKAGE_ALIGNMENT) fsc_package[fsc_len]; in ZTEST() 278 fsc_len = cbprintf_fsc_package(package, len, fsc_package, sizeof(fsc_package) - 1); in ZTEST() 279 zassert_equal(fsc_len, -ENOSPC); in ZTEST() 281 fsc_len = cbprintf_fsc_package(package, len, fsc_package, sizeof(fsc_package)); in ZTEST() 282 zassert_equal((int)sizeof(fsc_package), fsc_len); in ZTEST()
|
/Zephyr-latest/tests/unit/cbprintf/ |
D | main.c | 1267 int fsc_len; in ZTEST() local 1284 fsc_len = cbprintf_fsc_package(package, len, NULL, 0); in ZTEST() 1288 zassert_equal(exp_len, fsc_len); in ZTEST() 1290 uint8_t __aligned(CBPRINTF_PACKAGE_ALIGNMENT) fsc_package[fsc_len]; in ZTEST() 1292 err = cbprintf_fsc_package(package, len, fsc_package, fsc_len - 1); in ZTEST() 1295 err = cbprintf_fsc_package(package, len, fsc_package, fsc_len); in ZTEST() 1296 zassert_equal(err, fsc_len); in ZTEST()
|