Home
last modified time | relevance | path

Searched refs:c (Results 1 – 23 of 23) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_entries.toml20 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 …]
Dtest_exhaustion.toml32 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 …]
Dtest_move.toml7 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 …]
Dtest_evil.toml9 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"
Dtest_interspersed.toml11 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]);
Dtest_seek.toml262 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];
Dtest_alloc.toml97 for (int c = 0; c < CYCLES; c++) {
151 for (int c = 0; c < CYCLES; c++) {
327 in = "lfs.c"
Dtest_orphans.toml2 in = "lfs.c"
81 sprintf(&full_path[2*d], "/%c", alpha[rand() % FILES]);
Dtest_relocations.toml170 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/
DMakefile13 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
Dlfs.h165 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);
DLICENSE.md1 Copyright (c) 2022, The littlefs authors.
2 Copyright (c) 2017, Arm Limited. All rights reserved.
D.gitignore11 test.c
DREADME.md34 ``` c
Dlfs.c4746 uint8_t c; local
4747 int err = lfs1_bd_read(lfs, block, off+i, &c, 1);
4752 lfs1_crc(crc, &c, 1);
DDESIGN.md2143 [cow]: https://upload.wikimedia.org/wikipedia/commons/0/0c/Cow_female_black_white.jpg
/littlefs-3.5.0-3.4.0/scripts/
Dreadmdir.py288 ' '.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]))))
Dtest.py274 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))
Dstructs.py37 print(' '.join(shlex.quote(c) for c in cmd))
64 print(' '.join(shlex.quote(c) for c in cmd))
Dreadtree.py112 print("gstate 0x%s" % ''.join('%02x' % c for c in gstate))
Ddata.py30 print(' '.join(shlex.quote(c) for c in cmd))
Dcode.py30 print(' '.join(shlex.quote(c) for c in cmd))
/littlefs-3.5.0-3.4.0/bd/
Dlfs_filebd.c140 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()