/FileX-v6.4.1/test/regression_test/ |
D | filex_directory_attributes_read_set_test.c | 87 UINT attributes; in ftest_0_entry() local 122 status = fx_directory_attributes_read(FX_NULL, "TEST_DIR", &attributes); in ftest_0_entry() 130 status = fx_directory_attributes_set(FX_NULL, "TEST_DIR", attributes); in ftest_0_entry() 148 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 201 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 204 if ((status != FX_SUCCESS) || (attributes != FX_DIRECTORY)) in ftest_0_entry() 213 status = fx_directory_attributes_set(&ram_disk, "TEST_DIR", attributes); in ftest_0_entry() 222 status = fx_directory_attributes_read(&ram_disk, "NOT_A_DIR", &attributes); in ftest_0_entry() 230 status = fx_directory_attributes_read(&ram_disk, "DOES_NOT_EXIST", &attributes); in ftest_0_entry() 238 status = fx_directory_attributes_set(&ram_disk, "NOT_A_DIR", attributes); in ftest_0_entry() [all …]
|
D | filex_file_attributes_read_set_test.c | 97 UINT attributes; in ftest_0_entry() local 130 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 168 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 176 status = fx_file_attributes_set(&ram_disk, "TEST.TXT", attributes); in ftest_0_entry() 185 status += fx_file_attributes_read(&ram_disk, "NOT_A_FILE", &attributes); in ftest_0_entry() 251 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 254 if ((status != FX_SUCCESS) || (attributes != FX_ARCHIVE)) 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() 289 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() [all …]
|
D | filex_directory_first_next_find_test.c | 89 UINT attributes; in ftest_0_entry() local 141 status = fx_directory_next_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 158 status = fx_directory_first_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 189 status = fx_directory_first_full_entry_find(FX_NULL, name, &attributes, in ftest_0_entry() 448 status = fx_directory_next_full_entry_find(FX_NULL, name, &attributes, in ftest_0_entry() 458 status = fx_directory_first_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 462 status += fx_directory_next_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 466 status += fx_directory_next_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 470 status += fx_directory_next_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() 474 status += fx_directory_next_full_entry_find(&ram_disk, name, &attributes, in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_file_attributes_set_directory_interrupt_test.c | 131 UINT attributes; in ftest_0_entry() local 243 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 246 if ((status != FX_SUCCESS) || (attributes != FX_ARCHIVE)) in ftest_0_entry() 301 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 304 if ((status != FX_SUCCESS) || (attributes != (FX_ARCHIVE | FX_READ_ONLY))) in ftest_0_entry()
|
D | filex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c | 131 UINT attributes; in ftest_0_entry() local 243 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 246 if ((status != FX_SUCCESS) || (attributes != FX_ARCHIVE)) in ftest_0_entry() 301 status = fx_file_attributes_read(&ram_disk, "TEST.TXT", &attributes); in ftest_0_entry() 304 if ((status != FX_SUCCESS) || (attributes != FX_ARCHIVE )) in ftest_0_entry()
|
D | filex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c | 128 UINT attributes; in ftest_0_entry() local 212 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 215 return_if_fail( (status == FX_SUCCESS) && (attributes == FX_DIRECTORY)); in ftest_0_entry() 250 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 253 …return_if_fail((status == FX_SUCCESS) && (attributes == (FX_ARCHIVE | FX_READ_ONLY | FX_DIRECTORY … in ftest_0_entry()
|
D | filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c | 128 UINT attributes; in ftest_0_entry() local 240 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 243 if ((status != FX_SUCCESS) || (attributes != FX_DIRECTORY)) in ftest_0_entry() 298 status = fx_directory_attributes_read(&ram_disk, "TEST_DIR", &attributes); in ftest_0_entry() 301 if ((status != FX_SUCCESS) || (attributes != FX_DIRECTORY)) in ftest_0_entry()
|
D | filex_file_date_time_set_test.c | 94 UINT attributes; in ftest_0_entry() local 132 status = fx_directory_information_get(&ram_disk, "DOES_NOT_EXIST", &attributes, &size, in ftest_0_entry() 285 status = fx_directory_information_get(&ram_disk, "DOES_NOT_EXIST", &attributes, &size, in ftest_0_entry() 297 status = fx_directory_information_get(&ram_disk, "TEST.TXT", &attributes, &size, in ftest_0_entry() 301 if ((status != FX_SUCCESS) || (attributes != FX_ARCHIVE) || (size != 0) || in ftest_0_entry() 311 status += fx_directory_information_get(&ram_disk, "OPENED_FOR_WRITE.TXT", &attributes, &size, in ftest_0_entry() 313 status += fx_directory_information_get(&ram_disk, "NOT_OPENED.TXT", &attributes, &size, in ftest_0_entry()
|
D | filextestcontrol.c | 474 UINT attributes; in tx_application_define() local 4490 status = _fxe_file_attributes_read(&media_instance, "TEST.TXT", &attributes); in tx_application_define() 4507 status = _fxe_file_attributes_read(&media_instance, "TEST.TXT", &attributes); in tx_application_define() 4526 status = _fxe_file_attributes_read(&media_instance, "TEST.TXT", &attributes); in tx_application_define() 5382 …status = _fxe_directory_information_get(&media_instance, FX_NULL, &attributes, FX_NULL, FX_NULL, … in tx_application_define() 5396 …status = _fxe_directory_information_get(&media_instance, FX_NULL, FX_NULL, (ULONG*)&attributes, F… in tx_application_define() 5410 …directory_information_get(&media_instance, FX_NULL, FX_NULL, FX_NULL, &attributes, FX_NULL, FX_NUL… in tx_application_define() 5424 …_information_get(&media_instance, FX_NULL, FX_NULL, FX_NULL, FX_NULL, &attributes, FX_NULL, FX_NUL… in tx_application_define() 5438 …ion_get(&media_instance, FX_NULL, FX_NULL, FX_NULL, FX_NULL, FX_NULL, &attributes, FX_NULL, FX_NUL… in tx_application_define() 5452 …media_instance, FX_NULL, FX_NULL, FX_NULL, FX_NULL, FX_NULL, FX_NULL, &attributes, FX_NULL, FX_NUL… in tx_application_define() [all …]
|
D | filex_directory_create_delete_test.c | 169 UINT attributes; in ftest_0_entry() local 360 status = fx_directory_attributes_read(&ram_disk, "/A0/A1/A00", &attributes); in ftest_0_entry() 364 status += fx_directory_attributes_set(&ram_disk, "/A0/A1/A00", attributes); in ftest_0_entry()
|
/FileX-v6.4.1/common/src/ |
D | fxe_file_attributes_set.c | 75 UINT _fxe_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes) in _fxe_file_attributes_set() argument 88 if ((INT)attributes & ~(FX_READ_ONLY | FX_HIDDEN | FX_SYSTEM | FX_ARCHIVE)) in _fxe_file_attributes_set() 97 status = _fx_file_attributes_set(media_ptr, file_name, attributes); in _fxe_file_attributes_set()
|
D | fxe_directory_attributes_set.c | 76 UINT _fxe_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes) in _fxe_directory_attributes_set() argument 89 if ((INT)attributes & ~(FX_DIRECTORY | FX_READ_ONLY | FX_HIDDEN | FX_SYSTEM | FX_ARCHIVE)) in _fxe_directory_attributes_set() 98 status = _fx_directory_attributes_set(media_ptr, directory_name, attributes); in _fxe_directory_attributes_set()
|
D | fxe_directory_information_get.c | 84 UINT *attributes, ULONG *size, in _fxe_directory_information_get() argument 94 ((attributes == FX_NULL) && (size == FX_NULL) && (year == FX_NULL) && (month == FX_NULL) && in _fxe_directory_information_get() 104 status = _fx_directory_information_get(media_ptr, directory_name, attributes, size, in _fxe_directory_information_get()
|
D | fx_directory_attributes_set.c | 88 UINT _fx_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes) in _fx_directory_attributes_set() argument 115 …E_INSERT(FX_TRACE_DIRECTORY_ATTRIBUTES_SET, media_ptr, directory_name, attributes, 0, FX_TRACE_DIR… in _fx_directory_attributes_set() 158 dir_entry.fx_dir_entry_attributes = (UCHAR)(attributes | FX_DIRECTORY); in _fx_directory_attributes_set()
|
D | fx_file_attributes_set.c | 88 UINT _fx_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes) in _fx_file_attributes_set() argument 120 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_ATTRIBUTES_SET, media_ptr, file_name, attributes, 0, FX_TRAC… in _fx_file_attributes_set() 186 dir_entry.fx_dir_entry_attributes = (UCHAR)attributes; in _fx_file_attributes_set()
|
D | fxe_directory_next_full_entry_find.c | 84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_next_full_entry_find() argument 102 … attributes, size, year, month, day, hour, minute, second); in _fxe_directory_next_full_entry_find()
|
D | fxe_directory_first_full_entry_find.c | 84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_first_full_entry_find() argument 102 … attributes, size, year, month, day, hour, minute, second); in _fxe_directory_first_full_entry_find()
|
D | fx_directory_information_get.c | 88 UINT *attributes, ULONG *size, in _fx_directory_information_get() argument 164 if (attributes) in _fx_directory_information_get() 168 *attributes = dir_entry.fx_dir_entry_attributes; in _fx_directory_information_get()
|
D | fx_directory_first_full_entry_find.c | 87 CHAR *directory_name, UINT *attributes, ULONG *size, in _fx_directory_first_full_entry_find() argument 139 status = _fx_directory_next_full_entry_find(media_ptr, directory_name, attributes, in _fx_directory_first_full_entry_find()
|
D | fx_directory_next_full_entry_find.c | 92 CHAR *directory_name, UINT *attributes, ULONG *size, in _fx_directory_next_full_entry_find() argument 324 if (attributes) in _fx_directory_next_full_entry_find() 328 *attributes = entry.fx_dir_entry_attributes; in _fx_directory_next_full_entry_find()
|
/FileX-v6.4.1/common/inc/ |
D | fx_directory.h | 56 UINT _fx_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes); 65 …NT _fx_directory_first_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, 67 UINT _fx_directory_information_get(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, ULO… 78 UINT _fx_directory_next_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, 85 UINT _fxe_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes); 92 …T _fxe_directory_first_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, 94 UINT _fxe_directory_information_get(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, UL… 105 …NT _fxe_directory_next_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes,
|
D | fx_file.h | 63 UINT _fx_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes); 99 UINT _fxe_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes);
|
D | fx_api.h | 1389 UINT fx_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes); 1396 UINT fx_directory_first_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, 1398 UINT fx_directory_information_get(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, ULON… 1413 UINT fx_directory_next_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes, 1423 UINT fx_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes);
|