Home | History | Annotate | Download | only in Shell

Lines Matching refs:FileList

1842   @param FileList               The file list to free. Type EFI_SHELL_FILE_INFO is

1846 @retval EFI_INVALID_PARAMETER FileList was NULL or *FileList was NULL;
1851 IN EFI_SHELL_FILE_INFO **FileList
1856 if (FileList == NULL || *FileList == NULL) {
1860 for ( ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetFirstNode(&(*FileList)->Link)
1861 ; !IsListEmpty(&(*FileList)->Link)
1862 ; ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetFirstNode(&(*FileList)->Link)
1867 InternalFreeShellFileInfoNode(*FileList);
1868 *FileList = NULL;
1877 @param FileList A pointer to the first entry in the file list.
1880 @retval EFI_INVALID_PARAMETER FileList was NULL or *FileList was NULL;
1885 IN EFI_SHELL_FILE_INFO **FileList
1892 if (FileList == NULL || *FileList == NULL) {
1895 for ( ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetFirstNode(&(*FileList)->Link)
1896 ; !IsNull(&(*FileList)->Link, &ShellFileListItem->Link)
1897 ; ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetNextNode(&(*FileList)->Link, &ShellFileListItem->Link)
1899 for ( ShellFileListItem2 = (EFI_SHELL_FILE_INFO*)GetNextNode(&(*FileList)->Link, &ShellFileListItem->Link)
1900 ; !IsNull(&(*FileList)->Link, &ShellFileListItem2->Link)
1901 ; ShellFileListItem2 = (EFI_SHELL_FILE_INFO*)GetNextNode(&(*FileList)->Link, &ShellFileListItem2->Link)
1909 &(*FileList)->Link,
2073 @param FileList On return, points to the list of files in the directory
2087 OUT EFI_SHELL_FILE_INFO **FileList
2168 *FileList = NULL;
2170 *FileList = ShellFileList;
2310 on its last node), then add a EFI_SHELL_FILE_INFO object for this file to fileList.
2313 FreeFileList with FileList.
2318 @param[in, out] FileList pointer to pointer to list of found files.
2322 @retval EFI_SUCCESS all files were found and the FileList contains a list.
2331 IN OUT EFI_SHELL_FILE_INFO **FileList,
2349 || FileList == NULL
2400 if (*FileList == NULL) {
2401 *FileList = AllocateZeroPool(sizeof(EFI_SHELL_FILE_INFO));
2402 InitializeListHead(&((*FileList)->Link));
2408 InsertTailList(&(*FileList)->Link, &NewShellNode->Link);
2463 Status = ShellSearchHandle(NextFilePatternStart, UnicodeCollation, ShellInfoNode->Handle, FileList, ShellInfoNode, MapName);
2479 if (*FileList == NULL) {
2480 *FileList = AllocateZeroPool(sizeof(EFI_SHELL_FILE_INFO));
2481 InitializeListHead(&((*FileList)->Link));
2487 InsertTailList(&(*FileList)->Link, &NewShellNode->Link);
2502 if (*FileList == NULL || (*FileList != NULL && IsListEmpty(&(*FileList)->Link))) {
2515 information is placed in the file list FileList.
2523 if *FileList is not NULL then it must be a pre-existing and properly initialized list.
2526 @param FileList On return, points to the start of a file list containing the names
2530 @retval EFI_SUCCESS Files found. FileList is a valid list.
2540 OUT EFI_SHELL_FILE_INFO **FileList
2552 || FileList == NULL
2586 Status = ShellSearchHandle(PatternCurrentLocation, gUnicodeCollation, RootFileHandle, FileList, NULL, MapName);
2609 @param FileList Points to the start of a list of files opened.
2619 IN OUT EFI_SHELL_FILE_INFO **FileList
2634 if (FileList == NULL || *FileList == NULL) {
2666 Status = EfiShellFindFiles(Path2, FileList);
2678 for ( ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetFirstNode(&(*FileList)->Link)
2679 ; !IsNull(&(*FileList)->Link, &ShellFileListItem->Link)
2680 ; ShellFileListItem = (EFI_SHELL_FILE_INFO*)GetNextNode(&(*FileList)->Link, &ShellFileListItem->Link)