Home
last modified time | relevance | path

Searched refs:raw_sector_buffer (Results 1 – 3 of 3) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_media_check_test.c24 static UCHAR raw_sector_buffer[512]; variable
154 status += fx_media_read(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
158 …(raw_sector_buffer[0] == 0xF8) && /* _fx_media_format_media_type value set during media format … in ftest_0_entry()
159 (raw_sector_buffer[1] == 0xFF) && in ftest_0_entry()
160 (raw_sector_buffer[2] == 0xFF)); in ftest_0_entry()
163 raw_sector_buffer[30] = 2; in ftest_0_entry()
164 raw_sector_buffer[31] = 3; in ftest_0_entry()
165 raw_sector_buffer[32] = 4; in ftest_0_entry()
168 status = fx_media_write(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
210 status += fx_file_write(&my_file, raw_sector_buffer, 128); in ftest_0_entry()
[all …]
Dfilex_media_multiple_open_close_test.c132 UCHAR raw_sector_buffer[512]; in ftest_0_entry() local
700 raw_sector_buffer[i] = 0; in ftest_0_entry()
707 status += fx_file_write(&my_file, raw_sector_buffer, 512); in ftest_0_entry()
855 status = fx_file_read(&my_file, raw_sector_buffer, 512, &actual); in ftest_0_entry()
858 _fx_utility_32_unsigned_write(&raw_sector_buffer[0], 0x41615252); in ftest_0_entry()
862 status += fx_file_write(&my_file, raw_sector_buffer, 512); in ftest_0_entry()
910 status = fx_file_read(&my_file, raw_sector_buffer, 512, &actual); in ftest_0_entry()
914 _fx_utility_32_unsigned_write(&raw_sector_buffer[484], 0x61417272); in ftest_0_entry()
918 status += fx_file_write(&my_file, raw_sector_buffer, 512); in ftest_0_entry()
981 raw_sector_buffer[0] = (UCHAR)i; in ftest_0_entry()
[all …]
Dfilex_media_read_write_sector_test.c25 static UCHAR raw_sector_buffer[128]; variable
133 status = fx_media_read(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
137 status = fx_media_write(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
146 status = fx_media_write(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
154 status = fx_media_read(FX_NULL, 0, (void *) raw_sector_buffer); in ftest_0_entry()
158 status = fx_media_write(FX_NULL, 0, (void *) raw_sector_buffer); in ftest_0_entry()
164 status = fx_media_read(&ram_disk, 1, (VOID *) raw_sector_buffer); in ftest_0_entry()
166 …(raw_sector_buffer[0] == 0xF8) && /* _fx_media_format_media_type value set during media format … in ftest_0_entry()
167 (raw_sector_buffer[1] == 0xFF) && in ftest_0_entry()
168 (raw_sector_buffer[2] == 0xFF)); in ftest_0_entry()
[all …]