Home
last modified time | relevance | path

Searched refs:FX_READ_ONLY (Results 1 – 16 of 16) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_file_attributes_read_set_test.c159 status = fx_file_attributes_set(&ram_disk, "TEST.TXT", FX_READ_ONLY); in ftest_0_entry()
193 status = fx_file_attributes_set(&ram_disk, "NOT_A_FILE", FX_READ_ONLY); in ftest_0_entry()
201 status = fx_file_attributes_set(&ram_disk, "NOT_EXIST", FX_READ_ONLY); in ftest_0_entry()
222 status = fx_file_attributes_set(FX_NULL, "filename", FX_READ_ONLY); in ftest_0_entry()
265 status = fx_file_attributes_set(&ram_disk, "TEST.TXT", attributes | FX_READ_ONLY); in ftest_0_entry()
278 status += fx_file_attributes_set(&ram_disk, "TEST.TXT", attributes | FX_READ_ONLY); in ftest_0_entry()
292 if ((status != FX_SUCCESS) || (attributes != (FX_ARCHIVE | FX_READ_ONLY))) in ftest_0_entry()
395 status += fx_file_attributes_set(&ram_disk, "TEST.TXT", FX_READ_ONLY); in ftest_0_entry()
Dfilex_directory_attributes_read_set_test.c257 …ributes_set(&ram_disk, "TEST_DIR", attributes | FX_ARCHIVE | FX_SYSTEM | FX_READ_ONLY | FX_HIDDEN); in ftest_0_entry()
274 …if ((status != FX_SUCCESS) || (attributes != (FX_ARCHIVE | FX_READ_ONLY | FX_DIRECTORY | FX_SYSTEM… in ftest_0_entry()
Dfilex_fault_tolerant_file_attributes_set_directory_interrupt_test.c304 if ((status != FX_SUCCESS) || (attributes != (FX_ARCHIVE | FX_READ_ONLY))) in ftest_0_entry()
356 fx_file_attributes_set(&ram_disk, "TEST.TXT", FX_ARCHIVE | FX_READ_ONLY); in ftest_1_entry()
Dfilex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c253 …return_if_fail((status == FX_SUCCESS) && (attributes == (FX_ARCHIVE | FX_READ_ONLY | FX_DIRECTORY … in ftest_0_entry()
295 …tes_set(&ram_disk, "TEST_DIR", FX_DIRECTORY | FX_ARCHIVE | FX_SYSTEM | FX_READ_ONLY | FX_HIDDEN); in ftest_1_entry()
Dfilex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c353 …tes_set(&ram_disk, "TEST_DIR", FX_DIRECTORY | FX_ARCHIVE | FX_SYSTEM | FX_READ_ONLY | FX_HIDDEN); in ftest_1_entry()
Dfilex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c356 fx_file_attributes_set(&ram_disk, "TEST.TXT", FX_ARCHIVE | FX_READ_ONLY); in ftest_1_entry()
Dfilex_fault_tolerant_enable_3_test.c613 …ttributes_set( &ram_disk, "dev", FX_DIRECTORY | FX_ARCHIVE | FX_SYSTEM | FX_READ_ONLY | FX_HIDDEN); in ftest_0_entry()
621 status = fx_file_attributes_set( &ram_disk, "test.bat", FX_READ_ONLY); in ftest_0_entry()
Dfilextestcontrol.c4410 status = _fxe_file_attributes_set(&media_instance, "TEST.TXT", FX_READ_ONLY); in tx_application_define()
4427 status = _fxe_file_attributes_set(&media_instance, "TEST.TXT", FX_READ_ONLY); in tx_application_define()
4446 status = _fxe_file_attributes_set(&media_instance, "TEST.TXT", FX_READ_ONLY); in tx_application_define()
Dfilex_file_create_delete_test.c226 status += fx_file_attributes_set(&ram_disk, "rootname2", FX_READ_ONLY); in ftest_0_entry()
Dfilex_directory_create_delete_test.c361 status += fx_directory_attributes_set(&ram_disk, "/A0/A1/A00", FX_READ_ONLY); in ftest_0_entry()
/FileX-v6.2.1/common/src/
Dfxe_file_attributes_set.c88 if ((INT)attributes & ~(FX_READ_ONLY | FX_HIDDEN | FX_SYSTEM | FX_ARCHIVE)) in _fxe_file_attributes_set()
Dfxe_directory_attributes_set.c89 if ((INT)attributes & ~(FX_DIRECTORY | FX_READ_ONLY | FX_HIDDEN | FX_SYSTEM | FX_ARCHIVE)) in _fxe_directory_attributes_set()
Dfx_file_delete.c186 if (dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_file_delete()
Dfx_directory_delete.c194 if (dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_directory_delete()
Dfx_file_open.c245 if (file_ptr -> fx_file_dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_file_open()
/FileX-v6.2.1/common/inc/
Dfx_api.h481 #define FX_READ_ONLY 0x01 macro
487 #define FX_LONG_NAME (FX_READ_ONLY | FX_HIDDEN | FX_SYSTEM | FX_VOLUME)