• Home
  • Raw
  • Download

Lines Matching refs:NewSName

874   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()
901 FreePool(NewSName); in AddMappingFromMapping()
930 CHAR16 *NewSName; in AddMappingFromHandle() local
933 NewSName = AllocateCopyPool(StrSize(SName) + sizeof(CHAR16), SName); in AddMappingFromHandle()
934 if (NewSName == NULL) { in AddMappingFromHandle()
937 if (NewSName[StrLen(NewSName)-1] != L':') { in AddMappingFromHandle()
938 …StrRetStatus = StrnCatS(NewSName, (StrSize(SName) + sizeof(CHAR16))/sizeof(CHAR16), L":", StrLen(L… in AddMappingFromHandle()
940 FreePool(NewSName); in AddMappingFromHandle()
945 if (!IsNumberLetterOnly(NewSName, StrLen(NewSName)-1)) { in AddMappingFromHandle()
946 FreePool(NewSName); in AddMappingFromHandle()
959 FreePool(NewSName); in AddMappingFromHandle()
962 Status = gEfiShellProtocol->SetMap(DevPath, NewSName); in AddMappingFromHandle()
963 FreePool(NewSName); in AddMappingFromHandle()