Searched refs:HexStr (Results 1 – 9 of 9) sorted by relevance
404 IN OUT CHAR8 *HexStr, in IScsiBinToHex() argument410 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() argument464 if ((HexStr[0] == '0') && ((HexStr[1] == 'x') || (HexStr[1] == 'X'))) { in IScsiHexToBin()465 HexStr += 2; in IScsiHexToBin()[all …]
170 IN OUT CHAR8 *HexStr,189 IN CHAR8 *HexStr
332 IN OUT CHAR8 *HexStr, in IScsiBinToHex() argument338 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() argument394 if ((HexStr[0] == '0') && ((HexStr[1] == 'x') || (HexStr[1] == 'X'))) { in IScsiHexToBin()395 HexStr += 2; in IScsiHexToBin()[all …]
161 IN OUT CHAR8 *HexStr,181 IN CHAR8 *HexStr
52 def IsValidHex(HexStr): argument53 if not HexStr.upper().startswith("0X"):55 CharList = [c for c in HexStr[2:] if not __HexDigit(c)]
284 HexStr = hex(Value)288 if TypeLenMap[Type] < len(HexStr) - 3:
48 CHAR8 HexStr[3]; in UriPercentDecode() local56 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()
990 def __IsHex(self, HexStr): argument991 if not HexStr.upper().startswith("0X"):995 charList = [c for c in HexStr[2 : ] if not self.__HexDigit( c)]
1198 def __IsHex(self, HexStr): argument1199 if not HexStr.upper().startswith("0X"):1203 charList = [c for c in HexStr[2 : ] if not self.__HexDigit( c)]