Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/subsys/storage/flash_map/
Dflash_map_integrity.c45 fac->rbuf == NULL || fac->clen == 0 || fac->rblen == 0) { in flash_area_check_int_sha256()
49 if (!is_in_flash_area_bounds(fa, fac->off, fac->clen)) { in flash_area_check_int_sha256()
66 for (pos = 0; pos < fac->clen; pos += to_read) { in flash_area_check_int_sha256()
67 if (pos + to_read > fac->clen) { in flash_area_check_int_sha256()
68 to_read = fac->clen - pos; in flash_area_check_int_sha256()
/Zephyr-latest/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.h82 int (*request)(struct eswifi_dev *eswifi, char *cmd, size_t clen,
87 size_t clen, char *rsp, size_t rlen) in eswifi_request() argument
89 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-latest/include/zephyr/dfu/
Dflash_img.h46 size_t clen; /** Content to be compared */ member
/Zephyr-latest/subsys/dfu/img_util/
Dflash_img.c172 fac.clen = fic->clen; in flash_img_check()
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_storage.c64 const struct flash_img_check fic = { .match = hash, .clen = size }; in updatehub_storage_check()
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain_sha.c119 fac.clen = sizeof(tst_vec); in ZTEST()
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h92 size_t clen; /** Content len to be compared */ member
/Zephyr-latest/tests/subsys/dfu/img_util/src/
Dmain.c157 fic.clen = sizeof(tst_vec); in ZTEST()
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c351 uint16_t clen, len = net_pkt_get_len(pkt); in eth_adin2111_send_oa_frame() local
391 clen = len > ctx->oa_cps ? ctx->oa_cps : len; in eth_adin2111_send_oa_frame()
392 ret = net_pkt_read(pkt, &ctx->oa_tx_buf[cur], clen); in eth_adin2111_send_oa_frame()
398 len -= clen; in eth_adin2111_send_oa_frame()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c869 fic.clen = g_img_mgmt_state.size; in img_mgmt_upload()
946 .clen = g_img_mgmt_state.size, in img_mgmt_upload()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c1478 fic.clen = s->hb_context.dl.downloaded_size; in s_download()
/Zephyr-latest/scripts/
Dcheckpatch.pl3715 my ($clen, $cindent) = line_stats($ctx);