Lines Matching refs:Index
150 UINTN Index;
173 for (Index = 0; Index < HandleCount; Index++) {
175 Handles[Index],
566 INTN Index;
568 for (Index = 0; Index < IP4_MASK_NUM; Index++) {
569 if (NetMask == gIp4AllMasks[Index]) {
574 return Index;
691 UINT8 Index;
697 for (Index = 0; Index < 15; Index++) {
698 if (Ip6->Addr[Index] != 0) {
703 Byte = Ip6->Addr[Index];
727 UINT8 Index;
729 for (Index = 0; Index < 16; Index++) {
730 if (Ip6->Addr[Index] != 0) {
753 UINT8 Index;
765 for (Index = 2; Index < 8; Index++) {
766 if (Ip6->Addr[Index] != 0) {
1166 UINTN Index;
1172 for (Index = 0; Index < NumberOfChildren; Index++) {
1173 if (Handle == ChildHandleBuffer[Index]) {
1321 UINTN Index;
1328 for (Index = 0; Index < NET_MAP_INCREAMENT; Index++) {
1332 if (Index == 0) {
1712 UINTN Index;
1735 for (Index = 0; Index < DeviceHandleCount; Index++) {
1737 DeviceHandleBuffer[Index],
1771 DeviceHandleBuffer[Index],
1784 DeviceHandleBuffer[Index],
2229 UINTN Index;
2256 for (Index = 0; Index < HwAddressSize; Index++) {
2671 UINTN Index;
2686 for (Index = 0; Index < OpenCount; Index++) {
2687 if ((OpenBuffer[Index].Attributes & EFI_OPEN_PROTOCOL_BY_DRIVER) != 0) {
2688 Handle = OpenBuffer[Index].ControllerHandle;
2714 UINT8 Index;
2725 for (Index = 0; Index < 4; Index++) {
2736 if (Index == 3) {
2740 if (Index != 3) {
2754 Ip4Address->Addr[Index] = (UINT8) NodeVal;
2781 UINT8 Index;
2822 for (Index = 0; Index < 15; Index = (UINT8) (Index + 2)) {
2829 if ((*Ip6Str == '\0') && (Index != 14)) {
2896 if ((NodeVal > 0xFFFF) || (Index > 14)) {
2940 Ip6Address->Addr[Index] = (UINT8) (NodeVal >> 8);
2941 Ip6Address->Addr[Index + 1] = (UINT8) (NodeVal & 0xFF);
2947 Index = (UINT8) (16 - (TailNodeCnt + 2) * 2);
2952 if ((!Short && Index != 16) || (*Ip6Str != '\0')) {
3161 UINTN Index;
3177 for (Index = 0; Index < 16; Index++) {
3178 Ip6Addr[Index / 2] |= (Ip6Address->Addr[Index] << ((1 - (Index % 2)) << 3));
3188 for (Index = 0; Index < 8; Index++) {
3189 if (Ip6Addr[Index] == 0) {
3191 CurrentZerosStart = Index;
3216 for (Index = 0; Index < 8; Index++) {
3217 if (LongestZerosStart != DEFAULT_ZERO_START && Index >= LongestZerosStart && Index < LongestZerosStart + LongestZerosLength) {
3218 if (Index == LongestZerosStart) {
3223 if (Index != 0) {
3226 Ptr += UnicodeSPrint(Ptr, 10, L"%x", Ip6Addr[Index]);