/littlefs-3.7.0-3.6.0/tests/ |
D | test_dirs.toml | 10 assert(info.type == LFS_TYPE_DIR); 13 assert(info.type == LFS_TYPE_DIR); 40 assert(info.type == LFS_TYPE_DIR); 43 assert(info.type == LFS_TYPE_DIR); 49 assert(info.type == LFS_TYPE_DIR); 77 assert(info.type == LFS_TYPE_DIR); 80 assert(info.type == LFS_TYPE_DIR); 86 assert(info.type == LFS_TYPE_DIR); 104 assert(info.type == LFS_TYPE_DIR); 107 assert(info.type == LFS_TYPE_DIR); [all …]
|
D | test_move.toml | 28 assert(info.type == LFS_TYPE_DIR); 31 assert(info.type == LFS_TYPE_DIR); 37 assert(info.type == LFS_TYPE_DIR); 40 assert(info.type == LFS_TYPE_DIR); 43 assert(info.type == LFS_TYPE_REG); 77 assert(info.type == LFS_TYPE_DIR); 126 assert(info.type == LFS_TYPE_DIR); 129 assert(info.type == LFS_TYPE_DIR); 135 assert(info.type == LFS_TYPE_DIR); 138 assert(info.type == LFS_TYPE_DIR); [all …]
|
D | test_compat.toml | 129 assert(info.type == LFS_TYPE_DIR); 132 assert(info.type == LFS_TYPE_DIR); 137 assert(info.type == LFS_TYPE_DIR); 201 assert(info.type == LFS_TYPE_DIR); 204 assert(info.type == LFS_TYPE_DIR); 209 assert(info.type == LFS_TYPE_REG); 294 assert(info.type == LFS_TYPE_DIR); 297 assert(info.type == LFS_TYPE_DIR); 302 assert(info.type == LFS_TYPE_DIR); 319 assert(info.type == LFS_TYPE_DIR); [all …]
|
D | test_interspersed.toml | 33 assert(info.type == LFS_TYPE_DIR); 36 assert(info.type == LFS_TYPE_DIR); 42 assert(info.type == LFS_TYPE_REG); 108 assert(info.type == LFS_TYPE_DIR); 111 assert(info.type == LFS_TYPE_DIR); 114 assert(info.type == LFS_TYPE_REG); 164 assert(info.type == LFS_TYPE_DIR); 167 assert(info.type == LFS_TYPE_DIR); 170 assert(info.type == LFS_TYPE_REG); 174 assert(info.type == LFS_TYPE_REG); [all …]
|
D | test_paths.toml | 217 assert(info.type == LFS_TYPE_DIR); 237 assert(info.type == LFS_TYPE_DIR); 240 assert(info.type == LFS_TYPE_DIR); 243 assert(info.type == LFS_TYPE_DIR); 246 assert(info.type == LFS_TYPE_DIR); 249 assert(info.type == LFS_TYPE_DIR); 252 assert(info.type == LFS_TYPE_DIR); 269 assert(info.type == LFS_TYPE_DIR);
|
D | test_superblocks.toml | 116 assert(info.type == LFS_TYPE_REG); 130 assert(info.type == LFS_TYPE_REG); 149 assert(info.type == LFS_TYPE_REG); 159 assert(info.type == LFS_TYPE_REG); 168 assert(info.type == LFS_TYPE_REG); 192 assert(info.type == LFS_TYPE_REG); 202 assert(info.type == LFS_TYPE_REG); 212 assert(info.type == LFS_TYPE_REG);
|
D | test_relocations.toml | 217 assert(info.type == LFS_TYPE_DIR); 222 assert(info.type == LFS_TYPE_DIR); 287 assert(info.type == LFS_TYPE_DIR); 291 assert(info.type == LFS_TYPE_DIR); 323 assert(info.type == LFS_TYPE_DIR);
|
D | test_badblocks.toml | 61 info.type => LFS_TYPE_DIR; 141 info.type => LFS_TYPE_DIR; 220 info.type => LFS_TYPE_DIR;
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | readmdir.py | 37 type = TAG_TYPES[args[0]][1] 39 type = args[0] 51 self.tag = (type << 20) | (id << 10) | size 72 def type(self): member in Tag 97 return self.type & 0xff 103 def is_(self, type): argument 105 if ' ' in type: 106 type1, type3 = type.split() 108 (self.type & ~TAG_TYPES[type1][0]) == int(type3, 0)) 110 return self.type == int(type, 0) [all …]
|
D | plotmpl.py | 1048 type=lambda x: ( 1055 type=lambda x: ( 1063 type=lambda x: ( 1070 type=lambda x: (lambda k,v: (k, set(v.split(','))))(*x.split('=', 1)), 1084 type=lambda x: [x.strip() for x in x.split(',')], 1088 type=lambda x: [x.strip().replace('0',',') for x in x.split(',')], 1093 type=lambda x: int(x, 0), 1097 type=lambda x: int(x, 0), 1101 type=lambda x: tuple( 1107 type=lambda x: tuple( [all …]
|
D | tracebd.py | 897 type=lambda x: tuple( 903 type=lambda x: tuple( 909 type=lambda x: int(x, 0), 913 type=lambda x: int(x, 0), 917 type=lambda x: int(x, 0), 949 type=lambda x: [x.strip() for x in x.split(',')], 953 type=lambda x: [x.strip() for x in x.split(',')], 958 type=lambda x: int(x, 0), 965 type=lambda x: int(x, 0), 971 type=lambda x: int(x, 0), [all …]
|
D | readtree.py | 117 if tag.type: 169 parser.add_argument('block_size', type=lambda x: int(x, 0), 172 type=lambda x: int(x, 0), 175 type=lambda x: int(x, 0),
|
D | plot.py | 1395 type=lambda x: ( 1402 type=lambda x: ( 1410 type=lambda x: ( 1417 type=lambda x: (lambda k,v: (k, set(v.split(','))))(*x.split('=', 1)), 1441 type=lambda x: [x.strip() for x in x.split(',')], 1452 type=lambda x: int(x, 0), 1459 type=lambda x: int(x, 0), 1464 type=lambda x: tuple( 1470 type=lambda x: tuple( 1504 type=lambda x: [all …]
|
D | perfbd.py | 1172 type=lambda x: (lambda k,v: (k, set(v.split(','))))(*x.split('=', 1)), 1205 type=lambda x: int(x, 0), 1211 type=lambda x: int(x, 0), 1222 type=lambda x: tuple(float(x) for x in x.split(',')), 1229 type=lambda x: tuple(float(x) for x in x.split(',')), 1236 type=lambda x: tuple(float(x) for x in x.split(',')), 1243 type=lambda x: tuple(float(x) for x in x.split(',')), 1249 type=lambda x: int(x, 0), 1254 type=lambda x: int(x, 0), 1265 type=lambda x: int(x, 0), [all …]
|
D | perf.py | 1200 type=lambda x: (lambda k,v: (k, set(v.split(','))))(*x.split('=', 1)), 1241 type=lambda x: int(x, 0), 1247 type=lambda x: int(x, 0), 1258 type=lambda x: tuple(float(x) for x in x.split(',')), 1264 type=lambda x: int(x, 0), 1269 type=lambda x: int(x, 0), 1280 type=lambda x: int(x, 0), 1285 type=lambda x: x.split(), 1290 type=lambda x: x.split(), 1322 type=lambda x: x.split(),
|
D | readblock.py | 22 parser.add_argument('block_size', type=lambda x: int(x, 0), 24 parser.add_argument('block', type=lambda x: int(x, 0),
|
D | stack.py | 180 function, file, size, type = m_.groups() 182 and 'static' not in type 183 and 'bounded' not in type): 186 function, type, size)) 687 type=lambda x: (lambda k,v: (k, set(v.split(','))))(*x.split('=', 1)), 725 type=lambda x: int(x, 0),
|
D | test.py | 1265 type=lambda x: x.split(), 1355 type=lambda x: int(x, 0), 1376 type=lambda x: int(x, 0), 1396 type=lambda x: int(x, 0), 1408 type=lambda x: x.split(), 1414 type=lambda e: e.split(), 1423 type=lambda x: x.split(), 1445 type=lambda x: x.split(), 1450 type=lambda x: x.split(),
|
D | bench.py | 1230 type=lambda x: x.split(), 1313 type=lambda x: int(x, 0), 1334 type=lambda x: int(x, 0), 1354 type=lambda x: x.split(), 1360 type=lambda e: e.split(), 1369 type=lambda x: x.split(), 1391 type=lambda x: x.split(), 1396 type=lambda x: x.split(),
|
D | prettyasserts.py | 189 def mkassert(type, cmp, lh, rh, size=None): argument 192 % (type.upper(), cmp.upper(), lh, rh, size)) 195 % (type.upper(), cmp.upper(), lh, rh)) 446 type=lambda x: int(x, 0),
|
D | tailpipe.py | 158 type=lambda x: int(x, 0), 168 type=float,
|
/littlefs-3.7.0-3.6.0/ |
D | SPEC.md | 194 with the lowest bit in the type field of the CRC tag. This allows 237 So in littlefs, 32-bit tags describe every type of metadata. And this means 238 _every_ type of metadata, including file entries, directory fields, and 249 |. '-----.------------------ type (type3) 253 '------- type (type1) 274 into a 3-bit abstract type and an 8-bit chunk field. Note that the value 275 `0x000` is invalid and not assigned a type. 277 1. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into 317 Associates the id with a file name and file type. 322 The chunk field in this tag indicates an 8-bit file type which can be one of [all …]
|
D | lfs.h | 279 uint8_t type; member 317 uint8_t type; member 373 uint8_t type; member 384 uint8_t type; member 424 uint8_t type; member 521 uint8_t type, void *buffer, lfs_size_t size); 532 uint8_t type, const void *buffer, lfs_size_t size); 541 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type);
|
D | lfs.c | 329 #define LFS_MKTAG(type, id, size) \ argument 330 (((lfs_tag_t)(type) << 20) | ((lfs_tag_t)(id) << 10) | (lfs_tag_t)(size)) 332 #define LFS_MKTAG_IF(cond, type, id, size) \ argument 333 ((cond) ? LFS_MKTAG(type, id, size) : LFS_MKTAG(LFS_FROM_NOOP, 0, 0)) 1029 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse() 1387 info->type = LFS_TYPE_DIR; in lfs_dir_getinfo() 1397 info->type = lfs_tag_type3(tag); in lfs_dir_getinfo() 2326 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit() 2332 if (d->type == LFS_TYPE_DIR) { in lfs_dir_relocatingcommit() 2361 f->type == LFS_TYPE_REG && (f->flags & LFS_F_INLINE) && in lfs_dir_orphaningcommit() [all …]
|
/littlefs-3.7.0-3.6.0/benches/ |
D | bench_dir.toml | 188 assert(info.type == LFS_TYPE_DIR); 191 assert(info.type == LFS_TYPE_DIR); 196 assert(info.type == LFS_TYPE_REG);
|