Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 36) sorted by relevance

12

/littlefs-3.7.0-3.6.0/tests/
Dtest_dirs.toml10 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 …]
Dtest_move.toml28 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 …]
Dtest_compat.toml129 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 …]
Dtest_interspersed.toml33 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 …]
Dtest_paths.toml217 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);
Dtest_superblocks.toml116 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);
Dtest_relocations.toml217 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);
Dtest_badblocks.toml61 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/
Dreadmdir.py37 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 …]
Dplotmpl.py1048 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 …]
Dtracebd.py897 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 …]
Dreadtree.py117 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),
Dplot.py1395 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 …]
Dperfbd.py1172 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 …]
Dperf.py1200 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(),
Dreadblock.py22 parser.add_argument('block_size', type=lambda x: int(x, 0),
24 parser.add_argument('block', type=lambda x: int(x, 0),
Dstack.py180 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),
Dtest.py1265 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(),
Dbench.py1230 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(),
Dprettyasserts.py189 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),
Dtailpipe.py158 type=lambda x: int(x, 0),
168 type=float,
/littlefs-3.7.0-3.6.0/
DSPEC.md194 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 …]
Dlfs.h279 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);
Dlfs.c329 #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/
Dbench_dir.toml188 assert(info.type == LFS_TYPE_DIR);
191 assert(info.type == LFS_TYPE_DIR);
196 assert(info.type == LFS_TYPE_REG);

12