Searched refs:NewFileInfo (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel2CommandsLib/
H A DMv.c258 EFI_FILE_INFO *NewFileInfo; local
328 NewFileInfo = AllocateZeroPool(NewSize);
329 if (NewFileInfo == NULL) {
333 CopyMem(NewFileInfo, Node->Info, SIZE_OF_EFI_FILE_INFO);
335 StrCpy(NewFileInfo->FileName, L"\\");
336 StrCat(NewFileInfo->FileName, DestPath);
338 StrCpy(NewFileInfo->FileName, DestPath);
340 Length = StrLen(NewFileInfo->FileName);
344 if (NewFileInfo->FileName[Length] == L'\\') {
349 NewFileInfo
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/Devices/UefiShell/
H A DdaShell.c639 EFI_FILE_INFO *NewFileInfo; local
651 NewFileInfo = malloc(sizeof(EFI_FILE_INFO) + PATH_MAX);
652 if(NewFileInfo != NULL) {
656 memcpy(NewFileInfo, OldFileInfo, sizeof(EFI_FILE_INFO));
664 wcsncpy(NewFileInfo->FileName, NewFn, wcslen(NewFn) + 1);
666 NewFileInfo->Size = sizeof(EFI_FILE_INFO) + StrSize(NewFn);
668 Status = ShellSetFileInfo(FileHandle, NewFileInfo);
670 free(NewFileInfo);
679 free(NewFileInfo);
684 free(NewFileInfo);
[all...]

Completed in 174 milliseconds