Home
last modified time | relevance | path

Searched refs:HexStr (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiMisc.c404 IN OUT CHAR8 *HexStr, in IScsiBinToHex() argument
410 if ((HexStr == NULL) || (BinBuffer == NULL) || (BinLength == 0)) { in IScsiBinToHex()
423 HexStr[0] = '0'; in IScsiBinToHex()
424 HexStr[1] = 'x'; in IScsiBinToHex()
427 HexStr[Index * 2 + 2] = IScsiHexString[BinBuffer[Index] >> 4]; in IScsiBinToHex()
428 HexStr[Index * 2 + 3] = IScsiHexString[BinBuffer[Index] & 0x0F]; in IScsiBinToHex()
431 HexStr[Index * 2 + 2] = '\0'; in IScsiBinToHex()
451 IN CHAR8 *HexStr in IScsiHexToBin() argument
464 if ((HexStr[0] == '0') && ((HexStr[1] == 'x') || (HexStr[1] == 'X'))) { in IScsiHexToBin()
465 HexStr += 2; in IScsiHexToBin()
[all …]
DIScsiMisc.h170 IN OUT CHAR8 *HexStr,
189 IN CHAR8 *HexStr
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiMisc.c332 IN OUT CHAR8 *HexStr, in IScsiBinToHex() argument
338 if ((HexStr == NULL) || (BinBuffer == NULL) || (BinLength == 0)) { in IScsiBinToHex()
351 HexStr[0] = '0'; in IScsiBinToHex()
352 HexStr[1] = 'x'; in IScsiBinToHex()
355 HexStr[Index * 2 + 2] = IScsiHexString[BinBuffer[Index] >> 4]; in IScsiBinToHex()
356 HexStr[Index * 2 + 3] = IScsiHexString[BinBuffer[Index] & 0xf]; in IScsiBinToHex()
359 HexStr[Index * 2 + 2] = '\0'; in IScsiBinToHex()
381 IN CHAR8 *HexStr in IScsiHexToBin() argument
394 if ((HexStr[0] == '0') && ((HexStr[1] == 'x') || (HexStr[1] == 'X'))) { in IScsiHexToBin()
395 HexStr += 2; in IScsiHexToBin()
[all …]
DIScsiMisc.h161 IN OUT CHAR8 *HexStr,
181 IN CHAR8 *HexStr
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py52 def IsValidHex(HexStr): argument
53 if not HexStr.upper().startswith("0X"):
55 CharList = [c for c in HexStr[2:] if not __HexDigit(c)]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DDecParserMisc.py284 HexStr = hex(Value)
288 if TypeLenMap[Type] < len(HexStr) - 3:
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/
DDxeHttpLib.c48 CHAR8 HexStr[3]; in UriPercentDecode() local
56 HexStr[2] = '\0'; in UriPercentDecode()
62 HexStr[0] = Buffer[Index+1]; in UriPercentDecode()
63 HexStr[1] = Buffer[Index+2]; in UriPercentDecode()
64 ResultBuffer[Offset] = (CHAR8) AsciiStrHexToUintn (HexStr); in UriPercentDecode()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DFdfParserLite.py990 def __IsHex(self, HexStr): argument
991 if not HexStr.upper().startswith("0X"):
995 charList = [c for c in HexStr[2 : ] if not self.__HexDigit( c)]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DFdfParser.py1198 def __IsHex(self, HexStr): argument
1199 if not HexStr.upper().startswith("0X"):
1203 charList = [c for c in HexStr[2 : ] if not self.__HexDigit( c)]