Home
last modified time | relevance | path

Searched refs:id (Results 1 – 8 of 8) sorted by relevance

/littlefs-3.7.0-3.6.0/scripts/
Dreadmdir.py42 id = int(args[1], 0) if args[1] not in 'x.' else 0x3ff
44 id = args[1]
51 self.tag = (type << 20) | (id << 10) | size
84 def id(self): member in Tag
152 return repr(self.id) if self.id != 0x3ff else '.'
158 return 'Tag(%r, %d, %d)' % (self.typerepr(), self.id, self.size)
161 return (self.id, self.type) < (other.id, other.type)
242 lambda id: Tag('name', id, 0) in self,
250 elif tag.id == 0x3ff:
256 for id in self.ids:
[all …]
Dtest.py666 def find_path(runner_, id, **args): argument
669 cmd = runner_ + ['--list-case-paths', id]
697 def find_defines(runner_, id, **args): argument
699 cmd = runner_ + ['--list-permutation-defines', id]
763 def __init__(self, id, returncode, stdout, assert_=None): argument
764 self.id = id
907 case, _ = failure.id.split(':', 1)
910 defines = find_defines(runner_, failure.id, **args)
1102 assert failure.id is not None, '%s broken? %r' % (
1107 path, lineno = find_path(runner_, failure.id, **args)
[all …]
Dbench.py649 def find_path(runner_, id, **args): argument
652 cmd = runner_ + ['--list-case-paths', id]
680 def find_defines(runner_, id, **args): argument
682 cmd = runner_ + ['--list-permutation-defines', id]
746 def __init__(self, id, returncode, stdout, assert_=None): argument
747 self.id = id
902 case, _ = failure.id.split(':', 1)
905 defines = find_defines(runner_, failure.id, **args)
1102 assert failure.id is not None, '%s broken? %r' % (
1107 path, lineno = find_path(runner_, failure.id, **args)
[all …]
Dreadtree.py35 blocks[id(data[-1])] = block
38 mdir.blocks = tuple(blocks[id(p.data)] for p in mdir.pair)
93 dirstruct = mdir[Tag('dirstruct', tag.id, 0)]
119 blocks[0], blocks[1], tag.id))
/littlefs-3.7.0-3.6.0/
DSPEC.md248 |. | . '------------ id
281 abstract types. type1+chunk+id form a unique identifier for each tag in the
284 3. **Id (10-bits)** - File id associated with the tag. Each file in a metadata
285 block gets a unique id which is used to associate tags with that file. The
299 Creates a new file with this id. Note that files in a metadata block
301 files using this id. In this sense a create is similar to insertion into
310 Deletes the file with this id. An inverse to create, this tag moves over
311 any files neighboring this id similar to a deletion from an imaginary
317 Associates the id with a file name and file type.
325 Currently, the name tag must precede any other tags associated with the id and
[all …]
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))
567 uint16_t id, const lfs_block_t pair[2]);
1079 lfs_tag_t fmask, lfs_tag_t ftag, uint16_t *id, in lfs_dir_fetchmatch() argument
1338 if (id) { in lfs_dir_fetchmatch()
1339 *id = lfs_min(lfs_tag_id(besttag), dir->count); in lfs_dir_fetchmatch()
1383 uint16_t id, struct lfs_info *info) { in lfs_dir_getinfo() argument
1384 if (id == 0x3ff) { in lfs_dir_getinfo()
[all …]
Dlfs.h372 uint16_t id; member
383 uint16_t id; member
423 uint16_t id; member
/littlefs-3.7.0-3.6.0/tests/
Dtest_evil.toml46 // make sure id 1 == our directory
100 // make sure id 1 == our file
155 // make sure id 1 == our file and get our CTZ structure