Home
last modified time | relevance | path

Searched refs:TypeName (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py47 def PatchBinaryFile(FileName, ValueOffset, TypeName, ValueString, MaxSize=0): argument
58 TypeName = TypeName.upper()
63 if TypeName == 'BOOLEAN':
65 elif TypeName == 'UINT8':
67 elif TypeName == 'UINT16':
69 elif TypeName == 'UINT32':
71 elif TypeName == 'UINT64':
73 elif TypeName == 'VOID*':
104 if TypeName == 'BOOLEAN':
125 elif TypeName in ['UINT8', 'UINT16', 'UINT32', 'UINT64']:
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrUtilityLib.cpp576 IN INT8 *TypeName in _IS_INTERNAL_TYPE() argument
581 if (TypeName == NULL) { in _IS_INTERNAL_TYPE()
586 if (strcmp (TypeName, gInternalTypesTable[Index].mTypeName) == 0) { in _IS_INTERNAL_TYPE()
992 IN INT8 *TypeName in SetNewTypeName() argument
1000 if (TypeName == NULL) { in SetNewTypeName()
1003 if (strlen(TypeName) >= MAX_NAME_LEN) { in SetNewTypeName()
1008 if (strcmp(pType->mTypeName, TypeName) == 0) { in SetNewTypeName()
1013 strcpy(mNewDataType->mTypeName, TypeName); in SetNewTypeName()
1020 IN INT8 *TypeName, in DataTypeAddField() argument
1029 CHECK_ERROR_RETURN (GetDataType (TypeName, &pFieldType), VFR_RETURN_SUCCESS); in DataTypeAddField()
[all …]
DVfrSyntax.g568 INT8 *TypeName;
575 …TN:StringIdentifier "," << TypeName = TN->getText(); LineNum = TN->getLine()…
576 | U8:"UINT8" "," << TypeName = "UINT8"; LineNum = U8->getLine(); >>
577 …| U16:"UINT16" "," << TypeName = "UINT16"; LineNum = U16->getLine(); …
578 …| U32:"UINT32" "," << TypeName = "UINT32"; LineNum = U32->getLine(); …
579 …| U64:"UINT64" "," << TypeName = "UINT64"; LineNum = U64->getLine(); …
580 …| D:"EFI_HII_DATE" "," << TypeName = "EFI_HII_DATE"; LineNum = D->getLine…
581 …| T:"EFI_HII_TIME" "," << TypeName = "EFI_HII_TIME"; LineNum = T->getLine…
601 TypeName,
609 … _PCATCH(mCVfrVarDataTypeDB.GetDataTypeSize(TypeName, &Size), LineNum);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrSyntax.g648 CHAR8 *TypeName = NULL;
662 … << TypeName = U64->getText(); LineNum = U64->getLine(); >>
664 … << TypeName = U32->getText(); LineNum = U32->getLine(); >>
666 … << TypeName = U16->getText(); LineNum = U16->getLine(); >>
668 … << TypeName = U8->getText(); LineNum = U8->getLine(); >>
670 … << TypeName = BL->getText(); LineNum = BL->getLine(); >>
672 … << TypeName = SI->getText(); LineNum = SI->getLine(); >>
674 … << TypeName = D->getText(); LineNum = D->getLine(); IsStruct = TRUE;>>
676 … << TypeName = T->getText(); LineNum = T->getLine(); IsStruct = TRUE;>>
678 …<< TypeName = R->getText(); LineNum = R->getLine(); IsStruct = TRUE;>> …
[all …]
DVfrUtilityLib.cpp500 IN CHAR8 *TypeName in _IS_INTERNAL_TYPE() argument
505 if (TypeName == NULL) { in _IS_INTERNAL_TYPE()
510 if (strcmp (TypeName, gInternalTypesTable[Index].mTypeName) == 0) { in _IS_INTERNAL_TYPE()
987 IN CHAR8 *TypeName in SetNewTypeName() argument
995 if (TypeName == NULL) { in SetNewTypeName()
998 if (strlen(TypeName) >= MAX_NAME_LEN) { in SetNewTypeName()
1003 if (strcmp(pType->mTypeName, TypeName) == 0) { in SetNewTypeName()
1008 strcpy(mNewDataType->mTypeName, TypeName); in SetNewTypeName()
1015 IN CHAR8 *TypeName, in DataTypeAddField() argument
1024 CHECK_ERROR_RETURN (GetDataType (TypeName, &pFieldType), VFR_RETURN_SUCCESS); in DataTypeAddField()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
DBuildReport.py886 TypeName, DecType = gPcdTypeMap.get(Type, ("", Type))
969 …Write(File, ' *B %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumT…
971 …Write(File, ' %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumT…
975 …Write(File, ' *F %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumT…
977 …Write(File, ' *P %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumT…
979 …Write(File, ' *M %-*s: %6s %10s = %-22s' % (self.MaxLen, PcdTokenCName, TypeName, '(' + Pcd.DatumT…
981 if TypeName in ('DYNHII', 'DEXHII', 'DYNVPD', 'DEXVPD'):
983 if TypeName in ('DYNHII', 'DEXHII'):