/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/ |
D | Path.c | 52 OUT wchar_t ** NewPath, in ClassifyPath() argument 61 if(NewPath != NULL) { in ClassifyPath() 62 *NewPath = Path; // Setup default condition in ClassifyPath() 87 if(NewPath != NULL) { in ClassifyPath() 88 *NewPath = &Path[MapLen + 1]; // Point to character after then ':'. Might be '\0'. in ClassifyPath() 110 wchar_t *NewPath; in NormalizePath() local 116 NewPath = calloc(Length, sizeof(wchar_t)); in NormalizePath() 117 if(NewPath != NULL) { in NormalizePath() 118 temp = NewPath; in NormalizePath() 133 return NewPath; in NormalizePath() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
D | UefiShellCommandLib.c | 1184 CHAR16 *NewPath; in ShellCommandAddMapItemAndUpdatePath() local 1188 NewPath = NULL; in ShellCommandAddMapItemAndUpdatePath() 1221 ASSERT((NewPath == NULL && NewPathSize == 0) || (NewPath != NULL)); in ShellCommandAddMapItemAndUpdatePath() 1223 StrnCatGrow(&NewPath, &NewPathSize, OriginalPath, 0); in ShellCommandAddMapItemAndUpdatePath() 1224 StrnCatGrow(&NewPath, &NewPathSize, L";", 0); in ShellCommandAddMapItemAndUpdatePath() 1226 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath() 1227 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\tools\\;", 0); in ShellCommandAddMapItemAndUpdatePath() 1228 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath() 1229 StrnCatGrow(&NewPath, &NewPathSize, L"\\efi\\boot\\;", 0); in ShellCommandAddMapItemAndUpdatePath() 1230 StrnCatGrow(&NewPath, &NewPathSize, Name, 0); in ShellCommandAddMapItemAndUpdatePath() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EfiFileLib/ |
D | EfiFileLib.c | 1615 CHAR8 *NewPath; in ExpandPath() local 1632 NewPath = AllocatePool (AllocLen); in ExpandPath() 1633 if (NewPath == NULL) { in ExpandPath() 1636 AsciiStrCpyS (NewPath, AllocLen, Cwd); in ExpandPath() 1647 AsciiStrnCatS (NewPath, AllocLen, Start, Work - Start); in ExpandPath() 1648 StrLen = AsciiStrLen (NewPath); in ExpandPath() 1650 if (NewPath[i] == ':') { in ExpandPath() 1654 if (NewPath[i] == '/' || NewPath[i] == '\\') { in ExpandPath() 1655 if ((i > 0) && (NewPath[i-1] == ':')) { in ExpandPath() 1657 NewPath[i+1] = '\0'; in ExpandPath() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | SysCalls.c | 565 wchar_t *NewPath; in mkdir() local 572 Status = ParsePath(path, &NewPath, &Node, &Instance, NULL); in mkdir() 583 free(NewPath); in mkdir() 662 wchar_t *NewPath; in open() local 673 Status = ParsePath(path, &NewPath, &Node, &Instance, &MPath); in open() 697 doresult = Node->OpenFunc(Node, filp, Instance, NewPath, MPath); in open() 724 free(NewPath); in open()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | InstallPkg.py | 642 def InstallModuleContent(FromPath, NewPath, ModulePath, Module, ContentZipFile, argument 645 if NewPath.startswith("\\") or NewPath.startswith("/"): 646 NewPath = NewPath[1:] 648 if not IsValidInstallPath(NewPath): 649 Logger.Error("UPT", FORMAT_INVALID, ST.ERR_FILE_NAME_INVALIDE%NewPath) 651 NewModuleFullPath = os.path.normpath(os.path.join(WorkspaceDir, NewPath, 715 …InstallModuleContentZipFile(ContentZipFile, FromPath, ModulePath, WorkspaceDir, NewPath, Module, P… 722 def InstallModuleContentZipFile(ContentZipFile, FromPath, ModulePath, WorkspaceDir, NewPath, Module… argument 740 ConvertPath(FileName.replace(FromPath, NewPath, 1))))
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 143 OUT CHAR8* NewPath 1589 OUT CHAR8* NewPath in CombinePath() argument 1594 strcpy(NewPath, DefaultPath); in CombinePath() 1597 if (NewPath[Index] == '\\' || NewPath[Index] == '/') { in CombinePath() 1598 if (NewPath[Index + 1] != '\0') { in CombinePath() 1599 NewPath[Index] = '/'; in CombinePath() 1603 if (NewPath[Index -1] != '/') { in CombinePath() 1604 NewPath[Index] = '/'; in CombinePath() 1605 NewPath[Index + 1] = '\0'; in CombinePath() 1607 strcat(NewPath, AppendPath); in CombinePath()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
D | daShell.c | 170 wchar_t *NewPath; in da_ShellMkdir() local 174 NewPath = NormalizePath( path); in da_ShellMkdir() 176 if(NewPath != NULL) { in da_ShellMkdir() 177 Status = ShellCreateDirectory( NewPath, &FileHandle); in da_ShellMkdir() 194 free(NewPath); in da_ShellMkdir()
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/Device/ |
D | Device.h | 103 PATH_CLASS EFIAPI ClassifyPath(IN wchar_t *Path, OUT wchar_t **NewPath, int * const Length);
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
D | ShellProtocol.c | 516 CHAR16 *NewPath; in EfiShellGetDevicePathFromFilePath() local 531 NewPath = NULL; in EfiShellGetDevicePathFromFilePath() 539 NewPath = AllocateZeroPool(Size); in EfiShellGetDevicePathFromFilePath() 540 if (NewPath == NULL) { in EfiShellGetDevicePathFromFilePath() 543 StrCpyS(NewPath, Size/sizeof(CHAR16), Cwd); in EfiShellGetDevicePathFromFilePath() 544 StrCatS(NewPath, Size/sizeof(CHAR16), L"\\"); in EfiShellGetDevicePathFromFilePath() 547 while (PathRemoveLastItem(NewPath)) ; in EfiShellGetDevicePathFromFilePath() 549 StrCatS(NewPath, Size/sizeof(CHAR16), Path); in EfiShellGetDevicePathFromFilePath() 550 DevicePathForReturn = EfiShellGetDevicePathFromFilePath(NewPath); in EfiShellGetDevicePathFromFilePath() 551 FreePool(NewPath); in EfiShellGetDevicePathFromFilePath()
|
D | Shell.c | 1107 EFI_DEVICE_PATH_PROTOCOL *NewPath; in DoStartupScript() local 1202 NewPath = AppendDevicePathNode (ImagePath, NamePath); in DoStartupScript() 1208 Status = InternalOpenFileDevicePath(NewPath, &FileHandle, EFI_FILE_MODE_READ, 0); in DoStartupScript() 1209 FreePool(NewPath); in DoStartupScript()
|