Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/
Dlfs.h43 typedef int32_t lfs_soff_t; typedef
611 lfs_soff_t lfs_file_seek(lfs_t *lfs, lfs_file_t *file,
612 lfs_soff_t off, int whence);
625 lfs_soff_t lfs_file_tell(lfs_t *lfs, lfs_file_t *file);
637 lfs_soff_t lfs_file_size(lfs_t *lfs, lfs_file_t *file);
682 lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t *dir);
Dlfs.c589 static lfs_soff_t lfs_file_rawsize(lfs_t *lfs, lfs_file_t *file);
2801 static lfs_soff_t lfs_dir_rawtell(lfs_t *lfs, lfs_dir_t *dir) { in lfs_dir_rawtell()
3636 static lfs_soff_t lfs_file_rawseek(lfs_t *lfs, lfs_file_t *file,
3637 lfs_soff_t off, int whence) {
3643 if ((lfs_soff_t)file->pos + off < 0) {
3649 lfs_soff_t res = lfs_file_rawsize(lfs, file) + off;
3716 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_SET);
3761 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_END);
3776 lfs_soff_t res = lfs_file_rawseek(lfs, file, pos, LFS_SEEK_SET);
3785 static lfs_soff_t lfs_file_rawtell(lfs_t *lfs, lfs_file_t *file) {
[all …]
/littlefs-3.7.0-3.6.0/tests/
Dtest_seek.toml31 lfs_soff_t pos = -1;
104 lfs_soff_t pos = -1;
163 const lfs_soff_t offsets[] = {512, 1020, 513, 1021, 511, 1019, 1441};
166 lfs_soff_t off = offsets[i];
Dtest_dirs.toml833 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
884 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
945 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);
996 lfs_soff_t pos = lfs_dir_tell(&lfs, &dir);