Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.5.0/tests/lib/cbprintf_package/src/
Dmain.c360 int clen; in ZTEST() local
363 clen = cbprintf_package_copy(package, sizeof(package), NULL, 0, in ZTEST()
367 zassert_equal(clen, len + (int)strlen(test_str) + 1); in ZTEST()
369 uint8_t __aligned(CBPRINTF_PACKAGE_ALIGNMENT) cpackage[clen]; in ZTEST()
374 zassert_equal(clen, clen2); in ZTEST()
377 zassert_equal(clen, len + (int)strlen(test_str) + 1); in ZTEST()
389 check_package(cpackage, clen, exp_str); in ZTEST()
424 int clen; in ZTEST() local
427 clen = cbprintf_package_copy(package, sizeof(package), NULL, 0, in ZTEST()
431 zassert_equal(clen, len + (int)strlen(test_str) + 1); in ZTEST()
[all …]
/Zephyr-Core-3.5.0/subsys/storage/flash_map/
Dflash_map_integrity.c47 fac->rbuf == NULL || fac->clen == 0 || fac->rblen == 0) { in flash_area_check_int_sha256()
51 if (!is_in_flash_area_bounds(fa, fac->off, fac->clen)) { in flash_area_check_int_sha256()
76 for (pos = 0; pos < fac->clen; pos += to_read) { in flash_area_check_int_sha256()
77 if (pos + to_read > fac->clen) { in flash_area_check_int_sha256()
78 to_read = fac->clen - pos; in flash_area_check_int_sha256()
/Zephyr-Core-3.5.0/drivers/wifi/eswifi/
Deswifi_bus_spi.c105 static int eswifi_spi_request(struct eswifi_dev *eswifi, char *cmd, size_t clen, in eswifi_spi_request() argument
113 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_spi_request()
146 if (clen % 2) { /* Add post-padding if necessary */ in eswifi_spi_request()
148 cmd[clen] = 0x0a; in eswifi_spi_request()
149 clen++; in eswifi_spi_request()
152 eswifi_spi_write(eswifi, cmd, clen); in eswifi_spi_request()
Deswifi.h84 int (*request)(struct eswifi_dev *eswifi, char *cmd, size_t clen,
89 size_t clen, char *rsp, size_t rlen) in eswifi_request() argument
91 return eswifi->bus->request(eswifi, cmd, clen, rsp, rlen); in eswifi_request()
Deswifi_bus_uart.c191 size_t clen, char *rsp, size_t rlen) in eswifi_uart_request() argument
197 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_uart_request()
200 for (count = 0; count < clen; count++) { in eswifi_uart_request()
/Zephyr-Core-3.5.0/subsys/dfu/img_util/
Dflash_img.c120 fac.clen = fic->clen; in flash_img_check()
/Zephyr-Core-3.5.0/include/zephyr/dfu/
Dflash_img.h46 size_t clen; /** Content to be compared */ member
/Zephyr-Core-3.5.0/subsys/mgmt/updatehub/
Dupdatehub_storage.c64 const struct flash_img_check fic = { .match = hash, .clen = size }; in updatehub_storage_check()
/Zephyr-Core-3.5.0/include/zephyr/storage/
Dflash_map.h95 size_t clen; /** Content len to be compared */ member
/Zephyr-Core-3.5.0/tests/subsys/dfu/img_util/src/
Dmain.c157 fic.clen = sizeof(tst_vec); in ZTEST()
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/
Dmain.c153 fac.clen = sizeof(tst_vec); in ZTEST()
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c596 fic.clen = g_img_mgmt_state.size; in img_mgmt_upload()
673 .clen = g_img_mgmt_state.size, in img_mgmt_upload()
/Zephyr-Core-3.5.0/subsys/mgmt/hawkbit/
Dhawkbit.c1163 fic.clen = hb_context.dl.downloaded_size; in hawkbit_probe()
/Zephyr-Core-3.5.0/scripts/
Dcheckpatch.pl3724 my ($clen, $cindent) = line_stats($ctx);