Lines Matching refs:PathName
227 IN CHAR8 *PathName, in EblMatchVolumeName() argument
248 if (PathName[Compare] != (CHAR8)mFsInfo[Index]->VolumeLabel[Compare]) { in EblMatchVolumeName()
250 if (!((PathName[Compare] == '_') && (mFsInfo[Index]->VolumeLabel[Compare] == L' '))) { in EblMatchVolumeName()
295 IN CHAR8 *PathName, in ConvertIpStringToEfiIp() argument
301 Str = PathName; in ConvertIpStringToEfiIp()
399 CopyMem (&FilePath->PathName, UnicodeFileName, Size); in EblFileDevicePath()
659 IN CHAR8 *PathName, in EfiOpen() argument
685 StrLen = AsciiStrSize (PathName); in EfiOpen()
692 if (PathName[FileStart] == ':') { in EfiOpen()
701 VolumeNameMatch = EblMatchVolumeName (PathName, FileStart, &DevNumber); in EfiOpen()
711 AsciiLength = AsciiStrSize (gCwd) + AsciiStrSize (PathName); in EfiOpen()
717 if ((PathName[0] == '/') || (PathName[0] == '\\')) { in EfiOpen()
731 …if ((*PathName != '/') && (*PathName != '\\') && (gCwd[StrLen-1] != '/') && (gCwd[StrLen-1] != '\\… in EfiOpen()
736 AsciiStrCatS (CwdPlusPathName, AsciiLength, PathName); in EfiOpen()
747 DevNumber = EblConvertDevStringToNumber ((CHAR8 *)PathName); in EfiOpen()
751 AsciiStrCpyS (File->DeviceName, StrLen, PathName); in EfiOpen()
765 if (*PathName == 'f' || *PathName == 'F' || VolumeNameMatch) { in EfiOpen()
766 if (PathName[1] == 's' || PathName[1] == 'S' || VolumeNameMatch) { in EfiOpen()
772 Status = EblFileDevicePath (File, &PathName[FileStart], OpenMode); in EfiOpen()
774 } else if (PathName[1] == 'v' || PathName[1] == 'V') { in EfiOpen()
781 if ((PathName[FileStart] == '/') || (PathName[FileStart] == '\\')) { in EfiOpen()
788 for (Index = FileStart; PathName[Index] != '\0'; Index++) { in EfiOpen()
789 if (PathName[Index] == ':') { in EfiOpen()
792 ModifiedSectionType = (EFI_SECTION_TYPE)AsciiStrHexToUintn (&PathName[Index + 1]); in EfiOpen()
793 PathName[Index] = '\0'; in EfiOpen()
797 Status = EblFvFileDevicePath (File, &PathName[FileStart], ModifiedSectionType); in EfiOpen()
799 } else if ((*PathName == 'A') || (*PathName == 'a')) { in EfiOpen()
803 File->Buffer = (VOID *)AsciiStrHexToUintn (&PathName[FileStart]); in EfiOpen()
806 while ((PathName[FileStart] != ':') && (PathName[FileStart] != '\0')) { in EfiOpen()
811 if (PathName[FileStart] == '\0') { in EfiOpen()
814 File->Size = AsciiStrHexToUintn (&PathName[FileStart + 1]); in EfiOpen()
826 } else if (*PathName== 'l' || *PathName == 'L') { in EfiOpen()
844 } else if (*PathName == 'b' || *PathName == 'B') { in EfiOpen()
854 File->DiskOffset = AsciiStrHexToUintn (&PathName[FileStart]); in EfiOpen()
857 while ((PathName[FileStart] != ':') && (PathName[FileStart] != '\0')) { in EfiOpen()
862 if (PathName[FileStart] == '\0') { in EfiOpen()
865 Size = AsciiStrHexToUintn (&PathName[FileStart + 1]); in EfiOpen()
878 } else if ((*PathName) >= '0' && (*PathName <= '9')) { in EfiOpen()
893 Status = ConvertIpStringToEfiIp (PathName, &File->ServerIp); in EfiOpen()