Lines Matching full:path
26 char path[1024];
27 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
28 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
38 char path[1024];
39 sprintf(path, "test%03d_loooooooooooooooooong_name", i);
41 strcmp(info.name, path) => 0;
51 char path[1024];
52 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
53 lfs_remove(&lfs, path) => 0;
65 char path[1024];
66 sprintf(path, "test%03d_loooooooooooooooooong_name", i);
68 strcmp(info.name, path) => 0;
73 char path[1024];
74 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
75 lfs_remove(&lfs, path) => 0;
104 char path[1024];
105 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
106 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
116 char path[1024];
117 sprintf(path, "test%03d_loooooooooooooooooong_name", i);
119 strcmp(info.name, path) => 0;
122 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
123 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
133 char path[1024];
134 sprintf(path, "test%03d_loooooooooooooooooong_name", i);
136 strcmp(info.name, path) => 0;
139 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
140 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
150 char path[1024];
151 sprintf(path, "test%03d_loooooooooooooooooong_name", i);
153 strcmp(info.name, path) => 0;
160 char path[1024];
161 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
162 lfs_remove(&lfs, path) => 0;
192 // create random path
204 char path[1024];
205 strcpy(path, full_path);
206 path[2*d+2] = '\0';
207 err = lfs_mkdir(&lfs, path);
212 char path[1024];
213 strcpy(path, full_path);
214 path[2*d+2] = '\0';
215 lfs_stat(&lfs, path, &info) => 0;
216 assert(strcmp(info.name, &path[2*d+1]) == 0);
224 // try to delete path in reverse order, ignore if dir is not empty
226 char path[1024];
227 strcpy(path, full_path);
228 path[2*d+2] = '\0';
229 err = lfs_remove(&lfs, path);
261 // create random path
274 char path[1024];
275 strcpy(path, full_path);
276 path[2*d+2] = '\0';
277 err = lfs_mkdir(&lfs, path);
282 char path[1024];
283 strcpy(path, full_path);
284 path[2*d+2] = '\0';
285 lfs_stat(&lfs, path, &info) => 0;
286 assert(strcmp(info.name, &path[2*d+1]) == 0);
293 // create new random path
299 // if new path does not exist, rename, otherwise destroy
305 char path[1024];
306 strcpy(&path[2*d], &full_path[2*d]);
307 path[2*d+2] = '\0';
308 strcpy(&path[128+2*d], &new_path[2*d]);
309 path[128+2*d+2] = '\0';
310 err = lfs_rename(&lfs, path, path+128);
313 strcpy(path, path+128);
318 char path[1024];
319 strcpy(path, new_path);
320 path[2*d+2] = '\0';
321 lfs_stat(&lfs, path, &info) => 0;
322 assert(strcmp(info.name, &path[2*d+1]) == 0);
328 // try to delete path in reverse order,
331 char path[1024];
332 strcpy(path, full_path);
333 path[2*d+2] = '\0';
334 err = lfs_remove(&lfs, path);