Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DMap.c874 CHAR16 *NewSName; in AddMappingFromMapping() local
877 NewSName = AllocateCopyPool(StrSize(SName) + sizeof(CHAR16), SName); in AddMappingFromMapping()
878 if (NewSName == NULL) { in AddMappingFromMapping()
881 if (NewSName[StrLen(NewSName)-1] != L':') { in AddMappingFromMapping()
882 …StrRetStatus = StrnCatS(NewSName, (StrSize(SName) + sizeof(CHAR16))/sizeof(CHAR16), L":", StrLen(L… in AddMappingFromMapping()
884 FreePool(NewSName); in AddMappingFromMapping()
889 if (!IsNumberLetterOnly(NewSName, StrLen(NewSName)-1)) { in AddMappingFromMapping()
890 FreePool(NewSName); in AddMappingFromMapping()
896 FreePool(NewSName); in AddMappingFromMapping()
900 Status = gEfiShellProtocol->SetMap(DevPath, NewSName); in AddMappingFromMapping()
[all …]