Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
DPath.c282 wchar_t *WPath = NULL; in ParsePath() local
292 WPath = NormalizePath( path); in ParsePath()
293 PathClass = ClassifyPath(WPath, &NewPath, &MapLen); in ParsePath()
303 Instance = PathInstance(WPath, MapLen); in ParsePath()
307 if(WPath[MapLen] == L':') { in ParsePath()
311 wmemcpy(MPath, WPath, MapLen+1); in ParsePath()
319 if(WPath != NewPath) { in ParsePath()
321 wmemmove(WPath, NewPath, wcslen(NewPath)+1); in ParsePath()
322 NewPath = WPath; in ParsePath()
341 WPath = PathAdjust(NewPath); // WPath was malloc()ed by PathAdjust in ParsePath()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/
DdaShell.c472 wchar_t *WPath; in da_ShellOpen() local
492 WPath = AllocateZeroPool(PATH_MAX * sizeof(wchar_t) + 1); in da_ShellOpen()
493 if(WPath == NULL) { in da_ShellOpen()
498 wcsncpy(WPath, MPath, NAME_MAX); /* Get the Map Name */ in da_ShellOpen()
499 wcsncat(WPath, Path, (PATH_MAX - NAME_MAX)); /* Append the path */ in da_ShellOpen()
502 WPath = Path; in da_ShellOpen()
516 Status = ShellIsFile( WPath ); in da_ShellOpen()
526 wcstombs(NPath, WPath, PATH_MAX); in da_ShellOpen()
545 Status = ShellOpenFileByName( WPath, &FileHandle, OpenMode, Attributes); in da_ShellOpen()
570 FreePool(WPath); in da_ShellOpen()