Home
last modified time | relevance | path

Searched refs:my_file (Results 1 – 25 of 86) sorted by relevance

1234

/FileX-v6.2.1/test/regression_test/
Dfilex_file_seek_test.c20 static FX_FILE my_file; variable
124 status = fx_file_extended_seek(&my_file, 0); in ftest_0_entry()
132 status = fx_file_extended_relative_seek(&my_file, 0, 0); in ftest_0_entry()
163 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
174 status = fx_file_extended_relative_seek(&my_file, 0xFFFFFFFFFFFFFFFF, FX_SEEK_BACK); in ftest_0_entry()
192 status = fx_file_relative_seek(&my_file, 0xFFFFFFFF, 4); in ftest_0_entry()
216 status = fx_file_extended_relative_seek(&my_file, 0xFF, 4); in ftest_0_entry()
243 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry()
299 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
310 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
[all …]
Dfilex_file_write_available_cluster_test.c28 static FX_FILE my_file; variable
164 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
174 fx_file_relative_seek (&my_file, steps[i].offset, steps[i].seek); in ftest_0_entry()
175 fx_file_write (&my_file, test_buffer, steps[i].size); in ftest_0_entry()
193 status = fx_file_relative_seek( &my_file, steps[0].offset, steps[0].seek); in ftest_0_entry()
194 status += fx_file_write( &my_file, test_buffer, steps[0].size); in ftest_0_entry()
199 status = fx_file_relative_seek( &my_file, steps[3].offset, steps[3].seek); in ftest_0_entry()
200 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry()
205 status = fx_file_relative_seek( &my_file, steps[3].offset, steps[3].seek); in ftest_0_entry()
206 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry()
[all …]
Dfilex_file_write_seek_test.c27 static FX_FILE my_file; variable
133 status += fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
144 status = fx_file_write(&my_file, write_data, 4116); in ftest_0_entry()
148 status = fx_file_seek(&my_file, 16464); in ftest_0_entry()
152 status = fx_file_write(&my_file, write_data + 4116, 4116); in ftest_0_entry()
156 status = fx_file_seek(&my_file, 112); in ftest_0_entry()
160 status = fx_file_write(&my_file, write_data + 112, 1); in ftest_0_entry()
164 status = fx_file_seek(&my_file, 32928); in ftest_0_entry()
168 status = fx_file_write(&my_file, write_data + 8232, 4116); in ftest_0_entry()
171 fx_file_close(&my_file); in ftest_0_entry()
[all …]
Dfilex_file_read_write_test.c21 static FX_FILE my_file; variable
161 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry()
169 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
182 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry()
201 status = fx_file_write(&my_file, (void*)& write_value, sizeof(ULONG)); in ftest_0_entry()
239 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry()
295 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
323 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
338 status = fx_file_close(&my_file); in ftest_0_entry()
396 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
[all …]
Dfilex_media_multiple_open_close_test.c22 static FX_FILE my_file; variable
219 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
231 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
243 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
255 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
267 status = fx_file_read(&my_file, local_buffer, 28, &actual); in ftest_0_entry()
279 status = fx_file_close(&my_file); in ftest_0_entry()
341 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
353 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
365 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_enable_3_test.c111 FX_FILE my_file; in ftest_0_entry() local
145 status += fx_file_open( &ram_disk, &my_file, destination_name, FX_OPEN_FOR_WRITE); in ftest_0_entry()
146 status += fx_file_allocate( &my_file, 2048); in ftest_0_entry()
147 status += fx_file_seek( &my_file, 2048); in ftest_0_entry()
153 status += fx_file_write( &my_file, "1234567890", 10); in ftest_0_entry()
156 status = fx_file_close( &my_file); in ftest_0_entry()
194 status += fx_file_open(&ram_disk, &my_file, "FILE1", FX_OPEN_FOR_WRITE); in ftest_0_entry()
197 status += fx_file_write(&my_file, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry()
198 status += fx_file_write(&my_file, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry()
199 status += fx_file_write(&my_file, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry()
[all …]
Dfilex_media_check_test.c22 static FX_FILE my_file; variable
209 status += fx_file_open(&ram_disk, &my_file, "TEXT.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
210 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
211 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
212 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
214 status += fx_file_close(&my_file); in ftest_0_entry()
256 status += fx_file_open(&ram_disk, &my_file, "TEXT.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
257 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
258 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
259 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
[all …]
Dfilex_file_allocate_truncate_test.c19 static FX_FILE my_file; variable
126 status = fx_file_extended_truncate(&my_file, 0); in ftest_0_entry()
134 status = fx_file_extended_truncate_release(&my_file, 0); in ftest_0_entry()
187 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
199 status = fx_file_extended_truncate_release(&my_file, 0xFFFFFFFFFFFFFFFF); in ftest_0_entry()
224 status = fx_file_extended_truncate(&my_file, 0); in ftest_0_entry()
232 status = fx_file_extended_truncate_release(&my_file, 0); in ftest_0_entry()
243 status = fx_file_extended_truncate_release(&my_file, 0); in ftest_0_entry()
252 status = fx_file_extended_truncate(&my_file, 0xFFFFFFFFFFFFFFFF); in ftest_0_entry()
303 status = fx_file_allocate(&my_file, available_bytes/2); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_long_file_create_directory_interrupt_test.c51 static FX_FILE my_file; variable
245 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
256 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
267 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
289 status = fx_file_close(&my_file); in ftest_0_entry()
311 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
322 status = fx_file_write(&my_file, " 012345678901234567890123\n", 26); in ftest_0_entry()
333 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_create_directory_interrupt_test.c51 static FX_FILE my_file; variable
243 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
254 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
265 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
276 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
287 status = fx_file_close(&my_file); in ftest_0_entry()
309 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
320 status = fx_file_write(&my_file, " 012345678901234567890123\n", 26); in ftest_0_entry()
331 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
342 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_directory_interrupt_test.c67 static FX_FILE my_file; variable
266 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
277 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
288 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
299 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
310 status = fx_file_close(&my_file); in ftest_0_entry()
332 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
355 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry()
366 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
377 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_fat_interrupt_test.c67 static FX_FILE my_file; variable
267 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
289 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
311 status = fx_file_close(&my_file); in ftest_0_entry()
333 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry()
367 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_redo_log_interrupt_test.c69 static FX_FILE my_file; variable
267 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
289 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
311 status = fx_file_close(&my_file); in ftest_0_entry()
333 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry()
367 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_data_interrupt_test.c67 static FX_FILE my_file; variable
232 status += fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
233 status += fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
234 status += fx_file_seek(&my_file, 0); in ftest_0_entry()
239 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
243 status = fx_file_close(&my_file); in ftest_0_entry()
248 status += fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
264 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry()
265 status += fx_file_seek(&my_file, 0); in ftest_0_entry()
270 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_undo_log_interrupt_test.c69 static FX_FILE my_file; variable
267 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
289 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
311 status = fx_file_close(&my_file); in ftest_0_entry()
333 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry()
367 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_redo_log_interrupt_test.c52 static FX_FILE my_file; variable
215 status += fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
218 status += fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
221 status += fx_file_seek(&my_file, 0); in ftest_0_entry()
228 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
232 status = fx_file_close(&my_file); in ftest_0_entry()
237 status += fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
238 status += fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry()
239 status += fx_file_seek(&my_file, 0); in ftest_0_entry()
246 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_release_redo_log_interrupt_test.c52 static FX_FILE my_file; variable
246 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
257 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
268 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
282 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
293 status = fx_file_close(&my_file); in ftest_0_entry()
315 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
326 status = fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry()
337 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
351 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_release_directory_interrupt_test.c52 static FX_FILE my_file; variable
246 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
257 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
268 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
290 status = fx_file_close(&my_file); in ftest_0_entry()
312 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
323 status = fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry()
334 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_directory_interrupt_test.c52 static FX_FILE my_file; variable
246 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
257 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
268 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
290 status = fx_file_close(&my_file); in ftest_0_entry()
312 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
323 status = fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry()
334 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_release_fat_interrupt_test.c52 static FX_FILE my_file; variable
246 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
257 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
268 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
290 status = fx_file_close(&my_file); in ftest_0_entry()
312 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
323 status = fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry()
334 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_allocate_directory_interrupt_test.c52 static FX_FILE my_file; variable
244 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
255 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
266 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
277 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
288 status = fx_file_close(&my_file); in ftest_0_entry()
310 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
321 status = fx_file_write(&my_file, " 0123456789012345678901\n", 24); in ftest_0_entry()
332 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
343 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_allocate_fat_interrupt_test.c51 static FX_FILE my_file; variable
245 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
256 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
267 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
289 status = fx_file_close(&my_file); in ftest_0_entry()
311 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
322 status = fx_file_write(&my_file, " 0123456789012345678901\n", 24); in ftest_0_entry()
333 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_allocate_redo_log_interrupt_test.c52 static FX_FILE my_file; variable
245 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
256 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
267 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
289 status = fx_file_close(&my_file); in ftest_0_entry()
311 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
322 status = fx_file_write(&my_file, " 0123456789012345678901\n", 24); in ftest_0_entry()
333 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_allocate_undo_log_interrupt_test.c52 static FX_FILE my_file; variable
245 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
256 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
267 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
289 status = fx_file_close(&my_file); in ftest_0_entry()
311 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
322 status = fx_file_write(&my_file, " 0123456789012345678901\n", 24); in ftest_0_entry()
333 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_best_allocate_directory_interrupt_test.c52 static FX_FILE my_file; variable
244 status = fx_file_open(&ram_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
255 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry()
266 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
277 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
288 status = fx_file_close(&my_file); in ftest_0_entry()
310 status = fx_file_open(&ram_disk, &my_file, "TEST1.TXT", FX_OPEN_FOR_WRITE); in ftest_0_entry()
321 status = fx_file_write(&my_file, " 0123456789012345678901\n", 24); in ftest_0_entry()
332 status = fx_file_seek(&my_file, 0); in ftest_0_entry()
343 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
[all …]

1234