Searched refs:VariableHead (Results 1 – 2 of 2) sorted by relevance
393 VARIABLE_HEAD *VariableHead; in GetWorker() local466 VariableHead = (VARIABLE_HEAD *) (PcdDb + Offset); in GetWorker()467 Guid = GuidTable + VariableHead->GuidTableIndex; in GetWorker()468 Name = (UINT16*)(StringTable + VariableHead->StringIndex); in GetWorker()475 StringTableIdx = *(STRING_HEAD*)((UINT8 *) PcdDb + VariableHead->DefaultValueOffset); in GetWorker()478 VaraiableDefaultBuffer = (UINT8 *) PcdDb + VariableHead->DefaultValueOffset; in GetWorker()482 if (DataSize >= (VariableHead->Offset + GetSize)) { in GetWorker()489 if (GetSize > (DataSize - VariableHead->Offset)) { in GetWorker()493 GetSize = DataSize - VariableHead->Offset; in GetWorker()501 CopyMem (VaraiableDefaultBuffer, Data + VariableHead->Offset, GetSize); in GetWorker()[all …]
950 VARIABLE_HEAD *VariableHead; in GetWorker() local994 VariableHead = (VARIABLE_HEAD *) ((UINT8 *)PeiPcdDb + Offset); in GetWorker()996 …Guid = (EFI_GUID *) ((UINT8 *)PeiPcdDb + PeiPcdDb->GuidTableOffset) + VariableHead->GuidTableIndex; in GetWorker()997 Name = (UINT16*)&StringTable[VariableHead->StringIndex]; in GetWorker()1004 …ltBuffer = (UINT8 *) &StringTable[*(STRING_HEAD*)((UINT8*) PeiPcdDb + VariableHead->DefaultValueOf… in GetWorker()1006 VaraiableDefaultBuffer = (UINT8 *) PeiPcdDb + VariableHead->DefaultValueOffset; in GetWorker()1009 if ((Status == EFI_SUCCESS) && (DataSize >= (VariableHead->Offset + GetSize))) { in GetWorker()1016 if (GetSize > (DataSize - VariableHead->Offset)) { in GetWorker()1020 GetSize = DataSize - VariableHead->Offset; in GetWorker()1027 CopyMem (VaraiableDefaultBuffer, (UINT8 *) Data + VariableHead->Offset, GetSize); in GetWorker()