Lines Matching refs:NewPath
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()
1660 NewPath[i] = '\0'; in ExpandPath()
1670 AsciiStrnCatS (NewPath, AllocLen, Start, End - Start); in ExpandPath()
1672 return NewPath; in ExpandPath()