Lines Matching refs:Ptr
93 UINT8 *Ptr; in VarCheckHiiQuestion() local
107 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ONEOF *) HiiQuestion + 1); in VarCheckHiiQuestion()
108 while ((UINTN) Ptr < (UINTN) HiiQuestion + HiiQuestion->Length) { in VarCheckHiiQuestion()
110 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
117 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
119 if ((UINTN) Ptr >= ((UINTN) HiiQuestion + HiiQuestion->Length)) { in VarCheckHiiQuestion()
140 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_NUMERIC *) HiiQuestion + 1); in VarCheckHiiQuestion()
141 CopyMem (&Minimum, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
142 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
143 CopyMem (&Maximum, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
144 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
172 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ORDEREDLIST *) HiiQuestion + 1); in VarCheckHiiQuestion()
173 while ((UINTN) Ptr < ((UINTN) HiiQuestion + HiiQuestion->Length)) { in VarCheckHiiQuestion()
175 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth); in VarCheckHiiQuestion()
182 Ptr += HiiQuestion->StorageWidth; in VarCheckHiiQuestion()
184 if ((UINTN) Ptr >= ((UINTN) HiiQuestion + HiiQuestion->Length)) { in VarCheckHiiQuestion()
344 UINT8 *Ptr; in DumpHiiQuestion() local
354 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ONEOF *) HiiQuestion + 1); in DumpHiiQuestion()
355 while ((UINTN) Ptr < ((UINTN) HiiQuestion + HiiQuestion->Length)) { in DumpHiiQuestion()
357 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth); in DumpHiiQuestion()
375 Ptr += HiiQuestion->StorageWidth; in DumpHiiQuestion()
385 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_NUMERIC *) HiiQuestion + 1); in DumpHiiQuestion()
386 CopyMem (&Minimum, Ptr, HiiQuestion->StorageWidth); in DumpHiiQuestion()
387 Ptr += HiiQuestion->StorageWidth; in DumpHiiQuestion()
388 CopyMem (&Maximum, Ptr, HiiQuestion->StorageWidth); in DumpHiiQuestion()
389 Ptr += HiiQuestion->StorageWidth; in DumpHiiQuestion()
416 Ptr = (UINT8 *) ((VAR_CHECK_HII_QUESTION_ORDEREDLIST *) HiiQuestion + 1); in DumpHiiQuestion()
417 while ((UINTN) Ptr < ((UINTN) HiiQuestion + HiiQuestion->Length)) { in DumpHiiQuestion()
419 CopyMem (&OneValue, Ptr, HiiQuestion->StorageWidth); in DumpHiiQuestion()
437 Ptr += HiiQuestion->StorageWidth; in DumpHiiQuestion()