Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 23 of 23) sorted by relevance

/FileX-v6.4.1/test/regression_test/
Dfilex_directory_attributes_read_set_test.c87 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 …]
Dfilex_file_attributes_read_set_test.c97 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 …]
Dfilex_directory_first_next_find_test.c89 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 …]
Dfilex_fault_tolerant_file_attributes_set_directory_interrupt_test.c131 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()
Dfilex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c131 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()
Dfilex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c128 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()
Dfilex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c128 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()
Dfilex_file_date_time_set_test.c94 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()
Dfilextestcontrol.c474 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 …]
Dfilex_directory_create_delete_test.c169 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/
Dfxe_file_attributes_set.c75 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()
Dfxe_directory_attributes_set.c76 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()
Dfxe_directory_information_get.c84 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()
Dfx_directory_attributes_set.c88 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()
Dfx_file_attributes_set.c88 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()
Dfxe_directory_next_full_entry_find.c84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_next_full_entry_find() argument
102attributes, size, year, month, day, hour, minute, second); in _fxe_directory_next_full_entry_find()
Dfxe_directory_first_full_entry_find.c84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_first_full_entry_find() argument
102attributes, size, year, month, day, hour, minute, second); in _fxe_directory_first_full_entry_find()
Dfx_directory_information_get.c88 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()
Dfx_directory_first_full_entry_find.c87 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()
Dfx_directory_next_full_entry_find.c92 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/
Dfx_directory.h56 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,
Dfx_file.h63 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);
Dfx_api.h1389 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);