/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
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/VfrCompile/ |
EfiVfr.h | 63 int LineNum; // line number where the structure was defined
85 UINT32 LineNum;
96 UINT32 LineNum;
118 UINT32 *LineNum
128 LineNum - the line number in the preprocessor-output file.
132 in the provided LineNum argument
139 UINT32 LineNum;
|
VfrServices.h | 84 UINT32 LineNum
94 LineNum - the line number from the source file that resulted
186 UINT32 LineNum
200 LineNum - line number from source file the byte resulted from
|
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; [all...] |
VfrServices.cpp | 359 while (LineCount < PoundLines + Curr->LineNum) {
376 while ((Curr != NULL) && ((Curr->LineNum == 0) || (LineCount >= PoundLines + Curr->LineNum))) {
538 UINT32 LineNum
548 LineNum - the line number from the source file that resulted
563 mQueuedLineNum = LineNum;
684 UINT32 LineNum
698 LineNum - line number from source file the byte resulted from
714 NewByte->LineNum = LineNum;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
VfrError.cpp | 97 IN UINT32 LineNum
104 mWholeScopeLine = LineNum;
162 IN UINT32 LineNum,
180 *FileLine = LineNum;
186 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) {
188 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
194 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
199 IN UINT32 LineNum,
208 GetFileNameLineNum (LineNum, &FileName, &FileLine); [all...] |
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 INT8 *ErrorMsg = "\0");
|
VfrSyntax.g | 275 UINT32 LineNum;
281 L1:"push" << LineNum = L1->getLine(); PackAction = VFR_PACK_PUSH; >>
282 | L2:"pop" << LineNum = L2->getLine(); PackAction = VFR_PACK_POP; >>
290 << mCVfrVarDataTypeDB.Pack (LineNum, PackAction, Identifier, PackNumber); >>
295 UINT32 LineNum;
298 N:Number << LineNum = N->getLine(); PackNumber = _STOU32(N->getText()); >>
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/ |
VfrError.cpp | 114 IN UINT32 LineNum
121 mWholeScopeLine = LineNum;
178 IN UINT32 LineNum,
196 *FileLine = LineNum;
202 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) {
204 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
210 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
215 IN UINT32 LineNum,
228 GetFileNameLineNum (LineNum, &FileName, &FileLine); [all...] |
VfrError.h | 95 UINT8 HandleError (IN EFI_VFR_RETURN_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL);
96 UINT8 HandleWarning (IN EFI_VFR_WARNING_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL);
97 VOID PrintMsg (IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL, IN CONST CHAR8 *MsgType = "Error", IN CONST CHAR8 *ErrorMsg = "");
|
VfrSyntax.g | 283 UINT32 LineNum;
289 L1:"push" << LineNum = L1->getLine(); PackAction = VFR_PACK_PUSH; >>
290 | L2:"pop" << LineNum = L2->getLine(); PackAction = VFR_PACK_POP; >>
298 << gCVfrVarDataTypeDB.Pack (LineNum, PackAction, Identifier, PackNumber); >>
303 UINT32 LineNum;
306 N:Number << LineNum = N->getLine(); PackNumber = _STOU32(N->getText(), N->getLine()); >>
307 << gCVfrVarDataTypeDB.Pack (LineNum, VFR_PACK_ASSIGN, NULL, PackNumber); >>
649 UINT32 LineNum;
658 << TypeName = U64->getText(); LineNum = U64->getLine(); >>
660 << TypeName = U32->getText(); LineNum = U32->getLine(); >> [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/ |
DscFile.c | 108 ParserSetPosition (DSC->CurrentLine->FileName, DSC->CurrentLine->LineNum);
167 UINT32 LineNum;
221 LineNum = 0;
227 LineNum++;
228 ParserSetPosition (FileName, LineNum);
239 Error (FileName, LineNum, 0, NULL, "invalid format for !include");
248 Error (FileName, LineNum, 0, NULL, "invalid format for !include");
260 Error (FileName, LineNum, 0, NULL, "failed to parse !include file");
272 NewLine->LineNum = LineNum;
[all...] |
DscFile.h | 29 UINT32 LineNum;
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
CommentParsing.py | 173 # (CommentLine, LineNum)
201 # @param LineNum: Line Num
203 def ParsePcdErrorCode (Value = None, ContainerFile = None, LineNum = None):
215 Line = LineNum)
227 Line = LineNum)
232 # LineNum)
244 for (CommentLine, LineNum) in GenericComment:
262 Line = LineNum)
268 PcdErr.SetLineNum(LineNum)
276 PcdErr.SetErrorNumber(ParsePcdErrorCode(ValueList[0], ContainerFile, LineNum))
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
SimpleFileParsing.c | 64 unsigned int LineNum;
221 return mGlobals.SourceFile.LineNum;
730 SourceFile->LineNum = 1;
755 int LineNum;
766 SourceFile->LineNum++;
822 LineNum = 1;
823 printf ("%04d: ", LineNum);
826 printf ("'\n%04d: '", ++LineNum);
933 Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted string", "%S", SourceFile->FileBufferPtr);
947 Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "%S", Start); [all...] |
EfiUtilityMsgs.h | 96 UINT32 LineNum
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
StrGather.c | 60 UINT32 LineNum;
494 Error (ParentSourceFile->FileName, ParentSourceFile->LineNum, 0, SourceFile->FileName, "include file not found");
584 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr);
601 SourceFile->LineNum++;
603 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr);
654 Error (SourceFile->FileName, SourceFile->LineNum, 0, "unrecognized token", "%S", SourceFile->FileBufferPtr);
695 SourceFile->LineNum++;
735 SourceFile->LineNum,
750 Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "%S", Start);
763 SourceFile->LineNum,
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/ |
UtilsMsgs.h | 78 UINT32 LineNum
|
UtilsMsgs.c | 407 UINT32 LineNum
417 LineNum - line number of the source file being parsed
425 mSourceFileLineNum = LineNum;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
StrGather.c | 69 UINT32 LineNum;
521 Error (ParentSourceFile->FileName, ParentSourceFile->LineNum, 0, SourceFile->FileName, "include file not found");
611 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr);
628 SourceFile->LineNum++;
630 printf ("%d: %S\n", SourceFile->LineNum, SourceFile->FileBufferPtr);
686 Error (SourceFile->FileName, SourceFile->LineNum, 0, "unrecognized token", "%S", SourceFile->FileBufferPtr);
727 SourceFile->LineNum++;
765 Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted printable language name", "%S", SourceFile->FileBufferPtr);
775 Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "%S", Start);
788 SourceFile->LineNum,
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
SimpleFileParsing.c | 57 UINTN LineNum;
199 return mGlobals.SourceFile.LineNum;
711 SourceFile->LineNum = 1;
736 int LineNum;
747 SourceFile->LineNum++;
803 LineNum = 1;
804 printf ("%04d: ", LineNum);
807 printf ("'\n%04d: '", ++LineNum);
914 Error (SourceFile->FileName, SourceFile->LineNum, 0, "expected quoted string", "%S", SourceFile->FileBufferPtr);
928 Warning (SourceFile->FileName, SourceFile->LineNum, 0, "carriage return found in quoted string", "%S", Start); [all...] |
EfiUtilityMsgs.h | 136 UINT32 LineNum
|
/external/llvm/include/llvm/IR/ |
DiagnosticInfo.h | 278 DiagnosticInfoSampleProfile(StringRef FileName, unsigned LineNum, 282 LineNum(LineNum), Msg(Msg) {} 286 LineNum(0), Msg(Msg) {} 289 : DiagnosticInfo(DK_SampleProfile, Severity), LineNum(0), Msg(Msg) {} 299 unsigned getLineNum() const { return LineNum; } 308 unsigned LineNum;
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
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/ |
CustomizedDisplayLib.c | 421 UINTN LineNum;
452 LineNum = 0;
455 LineNum ++;
479 Top = ((DimensionsHeight - LineNum - 2) / 2) + gScreenDimensions.TopRow - 1;
480 Bottom = Top + LineNum + 2;
|