Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py650 def RealPath(File, Dir='', OverrideDir=''): argument
653 if not NewFile and OverrideDir:
654 NewFile = os.path.normpath(os.path.join(OverrideDir, File))
658 def RealPath2(File, Dir='', OverrideDir=''): argument
660 if OverrideDir:
661 NewFile = GlobalData.gAllFiles[os.path.normpath(os.path.join(OverrideDir, File))]
663 if OverrideDir[-1] == os.path.sep:
664 return NewFile[len(OverrideDir):], NewFile[0:len(OverrideDir)]
666 return NewFile[len(OverrideDir) + 1:], NewFile[0:len(OverrideDir)]
687 …File2(AllFiles, File, Ext=None, Workspace='', EfiSource='', EdkSource='', Dir='.', OverrideDir=''): argument
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DMisc.py254 def RealPath(File, Dir='', OverrideDir=''): argument
257 if not NewFile and OverrideDir:
258 NewFile = os.path.normpath(os.path.join(OverrideDir, File))
268 def RealPath2(File, Dir='', OverrideDir=''): argument
269 if OverrideDir:
271 (OverrideDir, File))]
273 if OverrideDir[-1] == os.path.sep:
274 return NewFile[len(OverrideDir):], NewFile[0:len(OverrideDir)]
276 return NewFile[len(OverrideDir) + 1:], \
277 NewFile[0:len(OverrideDir)]