Lines Matching refs:HiiVariableNode
473 IN OUT VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode, in MergeHiiQuestion() argument
501 HiiQuestion1 = HiiVariableNode->HiiQuestionArray[HiiQuestion->VarOffset]; in MergeHiiQuestion()
583 HiiVariableNode->HiiQuestionArray[HiiQuestion1->VarOffset] = NewHiiQuestion; in MergeHiiQuestion()
708 HiiVariableNode->HiiQuestionArray[HiiQuestion1->VarOffset] = NewHiiQuestion; in MergeHiiQuestion()
981 IN VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode, in ParseHiiQuestion() argument
1011 if (HiiVariableNode->HiiQuestionArray[HiiQuestion->VarOffset] != NULL) { in ParseHiiQuestion()
1012 MergeHiiQuestion (HiiVariableNode, HiiQuestion, FromFv); in ParseHiiQuestion()
1014 HiiVariableNode->HiiQuestionArray[HiiQuestion->VarOffset] = HiiQuestion; in ParseHiiQuestion()
1033 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in FindHiiVariableNode() local
1039 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (Link); in FindHiiVariableNode()
1041 if ((StrCmp (Name, (CHAR16 *) (HiiVariableNode->HiiVariable + 1)) == 0) && in FindHiiVariableNode()
1042 CompareGuid (Guid, &HiiVariableNode->HiiVariable->Guid)) { in FindHiiVariableNode()
1043 return HiiVariableNode; in FindHiiVariableNode()
1063 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in FindHiiVariableNodeByVarStoreId() local
1077 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (Link); in FindHiiVariableNodeByVarStoreId()
1081 if (VarStoreId == HiiVariableNode->VarStoreId) { in FindHiiVariableNodeByVarStoreId()
1082 return HiiVariableNode; in FindHiiVariableNodeByVarStoreId()
1098 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in DestroyVarStoreId() local
1104 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (Link); in DestroyVarStoreId()
1109 HiiVariableNode->VarStoreId = 0; in DestroyVarStoreId()
1124 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in CreateHiiVariableNode() local
1142 HiiVariableNode = FindHiiVariableNode ( in CreateHiiVariableNode()
1146 if (HiiVariableNode == NULL) { in CreateHiiVariableNode()
1161 HiiVariableNode = InternalVarCheckAllocateZeroPool (sizeof (*HiiVariableNode)); in CreateHiiVariableNode()
1162 ASSERT (HiiVariableNode != NULL); in CreateHiiVariableNode()
1163 HiiVariableNode->Signature = VAR_CHECK_HII_VARIABLE_NODE_SIGNATURE; in CreateHiiVariableNode()
1164 HiiVariableNode->HiiVariable = HiiVariable; in CreateHiiVariableNode()
1168 HiiVariableNode->VarStoreId = IfrEfiVarStore->VarStoreId; in CreateHiiVariableNode()
1169 …HiiVariableNode->HiiQuestionArray = InternalVarCheckAllocateZeroPool (IfrEfiVarStore->Size * sizeo… in CreateHiiVariableNode()
1171 InsertTailList (&mVarCheckHiiList, &HiiVariableNode->Link); in CreateHiiVariableNode()
1173 HiiVariableNode->VarStoreId = IfrEfiVarStore->VarStoreId; in CreateHiiVariableNode()
1241 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in VarCheckParseHiiPackage() local
1260 …HiiVariableNode = FindHiiVariableNodeByVarStoreId (((EFI_IFR_ONE_OF *) IfrOpCodeHeader)->Question.… in VarCheckParseHiiPackage()
1261 if ((HiiVariableNode == NULL) || in VarCheckParseHiiPackage()
1273 ParseHiiQuestion (HiiVariableNode, IfrOpCodeHeader, FromFv); in VarCheckParseHiiPackage()
1331 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in DestroyHiiVariableNode() local
1337 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (HiiVariableLink); in DestroyHiiVariableNode()
1339 RemoveEntryList (&HiiVariableNode->Link); in DestroyHiiVariableNode()
1344 for (Index = 0; Index < HiiVariableNode->HiiVariable->Size; Index++) { in DestroyHiiVariableNode()
1345 if (HiiVariableNode->HiiQuestionArray[Index] != NULL) { in DestroyHiiVariableNode()
1346 InternalVarCheckFreePool (HiiVariableNode->HiiQuestionArray[Index]); in DestroyHiiVariableNode()
1349 InternalVarCheckFreePool (HiiVariableNode->HiiQuestionArray); in DestroyHiiVariableNode()
1350 InternalVarCheckFreePool (HiiVariableNode->HiiVariable); in DestroyHiiVariableNode()
1351 InternalVarCheckFreePool (HiiVariableNode); in DestroyHiiVariableNode()
1368 VAR_CHECK_HII_VARIABLE_NODE *HiiVariableNode; in BuildVarCheckHiiBin() local
1389 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (HiiVariableLink); in BuildVarCheckHiiBin()
1390 HiiVariableLength = HiiVariableNode->HiiVariable->HeaderLength; in BuildVarCheckHiiBin()
1392 for (Index = 0; Index < HiiVariableNode->HiiVariable->Size; Index++) { in BuildVarCheckHiiBin()
1393 if (HiiVariableNode->HiiQuestionArray[Index] != NULL) { in BuildVarCheckHiiBin()
1398 HiiVariableLength += HiiVariableNode->HiiQuestionArray[Index]->Length; in BuildVarCheckHiiBin()
1402 HiiVariableNode->HiiVariable->Length = HiiVariableLength; in BuildVarCheckHiiBin()
1433 HiiVariableNode = VAR_CHECK_HII_VARIABLE_FROM_LINK (HiiVariableLink); in BuildVarCheckHiiBin()
1434 CopyMem (Ptr, HiiVariableNode->HiiVariable, HiiVariableNode->HiiVariable->HeaderLength); in BuildVarCheckHiiBin()
1435 Ptr += HiiVariableNode->HiiVariable->HeaderLength; in BuildVarCheckHiiBin()
1437 for (Index = 0; Index < HiiVariableNode->HiiVariable->Size; Index++) { in BuildVarCheckHiiBin()
1438 if (HiiVariableNode->HiiQuestionArray[Index] != NULL) { in BuildVarCheckHiiBin()
1443 …CopyMem (Ptr, HiiVariableNode->HiiQuestionArray[Index], HiiVariableNode->HiiQuestionArray[Index]->… in BuildVarCheckHiiBin()
1444 Ptr += HiiVariableNode->HiiQuestionArray[Index]->Length; in BuildVarCheckHiiBin()