Home
last modified time | relevance | path

Searched refs:TemStr (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiMisc.c127 CHAR8 TemStr[2]; in IScsiAsciiStrToLun() local
132 ZeroMem (TemStr, 2); in IScsiAsciiStrToLun()
139 TemStr[0] = Str[Index]; in IScsiAsciiStrToLun()
140 TemValue = (UINT8) AsciiStrHexToUint64 (TemStr); in IScsiAsciiStrToLun()
141 if (TemValue == 0 && TemStr[0] != '0') { in IScsiAsciiStrToLun()
142 if ((TemStr[0] != '-') || (IndexNum == 0)) { in IScsiAsciiStrToLun()
150 if ((TemValue == 0) && (TemStr[0] == '-')) { in IScsiAsciiStrToLun()
457 CHAR8 TemStr[2]; in IScsiHexToBin() local
459 ZeroMem (TemStr, sizeof (TemStr)); in IScsiHexToBin()
471 TemStr[0] = HexStr[Index]; in IScsiHexToBin()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DriverSampleDxe/
DDriverSample.c331 CHAR16 TemStr[2]; in GetValueOfNumber() local
362 ZeroMem (TemStr, sizeof (TemStr)); in GetValueOfNumber()
364 TemStr[0] = Str[Length - Index - 1]; in GetValueOfNumber()
365 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in GetValueOfNumber()
864 CHAR16 TemStr[5]; in RouteConfig() local
941 ZeroMem (TemStr, sizeof (TemStr)); in RouteConfig()
943 TemStr[0] = *StrPtr; in RouteConfig()
944 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in RouteConfig()
973 ZeroMem (TemStr, sizeof (TemStr)); in RouteConfig()
975 TemStr[0] = *StrPtr; in RouteConfig()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiMisc.c131 CHAR8 TemStr[2]; in IScsiAsciiStrToLun() local
136 ZeroMem (TemStr, 2); in IScsiAsciiStrToLun()
143 TemStr[0] = Str[Index]; in IScsiAsciiStrToLun()
144 TemValue = (UINT8) AsciiStrHexToUint64 (TemStr); in IScsiAsciiStrToLun()
145 if (TemValue == 0 && TemStr[0] != '0') { in IScsiAsciiStrToLun()
146 if ((TemStr[0] != '-') || (IndexNum == 0)) { in IScsiAsciiStrToLun()
154 if ((TemValue == 0) && (TemStr[0] == '-')) { in IScsiAsciiStrToLun()
387 CHAR8 TemStr[2]; in IScsiHexToBin() local
389 ZeroMem (TemStr, sizeof (TemStr)); in IScsiHexToBin()
401 TemStr[0] = HexStr[Index]; in IScsiHexToBin()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiHiiLib/
DHiiLib.c849 CHAR16 TemStr[5]; in InternalHiiGetBufferFromString() local
881 ZeroMem (TemStr, sizeof (TemStr)); in InternalHiiGetBufferFromString()
883 TemStr[0] = ConfigHdr[Index]; in InternalHiiGetBufferFromString()
884 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in InternalHiiGetBufferFromString()
911 ZeroMem (TemStr, sizeof (TemStr)); in InternalHiiGetBufferFromString()
913 StrnCpyS (TemStr, sizeof (TemStr) / sizeof (CHAR16), ConfigHdr + Index, 4); in InternalHiiGetBufferFromString()
914 StringPtr[Index/4] = (CHAR16) StrHexToUint64 (TemStr); in InternalHiiGetBufferFromString()
1001 CHAR16 TemStr[2]; in InternalHiiGetValueOfNumber() local
1026 ZeroMem (TemStr, sizeof (TemStr)); in InternalHiiGetValueOfNumber()
1028 TemStr[0] = ValueString[Length - Index - 1]; in InternalHiiGetValueOfNumber()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenVtf/
DGenVtf.c114 CHAR8 TemStr[5] = "0000"; in ConvertVersionInfo() local
132 strncpy (TemStr + 4 - Length, Str, Length); in ConvertVersionInfo()
134 strncpy (TemStr, Str + Length - 4, 4); in ConvertVersionInfo()
138 TemStr, in ConvertVersionInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DConfigRouting.c82 CHAR16 TemStr[2]; in GetDevicePath() local
134 ZeroMem (TemStr, sizeof (TemStr)); in GetDevicePath()
136 TemStr[0] = PathHdr[Index]; in GetDevicePath()
137 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in GetDevicePath()
459 CHAR16 TemStr[2]; in GetValueOfNumber() local
490 ZeroMem (TemStr, sizeof (TemStr)); in GetValueOfNumber()
492 TemStr[0] = Str[Length - Index - 1]; in GetValueOfNumber()
493 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in GetValueOfNumber()
DConfigKeywordHandler.c46 CHAR16 TemStr[2]; in ExtractDevicePath() local
126 ZeroMem (TemStr, sizeof (TemStr)); in ExtractDevicePath()
128 TemStr[0] = PathHdr[Index]; in ExtractDevicePath()
129 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in ExtractDevicePath()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DSetup.c1391 CHAR16 TemStr[5]; in BufferToValue() local
1452 ZeroMem (TemStr, sizeof (TemStr)); in BufferToValue()
1454 StrnCpyS (TemStr, sizeof (TemStr) / sizeof (CHAR16), Value + Index, 4); in BufferToValue()
1455 DstBuf[Index/4] = (CHAR16) StrHexToUint64 (TemStr); in BufferToValue()
1462 ZeroMem (TemStr, sizeof (TemStr)); in BufferToValue()
1464 TemStr[0] = Value[LengthStr - Index - 1]; in BufferToValue()
1465 DigitUint8 = (UINT8) StrHexToUint64 (TemStr); in BufferToValue()