Home
last modified time | relevance | path

Searched refs:lfs_soff_t (Results 1 – 4 of 4) sorted by relevance

/littlefs-3.5.0-3.4.0/
Dlfs.h45 typedef int32_t lfs_soff_t; typedef
581 lfs_soff_t lfs_file_seek(lfs_t *lfs, lfs_file_t *file,
582 lfs_soff_t off, int whence);
595 lfs_soff_t lfs_file_tell(lfs_t *lfs, lfs_file_t *file);
607 lfs_soff_t lfs_file_size(lfs_t *lfs, lfs_file_t *file);
652 lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t *dir);
Dlfs.c521 static lfs_soff_t lfs_file_rawsize(lfs_t *lfs, lfs_file_t *file);
2630 static lfs_soff_t lfs_dir_rawtell(lfs_t *lfs, lfs_dir_t *dir) { in lfs_dir_rawtell()
3463 static lfs_soff_t lfs_file_rawseek(lfs_t *lfs, lfs_file_t *file,
3464 lfs_soff_t off, int whence) {
3470 if ((lfs_soff_t)file->pos + off < 0) {
3476 lfs_soff_t res = lfs_file_rawsize(lfs, file) + off;
3559 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_END);
3574 lfs_soff_t res = lfs_file_rawseek(lfs, file, pos, LFS_SEEK_SET);
3583 static lfs_soff_t lfs_file_rawtell(lfs_t *lfs, lfs_file_t *file) {
3589 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_SET);
[all …]
/littlefs-3.5.0-3.4.0/tests/
Dtest_seek.toml27 lfs_soff_t pos = -1;
96 lfs_soff_t pos = -1;
152 const lfs_soff_t offsets[] = OFFSETS;
155 lfs_soff_t off = offsets[i];
Dtest_dirs.toml740 lfs_soff_t pos;
800 lfs_soff_t pos;