Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 26) sorted by relevance

12

/FileX-v6.2.1/test/regression_test/
Dfilex_directory_long_short_get_test.c30 static CHAR name[50]; variable
160 status = fx_directory_short_name_get(FX_NULL, "subdir", name); in ftest_0_entry()
167 status = fx_directory_short_name_get_extended(FX_NULL, "subdir", name, 1); in ftest_0_entry()
184 status = fx_directory_short_name_get(&ram_disk, "subdir", name); in ftest_0_entry()
185 status += fx_directory_long_name_get(&ram_disk, name, name); in ftest_0_entry()
188 if ((status != FX_SUCCESS) || (strcmp(name, "subdir"))) in ftest_0_entry()
197 memcpy(name, "ORIGINALSTRING", 15); in ftest_0_entry()
200 status = fx_directory_short_name_get_extended(&ram_disk, "subdir", name, 2); in ftest_0_entry()
203 if ((status != FX_BUFFER_ERROR) || (memcmp(name, "S\0IGINALSTRING\0", 15))) in ftest_0_entry()
212 status = fx_directory_long_name_get(&ram_disk, "NAME", name); in ftest_0_entry()
[all …]
Dfilex_directory_create_delete_test.c31 static CHAR name[FX_MAX_LONG_NAME_LEN+50]; variable
479 name[i] = 'a'; in ftest_0_entry()
481 name[FX_MAX_LONG_NAME_LEN + 1] = 0; in ftest_0_entry()
484 status = fx_directory_create(&ram_disk, name); in ftest_0_entry()
701 name[0] = 'n'; in ftest_0_entry()
702 name[1] = 'a'; in ftest_0_entry()
703 name[2] = 'm'; in ftest_0_entry()
704 name[3] = 'e'; in ftest_0_entry()
705 name[4] = '\''; in ftest_0_entry()
706 name[5] = ')'; in ftest_0_entry()
[all …]
Dfilex_directory_first_next_find_test.c30 static CHAR name[256]; variable
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()
369 status = fx_directory_next_entry_find(FX_NULL, name); in ftest_0_entry()
378 status = fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
379 if (strcmp(name, "RootFile01")) in ftest_0_entry()
381 status += fx_directory_next_entry_find(&ram_disk, name); in ftest_0_entry()
382 if (strcmp(name, "RootFile02")) in ftest_0_entry()
384 status += fx_directory_next_entry_find(&ram_disk, name); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_directory_create_redo_log_interrupt_test.c541 CHAR name[300]; in traverse_directory() local
558 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
565 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
569 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
576 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
584 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
595 traverse_directory(name); in traverse_directory()
601 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
612 CHAR name[300]; in traverse_directory() local
615 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_long_directory_rename_io_error_test.c400 CHAR name[300]; in traverse_directory() local
417 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
424 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
428 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
435 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
443 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
454 traverse_directory(name); in traverse_directory()
460 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
471 CHAR name[300]; in traverse_directory() local
474 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_long_directory_create_redo_log_interrupt_test.c474 CHAR name[300]; in traverse_directory() local
491 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
498 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
502 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
509 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
517 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
528 traverse_directory(name); in traverse_directory()
534 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
544 CHAR name[300]; in traverse_directory() local
547 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_long_directory_create_directory_interrupt_test.c477 CHAR name[300]; in traverse_directory() local
494 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
501 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
505 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
512 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
520 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
531 traverse_directory(name); in traverse_directory()
537 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
546 CHAR name[300]; in traverse_directory() local
549 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_directory_rename_directory_interrupt_test.c536 CHAR name[300]; in traverse_directory() local
553 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
560 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
564 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
571 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
579 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
590 traverse_directory(name); in traverse_directory()
596 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
607 CHAR name[300]; in traverse_directory() local
610 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_directory_rename_redo_log_interrupt_test.c533 CHAR name[300]; in traverse_directory() local
550 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
557 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
561 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
568 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
576 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
587 traverse_directory(name); in traverse_directory()
593 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
604 CHAR name[300]; in traverse_directory() local
607 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_directory_create_directory_interrupt_test.c532 CHAR name[300]; in traverse_directory() local
549 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
556 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
560 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
567 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
575 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
586 traverse_directory(name); in traverse_directory()
592 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
603 CHAR name[300]; in traverse_directory() local
606 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_long_directory_rename_redo_log_interrupt_test.c535 CHAR name[300]; in traverse_directory() local
552 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
559 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
563 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
570 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
578 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
589 traverse_directory(name); in traverse_directory()
595 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
606 CHAR name[300]; in traverse_directory() local
609 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_long_directory_rename_directory_interrupt_test.c555 CHAR name[300]; in traverse_directory() local
572 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
579 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
583 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
590 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
598 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
609 traverse_directory(name); in traverse_directory()
615 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
626 CHAR name[300]; in traverse_directory() local
629 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_directory_delete_directory_interrupt_test.c539 CHAR name[300]; in traverse_directory() local
556 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
563 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
567 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
574 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
582 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
593 traverse_directory(name); in traverse_directory()
599 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
610 CHAR name[300]; in traverse_directory() local
613 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_fault_tolerant_directory_delete_redo_log_interrupt_test.c537 CHAR name[300]; in traverse_directory() local
554 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
561 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
565 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
572 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
580 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
591 traverse_directory(name); in traverse_directory()
597 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
608 CHAR name[300]; in traverse_directory() local
611 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
[all …]
Dfilex_directory_duplicate_entries_test.c31 static CHAR name[256]; variable
202 status = fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
204 return_if_fail( strcmp(name, DIRECTORY_NAME) == 0); in ftest_0_entry()
206 status = fx_directory_next_entry_find(&ram_disk, name); in ftest_0_entry()
208 return_if_fail( strcmp(name, DIRECTORY_NAME) == 0); in ftest_0_entry()
213 status = fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
215 return_if_fail( strcmp(name, DIRECTORY_NAME) == 0); in ftest_0_entry()
217 status = fx_directory_next_entry_find(&ram_disk, name); in ftest_0_entry()
225 status = fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
227 status = fx_directory_next_entry_find(&ram_disk, name); in ftest_0_entry()
[all …]
Dfilex_directory_local_path_test.c651 CHAR name[300]; in traverse_directory() local
668 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
675 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
679 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
686 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
694 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
705 traverse_directory(name); in traverse_directory()
711 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
744 status = fx_directory_name_test(FX_NULL, name); in traverse_directory()
Dfilex_fault_tolerant_unicode_directory_create_directory_interrupt_test.c756 CHAR name[300]; in traverse_directory() local
781 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
788 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
792 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
799 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
807 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
818 traverse_directory(name); in traverse_directory()
826 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
Dfilex_fault_tolerant_unicode_directory_rename_directory_interrupt_test.c990 CHAR name[300]; in traverse_directory() local
1015 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
1022 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
1026 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
1033 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
1041 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
1052 traverse_directory(name); in traverse_directory()
1060 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
Dfilex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_test.c940 CHAR name[300]; in traverse_directory() local
965 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
972 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
976 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
983 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
991 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
1002 traverse_directory(name); in traverse_directory()
1010 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
Dfilex_fault_tolerant_unicode_directory_create_redo_log_interrupt_test.c1001 CHAR name[300]; in traverse_directory() local
1026 status = fx_directory_first_entry_find(&ram_disk, name); in traverse_directory()
1033 if (strcmp(name, expected_name[expected_index++])) in traverse_directory()
1037 status = fx_directory_name_test(&ram_disk, name); in traverse_directory()
1044 status = fx_file_open(&ram_disk, &file, name, FX_OPEN_FOR_READ); in traverse_directory()
1052 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
1063 traverse_directory(name); in traverse_directory()
1071 status = fx_directory_next_entry_find(&ram_disk, name); in traverse_directory()
Dfilex_directory_default_path_get_set_test.c22 static CHAR name[256]; variable
704 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
805 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
806 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
807 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
830 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
1011 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
1112 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
1113 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
1114 status += fx_directory_first_entry_find(&ram_disk, name); in ftest_0_entry()
[all …]
/FileX-v6.2.1/common/src/
Dfx_directory_search.c115 CHAR *name, alpha, name_alpha; in _fx_directory_search() local
129 name = media_ptr -> fx_media_name_buffer; in _fx_directory_search()
506 name_ptr = _fx_directory_name_extract(name_ptr, name); in _fx_directory_search()
644 work_ptr = &name[0]; in _fx_directory_search()
702 work_ptr = &name[0]; in _fx_directory_search()
/FileX-v6.2.1/docs/
Drevision_history.txt59 … fx_directory_rename.c Skipped directory name exceeded maximum length.
69 … fx_directory_create.c Skipped directory name exceeded maximum length.
84 … fx_media_volume_get.c Supported space characters in volume name.
85 Read volume name from boot sector if it
90 …_directory_entry_write.c Fixed a bug that lower case name used for short name.
151 …_entry_write.c Modified logic to better handle short name processing, correct…
158 …fx_fault_tolerant.h Corrected the variable name in FX_FAULT_TOLERANT_T…
182 fx_unicode_directory_create.c Optimized the logic to get short name.
187 …irectory_rename.c Fixed bugs to rename to existing directory name and to continue
189 Optimized the logic to get short name.
[all …]
/FileX-v6.2.1/.github/ISSUE_TEMPLATE/
Dfeature_request.md2 name: Feature request
Dhardware-or-architecture-support.md2 name: Hardware or architecture support

12