Searched refs:c (Results 1 – 25 of 35) sorted by relevance
12
/littlefs-3.7.0-3.6.0/ |
D | Makefile | 4 ifneq ($(wildcard test.c main.c),) 21 SRC ?= $(filter-out $(wildcard *.t.* *.b.*),$(wildcard *.c)) 22 OBJ := $(SRC:%.c=$(BUILDDIR)/%.o) 23 DEP := $(SRC:%.c=$(BUILDDIR)/%.d) 24 ASM := $(SRC:%.c=$(BUILDDIR)/%.s) 25 CI := $(SRC:%.c=$(BUILDDIR)/%.ci) 26 GCDA := $(SRC:%.c=$(BUILDDIR)/%.t.gcda) 30 $(filter-out $(wildcard bd/*.t.* bd/*.b.*),$(wildcard bd/*.c)) \ 31 runners/test_runner.c 33 TEST_A := $(TESTS:%.toml=$(BUILDDIR)/%.t.a.c) \ [all …]
|
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 | .gitattributes | 4 *.toml linguist-language=c
|
/littlefs-3.7.0-3.6.0/tests/ |
D | test_entries.toml | 24 memset(wbuffer, 'c', size); 32 memset(wbuffer, 'c', size); 40 memset(wbuffer, 'c', size); 48 memset(wbuffer, 'c', size); 64 memset(wbuffer, 'c', size); 117 memset(wbuffer, 'c', size); 125 memset(wbuffer, 'c', size); 133 memset(wbuffer, 'c', size); 141 memset(wbuffer, 'c', size); 157 memset(wbuffer, 'c', size); [all …]
|
D | test_exhaustion.toml | 36 char c = 'a' + (TEST_PRNG(&prng) % 26); 37 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 65 char c = 'a' + (TEST_PRNG(&prng) % 26); 68 assert(r == c); 126 char c = 'a' + (TEST_PRNG(&prng) % 26); 127 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 155 char c = 'a' + (TEST_PRNG(&prng) % 26); 158 assert(r == c); 225 char c = 'a' + (TEST_PRNG(&prng) % 26); 226 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); [all …]
|
D | test_move.toml | 8 lfs_mkdir(&lfs, "c") => 0; 19 lfs_rename(&lfs, "a/hello", "c/hello") => 0; 34 lfs_dir_open(&lfs, &dir, "c") => 0; 50 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 82 in = "lfs.c" 89 lfs_mkdir(&lfs, "c") => 0; 100 lfs_rename(&lfs, "a/hello", "c/hello") => 0; 132 lfs_dir_open(&lfs, &dir, "c") => 0; 148 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 162 in = "lfs.c" [all …]
|
D | test_evil.toml | 9 in = "lfs.c" 32 in = "lfs.c" 82 in = "lfs.c" 135 in = "lfs.c" 146 char c = 'c'; 147 lfs_file_write(&lfs, &file, &c, 1) => 1; 201 in = "lfs.c" 228 in = "lfs.c" 248 in = "lfs.c" 279 in = "lfs.c"
|
D | test_interspersed.toml | 13 sprintf(path, "%c", alphas[j]); 39 sprintf(path, "%c", alphas[j]); 50 sprintf(path, "%c", alphas[j]); 79 sprintf(path, "%c", alphas[j]); 98 sprintf(path, "%c", alphas[j]); 211 sprintf(path, "%c", alphas[j]); 242 sprintf(path, "%c", alphas[j]); 253 sprintf(path, "%c", alphas[j]);
|
D | test_seek.toml | 281 uint8_t c; 282 lfs_file_read(&lfs, &file, &c, 1) => 1; 283 c => buffer[k++ % 26]; 299 uint8_t c[3]; 301 lfs_file_read(&lfs, &file, &c, 3) => 3; 314 uint8_t c; 315 lfs_file_read(&lfs, &file, &c, 1) => 1; 316 c => buffer[k++ % 26];
|
D | test_orphans.toml | 2 in = "lfs.c" 64 in = 'lfs.c' 93 in = 'lfs.c' 131 in = 'lfs.c' 165 in = 'lfs.c' 230 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]);
|
D | test_alloc.toml | 121 for (int c = 0; c < CYCLES; c++) { 182 for (int c = 0; c < CYCLES; c++) { 387 in = "lfs.c"
|
D | test_relocations.toml | 195 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]); 264 sprintf(&full_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]); 296 sprintf(&new_path[2*d], "/%c", alpha[TEST_PRNG(&prng) % FILES]);
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | readmdir.py | 320 ' '.join('%02x' % c for c in tag.data[:8]), 321 ''.join(c if c >= ' ' and c <= '~' else '.' 322 for c in map(chr, tag.data[:8])))) 328 ' '.join('%02x' % c for c in tag.data[i:i+16]), 329 ''.join(c if c >= ' ' and c <= '~' else '.' 330 for c in map(chr, tag.data[i:i+16]))))
|
D | changeprefix.py | 97 print(' '.join(shlex.quote(c) for c in cmd)) 124 print(' '.join(shlex.quote(c) for c in cmd)) 128 print(' '.join(shlex.quote(c) for c in cmd))
|
D | bench.py | 200 key=lambda c: c[1].get('lineno')): 567 print(' '.join(shlex.quote(c) for c in cmd)) 580 print(' '.join(shlex.quote(c) for c in cmd)) 610 print(' '.join(shlex.quote(c) for c in cmd)) 654 print(' '.join(shlex.quote(c) for c in cmd)) 684 print(' '.join(shlex.quote(c) for c in cmd)) 793 print(' '.join(shlex.quote(c) for c in cmd)) 1003 print('using runner: %s' % ' '.join(shlex.quote(c) for c in runner_)) 1103 ' '.join(shlex.quote(c) for c in runner_), 1175 print(' '.join(shlex.quote(c) for c in cmd))
|
D | test.py | 204 key=lambda c: c[1].get('lineno')): 584 print(' '.join(shlex.quote(c) for c in cmd)) 597 print(' '.join(shlex.quote(c) for c in cmd)) 627 print(' '.join(shlex.quote(c) for c in cmd)) 671 print(' '.join(shlex.quote(c) for c in cmd)) 701 print(' '.join(shlex.quote(c) for c in cmd)) 803 print(' '.join(shlex.quote(c) for c in cmd)) 1009 print('using runner: %s' % ' '.join(shlex.quote(c) for c in runner_)) 1103 ' '.join(shlex.quote(c) for c in runner_), 1209 print(' '.join(shlex.quote(c) for c in cmd))
|
D | plot.py | 403 f, c = self.grid[x*xscale+(xscale-1-(i%xscale)) 405 if c: 410 if c and c is not True: 411 best_c = c 416 c = best_c 418 c = CHARS_BRAILLE[b] 420 c = CHARS_DOTS[b] 422 c = ' ' 426 c = '\x1b[%sm%s\x1b[m' % (best_f, c) 431 c = '+' [all …]
|
D | tracebd.py | 304 c = chars[3] 315 c = wear_chars[int(w * (len(wear_chars)-1))] 319 c = chars[2] 322 c = chars[1] 325 c = chars[0] 330 c = char 334 c = '%s%s\x1b[m' % ( 336 c) 338 return c
|
D | data.py | 169 print(' '.join(shlex.quote(c) for c in cmd)) 200 print(' '.join(shlex.quote(c) for c in cmd)) 241 print(' '.join(shlex.quote(c) for c in cmd))
|
D | code.py | 169 print(' '.join(shlex.quote(c) for c in cmd)) 200 print(' '.join(shlex.quote(c) for c in cmd)) 241 print(' '.join(shlex.quote(c) for c in cmd))
|
D | perf.py | 187 print(' '.join(shlex.quote(c) for c in perf + command)) 269 print(' '.join(shlex.quote(c) for c in cmd)) 318 print(' '.join(shlex.quote(c) for c in cmd)) 416 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 | structs.py | 157 print(' '.join(shlex.quote(c) for c in cmd)) 198 print(' '.join(shlex.quote(c) for c in cmd))
|
D | perfbd.py | 177 print(' '.join(shlex.quote(c) for c in cmd)) 226 print(' '.join(shlex.quote(c) for c in cmd))
|
12