Home
last modified time | relevance | path

Searched refs:fs_tell (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_basic.c103 zassert_equal(fs_tell(&file), 0U, in verify_hello()
110 zassert_equal(fs_tell(&file), TESTFS_BUFFER_SIZE, in verify_hello()
135 zassert_equal(fs_tell(&file), 0U, in seek_within_hello()
152 zassert_equal(fs_tell(&file), pos, in seek_within_hello()
159 zassert_equal(fs_tell(&file), stat.size, in seek_within_hello()
166 zassert_equal(fs_tell(&file), 0U, in seek_within_hello()
173 zassert_equal(fs_tell(&file), stat.size - pos, in seek_within_hello()
213 zassert_equal(fs_tell(&file), 0U, in truncate_hello()
220 zassert_equal(fs_tell(&file), 0U, in truncate_hello()
306 zassert_equal(fs_tell(&file), TESTFS_BUFFER_SIZE, in sync_goodbye()
[all …]
Dtest_fs_open_flags.c97 ZEQ(fs_tell(&ts->file), expected); in ZCHKPOS()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c152 if (fs_tell(&filep) > 0) { in test_file_truncate()
167 orig_pos = fs_tell(&filep); in test_file_truncate()
181 (long) fs_tell(&filep)); in test_file_truncate()
182 if (fs_tell(&filep) != (orig_pos - 5)) { in test_file_truncate()
191 orig_pos = fs_tell(&filep); in test_file_truncate()
201 (long) fs_tell(&filep)); in test_file_truncate()
202 if (fs_tell(&filep) != (orig_pos + 10)) { in test_file_truncate()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_file.c159 if (fs_tell(&filep) > 0) { in test_file_truncate()
179 orig_pos = fs_tell(&filep); in test_file_truncate()
199 (long) fs_tell(&filep)); in test_file_truncate()
200 if (fs_tell(&filep) != (orig_pos - 5)) { in test_file_truncate()
215 orig_pos = fs_tell(&filep); in test_file_truncate()
231 (long) fs_tell(&filep)); in test_file_truncate()
232 if (fs_tell(&filep) != (orig_pos + 10)) { in test_file_truncate()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c633 ret = fs_tell(&filep); in _test_file_sync()
650 ret = fs_tell(&filep); in _test_file_sync()
725 zassert_equal(fs_tell(&filep), in test_file_seek()
753 ret = fs_tell(&err_filep); in _test_file_truncate()
769 ret = fs_tell(&err_filep); in _test_file_truncate()
798 if (fs_tell(&filep) > 0) { in _test_file_truncate()
813 orig_pos = fs_tell(&filep); in _test_file_truncate()
827 (int)fs_tell(&filep)); in _test_file_truncate()
828 if (fs_tell(&filep) != (orig_pos - 5)) { in _test_file_truncate()
837 orig_pos = fs_tell(&filep); in _test_file_truncate()
[all …]
/Zephyr-latest/include/zephyr/fs/
Dfs.h425 off_t fs_tell(struct fs_file_t *zfp);
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c170 int size = fs_tell(f); in write_log_to_file()
350 file_size = fs_tell(file); in allocate_new_file()
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c160 pos = fs_tell((struct fs_file_t *)file); in lvgl_fs_tell()
/Zephyr-latest/lib/posix/options/
Dfs.c170 rc = fs_tell(&ptr->file); in fs_ioctl_vmeth()
/Zephyr-latest/subsys/fs/
Dfs.c284 off_t fs_tell(struct fs_file_t *zfp) in fs_tell() function
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c527 } else if (fs_tell(&fs_mgmt_ctxt.file) != off) { in fs_mgmt_file_upload()