Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 5 of 5) sorted by relevance

/littlefs-3.7.0-3.6.0/tests/
Dtest_seek.toml31 lfs_soff_t pos = -1;
36 pos = lfs_file_tell(&lfs, &file);
38 assert(pos >= 0);
40 lfs_file_seek(&lfs, &file, pos, LFS_SEEK_SET) => pos;
56 lfs_file_seek(&lfs, &file, pos, LFS_SEEK_SET) => pos;
60 lfs_file_seek(&lfs, &file, -size, LFS_SEEK_CUR) => pos;
104 lfs_soff_t pos = -1;
109 pos = lfs_file_tell(&lfs, &file);
111 assert(pos >= 0);
114 lfs_file_seek(&lfs, &file, pos, LFS_SEEK_SET) => pos;
[all …]
Dtest_dirs.toml833 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
834 assert(pos >= 0);
836 lfs_dir_seek(&lfs, &dir, pos) => 0;
855 lfs_dir_seek(&lfs, &dir, pos) => 0;
884 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
885 assert(pos >= 0);
889 lfs_dir_seek(&lfs, &dir, pos) => 0;
905 lfs_dir_seek(&lfs, &dir, pos) => 0;
945 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
946 assert(pos >= 0);
[all …]
/littlefs-3.7.0-3.6.0/
Dlfs.c2327 ((lfs_dir_t*)d)->pos -= 1; in lfs_dir_relocatingcommit()
2333 ((lfs_dir_t*)d)->pos += 1; in lfs_dir_relocatingcommit()
2703 dir->pos = 0; in lfs_dir_rawopen()
2723 if (dir->pos == 0) { in lfs_dir_rawread()
2726 dir->pos += 1; in lfs_dir_rawread()
2728 } else if (dir->pos == 1) { in lfs_dir_rawread()
2731 dir->pos += 1; in lfs_dir_rawread()
2760 dir->pos += 1; in lfs_dir_rawread()
2772 dir->pos = lfs_min(2, off); in lfs_dir_rawseek()
2773 off -= dir->pos; in lfs_dir_rawseek()
[all …]
Dlfs.h376 lfs_off_t pos; member
393 lfs_off_t pos; member
/littlefs-3.7.0-3.6.0/scripts/
Dplotmpl.py858 ax.xaxis.set_major_formatter(lambda x, pos:
871 ax.xaxis.set_major_formatter(lambda x, pos:
884 ax.yaxis.set_major_formatter(lambda x, pos:
897 ax.yaxis.set_major_formatter(lambda x, pos: