/littlefs-3.7.0-3.6.0/tests/ |
D | test_compat.toml | 108 char name[8]; 109 sprintf(name, "dir%03d", i); 110 lfsp_mkdir(&lfsp, name) => 0; 130 assert(strcmp(info.name, ".") == 0); 133 assert(strcmp(info.name, "..") == 0); 138 char name[8]; 139 sprintf(name, "dir%03d", i); 140 assert(strcmp(info.name, name) == 0); 170 char name[8]; 171 sprintf(name, "file%03d", i); [all …]
|
D | test_dirs.toml | 11 assert(strcmp(info.name, ".") == 0); 14 assert(strcmp(info.name, "..") == 0); 41 assert(strcmp(info.name, ".") == 0); 44 assert(strcmp(info.name, "..") == 0); 50 assert(strcmp(info.name, path) == 0); 78 assert(strcmp(info.name, ".") == 0); 81 assert(strcmp(info.name, "..") == 0); 87 assert(strcmp(info.name, path) == 0); 105 assert(strcmp(info.name, ".") == 0); 108 assert(strcmp(info.name, "..") == 0); [all …]
|
D | test_paths.toml | 15 assert(strcmp(info.name, "hottea") == 0); 17 assert(strcmp(info.name, "hottea") == 0); 21 assert(strcmp(info.name, "milk") == 0); 23 assert(strcmp(info.name, "milk") == 0); 40 assert(strcmp(info.name, "hottea") == 0); 42 assert(strcmp(info.name, "hottea") == 0); 44 assert(strcmp(info.name, "hottea") == 0); 48 assert(strcmp(info.name, "milk") == 0); 50 assert(strcmp(info.name, "milk") == 0); 67 assert(strcmp(info.name, "hottea") == 0); [all …]
|
D | test_move.toml | 27 assert(strcmp(info.name, ".") == 0); 30 assert(strcmp(info.name, "..") == 0); 36 assert(strcmp(info.name, ".") == 0); 39 assert(strcmp(info.name, "..") == 0); 42 assert(strcmp(info.name, "hello") == 0); 76 assert(strcmp(info.name, "hi") == 0); 125 assert(strcmp(info.name, ".") == 0); 128 assert(strcmp(info.name, "..") == 0); 134 assert(strcmp(info.name, ".") == 0); 137 assert(strcmp(info.name, "..") == 0); [all …]
|
D | test_interspersed.toml | 32 assert(strcmp(info.name, ".") == 0); 35 assert(strcmp(info.name, "..") == 0); 41 assert(strcmp(info.name, path) == 0); 107 assert(strcmp(info.name, ".") == 0); 110 assert(strcmp(info.name, "..") == 0); 113 assert(strcmp(info.name, "zzz") == 0); 163 assert(strcmp(info.name, ".") == 0); 166 assert(strcmp(info.name, "..") == 0); 169 assert(strcmp(info.name, "e") == 0); 173 assert(strcmp(info.name, "g") == 0); [all …]
|
D | test_relocations.toml | 41 strcmp(info.name, path) => 0; 68 strcmp(info.name, path) => 0; 119 strcmp(info.name, path) => 0; 136 strcmp(info.name, path) => 0; 153 strcmp(info.name, path) => 0; 216 assert(strcmp(info.name, &path[2*d+1]) == 0); 221 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0); 286 assert(strcmp(info.name, &path[2*d+1]) == 0); 290 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0); 322 assert(strcmp(info.name, &path[2*d+1]) == 0);
|
D | test_superblocks.toml | 115 assert(strcmp(info.name, "dummy") == 0); 129 assert(strcmp(info.name, "dummy") == 0); 148 assert(strcmp(info.name, "dummy") == 0); 158 assert(strcmp(info.name, "dummy") == 0); 167 assert(strcmp(info.name, "dummy") == 0); 191 assert(strcmp(info.name, "dummy") == 0); 201 assert(strcmp(info.name, "dummy") == 0); 211 assert(strcmp(info.name, "dummy") == 0);
|
/littlefs-3.7.0-3.6.0/runners/ |
D | bench_runner.c | 114 const char *name; member 119 const char *name; member 255 const char *name = bench_define_name(define); in bench_define() local 257 name ? name : "(unknown)", in bench_define() 281 const char *name; member 325 const char *name = bench_define_name(d); in bench_define_suite() local 326 if (name && strcmp(name, bench_overrides[i].name) == 0) { in bench_define_suite() 359 const char *name = bench_define_name(d); in bench_define_suite() local 360 if (name && strcmp(name, bench_overrides[i].name) == 0) { in bench_define_suite() 612 printf("%s:", case_->name); in perm_printid() [all …]
|
D | test_runner.c | 114 const char *name; member 119 const char *name; member 130 const char *name; member 268 const char *name = test_define_name(define); in test_define() local 270 name ? name : "(unknown)", in test_define() 294 const char *name; member 338 const char *name = test_define_name(d); in test_define_suite() local 339 if (name && strcmp(name, test_overrides[i].name) == 0) { in test_define_suite() 372 const char *name = test_define_name(d); in test_define_suite() local 373 if (name && strcmp(name, test_overrides[i].name) == 0) { in test_define_suite() [all …]
|
D | bench_runner.h | 53 const char *name; member 65 const char *name; member
|
D | test_runner.h | 46 const char *name; member 58 const char *name; member
|
/littlefs-3.7.0-3.6.0/benches/ |
D | bench_dir.toml | 15 char name[256]; 18 sprintf(name, "file%08x", i); 20 lfs_file_open(&lfs, &file, name, 42 sprintf(name, "file%08x", i_); 44 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0; 76 char name[256]; 83 sprintf(name, "file%08x", i_); 85 lfs_file_open(&lfs, &file, name, 117 char name[256]; 120 sprintf(name, "file%08x", i); [all …]
|
D | bench_superblock.toml | 12 char name[256]; 15 sprintf(name, "file%08x", i); 17 lfs_file_open(&lfs, &file, name,
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | bench.py | 51 self.name = config.pop('name') 139 self.name, 148 self.name = os.path.basename(path) 149 if self.name.endswith('.toml'): 150 self.name = self.name[:-len('.toml')] 175 for (lineno, name), (nlineno, _) in it.zip_longest( 181 cases[name]['lineno'] = lineno 182 cases[name]['code_lineno'] = code_lineno 199 for name, case in sorted(cases.items(), 202 'name': name, [all …]
|
D | test.py | 51 self.name = config.pop('name') 142 self.name, 151 self.name = os.path.basename(path) 152 if self.name.endswith('.toml'): 153 self.name = self.name[:-len('.toml')] 178 for (lineno, name), (nlineno, _) in it.zip_longest( 184 cases[name]['lineno'] = lineno 185 cases[name]['code_lineno'] = code_lineno 203 for name, case in sorted(cases.items(), 206 'name': name, [all …]
|
D | perf.py | 182 '-o%s' % f.name])) 279 name = m.group('name') 286 if name not in syms: 287 syms[name] = set() 288 syms[name].add((addr, size)) 289 sym_at.append((addr, name, size)) 301 for addr, name, size in sym_at: 303 sym_at_.append((addr, name, size)) 442 name = last_stack[j] 443 if name not in results_: [all …]
|
D | perfbd.py | 187 name = m.group('name') 194 if name not in syms: 195 syms[name] = set() 196 syms[name].add((addr, size)) 197 sym_at.append((addr, name, size)) 209 for addr, name, size in sym_at: 211 sym_at_.append((addr, name, size)) 378 name = last_stack[j] 379 if name in results_: 380 r, p, e, children = results_[name] [all …]
|
D | stack.py | 299 name = tuple(getattr(r, k) for k in by) 300 if name not in folding: 301 folding[name] = [] 302 folding[name].append(r) 306 for name, rs in folding.items(): 391 def table_entry(name, r, diff_r=None, ratios=[]): argument 393 entry.append(name) 437 for name in names: 438 r = table.get(name) 443 diff_r = diff_table.get(name) [all …]
|
D | structs.py | 284 name = tuple(getattr(r, k) for k in by) 285 if name not in folding: 286 folding[name] = [] 287 folding[name].append(r) 291 for name, rs in folding.items(): 374 def table_entry(name, r, diff_r=None, ratios=[]): argument 376 entry.append(name) 420 for name in names: 421 r = table.get(name) 426 diff_r = diff_table.get(name) [all …]
|
D | data.py | 336 name = tuple(getattr(r, k) for k in by) 337 if name not in folding: 338 folding[name] = [] 339 folding[name].append(r) 343 for name, rs in folding.items(): 426 def table_entry(name, r, diff_r=None, ratios=[]): argument 428 entry.append(name) 472 for name in names: 473 r = table.get(name) 478 diff_r = diff_table.get(name) [all …]
|
D | code.py | 336 name = tuple(getattr(r, k) for k in by) 337 if name not in folding: 338 folding[name] = [] 339 folding[name].append(r) 343 for name, rs in folding.items(): 426 def table_entry(name, r, diff_r=None, ratios=[]): argument 428 entry.append(name) 472 for name in names: 473 r = table.get(name) 478 diff_r = diff_table.get(name) [all …]
|
D | summary.py | 370 name = tuple(getattr(r, k) for k in by) 371 if name not in folding: 372 folding[name] = [] 373 folding[name].append(r) 377 for name, rs in folding.items(): 460 def table_entry(name, r, diff_r=None, ratios=[]): argument 462 entry.append(name) 506 for name in names: 507 r = table.get(name) 512 diff_r = diff_table.get(name) [all …]
|
D | cov.py | 323 name = tuple(getattr(r, k) for k in by) 324 if name not in folding: 325 folding[name] = [] 326 folding[name].append(r) 330 for name, rs in folding.items(): 413 def table_entry(name, r, diff_r=None, ratios=[]): argument 415 entry.append(name) 459 for name in names: 460 r = table.get(name) 465 diff_r = diff_table.get(name) [all …]
|
/littlefs-3.7.0-3.6.0/ |
D | SPEC.md | 38 As their name suggests, a metadata pair is stored in two blocks, with one block 317 Associates the id with a file name and file type. 319 The data contains the file name stored as an ASCII string (may be expanded to 325 Currently, the name tag must precede any other tags associated with the id and 328 Layout of the name tag: 334 ^ ^ ^ ^ ^- size ^- file name 345 2. **file name** - File name stored as an ASCII string. 350 Initializes the id + name as a regular file. 357 Initializes the id + name as a directory. 371 The name is a bit of a misnomer. While the superblock entry serves the same [all …]
|
D | lfs.c | 1386 strcpy(info->name, "/"); in lfs_dir_getinfo() 1392 LFS_MKTAG(LFS_TYPE_NAME, id, lfs->name_max+1), info->name); in lfs_dir_getinfo() 1418 const void *name; member 1424 struct lfs_dir_find_match *name = data; in lfs_dir_find_match() local 1425 lfs_t *lfs = name->lfs; in lfs_dir_find_match() 1429 lfs_size_t diff = lfs_min(name->size, lfs_tag_size(tag)); in lfs_dir_find_match() 1432 disk->block, disk->off, name->name, diff); in lfs_dir_find_match() 1438 if (name->size != lfs_tag_size(tag)) { in lfs_dir_find_match() 1439 return (name->size < lfs_tag_size(tag)) ? LFS_CMP_LT : LFS_CMP_GT; in lfs_dir_find_match() 1449 const char *name = *path; in lfs_dir_find() local [all …]
|