Home
last modified time | relevance | path

Searched refs:dir_entry (Results 1 – 25 of 27) sorted by relevance

12

/FileX-v6.2.1/common/src/
Dfx_directory_information_get.c94 FX_DIR_ENTRY dir_entry; in _fx_directory_information_get() local
106 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_information_get()
109 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_information_get()
126 status = _fx_directory_search(media_ptr, directory_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_information_get()
147 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_directory_information_get()
148 …(search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset) && in _fx_directory_information_get()
154 …_fx_utility_memory_copy((UCHAR *)&search_ptr -> fx_file_dir_entry, (UCHAR *)&dir_entry, sizeof(FX_… in _fx_directory_information_get()
168 *attributes = dir_entry.fx_dir_entry_attributes; in _fx_directory_information_get()
176 *size = (ULONG)dir_entry.fx_dir_entry_file_size; in _fx_directory_information_get()
184 *year = ((dir_entry.fx_dir_entry_date >> FX_YEAR_SHIFT) & FX_YEAR_MASK) + in _fx_directory_information_get()
[all …]
Dfx_file_create.c101 FX_DIR_ENTRY dir_entry; in _fx_file_create() local
145 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_file_create()
151 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_create()
189 status = _fx_directory_search(media_ptr, file_name, &dir_entry, &search_directory, &name_ptr); in _fx_file_create()
207 if (_fx_directory_name_extract(name_ptr, &dir_entry.fx_dir_entry_name[0])) in _fx_file_create()
224 status = _fx_directory_free_search(media_ptr, &search_directory, &dir_entry); in _fx_file_create()
244 _fx_directory_name_extract(name_ptr, &dir_entry.fx_dir_entry_name[0]); in _fx_file_create()
250 dir_entry.fx_dir_entry_time = _fx_system_time; in _fx_file_create()
251 dir_entry.fx_dir_entry_date = _fx_system_date; in _fx_file_create()
257 dir_entry.fx_dir_entry_attributes = FX_ARCHIVE; in _fx_file_create()
[all …]
Dfx_directory_short_name_get_extended.c80 FX_DIR_ENTRY dir_entry; in _fx_directory_short_name_get_extended() local
84 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_short_name_get_extended()
87 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_short_name_get_extended()
96 status = _fx_directory_search(media_ptr, long_file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_short_name_get_extended()
110 if (dir_entry.fx_dir_entry_short_name[0]) in _fx_directory_short_name_get_extended()
115 …while ((i < (FX_MAX_SHORT_NAME_LEN - 1)) && (dir_entry.fx_dir_entry_short_name[i]) && (i < (short_… in _fx_directory_short_name_get_extended()
119 short_file_name[i] = dir_entry.fx_dir_entry_short_name[i]; in _fx_directory_short_name_get_extended()
129 if ((i == (short_file_name_length - 1)) && (dir_entry.fx_dir_entry_short_name[i])) in _fx_directory_short_name_get_extended()
141 …while ((i < (FX_MAX_SHORT_NAME_LEN - 1)) && (dir_entry.fx_dir_entry_name[i]) && (i < (short_file_n… in _fx_directory_short_name_get_extended()
145 short_file_name[i] = dir_entry.fx_dir_entry_name[i]; in _fx_directory_short_name_get_extended()
[all …]
Dfx_directory_default_set.c87 FX_DIR_ENTRY dir_entry; in _fx_directory_default_set() local
102 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_default_set()
105 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_default_set()
108 dir_entry.fx_dir_entry_name[0] = (CHAR)0; in _fx_directory_default_set()
141 status = _fx_directory_search(media_ptr, new_path_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_default_set()
145 if ((status != FX_SUCCESS) || (!(dir_entry.fx_dir_entry_attributes & FX_DIRECTORY))) in _fx_directory_default_set()
210 if (!dir_entry.fx_dir_entry_cluster) in _fx_directory_default_set()
216 dir_entry.fx_dir_entry_name[0] = (CHAR) 0; in _fx_directory_default_set()
227 path_ptr -> fx_path_directory = dir_entry; in _fx_directory_default_set()
230 for (i = 0; dir_entry.fx_dir_entry_name[i]; i++) in _fx_directory_default_set()
[all …]
Dfx_file_attributes_set.c94 FX_DIR_ENTRY dir_entry; in _fx_file_attributes_set() local
105 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_file_attributes_set()
108 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_attributes_set()
137 status = _fx_directory_search(media_ptr, file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_file_attributes_set()
151 if (dir_entry.fx_dir_entry_attributes & not_a_file_attr) in _fx_file_attributes_set()
169 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_file_attributes_set()
170 … (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset)) in _fx_file_attributes_set()
186 dir_entry.fx_dir_entry_attributes = (UCHAR)attributes; in _fx_file_attributes_set()
194 status = _fx_directory_entry_write(media_ptr, &dir_entry); in _fx_file_attributes_set()
Dfx_directory_attributes_read.c84 FX_DIR_ENTRY dir_entry; in _fx_directory_attributes_read() local
99 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_attributes_read()
102 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_attributes_read()
119 status = _fx_directory_search(media_ptr, directory_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_attributes_read()
133 if ((dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_DIRECTORY)) == 0) in _fx_directory_attributes_read()
144 *attributes_ptr = (UINT)dir_entry.fx_dir_entry_attributes; in _fx_directory_attributes_read()
147 …trace_event, trace_timestamp, FX_TRACE_DIRECTORY_ATTRIBUTES_READ, 0, 0, dir_entry.fx_dir_entry_att… in _fx_directory_attributes_read()
Dfx_directory_long_name_get_extended.c80 FX_DIR_ENTRY dir_entry; in _fx_directory_long_name_get_extended() local
84 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_long_name_get_extended()
87 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_long_name_get_extended()
96 status = _fx_directory_search(media_ptr, short_file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_long_name_get_extended()
111 …while ((i < (FX_MAX_LONG_NAME_LEN - 1)) && (dir_entry.fx_dir_entry_name[i]) && (i < (long_file_nam… in _fx_directory_long_name_get_extended()
115 long_file_name[i] = dir_entry.fx_dir_entry_name[i]; in _fx_directory_long_name_get_extended()
125 if ((i == (long_file_name_buffer_length - 1)) && (dir_entry.fx_dir_entry_name[i])) in _fx_directory_long_name_get_extended()
Dfx_directory_local_path_set.c94 FX_DIR_ENTRY dir_entry; in _fx_directory_local_path_set() local
104 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_local_path_set()
110 dir_entry.fx_dir_entry_short_name[0] = (CHAR)0; in _fx_directory_local_path_set()
113 dir_entry.fx_dir_entry_name[0] = (CHAR)0; in _fx_directory_local_path_set()
153 status = _fx_directory_search(media_ptr, new_path_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_local_path_set()
157 if ((status != FX_SUCCESS) || (!(dir_entry.fx_dir_entry_attributes & FX_DIRECTORY))) in _fx_directory_local_path_set()
264 if (!dir_entry.fx_dir_entry_cluster) in _fx_directory_local_path_set()
267 dir_entry.fx_dir_entry_name[0] = (CHAR)0; in _fx_directory_local_path_set()
278 path_ptr -> fx_path_directory = dir_entry; in _fx_directory_local_path_set()
288 … local_path_ptr -> fx_path_directory.fx_dir_entry_name[j] = dir_entry.fx_dir_entry_name[j]; in _fx_directory_local_path_set()
[all …]
Dfx_file_attributes_read.c83 FX_DIR_ENTRY dir_entry; in _fx_file_attributes_read() local
99 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_file_attributes_read()
102 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_attributes_read()
121 status = _fx_directory_search(media_ptr, file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_file_attributes_read()
135 if (dir_entry.fx_dir_entry_attributes & not_a_file_attr) in _fx_file_attributes_read()
146 *attributes_ptr = (UINT)dir_entry.fx_dir_entry_attributes; in _fx_file_attributes_read()
149 …DATE(trace_event, trace_timestamp, FX_TRACE_FILE_ATTRIBUTES_READ, 0, 0, dir_entry.fx_dir_entry_att… in _fx_file_attributes_read()
Dfx_file_date_time_set.c86 FX_DIR_ENTRY dir_entry; in _fx_file_date_time_set() local
90 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_file_date_time_set()
93 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_date_time_set()
110 status = _fx_directory_search(media_ptr, file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_file_date_time_set()
124dir_entry.fx_dir_entry_time = (hour << FX_HOUR_SHIFT) | (minute << FX_MINUTE_SHIFT) | (second / 2… in _fx_file_date_time_set()
125dir_entry.fx_dir_entry_date = ((year - FX_BASE_YEAR) << FX_YEAR_SHIFT) | (month << FX_MONTH_SHIFT… in _fx_file_date_time_set()
128 status = _fx_directory_entry_write(media_ptr, &dir_entry); in _fx_file_date_time_set()
Dfx_directory_attributes_set.c92 FX_DIR_ENTRY dir_entry; in _fx_directory_attributes_set() local
101 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_attributes_set()
104 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_attributes_set()
132 status = _fx_directory_search(media_ptr, directory_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_attributes_set()
146 if ((dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_DIRECTORY)) == 0) in _fx_directory_attributes_set()
158 dir_entry.fx_dir_entry_attributes = (UCHAR)(attributes | FX_DIRECTORY); in _fx_directory_attributes_set()
167 status = _fx_directory_entry_write(media_ptr, &dir_entry); in _fx_directory_attributes_set()
Dfx_file_delete.c101 FX_DIR_ENTRY dir_entry; in _fx_file_delete() local
111 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_file_delete()
114 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_delete()
151 status = _fx_directory_search(media_ptr, file_name, &dir_entry, FX_NULL, FX_NULL); in _fx_file_delete()
171 if (dir_entry.fx_dir_entry_attributes & not_a_file_attr) in _fx_file_delete()
186 if (dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_file_delete()
207 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_file_delete()
208 … (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset)) in _fx_file_delete()
228 cluster = dir_entry.fx_dir_entry_cluster; in _fx_file_delete()
240 dir_entry.fx_dir_entry_name[0] = (CHAR)FX_DIR_ENTRY_FREE; in _fx_file_delete()
[all …]
Dfx_unicode_file_create.c90 FX_DIR_ENTRY dir_entry; in _fx_unicode_file_create() local
97 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_file_create()
100 dir_entry.fx_dir_entry_short_name[0] = FX_NULL; in _fx_unicode_file_create()
146 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, destination_shortname, sizeof(destin… in _fx_unicode_file_create()
213 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_file_create()
216 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_unicode_file_create()
219 …status = _fx_directory_search(media_ptr, (CHAR *)_fx_unicode_temp_long_file_name, &dir_entry, FX_… in _fx_unicode_file_create()
236 …status = _fx_unicode_directory_entry_change(media_ptr, &dir_entry, source_unicode_name, source_u… in _fx_unicode_file_create()
248 short_name[i] = dir_entry.fx_dir_entry_short_name[i]; in _fx_unicode_file_create()
Dfx_unicode_directory_create.c89 FX_DIR_ENTRY dir_entry; in _fx_unicode_directory_create() local
96 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_directory_create()
99 dir_entry.fx_dir_entry_short_name[0] = FX_NULL; in _fx_unicode_directory_create()
145 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, destination_shortname, sizeof(destin… in _fx_unicode_directory_create()
212 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_directory_create()
215 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_unicode_directory_create()
218 …status = _fx_directory_search(media_ptr, (CHAR *)_fx_unicode_temp_long_file_name, &dir_entry, FX_… in _fx_unicode_directory_create()
235 …status = _fx_unicode_directory_entry_change(media_ptr, &dir_entry, source_unicode_name, source_u… in _fx_unicode_directory_create()
247 short_name[i] = dir_entry.fx_dir_entry_short_name[i]; in _fx_unicode_directory_create()
Dfx_directory_name_test.c82 FX_DIR_ENTRY dir_entry; in _fx_directory_name_test() local
92 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_name_test()
95 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_name_test()
112 status = _fx_directory_search(media_ptr, directory_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_name_test()
126 if (!(dir_entry.fx_dir_entry_attributes & (UCHAR)FX_DIRECTORY)) in _fx_directory_name_test()
Dfx_directory_create.c108 FX_DIR_ENTRY dir_entry; in _fx_directory_create() local
155 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_create()
161 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_create()
203 …status = _fx_directory_search(media_ptr, directory_name, &dir_entry, &search_directory, &work_ptr… in _fx_directory_create()
217 if (_fx_directory_name_extract(work_ptr, &dir_entry.fx_dir_entry_name[0])) in _fx_directory_create()
235 status = _fx_directory_free_search(media_ptr, &search_directory, &dir_entry); in _fx_directory_create()
342 _fx_directory_name_extract(work_ptr, &dir_entry.fx_dir_entry_name[0]); in _fx_directory_create()
348 dir_entry.fx_dir_entry_time = _fx_system_time; in _fx_directory_create()
349 dir_entry.fx_dir_entry_date = _fx_system_date; in _fx_directory_create()
355 dir_entry.fx_dir_entry_attributes = FX_DIRECTORY; in _fx_directory_create()
[all …]
Dfx_unicode_file_rename.c99 FX_DIR_ENTRY dir_entry; in _fx_unicode_file_rename() local
133 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_file_rename()
136 dir_entry.fx_dir_entry_short_name[0] = FX_NULL; in _fx_unicode_file_rename()
139 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, (UCHAR *)new_shortname, sizeof(new_sh… in _fx_unicode_file_rename()
274 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_file_rename()
277 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_unicode_file_rename()
280 …status = _fx_directory_search(media_ptr, (CHAR *)_fx_unicode_temp_long_file_name, &dir_entry, FX_… in _fx_unicode_file_rename()
297 …status = _fx_unicode_directory_entry_change(media_ptr, &dir_entry, new_unicode_name, new_unicode… in _fx_unicode_file_rename()
309 new_short_name[i] = dir_entry.fx_dir_entry_short_name[i]; in _fx_unicode_file_rename()
Dfx_unicode_directory_rename.c92 FX_DIR_ENTRY dir_entry; in _fx_unicode_directory_rename() local
134 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_directory_rename()
137 dir_entry.fx_dir_entry_short_name[0] = FX_NULL; in _fx_unicode_directory_rename()
140 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, (UCHAR *)new_dir_short_name, sizeof(… in _fx_unicode_directory_rename()
273 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_directory_rename()
276 dir_entry.fx_dir_entry_short_name[0] = FX_NULL; in _fx_unicode_directory_rename()
279 …status = _fx_directory_search(media_ptr, (CHAR *)_fx_unicode_temp_long_file_name, &dir_entry, FX_… in _fx_unicode_directory_rename()
297 …status = _fx_unicode_directory_entry_change(media_ptr, &dir_entry, new_unicode_name, new_unicode_l… in _fx_unicode_directory_rename()
309 new_short_name[i] = dir_entry.fx_dir_entry_short_name[i]; in _fx_unicode_directory_rename()
Dfx_directory_delete.c100 FX_DIR_ENTRY dir_entry; in _fx_directory_delete() local
113 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_directory_delete()
122 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_directory_delete()
161 status = _fx_directory_search(media_ptr, directory_name, &dir_entry, FX_NULL, FX_NULL); in _fx_directory_delete()
179 if (!(dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_DIRECTORY))) in _fx_directory_delete()
194 if (dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_directory_delete()
209 search_directory = dir_entry; in _fx_directory_delete()
327 dir_entry.fx_dir_entry_name[0] = (CHAR)FX_DIR_ENTRY_FREE; in _fx_directory_delete()
328 dir_entry.fx_dir_entry_short_name[0] = (CHAR)FX_DIR_ENTRY_FREE; in _fx_directory_delete()
331 status = _fx_directory_entry_write(media_ptr, &dir_entry); in _fx_directory_delete()
Dfx_media_volume_get_extended.c91 FX_DIR_ENTRY dir_entry; in _fx_media_volume_get_extended() local
119 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer; in _fx_media_volume_get_extended()
122 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_media_volume_get_extended()
130 status = _fx_directory_entry_read(media_ptr, FX_NULL, &i, &dir_entry); in _fx_media_volume_get_extended()
144 …if ((dir_entry.fx_dir_entry_attributes & FX_VOLUME) && ((UCHAR)dir_entry.fx_dir_entry_name[0] != (… in _fx_media_volume_get_extended()
160 … status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) dir_entry.fx_dir_entry_log_sector, in _fx_media_volume_get_extended()
175 offset = dir_entry.fx_dir_entry_byte_offset; in _fx_media_volume_get_extended()
Dfx_unicode_short_name_get_extended.c81 FX_DIR_ENTRY dir_entry; in _fx_unicode_short_name_get_extended() local
85 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_short_name_get_extended()
88 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_unicode_short_name_get_extended()
112 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, (UCHAR *)destination_short_name, sho… in _fx_unicode_short_name_get_extended()
Dfx_media_volume_set.c81 FX_DIR_ENTRY dir_entry, dir_entry1; in _fx_media_volume_set() local
95 dir_entry.fx_dir_entry_log_sector = 0; in _fx_media_volume_set()
96 dir_entry.fx_dir_entry_byte_offset = 0; in _fx_media_volume_set()
277 dir_entry = dir_entry1; in _fx_media_volume_set()
291 dir_entry = dir_entry1; in _fx_media_volume_set()
301 dir_entry = dir_entry1; in _fx_media_volume_set()
331 … status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) dir_entry.fx_dir_entry_log_sector, in _fx_media_volume_set()
347 (UINT)dir_entry.fx_dir_entry_byte_offset; in _fx_media_volume_set()
401 … status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) dir_entry.fx_dir_entry_log_sector, in _fx_media_volume_set()
Dfx_unicode_name_get_extended.c80 FX_DIR_ENTRY dir_entry; in _fx_unicode_name_get_extended() local
89 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in _fx_unicode_name_get_extended()
92 dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_unicode_name_get_extended()
113 …status = _fx_unicode_directory_search(media_ptr, &dir_entry, (UCHAR *)source_short_name, 0, desti… in _fx_unicode_name_get_extended()
/FileX-v6.2.1/test/regression_test/
Dfilex_directory_duplicate_entries_test.c100 FX_DIR_ENTRY dir_entry; in delete_duplicate_entry() local
107 dir_entry.fx_dir_entry_name = media_ptr -> fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in delete_duplicate_entry()
108 dir_entry.fx_dir_entry_short_name[0] = 0; in delete_duplicate_entry()
109 _fx_directory_search(media_ptr, duplicate_entry_name, &dir_entry, FX_NULL, FX_NULL); in delete_duplicate_entry()
112 dir_entry.fx_dir_entry_name[0] = (CHAR)FX_DIR_ENTRY_FREE; in delete_duplicate_entry()
113 dir_entry.fx_dir_entry_short_name[0] = (CHAR)FX_DIR_ENTRY_FREE; in delete_duplicate_entry()
115 _fx_directory_entry_write(media_ptr, &dir_entry); in delete_duplicate_entry()
127 FX_DIR_ENTRY dir_entry; in ftest_0_entry() local
188 dir_entry.fx_dir_entry_name = ram_disk.fx_media_name_buffer + FX_MAX_LONG_NAME_LEN; in ftest_0_entry()
189 dir_entry.fx_dir_entry_short_name[0] = 0; in ftest_0_entry()
[all …]
Dfilex_directory_naming_test.c516 FX_DIR_ENTRY dir_entry; in ftest_0_entry()
517 dir_entry.fx_dir_entry_name = (char*) malloc(0x100 * sizeof(char)); in ftest_0_entry()
518 dir_entry.fx_dir_entry_name[0] = '.'; in ftest_0_entry()
519 dir_entry.fx_dir_entry_name[1] = '.'; in ftest_0_entry()
520 dir_entry.fx_dir_entry_name[2] = (char)0; in ftest_0_entry()
521 status = _fx_directory_free_search(&ram_disk, &dir_entry, &dir_entry); in ftest_0_entry()
530 dir_entry.fx_dir_entry_name[0] = (char)128; in ftest_0_entry()
531 dir_entry.fx_dir_entry_name[1] = (char)128; in ftest_0_entry()
532 dir_entry.fx_dir_entry_name[2] = (char)0; in ftest_0_entry()
533 status = _fx_directory_free_search(&ram_disk, &dir_entry, &dir_entry); in ftest_0_entry()
[all …]

12