Home
last modified time | relevance | path

Searched refs:read_value (Results 1 – 6 of 6) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_file_seek_test.c89 ULONG read_value; in ftest_0_entry() local
310 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
313 if ((status) || (read_value != 0) || (actual != sizeof(ULONG))) in ftest_0_entry()
321 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
324 if ((status) || (read_value != 1) || (actual != sizeof(ULONG))) in ftest_0_entry()
335 status += fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
338 … if ((status) || (read_value != (available_bytes/sizeof(ULONG) - 1)) || (actual != sizeof(ULONG))) in ftest_0_entry()
346 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
360 status += fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
363 … if ((status) || (read_value != (available_bytes/(2*sizeof(ULONG)))) || (actual != sizeof(ULONG))) in ftest_0_entry()
[all …]
Dfilex_media_flush_test.c89 ULONG read_value; in ftest_0_entry() local
270 read_value = 0; in ftest_0_entry()
275 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
278 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
442 read_value = 0; in ftest_0_entry()
447 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
450 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
Dfilex_media_cache_invalidate_test.c91 ULONG read_value; in ftest_0_entry() local
254 read_value = 0; in ftest_0_entry()
259 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
262 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
437 read_value = 0; in ftest_0_entry()
442 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
445 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
Dfilex_fault_tolerant_media_full_test.c102 ULONG read_value; in ftest_0_entry() local
234 read_value = 0; in ftest_0_entry()
240 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
243 return_if_fail( (status == FX_SUCCESS) && (actual == 4) && (read_value == write_value)); in ftest_0_entry()
Dfilex_file_read_write_test.c102 ULONG read_value; in ftest_0_entry() local
318 read_value = 0; in ftest_0_entry()
323 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
326 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
396 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
511 read_value = 0; in ftest_0_entry()
516 status = fx_file_read(&my_file, (void *) &read_value, sizeof(ULONG), &actual); in ftest_0_entry()
519 if ((status != FX_SUCCESS) || (actual != 4) || (read_value != i/4)) in ftest_0_entry()
570 read_value = 0; in ftest_0_entry()
590 if (read_value != my_buffer[j]) in ftest_0_entry()
[all …]
Dfilex_utility_fat_flush_test.c89 ULONG read_value; in ftest_0_entry() local