• Home
  • Raw
  • Download

Lines Matching refs:files

6     lfs_file_t files[FILES];
12 lfs_file_open(&lfs, &files[j], path,
18 lfs_file_write(&lfs, &files[j], &alphas[j], 1) => 1;
23 lfs_file_close(&lfs, &files[j]);
45 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
50 lfs_file_read(&lfs, &files[j], buffer, 1) => 1;
56 lfs_file_close(&lfs, &files[j]);
120 lfs_file_t files[3];
121 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0;
122 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0;
123 lfs_file_open(&lfs, &files[2], "g", LFS_O_WRONLY | LFS_O_CREAT) => 0;
126 lfs_file_write(&lfs, &files[0], (const void*)"e", 1) => 1;
127 lfs_file_write(&lfs, &files[1], (const void*)"f", 1) => 1;
128 lfs_file_write(&lfs, &files[2], (const void*)"g", 1) => 1;
134 lfs_file_write(&lfs, &files[0], (const void*)"e", 1) => 1;
135 lfs_file_write(&lfs, &files[1], (const void*)"f", 1) => 1;
136 lfs_file_write(&lfs, &files[2], (const void*)"g", 1) => 1;
139 lfs_file_close(&lfs, &files[0]);
140 lfs_file_close(&lfs, &files[1]);
141 lfs_file_close(&lfs, &files[2]);
161 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0;
162 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0;
164 lfs_file_read(&lfs, &files[0], buffer, 1) => 1;
166 lfs_file_read(&lfs, &files[1], buffer, 1) => 1;
169 lfs_file_close(&lfs, &files[0]);
170 lfs_file_close(&lfs, &files[1]);
180 lfs_file_t files[FILES];
191 lfs_file_open(&lfs, &files[j], path,
197 size = lfs_file_size(&lfs, &files[j]);
200 lfs_file_write(&lfs, &files[j], &alphas[j], 1) => 1;
201 lfs_file_sync(&lfs, &files[j]) => 0;
207 lfs_file_close(&lfs, &files[j]);
229 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
234 lfs_file_read(&lfs, &files[j], buffer, 1) => 1;
240 lfs_file_close(&lfs, &files[j]);