Home
last modified time | relevance | path

Searched refs:TOTAL_SIZE (Results 1 – 2 of 2) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_file_random_seek_test.c31 #define TOTAL_SIZE (16 * 1024) macro
48 static CHAR write_buffer[TOTAL_SIZE];
49 static CHAR overwrite_buffer[TOTAL_SIZE];
50 static CHAR read_buffer[TOTAL_SIZE];
218 status = fx_file_write(&my_file, &write_buffer[0], TOTAL_SIZE); in ftest_0_entry()
223 seek_position = (UINT)(rand() % TOTAL_SIZE); in ftest_0_entry()
224 overwrite_position = (UINT)(rand() % TOTAL_SIZE); in ftest_0_entry()
227 overwrite_size = (UINT)rand() % (TOTAL_SIZE - seek_position); in ftest_0_entry()
231 overwrite_size = (UINT)rand() % (TOTAL_SIZE - overwrite_position); in ftest_0_entry()
Dfilex_fault_tolerant_file_seek_test.c27 #define TOTAL_SIZE 1024 macro
47 static CHAR write_buffer[2][TOTAL_SIZE];
48 static CHAR read_buffer[TOTAL_SIZE];
196 status = fx_file_write(&my_file, write_buffer[0], TOTAL_SIZE); in ftest_0_entry()
221 (TOTAL_SIZE - OVERWRITE_SIZE)) == 0); in ftest_0_entry()