Home
last modified time | relevance | path

Searched refs:file_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/doc/hardware/arch/
Dsemihost.rst31 long file_len, bytes_read, fd;
40 file_len = semihost_flen(fd);
41 while(file_len > 0) {
42 bytes_read = semihost_read(fd, buffer, MIN(file_len, sizeof(buffer)));
49 file_len -= bytes_read;
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c572 size_t file_len; in fs_mgmt_file_status() local
622 rc = fs_mgmt_filelen(path, &file_len); in fs_mgmt_file_status()
636 zcbor_uint64_put(zse, file_len); in fs_mgmt_file_status()
658 size_t file_len; in fs_mgmt_file_hash_checksum() local
729 rc = fs_mgmt_filelen(path, &file_len); in fs_mgmt_file_hash_checksum()
736 if (file_len <= off) { in fs_mgmt_file_hash_checksum()
741 (file_len == 0 ? FS_MGMT_ERR_FILE_EMPTY : in fs_mgmt_file_hash_checksum()
776 file_len = 0; in fs_mgmt_file_hash_checksum()
777 rc = group->function(&file, output, &file_len, len); in fs_mgmt_file_hash_checksum()
796 zcbor_uint64_put(zse, file_len) && in fs_mgmt_file_hash_checksum()