Home
last modified time | relevance | path

Searched refs:work_ptr (Results 1 – 9 of 9) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_directory_entry_write.c87 UCHAR *work_ptr, *sector_base_ptr; in _fx_directory_entry_write() local
175 work_ptr = sector_base_ptr + (UINT)entry_ptr -> fx_dir_entry_byte_offset; in _fx_directory_entry_write()
179 changed_ptr = work_ptr; in _fx_directory_entry_write()
523 work_ptr[0] = (UCHAR)(0x40 | card); in _fx_directory_entry_write()
536 work_ptr[0] = (UCHAR)FX_DIR_ENTRY_FREE; in _fx_directory_entry_write()
540 work_ptr[11] = FX_LONG_NAME; in _fx_directory_entry_write()
541 work_ptr[12] = 0; in _fx_directory_entry_write()
542 work_ptr[13] = checksum; in _fx_directory_entry_write()
543 work_ptr[26] = 0; in _fx_directory_entry_write()
544 work_ptr[27] = 0; in _fx_directory_entry_write()
[all …]
Dfx_unicode_directory_entry_change.c83 UCHAR *work_ptr, *sector_base_ptr; in _fx_unicode_directory_entry_change() local
144 work_ptr = sector_base_ptr + (UINT)entry_ptr -> fx_dir_entry_byte_offset; in _fx_unicode_directory_entry_change()
151 changed_ptr = work_ptr; in _fx_unicode_directory_entry_change()
157 if ((0x40 & (*work_ptr))) in _fx_unicode_directory_entry_change()
161 card = (*work_ptr & (UCHAR)0x1f); in _fx_unicode_directory_entry_change()
191 work_ptr[i] = eof_marker; in _fx_unicode_directory_entry_change()
192 work_ptr[i + 1] = eof_marker; in _fx_unicode_directory_entry_change()
197 work_ptr[i] = unicode_name[k]; in _fx_unicode_directory_entry_change()
198 work_ptr[i + 1] = unicode_name[k + 1]; in _fx_unicode_directory_entry_change()
204 work_ptr[i] = 0; in _fx_unicode_directory_entry_change()
[all …]
Dfx_media_volume_set.c83 UCHAR *work_ptr; in _fx_media_volume_set() local
346 work_ptr = media_ptr -> fx_media_memory_buffer + in _fx_media_volume_set()
372 work_ptr[i] = (UCHAR)alpha; in _fx_media_volume_set()
378 work_ptr[i] = 0x20; in _fx_media_volume_set()
382 work_ptr[11] = FX_VOLUME | FX_ARCHIVE; in _fx_media_volume_set()
387 work_ptr[20] = 0; in _fx_media_volume_set()
388 work_ptr[21] = 0; in _fx_media_volume_set()
391 work_ptr[26] = 0; in _fx_media_volume_set()
392 work_ptr[27] = 0; in _fx_media_volume_set()
395 work_ptr[28] = 0; in _fx_media_volume_set()
[all …]
Dfx_directory_create.c105 CHAR *work_ptr; in _fx_directory_create() local
124 work_ptr = (CHAR *)directory_name; in _fx_directory_create()
125 while (*work_ptr && (i < FX_MAX_LONG_NAME_LEN)) in _fx_directory_create()
129 if ((*work_ptr == '\\') || (*work_ptr == '/')) in _fx_directory_create()
135 else if ((*work_ptr != ' ') || (i != 0)) in _fx_directory_create()
143 work_ptr++; in _fx_directory_create()
203 …tatus = _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()
342 _fx_directory_name_extract(work_ptr, &dir_entry.fx_dir_entry_name[0]); in _fx_directory_create()
407 work_ptr = (CHAR *)media_ptr -> fx_media_memory_buffer; in _fx_directory_create()
[all …]
Dfx_directory_rename.c100 CHAR *work_ptr; in _fx_directory_rename() local
126 work_ptr = (CHAR *)new_directory_name; in _fx_directory_rename()
127 while (*work_ptr && (i < FX_MAX_LONG_NAME_LEN)) in _fx_directory_rename()
131 if ((*work_ptr == '\\') || (*work_ptr == '/')) in _fx_directory_rename()
137 else if ((*work_ptr != ' ') || (i != 0)) in _fx_directory_rename()
145 work_ptr++; in _fx_directory_rename()
232 work_ptr = (CHAR *)media_ptr -> fx_media_rename_buffer; in _fx_directory_rename()
241 *work_ptr++ = old_directory_name[i]; in _fx_directory_rename()
261 work_ptr = (CHAR *)&(media_ptr -> fx_media_rename_buffer[j]); in _fx_directory_rename()
269 *work_ptr++ = new_directory_name[i]; in _fx_directory_rename()
[all …]
Dfx_file_create.c100 CHAR *work_ptr; in _fx_file_create() local
114 work_ptr = (CHAR *)file_name; in _fx_file_create()
115 while (*work_ptr) in _fx_file_create()
119 if ((*work_ptr == '\\') || (*work_ptr == '/')) in _fx_file_create()
125 else if ((*work_ptr != ' ') || (i != 0)) in _fx_file_create()
133 work_ptr++; in _fx_file_create()
Dfx_file_rename.c94 CHAR *work_ptr; in _fx_file_rename() local
130 work_ptr = (CHAR *)new_file_name; in _fx_file_rename()
131 while (*work_ptr) in _fx_file_rename()
135 if ((*work_ptr == '\\') || (*work_ptr == '/')) in _fx_file_rename()
141 else if ((*work_ptr != ' ') || (i != 0)) in _fx_file_rename()
149 work_ptr++; in _fx_file_rename()
238 work_ptr = (CHAR *)media_ptr -> fx_media_rename_buffer; in _fx_file_rename()
247 *work_ptr++ = old_file_name[i]; in _fx_file_rename()
267 work_ptr = (CHAR *)&(media_ptr -> fx_media_rename_buffer[j]); in _fx_file_rename()
275 *work_ptr++ = new_file_name[i]; in _fx_file_rename()
[all …]
Dfx_directory_search.c110 CHAR *work_ptr; in _fx_directory_search() local
644 work_ptr = &name[0]; in _fx_directory_search()
655 name_alpha = *work_ptr; in _fx_directory_search()
682 work_ptr++; in _fx_directory_search()
688 if ((*dir_name_ptr == 0) && (*work_ptr == *dir_name_ptr)) in _fx_directory_search()
702 work_ptr = &name[0]; in _fx_directory_search()
713 name_alpha = *work_ptr; in _fx_directory_search()
733 work_ptr++; in _fx_directory_search()
738 if ((*dir_name_ptr == 0) && (*work_ptr == *dir_name_ptr)) in _fx_directory_search()
Dfx_directory_free_search.c91 UCHAR *work_ptr; in _fx_directory_free_search() local
530 work_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_directory_free_search()
536 *((ULONG *)work_ptr) = (ULONG)0; in _fx_directory_free_search()
539 work_ptr = work_ptr + sizeof(ULONG); in _fx_directory_free_search()