Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 – 25 of 46) sorted by relevance

12

/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_file_write_data_interrupt_test.c86 static CHAR read_buffer[4096]; variable
238 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
239 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
269 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
270 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
285 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
286 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
328 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
329 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
330 …return_if_fail((status == FX_SUCCESS) && (actual == 28) && !memcmp(read_buffer, " ABCDEFGHIJKLMNOP… in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_seek_test.c48 static CHAR read_buffer[TOTAL_SIZE]; variable
211 memset(read_buffer, 0xFF, sizeof(read_buffer)); in ftest_0_entry()
212 status = fx_file_read(&my_file, read_buffer, sizeof(read_buffer), &actual); in ftest_0_entry()
213 return_if_fail((status == FX_SUCCESS) && (actual == sizeof(read_buffer))); in ftest_0_entry()
216 return_if_fail(memcmp(&read_buffer[0], write_buffer[1], OVERWRITE_SIZE) == 0); in ftest_0_entry()
219 return_if_fail(memcmp(&read_buffer[OVERWRITE_SIZE], in ftest_0_entry()
Dfilex_fault_tolerant_file_truncate_redo_log_interrupt_test.c69 static CHAR read_buffer[2048]; variable
225 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
228 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
243 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
246 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
261 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
264 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
306 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
309 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
322 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_log_recover_directory_test.c79 static CHAR read_buffer[4096]; variable
297 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
366 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
369 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
435 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
438 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
550 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
553 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
556 …if ((status != FX_SUCCESS) || (actual != 28) || memcmp(read_buffer, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n… in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_log_recover_fat_test.c81 static CHAR read_buffer[4096]; variable
249 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
252 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
276 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
303 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
306 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
374 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
377 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
378 …return_if_fail( (status == FX_SUCCESS) && (actual == 28) && (memcmp(read_buffer, " ABCDEFGHIJKLNMO… in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_release_redo_log_interrupt_test.c69 static CHAR read_buffer[2048]; variable
279 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
282 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
348 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
351 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
417 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
420 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
508 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
511 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
555 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_random_seek_test.c50 static CHAR read_buffer[TOTAL_SIZE]; variable
248 memset(read_buffer, 0xFF, sizeof(read_buffer)); in ftest_0_entry()
249 status = fx_file_read(&my_file, read_buffer, sizeof(read_buffer), &actual); in ftest_0_entry()
250 return_if_fail((status == FX_SUCCESS) && (actual == sizeof(read_buffer))); in ftest_0_entry()
253 return_if_fail(memcmp(&read_buffer[0], &write_buffer[0], sizeof(write_buffer)) == 0); in ftest_0_entry()
Dfilex_fault_tolerant_file_truncate_release_undo_log_interrupt_test.c69 static CHAR read_buffer[2048]; variable
282 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
285 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
351 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
354 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
420 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
423 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
539 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
542 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
586 memset(read_buffer, 0, read_buffer_size); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_long_file_create_directory_interrupt_test.c66 static CHAR read_buffer[1024]; variable
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
410 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
499 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
543 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
587 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
631 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_create_directory_interrupt_test.c66 static CHAR read_buffer[1024]; variable
276 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
342 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
408 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
497 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
541 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
585 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
629 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_write_directory_interrupt_test.c85 static CHAR read_buffer[4096]; variable
299 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
377 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
443 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
531 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
575 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
578 …if ((status != FX_SUCCESS) || (actual != data_size) || memcmp(read_buffer, data_buffer, actual)) in ftest_0_entry()
619 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_write_fat_interrupt_test.c88 static CHAR read_buffer[4096]; variable
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
444 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
532 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
576 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
579 …if ((status != FX_SUCCESS) || (actual != data_size) || memcmp(read_buffer, data_buffer, actual)) in ftest_0_entry()
620 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_write_redo_log_interrupt_test.c87 static CHAR read_buffer[4096]; variable
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
444 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
532 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
576 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
579 …if ((status != FX_SUCCESS) || (actual != data_size) || memcmp(read_buffer, data_buffer, actual)) in ftest_0_entry()
620 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_write_undo_log_interrupt_test.c87 static CHAR read_buffer[4096]; variable
300 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
378 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
444 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
532 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
576 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
579 …if ((status != FX_SUCCESS) || (actual != data_size) || memcmp(read_buffer, data_buffer, actual)) in ftest_0_entry()
620 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_unicode_file_create_directory_interrupt_test.c68 static CHAR read_buffer[1024]; variable
287 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
354 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
421 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
510 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
554 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
598 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
642 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_delete_redo_log_interrupt_test.c66 static CHAR read_buffer[1024]; variable
275 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
341 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
407 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
495 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
539 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
583 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_long_file_create_redo_log_interrupt_test.c67 static CHAR read_buffer[1024]; variable
278 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
344 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
410 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
498 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
542 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
586 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_create_redo_log_interrupt_test.c67 static CHAR read_buffer[1024]; variable
276 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
342 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
408 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
496 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
540 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
584 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_delete_undo_log_interrupt_test.c64 static CHAR read_buffer[1024]; variable
273 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
339 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
405 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
493 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
537 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
581 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_rename_directory_interrupt_test.c67 static CHAR read_buffer[1024]; variable
277 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
343 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
409 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
497 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
541 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
585 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_truncate_release_directory_interrupt_test.c69 static CHAR read_buffer[2048]; variable
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
411 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
499 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
543 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
587 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_rename_redo_log_interrupt_test.c67 static CHAR read_buffer[1024]; variable
277 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
343 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
409 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
497 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
541 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
585 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_truncate_directory_interrupt_test.c69 static CHAR read_buffer[2048]; variable
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
411 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
499 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
543 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
587 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_truncate_release_fat_interrupt_test.c69 static CHAR read_buffer[4096]; variable
279 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
345 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
411 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
499 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
543 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
587 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
Dfilex_fault_tolerant_file_allocate_directory_interrupt_test.c67 static CHAR read_buffer[2048]; variable
277 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
343 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
409 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
497 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
541 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()
585 status = fx_file_read(&my_file, read_buffer, read_buffer_size, &actual); in ftest_0_entry()

12