Home
last modified time | relevance | path

Searched full:name (Results 1 – 18 of 18) sorted by relevance

/littlefs-2.7.6/tests/
Dtest_dirs.toml8 assert(strcmp(info.name, ".") == 0);
11 assert(strcmp(info.name, "..") == 0);
33 assert(strcmp(info.name, ".") == 0);
36 assert(strcmp(info.name, "..") == 0);
41 assert(strcmp(info.name, path) == 0);
64 assert(strcmp(info.name, ".") == 0);
67 assert(strcmp(info.name, "..") == 0);
72 assert(strcmp(info.name, path) == 0);
89 assert(strcmp(info.name, ".") == 0);
92 assert(strcmp(info.name, "..") == 0);
[all …]
Dtest_paths.toml12 assert(strcmp(info.name, "hottea") == 0);
14 assert(strcmp(info.name, "hottea") == 0);
18 assert(strcmp(info.name, "milk") == 0);
20 assert(strcmp(info.name, "milk") == 0);
34 assert(strcmp(info.name, "hottea") == 0);
36 assert(strcmp(info.name, "hottea") == 0);
38 assert(strcmp(info.name, "hottea") == 0);
42 assert(strcmp(info.name, "milk") == 0);
44 assert(strcmp(info.name, "milk") == 0);
58 assert(strcmp(info.name, "hottea") == 0);
[all …]
Dtest_move.toml23 assert(strcmp(info.name, ".") == 0);
26 assert(strcmp(info.name, "..") == 0);
32 assert(strcmp(info.name, ".") == 0);
35 assert(strcmp(info.name, "..") == 0);
38 assert(strcmp(info.name, "hello") == 0);
69 assert(strcmp(info.name, "hi") == 0);
114 assert(strcmp(info.name, ".") == 0);
117 assert(strcmp(info.name, "..") == 0);
123 assert(strcmp(info.name, ".") == 0);
126 assert(strcmp(info.name, "..") == 0);
[all …]
Dtest_interspersed.toml28 assert(strcmp(info.name, ".") == 0);
31 assert(strcmp(info.name, "..") == 0);
36 assert(strcmp(info.name, path) == 0);
93 assert(strcmp(info.name, ".") == 0);
96 assert(strcmp(info.name, "..") == 0);
99 assert(strcmp(info.name, "zzz") == 0);
145 assert(strcmp(info.name, ".") == 0);
148 assert(strcmp(info.name, "..") == 0);
151 assert(strcmp(info.name, "e") == 0);
155 assert(strcmp(info.name, "g") == 0);
[all …]
Dtest_superblocks.toml40 assert(strcmp(info.name, "dummy") == 0);
52 assert(strcmp(info.name, "dummy") == 0);
68 assert(strcmp(info.name, "dummy") == 0);
77 assert(strcmp(info.name, "dummy") == 0);
85 assert(strcmp(info.name, "dummy") == 0);
106 assert(strcmp(info.name, "dummy") == 0);
115 assert(strcmp(info.name, "dummy") == 0);
124 assert(strcmp(info.name, "dummy") == 0);
Dtest_relocations.toml34 strcmp(info.name, path) => 0;
57 strcmp(info.name, path) => 0;
100 strcmp(info.name, path) => 0;
116 strcmp(info.name, path) => 0;
132 strcmp(info.name, path) => 0;
188 assert(strcmp(info.name, &path[2*d+1]) == 0);
193 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0);
251 assert(strcmp(info.name, &path[2*d+1]) == 0);
255 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0);
285 assert(strcmp(info.name, &path[2*d+1]) == 0);
Dtest_exhaustion.toml23 // chose name, roughly random seed, and random 2^n size
105 // chose name, roughly random seed, and random 2^n size
196 // chose name, roughly random seed, and random 2^n size
285 // chose name, roughly random seed, and random 2^n size
370 // chose name, roughly random seed, and random 2^n size
Dtest_orphans.toml99 assert(strcmp(info.name, &path[2*d+1]) == 0);
104 assert(strcmp(info.name, &full_path[2*(DEPTH-1)+1]) == 0);
Dtest_evil.toml62 assert(strcmp(info.name, "dir_here") == 0);
108 assert(strcmp(info.name, "file_here") == 0);
169 assert(strcmp(info.name, "file_here") == 0);
/littlefs-2.7.6/scripts/
Dprefix.py21 def subn(from_prefix, to_prefix, name): argument
22 name, count1 = re.subn('\\b'+from_prefix, to_prefix, name)
23 name, count2 = re.subn('\\b'+from_prefix.upper(), to_prefix.upper(), name)
24 name, count3 = re.subn('\\B-D'+from_prefix.upper(),
25 '-D'+to_prefix.upper(), name)
26 return name, count1+count2+count3
34 'git', 'ls-tree', '-r', '--name-only', 'HEAD']).split()
Dtest.py126 self.suite.name, self.caseno, self.permno, ', '.join(
131 self.suite.name, self.caseno, self.permno)
134 self.suite.name, self.caseno)
351 self.name = os.path.basename(path)
352 if self.name.endswith('.toml'):
353 self.name = self.name[:-len('.toml')]
399 return self.name
402 return self.name < other.name
547 sys.stdout.write(self.name + ' ')
749 directory of tests, a specific file, a suite by name, and even a \
Dreadmdir.py12 'name': (0x700, 0x000),
210 lambda id: Tag('name', id, 0) in self,
/littlefs-2.7.6/
D.travis.yml75 … | .statuses[] | select(.context == \"${TRAVIS_BUILD_STAGE_NAME,,}/$NAME\").description
88 - name: test
89 - name: deploy
98 - NAME=littlefs-x86
116 - NAME=littlefs-arm
145 - NAME=littlefs-mips
174 - NAME=littlefs-powerpc
203 - NAME=littlefs-valgrind
214 - NAME=littlefs-fuse
225 - cp -r $(git ls-tree --name-only HEAD) littlefs-fuse/littlefs
[all …]
DSPEC.md38 As their name suggests, a metadata pair is stored in two blocks, with one block
276 Associates the id with a file name and file type.
278 The data contains the file name stored as an ASCII string (may be expanded to
284 Currently, the name tag must precede any other tags associated with the id and
287 Layout of the name tag:
293 ^ ^ ^ ^ ^- size ^- file name
300 Name fields:
304 2. **file name** - File name stored as an ASCII string.
309 Initializes the id + name as a regular file.
316 Initializes the id + name as a directory.
[all …]
Dlfs.c1032 strcpy(info->name, "/"); in lfs_dir_getinfo()
1038 LFS_MKTAG(LFS_TYPE_NAME, id, lfs->name_max+1), info->name); in lfs_dir_getinfo()
1064 const void *name; member
1070 struct lfs_dir_find_match *name = data; in lfs_dir_find_match() local
1071 lfs_t *lfs = name->lfs; in lfs_dir_find_match()
1075 lfs_size_t diff = lfs_min(name->size, lfs_tag_size(tag)); in lfs_dir_find_match()
1078 disk->block, disk->off, name->name, diff); in lfs_dir_find_match()
1084 if (name->size != lfs_tag_size(tag)) { in lfs_dir_find_match()
1085 return (name->size < lfs_tag_size(tag)) ? LFS_CMP_LT : LFS_CMP_GT; in lfs_dir_find_match()
1094 // we reduce path to a single name if we can find it in lfs_dir_find()
[all …]
Dlfs.h47 // Maximum name size in bytes, may be redefined to reduce the size of the
86 LFS_ERR_NAMETOOLONG = -36, // File name too long
253 // Name of the file stored as a null-terminated string. Limited to
257 char name[LFS_NAME_MAX+1]; member
DLICENSE.md11 - Neither the name of ARM nor the names of its contributors may be used to
DDESIGN.md35 requires an expensive and destructive operation which gives flash its name.
628 The name comes from heavy use of the [CTZ instruction][wikipedia-ctz], which
1241 algorithm. Despite the long name, this is actually a simplification of dynamic
1394 || A name |
1397 || B name | | +- metadata
1440 || A name |
1443 || B name | | +- data