/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
D | CommentParsingUnitTest.py | 55 LineNum = 0 58 LineNum += 1 59 TestCommentLinesList.append((Comment, LineNum)) 96 LineNum = 0 99 LineNum += 1 100 TestCommentLinesList.append((Comment, LineNum)) 137 LineNum = 0 140 LineNum += 1 141 TestCommentLinesList.append((Comment, LineNum)) 182 LineNum = 0 [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
D | VfrError.cpp | 97 IN UINT32 LineNum in SVfrFileScopeRecord() argument 104 mWholeScopeLine = LineNum; in SVfrFileScopeRecord() 162 IN UINT32 LineNum, in GetFileNameLineNum() argument 180 *FileLine = LineNum; in GetFileNameLineNum() 186 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) { in GetFileNameLineNum() 188 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1; in GetFileNameLineNum() 194 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1; in GetFileNameLineNum() 199 IN UINT32 LineNum, in PrintMsg() argument 208 GetFileNameLineNum (LineNum, &FileName, &FileLine); in PrintMsg() 215 IN UINT32 LineNum, in HandleError() argument [all …]
|
D | VfrError.h | 82 UINT8 HandleError (IN EFI_VFR_RETURN_CODE, IN UINT32 LineNum = 0, IN INT8 *TokName = "\0"); 83 …VOID PrintMsg (IN UINT32 LineNum = 0, IN INT8 *TokName = "\0", IN INT8 *MsgType = "Error", IN INT…
|
D | VfrSyntax.g | 275 UINT32 LineNum; 281 …L1:"push" << LineNum = L1->getLine(); PackAction = VFR_PACK_PU… 282 …| L2:"pop" << LineNum = L2->getLine(); PackAction = VFR_PACK_… 290 … << mCVfrVarDataTypeDB.Pack (LineNum, PackAction, Identifier, PackNumber); >> 295 UINT32 LineNum; 298 …N:Number << LineNum = N->getLine(); PackNumber = _STOU32(… 299 … << mCVfrVarDataTypeDB.Pack (LineNum, VFR_PACK_ASSIGN, NULL, PackNumber); >> 569 UINT32 LineNum; 575 …TN:StringIdentifier "," << TypeName = TN->getText(); LineNum = TN->getLine()… 576 | U8:"UINT8" "," << TypeName = "UINT8"; LineNum = U8->getLine(); >> [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
D | VfrError.cpp | 114 IN UINT32 LineNum in SVfrFileScopeRecord() argument 121 mWholeScopeLine = LineNum; in SVfrFileScopeRecord() 178 IN UINT32 LineNum, in GetFileNameLineNum() argument 196 *FileLine = LineNum; in GetFileNameLineNum() 202 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) { in GetFileNameLineNum() 204 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1; in GetFileNameLineNum() 210 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1; in GetFileNameLineNum() 215 IN UINT32 LineNum, in PrintMsg() argument 228 GetFileNameLineNum (LineNum, &FileName, &FileLine); in PrintMsg() 235 IN UINT32 LineNum, in HandleError() argument [all …]
|
D | VfrError.h | 99 UINT8 HandleError (IN EFI_VFR_RETURN_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL); 100 UINT8 HandleWarning (IN EFI_VFR_WARNING_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL); 101 …VOID PrintMsg (IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL, IN CONST CHAR8 *MsgType = "Error"…
|
D | VfrSyntax.g | 286 UINT32 LineNum; 292 …L1:"push" << LineNum = L1->getLine(); PackAction = VFR_PACK_PU… 293 …| L2:"pop" << LineNum = L2->getLine(); PackAction = VFR_PACK_… 301 … << gCVfrVarDataTypeDB.Pack (LineNum, PackAction, Identifier, PackNumber); >> 306 UINT32 LineNum; 309 …N:Number << LineNum = N->getLine(); PackNumber = _STOU32(… 310 … << gCVfrVarDataTypeDB.Pack (LineNum, VFR_PACK_ASSIGN, NULL, PackNumber); >> 653 UINT32 LineNum; 662 … << TypeName = U64->getText(); LineNum = U64->getLine(); >> 664 … << TypeName = U32->getText(); LineNum = U32->getLine(); >> [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/ |
D | EfiVfr.h | 63 int LineNum; // line number where the structure was defined member 85 UINT32 LineNum; member 96 UINT32 LineNum; member 118 UINT32 *LineNum 139 UINT32 LineNum; member
|
D | VfrCompile.g | 606 UINT32 *LineNum 616 LineNum - the line number in the preprocessor-output file. 620 in the provided LineNum argument 634 // The given LineNum is the line number from the .i file. 638 if (LineDef->TokenLineNum <= *LineNum) { 640 if (LineDef->Next->TokenLineNum > *LineNum) { 641 *LineNum = *LineNum - LineDef->TokenLineNum + LineDef->HashLineNum; 648 *LineNum = *LineNum - LineDef->TokenLineNum + LineDef->HashLineNum; 1287 << UINT32 LineNum, KeyValue = 0; ResetFlags (); >> 1292 KP:Prompt "=" getStringId "," << LineNum = KP->getLine(); >> [all …]
|
D | VfrServices.cpp | 359 while (LineCount < PoundLines + Curr->LineNum) { in WriteIfrBytes() 376 … while ((Curr != NULL) && ((Curr->LineNum == 0) || (LineCount >= PoundLines + Curr->LineNum))) { in WriteIfrBytes() 538 UINT32 LineNum in AddOpcodeByte() argument 563 mQueuedLineNum = LineNum; in AddOpcodeByte() 684 UINT32 LineNum in IAddByte() argument 714 NewByte->LineNum = LineNum; in IAddByte()
|
D | VfrServices.h | 84 UINT32 LineNum 186 UINT32 LineNum
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | CommentParsing.py | 203 def ParsePcdErrorCode (Value = None, ContainerFile = None, LineNum = None): argument 215 Line = LineNum) 227 Line = LineNum) 244 for (CommentLine, LineNum) in GenericComment: 262 Line = LineNum) 268 PcdErr.SetLineNum(LineNum) 276 PcdErr.SetErrorNumber(ParsePcdErrorCode(ValueList[0], ContainerFile, LineNum)) 285 LineNum) 292 Line = LineNum) 298 Line = LineNum) [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/ |
D | DscFile.c | 108 ParserSetPosition (DSC->CurrentLine->FileName, DSC->CurrentLine->LineNum); in DSCFileGetLine() 167 UINT32 LineNum; in DSCParseInclude() local 221 LineNum = 0; in DSCParseInclude() 227 LineNum++; in DSCParseInclude() 228 ParserSetPosition (FileName, LineNum); in DSCParseInclude() 239 Error (FileName, LineNum, 0, NULL, "invalid format for !include"); in DSCParseInclude() 248 Error (FileName, LineNum, 0, NULL, "invalid format for !include"); in DSCParseInclude() 260 Error (FileName, LineNum, 0, NULL, "failed to parse !include file"); in DSCParseInclude() 272 NewLine->LineNum = LineNum; in DSCParseInclude() 411 TempSect->FirstLine->LineNum, in DSCParseInclude() [all …]
|
D | DscFile.h | 29 UINT32 LineNum; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
D | StrGather.c | 60 UINT32 LineNum; member 494 …Error (ParentSourceFile->FileName, ParentSourceFile->LineNum, 0, SourceFile->FileName, "include fi… in ProcessIncludeFile() 584 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr); in ParseFile() 601 SourceFile->LineNum++; in ParseFile() 603 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr); in ParseFile() 654 …Error (SourceFile->FileName, SourceFile->LineNum, 0, "unrecognized token", "%S", SourceFile->FileB… in ParseFile() 695 SourceFile->LineNum++; in PreprocessFile() 735 SourceFile->LineNum, in GetPrintableLanguageName() 750 …Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "… in GetPrintableLanguageName() 763 SourceFile->LineNum, in GetPrintableLanguageName() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | SimpleFileParsing.c | 64 unsigned int LineNum; member 221 return mGlobals.SourceFile.LineNum; in SFPGetLineNumber() 730 SourceFile->LineNum = 1; in ProcessFile() 755 int LineNum; in PreprocessFile() local 766 SourceFile->LineNum++; in PreprocessFile() 822 LineNum = 1; in PreprocessFile() 823 printf ("%04d: ", LineNum); in PreprocessFile() 826 printf ("'\n%04d: '", ++LineNum); in PreprocessFile() 933 …Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted string", "%S", SourceFile->F… 947 …Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "… [all …]
|
D | EfiUtilityMsgs.h | 96 UINT32 LineNum
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
D | StrGather.c | 69 UINT32 LineNum; member 521 …Error (ParentSourceFile->FileName, ParentSourceFile->LineNum, 0, SourceFile->FileName, "include fi… in ProcessIncludeFile() 611 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr); in ParseFile() 628 SourceFile->LineNum++; in ParseFile() 630 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr); in ParseFile() 686 …Error (SourceFile->FileName, SourceFile->LineNum, 0, "unrecognized token", "%S", SourceFile->FileB… in ParseFile() 727 SourceFile->LineNum++; in PreprocessFile() 765 …Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted printable language name", "%… in GetPrintableLanguageName() 775 …Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "… in GetPrintableLanguageName() 788 SourceFile->LineNum, in GetPrintableLanguageName() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | SimpleFileParsing.c | 57 UINTN LineNum; member 199 return mGlobals.SourceFile.LineNum; in SFPGetLineNumber() 711 SourceFile->LineNum = 1; in ProcessFile() 736 int LineNum; in PreprocessFile() local 747 SourceFile->LineNum++; in PreprocessFile() 803 LineNum = 1; in PreprocessFile() 804 printf ("%04d: ", LineNum); in PreprocessFile() 807 printf ("'\n%04d: '", ++LineNum); in PreprocessFile() 914 …Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted string", "%S", SourceFile->F… 928 …Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "… [all …]
|
D | EfiUtilityMsgs.h | 136 UINT32 LineNum
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/ |
D | UtilsMsgs.h | 78 UINT32 LineNum
|
D | UtilsMsgs.c | 407 UINT32 LineNum in ParserSetPosition() argument 425 mSourceFileLineNum = LineNum; in ParserSetPosition()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | InfParser.py | 576 LineNum = 0 580 LineNum += 1 595 Element.append([Line, LineNum]) 615 File=self.FullPath, Line=LineNum) 620 Element.append([Line, LineNum]) 628 File=self.FullPath, Line=LineNum)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/CustomizedDisplayLib/ |
D | CustomizedDisplayLib.c | 421 UINTN LineNum; in CreateDialog() local 452 LineNum = 0; in CreateDialog() 455 LineNum ++; in CreateDialog() 479 Top = ((DimensionsHeight - LineNum - 2) / 2) + gScreenDimensions.TopRow - 1; in CreateDialog() 480 Bottom = Top + LineNum + 2; in CreateDialog()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/POM/ |
D | CommonObject.py | 747 self.LineNum = 0 803 def SetLineNum(self, LineNum): argument 804 self.LineNum = LineNum 807 return self.LineNum
|