Home
last modified time | relevance | path

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

/third_party/littlefs/
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.c584 static lfs_soff_t lfs_file_rawsize(lfs_t *lfs, lfs_file_t *file);
2796 static lfs_soff_t lfs_dir_rawtell(lfs_t *lfs, lfs_dir_t *dir) { in lfs_dir_rawtell()
3631 static lfs_soff_t lfs_file_rawseek(lfs_t *lfs, lfs_file_t *file,
3632 lfs_soff_t off, int whence) {
3638 if ((lfs_soff_t)file->pos + off < 0) {
3644 lfs_soff_t res = lfs_file_rawsize(lfs, file) + off;
3711 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_SET);
3756 lfs_soff_t res = lfs_file_rawseek(lfs, file, 0, LFS_SEEK_END);
3771 lfs_soff_t res = lfs_file_rawseek(lfs, file, pos, LFS_SEEK_SET);
3780 static lfs_soff_t lfs_file_rawtell(lfs_t *lfs, lfs_file_t *file) {
[all …]
/third_party/littlefs/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);