Lines Matching refs:Index
74 UINTN Index;
143 Index = (GetStringWidth (StringPtr) / 2) - DimensionsWidth + 2;
145 Index = 0;
152 for (Count = 0; Index + 1 < GetStringWidth (StringPtr) / 2; Index++, Count++) {
153 BufferedString[Count] = StringPtr[Index];
196 for (Index = CurrentCursor; StringPtr[Index] != CHAR_NULL; Index++) {
197 StringPtr[Index] = StringPtr[Index + 1];
198 PrintCharAt (Start + Index + 1, Top + 3, IsPassword && StringPtr[Index] != CHAR_NULL? L'*' : StringPtr[Index]);
235 for (Index = 0; Index < CurrentCursor - 1; Index++) {
236 TempString[Index] = StringPtr[Index];
240 for (Index = CurrentCursor - 1, Index2 = CurrentCursor; Index2 < Count; Index++, Index2++) {
241 TempString[Index] = StringPtr[Index2];
243 TempString[Index] = CHAR_NULL;
264 for (Index = 0; Index < CurrentCursor; Index++) {
265 TempString[Index] = StringPtr[Index];
267 TempString[Index] = CHAR_NULL;
279 // adjust the index to start printing portions of the string
285 Index = (GetStringWidth (StringPtr) / 2) - DimensionsWidth + 2;
287 Index = 0;
294 for (Count = 0; Index + 1 < GetStringWidth (StringPtr) / 2; Index++, Count++) {
295 BufferedString[Count] = StringPtr[Index];
1117 UINTN Index;
1131 for (Index = 0; Index < OrderList->MaxContainers; Index++) {
1132 if (GetArrayData (ValueArray, ValueType, Index) == 0) {
1137 *PopUpMenuLines = Index;
1145 for (Index = 0; Index < *PopUpMenuLines; Index++) {
1146 HiiValueArray[Index].Type = ValueType;
1147 HiiValueArray[Index].Value.u64 = GetArrayData (ValueArray, ValueType, Index);
1150 for (Index = 0; Index < *PopUpMenuLines; Index++) {
1151 OneOfOption = ValueToOption (Question, &HiiValueArray[*PopUpMenuLines - Index - 1]);
1264 UINTN Index;
1341 for (Index = 0; Index < PopUpMenuLines; Index++) {
1355 HighlightOptionIndex = Index;
1403 for (Index = Start; Index + 2 < End; Index++) {
1404 if ((ShowUpArrow) && ((Index + 1) == (Start + End) / 2)) {
1416 for (Index = Top + 1; Index < Bottom; Index++) {
1417 PrintCharAt (Start, Index, Character);
1418 PrintCharAt (End - 1, Index, Character);
1425 for (Index = 0; Index < TopOptionIndex; Index++) {
1433 for (Index = TopOptionIndex; (Index < PopUpMenuLines) && (Index2 < Bottom); Index++) {
1452 if (Index == HighlightOptionIndex) {
1472 for (Index = Start; Index + 2 < End; Index++) {
1473 if ((ShowDownArrow) && ((Index + 1) == (Start + End) / 2)) {
1599 for (Index = 0; Index < OrderList->MaxContainers; Index++) {
1600 HiiValue.Value.u64 = GetArrayData (ValueArray, ValueType, Index);
1630 Index = 0;
1636 SetArrayData (ReturnValue, ValueType, Index, OneOfOption->OptionOpCode->Value.u64);
1638 Index++;
1639 if (Index > OrderList->MaxContainers) {