/FileX-v6.2.1/test/regression_test/ |
D | filex_media_multiple_open_close_test.c | 243 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 244 status += fx_file_write(&my_file1, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 365 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 366 status += fx_file_write(&my_file1, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 486 status = fx_file_write(&my_file1, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 594 status += fx_file_write(&my_file, "ROOTF1_CONTENTS", 130); in ftest_0_entry() 599 status += fx_file_write(&my_file, "ROOTF2_CONTENTS", 130); in ftest_0_entry() 604 status += fx_file_write(&my_file, "ROOTF3_CONTENTS", 130); in ftest_0_entry() 707 status += fx_file_write(&my_file, raw_sector_buffer, 512); in ftest_0_entry() 862 status += fx_file_write(&my_file, raw_sector_buffer, 512); in ftest_0_entry() [all …]
|
D | filex_media_check_test.c | 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() 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() 331 status += fx_file_write(&my_file, "ROOT1_CONTENTS", 14); in ftest_0_entry() 336 status += fx_file_write(&my_file, "ROOT2_CONTENTS", 14); in ftest_0_entry() 341 status += fx_file_write(&my_file, "SUB1F1_CONTENTS", 15); in ftest_0_entry() 346 status += fx_file_write(&my_file, "SUB1F2_CONTENTS", 15); in ftest_0_entry() [all …]
|
D | filex_file_read_write_test.c | 161 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 182 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 191 status = fx_file_write(&read_only, (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() 224 status = fx_file_write(FX_NULL, (void *) &write_value, 0); in ftest_0_entry() 239 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 443 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 706 status = fx_file_write(&my_file, (void *) my_buffer, sizeof(my_buffer)); in ftest_0_entry() 804 status += fx_file_write(&my_file4, my_buffer, 128); in ftest_0_entry() 818 status += fx_file_write(&my_file2, my_buffer, 128); in ftest_0_entry() [all …]
|
D | filex_file_create_delete_test.c | 321 status = fx_file_write(&file_1, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 322 status += fx_file_write(&file_2, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 323 status += fx_file_write(&file_3, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 324 status += fx_file_write(&file_4, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 429 status = fx_file_write(&file_5, buffer, 128); in ftest_0_entry() 438 status += fx_file_write(&file_6, buffer, 128); in ftest_0_entry() 507 status += fx_file_write(&file_6, fat_buffer, 128); in ftest_0_entry() 508 status += fx_file_write(&file_6, fat_buffer, 128); in ftest_0_entry() 509 status += fx_file_write(&file_6, fat_buffer, 128); in ftest_0_entry() 510 status += fx_file_write(&file_6, fat_buffer, 128); in ftest_0_entry() [all …]
|
D | filex_file_write_seek_test.c | 144 status = fx_file_write(&my_file, write_data, 4116); in ftest_0_entry() 152 status = fx_file_write(&my_file, write_data + 4116, 4116); in ftest_0_entry() 160 status = fx_file_write(&my_file, write_data + 112, 1); in ftest_0_entry() 168 status = fx_file_write(&my_file, write_data + 8232, 4116); in ftest_0_entry() 207 status = fx_file_write(&my_file, write_data, 4 * 512); in ftest_0_entry() 210 status += fx_file_write(&my_file, write_data, 4 * 512); in ftest_0_entry() 246 status = fx_file_write(&my_file, write_data, 4 * 512); in ftest_0_entry() 252 status = fx_file_write(&my_file, write_data, 2 * 512); in ftest_0_entry() 287 status = fx_file_write(&my_file, write_data, 4 * 512); in ftest_0_entry() 293 status = fx_file_write(&my_file, write_data, 2 * 512); in ftest_0_entry() [all …]
|
D | filex_file_write_available_cluster_test.c | 175 fx_file_write (&my_file, test_buffer, steps[i].size); in ftest_0_entry() 194 status += fx_file_write( &my_file, test_buffer, steps[0].size); in ftest_0_entry() 200 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 206 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 212 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 219 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 226 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 232 status += fx_file_write( &my_file, test_buffer, steps[3].size); in ftest_0_entry() 237 status += fx_file_write( &my_file, test_buffer, steps[0].size); in ftest_0_entry() 255 status += fx_file_write( &my_file, test_buffer, steps[0].size); in ftest_0_entry() [all …]
|
D | filex_file_seek_test.c | 243 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 642 status = fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 643 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 644 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 645 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 647 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 648 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 649 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 650 status += fx_file_write(&my_file, buffer, 128); in ftest_0_entry() 807 status = fx_file_write(&my_file, buffer, 128); in ftest_0_entry() [all …]
|
D | filex_directory_create_delete_test.c | 952 status = fx_file_write(&file_1, "1", 1); in ftest_0_entry() 953 status += fx_file_write(&file_2, "1", 1); in ftest_0_entry() 954 status += fx_file_write(&file_3, "1", 1); in ftest_0_entry() 955 status += fx_file_write(&file_4, "1", 1); in ftest_0_entry() 956 status += fx_file_write(&file_5, "1", 1); in ftest_0_entry() 957 status += fx_file_write(&file_6, "1", 1); in ftest_0_entry() 958 status += fx_file_write(&file_7, "1", 1); in ftest_0_entry() 959 status += fx_file_write(&file_8, "1", 1); in ftest_0_entry() 960 status += fx_file_write(&file_9, "1", 1); in ftest_0_entry() 961 status += fx_file_write(&file_10, "1", 1); in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_file_truncate_release_available_test.c | 201 status = fx_file_write(&my_file, write_buffer, sizeof(write_buffer)); in ftest_0_entry() 233 status = fx_file_write(&my_file, write_buffer, sizeof(write_buffer)); in ftest_0_entry() 326 status += fx_file_write(&my_file, write_buffer, sizeof(write_buffer)); in ftest_0_entry() 330 status += fx_file_write(&my_file, write_buffer, sizeof(write_buffer)); in ftest_0_entry()
|
D | filex_fault_tolerant_enable_3_test.c | 153 status += fx_file_write( &my_file, "1234567890", 10); 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() 200 status += fx_file_write(&my_file, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 205 status = fx_file_write(&my_file, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 26); in ftest_0_entry() 626 status += fx_file_write( &my_file, "1234567890", 10); in ftest_0_entry() 723 status += fx_file_write( &my_file, read_buffer, 2048 * 2); in ftest_0_entry() 814 status += fx_file_write( &my_file, "hello", 5); in ftest_0_entry() 824 status = fx_file_write( &my_file, "hello", 5); in ftest_0_entry() [all …]
|
D | filex_file_write_notify_test.c | 165 status = fx_file_write(&my_file, write_data, 4116); in ftest_0_entry() 195 status = fx_file_write(&my_file, write_data + 4116, 4116); in ftest_0_entry()
|
D | filex_utility_fat_flush_test.c | 174 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 296 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 391 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry()
|
D | filex_file_name_test.c | 154 status = fx_file_write(&my_file, write_data, sizeof(write_data)); in ftest_0_entry() 176 status = fx_file_write(&my_file, write_data, sizeof(write_data)); in ftest_0_entry()
|
D | filex_fault_tolerant_recover_fail_test.c | 158 status += fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 178 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 295 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_write_directory_interrupt_test.c | 277 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 355 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 421 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry() 750 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_write_fat_interrupt_test.c | 278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 422 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry() 742 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_write_redo_log_interrupt_test.c | 278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 422 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry() 731 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_write_data_interrupt_test.c | 233 status += fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 264 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 280 status += fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry() 445 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_write_undo_log_interrupt_test.c | 278 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 356 status = fx_file_write(&my_file, (void *) write_buffer, data_size); in ftest_0_entry() 422 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry() 731 fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_1_entry()
|
D | filex_fault_tolerant_file_seek_test.c | 196 status = fx_file_write(&my_file, write_buffer[0], TOTAL_SIZE); in ftest_0_entry() 204 status = fx_file_write(&my_file, write_buffer[1], OVERWRITE_SIZE); in ftest_0_entry()
|
D | filex_file_allocate_truncate_test.c | 357 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 471 status = fx_file_write(&my_file, (void *) &write_value, sizeof(ULONG)); in ftest_0_entry() 626 status += fx_file_write(&my_file, " ", 1); in ftest_0_entry() 742 status += fx_file_write(&my_file, " ", 1); in ftest_0_entry() 886 status += fx_file_write(&my_file, " ", 1); in ftest_0_entry() 1063 status += fx_file_write(&my_file, " ", 1); in ftest_0_entry()
|
D | filex_fault_tolerant_file_random_seek_test.c | 218 status = fx_file_write(&my_file, &write_buffer[0], TOTAL_SIZE); in ftest_0_entry() 241 status = fx_file_write(&my_file, &overwrite_buffer[overwrite_position], overwrite_size); in ftest_0_entry()
|
D | filex_fault_tolerant_file_delete_directory_interrupt_test.c | 254 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 320 status = fx_file_write(&my_file, " 012345678901234567890123\n", 26); in ftest_0_entry() 386 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry()
|
D | filex_fault_tolerant_file_delete_fat_interrupt_test.c | 255 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 321 status = fx_file_write(&my_file, " 012345678901234567890123\n", 26); in ftest_0_entry() 387 status = fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry()
|
D | filex_fault_tolerant_file_truncate_redo_log_interrupt_test.c | 218 status += fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in ftest_0_entry() 238 status += fx_file_write(&my_file, (void *) write_buffer, write_buffer_size); in ftest_0_entry() 256 status += fx_file_write(&my_file, " EXPRESSLOGIC_TEST\n", 19); in ftest_0_entry()
|