Home
last modified time | relevance | path

Searched refs:NodeVal (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Application/IfConfig6/
DIfConfig6.c558 UINT8 NodeVal; in IfConfig6ParseInterfaceId() local
573 NodeVal = 0; in IfConfig6ParseInterfaceId()
577 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'A' + 10); in IfConfig6ParseInterfaceId()
579 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'a' + 10); in IfConfig6ParseInterfaceId()
581 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'0'); in IfConfig6ParseInterfaceId()
590 (*IfId)->Id[Index++] = NodeVal; in IfConfig6ParseInterfaceId()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork2CommandsLib/
DIfconfig6.c634 UINT8 NodeVal; in IfConfig6ParseInterfaceId() local
649 NodeVal = 0; in IfConfig6ParseInterfaceId()
653 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'A' + 10); in IfConfig6ParseInterfaceId()
655 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'a' + 10); in IfConfig6ParseInterfaceId()
657 NodeVal = (UINT8)((NodeVal << 4) + *IdStr - L'0'); in IfConfig6ParseInterfaceId()
666 (*IfId)->Id[Index++] = NodeVal; in IfConfig6ParseInterfaceId()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DDxeNetLib.c2715 UINTN NodeVal; in NetLibAsciiStrToIp4() local
2758 NodeVal = AsciiStrDecimalToUintn (TempStr); in NetLibAsciiStrToIp4()
2759 if (NodeVal > 0xFF) { in NetLibAsciiStrToIp4()
2763 Ip4Address->Addr[Index] = (UINT8) NodeVal; in NetLibAsciiStrToIp4()
2797 UINTN NodeVal; in NetLibAsciiStrToIp6() local
2915 NodeVal = AsciiStrHexToUintn (TempStr); in NetLibAsciiStrToIp6()
2916 if ((NodeVal > 0xFFFF) || (Index > 14)) { in NetLibAsciiStrToIp6()
2919 if (NodeVal != 0) { in NetLibAsciiStrToIp6()
2960 Ip6Address->Addr[Index] = (UINT8) (NodeVal >> 8); in NetLibAsciiStrToIp6()
2961 Ip6Address->Addr[Index + 1] = (UINT8) (NodeVal & 0xFF); in NetLibAsciiStrToIp6()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6ConfigNv.c272 UINTN NodeVal; in Ip6ParseInterfaceIdFromString() local
301 NodeVal = StrHexToUintn (TempStr); in Ip6ParseInterfaceIdFromString()
302 if (NodeVal > 0xFF) { in Ip6ParseInterfaceIdFromString()
306 IfId->Id[Index] = (UINT8) NodeVal; in Ip6ParseInterfaceIdFromString()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiConfig.c84 UINTN NodeVal; in IScsiParseIsIdFromString() local
119 NodeVal = StrHexToUintn (TempStr); in IScsiParseIsIdFromString()
121 IsId[Index] = (UINT8) NodeVal; in IScsiParseIsIdFromString()
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiConfig.c198 UINTN NodeVal; in IScsiParseIsIdFromString() local
233 NodeVal = StrHexToUintn (TempStr); in IScsiParseIsIdFromString()
235 IsId[Index] = (UINT8) NodeVal; in IScsiParseIsIdFromString()