Home
last modified time | relevance | path

Searched refs:LineNum (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DCommentParsingUnitTest.py55 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/
DVfrError.cpp97 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 …]
DVfrError.h82 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…
DVfrSyntax.g275 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/
DVfrError.cpp114 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 …]
DVfrError.h99 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"…
DVfrSyntax.g286 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/BaseTools/Source/Python/UPT/Library/
DCommentParsing.py203 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/VfrCompile/
DEfiVfr.h63 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
DVfrCompile.g606 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 …]
DVfrServices.cpp359 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()
DVfrServices.h84 UINT32 LineNum
186 UINT32 LineNum
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DDscFile.c108 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 …]
DDscFile.h29 UINT32 LineNum; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/
DStrGather.c60 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/
DSimpleFileParsing.c64 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 …]
DEfiUtilityMsgs.h96 UINT32 LineNum
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/
DStrGather.c69 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/
DSimpleFileParsing.c57 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 …]
DEfiUtilityMsgs.h136 UINT32 LineNum
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParser.py576 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/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DUtilsMsgs.c407 UINT32 LineNum in ParserSetPosition() argument
425 mSourceFileLineNum = LineNum; in ParserSetPosition()
DUtilsMsgs.h78 UINT32 LineNum
/device/linaro/bootloader/edk2/MdeModulePkg/Library/CustomizedDisplayLib/
DCustomizedDisplayLib.c421 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/
DCommonObject.py747 self.LineNum = 0
803 def SetLineNum(self, LineNum): argument
804 self.LineNum = LineNum
807 return self.LineNum

12