/littlefs-3.5.0-3.4.0/tests/ |
D | test_entries.toml | 20 memset(wbuffer, 'c', size); 28 memset(wbuffer, 'c', size); 36 memset(wbuffer, 'c', size); 44 memset(wbuffer, 'c', size); 60 memset(wbuffer, 'c', size); 109 memset(wbuffer, 'c', size); 117 memset(wbuffer, 'c', size); 125 memset(wbuffer, 'c', size); 133 memset(wbuffer, 'c', size); 149 memset(wbuffer, 'c', size); [all …]
|
D | test_exhaustion.toml | 32 char c = 'a' + (rand() % 26); 33 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 59 char c = 'a' + (rand() % 26); 62 assert(r == c); 114 char c = 'a' + (rand() % 26); 115 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 141 char c = 'a' + (rand() % 26); 144 assert(r == c); 205 char c = 'a' + (rand() % 26); 206 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); [all …]
|
D | test_move.toml | 7 lfs_mkdir(&lfs, "c") => 0; 17 lfs_rename(&lfs, "a/hello", "c/hello") => 0; 30 lfs_dir_open(&lfs, &dir, "c") => 0; 46 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 75 in = "lfs.c" 81 lfs_mkdir(&lfs, "c") => 0; 91 lfs_rename(&lfs, "a/hello", "c/hello") => 0; 121 lfs_dir_open(&lfs, &dir, "c") => 0; 137 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 150 in = "lfs.c" [all …]
|
D | test_evil.toml | 9 in = "lfs.c" 31 in = "lfs.c" 76 in = "lfs.c" 125 in = "lfs.c" 134 char c = 'c'; 135 lfs_file_write(&lfs, &file, &c, 1) => 1; 187 in = "lfs.c" 213 in = "lfs.c" 232 in = "lfs.c" 262 in = "lfs.c"
|
D | test_interspersed.toml | 11 sprintf(path, "%c", alphas[j]); 34 sprintf(path, "%c", alphas[j]); 44 sprintf(path, "%c", alphas[j]); 70 sprintf(path, "%c", alphas[j]); 86 sprintf(path, "%c", alphas[j]); 190 sprintf(path, "%c", alphas[j]); 218 sprintf(path, "%c", alphas[j]); 228 sprintf(path, "%c", alphas[j]);
|
D | test_seek.toml | 262 uint8_t c; 263 lfs_file_read(&lfs, &file, &c, 1) => 1; 264 c => buffer[k++ % 26]; 280 uint8_t c[3]; 282 lfs_file_read(&lfs, &file, &c, 3) => 3; 295 uint8_t c; 296 lfs_file_read(&lfs, &file, &c, 1) => 1; 297 c => buffer[k++ % 26];
|
D | test_alloc.toml | 97 for (int c = 0; c < CYCLES; c++) { 151 for (int c = 0; c < CYCLES; c++) { 327 in = "lfs.c"
|
D | test_orphans.toml | 2 in = "lfs.c" 81 sprintf(&full_path[2*d], "/%c", alpha[rand() % FILES]);
|
D | test_relocations.toml | 170 sprintf(&full_path[2*d], "/%c", alpha[rand() % FILES]); 232 sprintf(&full_path[2*d], "/%c", alpha[rand() % FILES]); 261 sprintf(&new_path[2*d], "/%c", alpha[rand() % FILES]);
|
/littlefs-3.5.0-3.4.0/ |
D | Makefile | 13 ifneq ($(wildcard test.c main.c),) 28 SRC ?= $(wildcard *.c) 29 OBJ := $(SRC:%.c=$(BUILDDIR)%.o) 30 DEP := $(SRC:%.c=$(BUILDDIR)%.d) 31 ASM := $(SRC:%.c=$(BUILDDIR)%.s) 32 CGI := $(SRC:%.c=$(BUILDDIR)%.ci) 150 $(BUILDDIR)%.o: %.c 153 $(BUILDDIR)%.s: %.c 160 $(BUILDDIR)%.ci: %.c | $(BUILDDIR)%.o
|
D | lfs.h | 165 int (*read)(const struct lfs_config *c, lfs_block_t block, 171 int (*prog)(const struct lfs_config *c, lfs_block_t block, 178 int (*erase)(const struct lfs_config *c, lfs_block_t block); 182 int (*sync)(const struct lfs_config *c); 187 int (*lock)(const struct lfs_config *c); 191 int (*unlock)(const struct lfs_config *c);
|
D | LICENSE.md | 1 Copyright (c) 2022, The littlefs authors. 2 Copyright (c) 2017, Arm Limited. All rights reserved.
|
D | .gitignore | 11 test.c
|
D | README.md | 34 ``` c
|
D | lfs.c | 4746 uint8_t c; local 4747 int err = lfs1_bd_read(lfs, block, off+i, &c, 1); 4752 lfs1_crc(crc, &c, 1);
|
D | DESIGN.md | 2143 [cow]: https://upload.wikimedia.org/wikipedia/commons/0/0c/Cow_female_black_white.jpg
|
/littlefs-3.5.0-3.4.0/scripts/ |
D | readmdir.py | 288 ' '.join('%02x' % c for c in tag.data[:8]), 289 ''.join(c if c >= ' ' and c <= '~' else '.' 290 for c in map(chr, tag.data[:8])))) 296 ' '.join('%02x' % c for c in tag.data[i:i+16]), 297 ''.join(c if c >= ' ' and c <= '~' else '.' 298 for c in map(chr, tag.data[i:i+16]))))
|
D | test.py | 274 print(' '.join(shlex.quote(c) for c in ncmd)) 281 print(' '.join(shlex.quote(c) for c in cmd)) 680 print(' '.join(shlex.quote(c) for c in cmd)) 782 print(' '.join(shlex.quote(c) for c in cmd))
|
D | structs.py | 37 print(' '.join(shlex.quote(c) for c in cmd)) 64 print(' '.join(shlex.quote(c) for c in cmd))
|
D | readtree.py | 112 print("gstate 0x%s" % ''.join('%02x' % c for c in gstate))
|
D | data.py | 30 print(' '.join(shlex.quote(c) for c in cmd))
|
D | code.py | 30 print(' '.join(shlex.quote(c) for c in cmd))
|
/littlefs-3.5.0-3.4.0/bd/ |
D | lfs_filebd.c | 140 uint8_t c; in lfs_filebd_prog() local 141 ssize_t res2 = read(bd->fd, &c, 1); in lfs_filebd_prog() 148 LFS_ASSERT(c == bd->cfg->erase_value); in lfs_filebd_prog()
|