Searched refs:Line (Results 1 - 25 of 117) sorted by relevance

12345

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/
H A DParserWarning.py24 # @param Line The Line number that error occurs
26 def __init__(self, Str, File = None, Line = None):
29 self.LineNumber = Line
H A DMetaDataParser.py115 Line = CommentList[Index][0]
116 if _IsCopyrightLine(Line):
121 Line = Item[0]
124 if not Line.startswith('#') and Line:
130 Comment = CleanString2(Line)[1]
226 # @param Line: The string to be cleaned
230 def CleanString2(Line, CommentCharacter='#', AllowCppStyleComment=False):
234 Line = Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DParserWarning.py20 # @param Line The Line number that error occurs
22 def __init__(self, Str, File = None, Line = None):
25 self.LineNumber = Line
H A DInfParserLite.py116 for Line in Lines:
118 if Line == '':
120 if Line.startswith(TAB_SECTION_START) and Line.endswith(TAB_SECTION_END):
129 LineList = GetSplitValueList(Line[len(TAB_SECTION_START):len(Line) - len(TAB_SECTION_END)], TAB_COMMA_SPLIT)
136 EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one section definition, this is not allowed." % (CurrentSection, ItemList[0]), File=Filename, Line=LineNo)
140 RaiseParserError(Line, CurrentSection, Filename, '', LineNo)
148 SectionItemList.append([Line, LineNo])
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
H A DMisc.c51 HEFI_EDITOR_LINE *Line; local
53 Line = HMainEditor.BufferImage->CurrentLine;
54 if (Line == NULL) {
62 if (Line->Link.ForwardLink == HMainEditor.BufferImage->ListHead) {
66 Line = CR (Line->Link.ForwardLink, HEFI_EDITOR_LINE, Link, EFI_EDITOR_LINE_LIST);
69 return Line;
86 HEFI_EDITOR_LINE *Line; local
88 Line = HMainEditor.BufferImage->CurrentLine;
89 if (Line
122 HEFI_EDITOR_LINE *Line; local
155 HEFI_EDITOR_LINE *Line; local
199 HEFI_EDITOR_LINE *Line; local
[all...]
H A DBufferImage.c239 Print Line on Row
241 @param[in] Line The lline to print.
251 IN HEFI_EDITOR_LINE *Line,
310 for (Index = 0; Index < 0x08 && Index < Line->Size; Index++) {
327 if (Line->Buffer[Index] < 0x10) {
333 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]);
335 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line->Buffer[Index]);
347 while (Index < 0x10 && Index < Line->Size) {
364 if (Line->Buffer[Index] < 0x10) {
369 ShellPrintEx ((INT32)Pos - 1, (INT32)Row - 1, L"%x ", Line
250 HBufferImagePrintLine( IN HEFI_EDITOR_LINE *Line, IN UINTN Row, IN UINTN FRow, IN HEFI_EDITOR_COLOR_UNION Orig, IN HEFI_EDITOR_COLOR_UNION New ) argument
556 HEFI_EDITOR_LINE *Line; local
747 HEFI_EDITOR_LINE *Line; local
1045 HEFI_EDITOR_LINE *Line; local
1141 HEFI_EDITOR_LINE *Line; local
1272 HEFI_EDITOR_LINE *Line; local
1514 HEFI_EDITOR_LINE *Line; local
1573 HEFI_EDITOR_LINE *Line; local
1621 HEFI_EDITOR_LINE *Line; local
1666 HEFI_EDITOR_LINE *Line; local
1700 HEFI_EDITOR_LINE *Line; local
1753 HEFI_EDITOR_LINE *Line; local
1801 HEFI_EDITOR_LINE *Line; local
1833 HEFI_EDITOR_LINE *Line; local
1874 HEFI_EDITOR_LINE *Line; local
1919 HEFI_EDITOR_LINE *Line; local
2054 HEFI_EDITOR_LINE *Line; local
2151 HEFI_EDITOR_LINE *Line; local
2215 HEFI_EDITOR_LINE *Line; local
2279 HEFI_EDITOR_LINE *Line; local
[all...]
H A DFileImage.c153 HEFI_EDITOR_LINE *Line; local
161 Line = NULL;
234 Line = HBufferImageCreateLine ();
235 if (Line == NULL) {
240 HBufferImage.CurrentLine = Line;
267 HEFI_EDITOR_LINE *Line; local
329 Line = CR (Link, HEFI_EDITOR_LINE, Link, EFI_EDITOR_LINE_LIST);
331 if (Line->Size != 0) {
332 TotalSize += Line->Size;
335 // end of if Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/
H A DInfAsBuiltProcess.py68 for Line in FileLinesList:
69 if ReFindFileGuidPattern.match(Line):
70 FileGuidString = Line
71 if ReFindVerStringPattern.match(Line):
72 VerString = Line
102 for Line in FileLinesList:
104 Line = Line.strip()
106 if Line.startswith('['):
110 if Line
[all...]
H A DInfParser.py164 # Process Line Extender
171 OrigLines = [Line for Line in FileLinesList]
182 for Line in FileLinesList:
184 Line = Line.strip()
191 if (Line == '' or not Line) and LineNo == len(FileLinesList):
197 if Line.startswith(DT.TAB_SPECIAL_COMMENT) and \
198 (Line
[all...]
H A DInfLibrarySectionParser.py55 for Line in SectionString:
56 LibLineContent = Line[0]
57 LibLineNo = Line[1]
70 LibHeaderComments.append(Line)
80 LibHeaderComments.append(Line)
148 Line=Item[3])
158 for Line in SectionString:
159 LineContent = Line[0]
160 LineNo = Line[1]
171 Line
[all...]
H A DDecParserMisc.py58 Line = self.Content[self.LineIndex]
60 return Line
71 def SetNext(self, Line, HeadComment, TailComment):
72 self.NextLine = Line
105 # @param Line: The string to be cleaned
109 def CleanString(Line, CommentCharacter=TAB_COMMENT_SPLIT, \
114 Line = Line.strip()
119 Line = Line
[all...]
H A DInfGuidPpiProtocolSectionParser.py50 for Line in SectionString:
51 LineContent = Line[0]
52 LineNo = Line[1]
59 CommentsList.append(Line)
120 Line=LineIndex)
137 for Line in SectionString:
138 LineContent = Line[0]
139 LineNo = Line[1]
146 CommentsList.append(Line)
205 Line
[all...]
H A DInfPcdSectionParser.py60 File=FileName, Line=LineIndex)
70 for Line in SectionString:
71 PcdLineContent = Line[0]
72 PcdLineNo = Line[1]
78 CommentsList.append(Line)
129 for Line in SectionString:
130 LineContent = Line[0].strip()
131 LineNo = Line[1]
159 Line=LineNo,
168 Line
[all...]
H A DInfDepexSectionParser.py44 for Line in SectionString:
45 LineContent = Line[0]
46 LineNo = Line[1]
58 (FileName, LineContent, Line[1]),
104 Line=LastItem[3])
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/
H A DString.py166 for Line in LineList:
167 Line = CleanString(Line, CommentCharacter)
168 if Line != '' and Line[0] != CommentCharacter:
169 KeyValues.append([CleanString(Line, CommentCharacter), newKey[1]])
192 for Line in LineList:
193 Line = CleanString(Line, CommentCharacter)
194 if Line !
[all...]
H A DDictionary.py31 for Line in F:
32 if Line.startswith(CommentCharacter):
34 LineList = Line.split(KeySplitCharacter,1)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Library/
H A DString.py98 for Line in LineList:
99 Line = CleanString(Line, CommentCharacter)
100 if Line != '' and Line[0] != CommentCharacter:
101 KeyValues.append([CleanString(Line, CommentCharacter), NewKey[1]])
122 for Line in LineList:
123 Line = CleanString(Line, CommentCharacter)
124 if Line !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/
H A DFileBuffer.c167 CONST EFI_EDITOR_LINE *Line; local
173 for (Line = CurrentLine, Index = 0; Index < Count; Index++) {
177 if (Line->Link.ForwardLink == LineList) {
181 Line = CR (Line->Link.ForwardLink, EFI_EDITOR_LINE, Link, LINE_LIST_SIGNATURE);
184 return ((EFI_EDITOR_LINE *)Line);
207 CONST EFI_EDITOR_LINE *Line; local
213 for (Line = CurrentLine, Index = 0; Index < Count; Index++) {
217 if (Line->Link.BackLink == LineList) {
221 Line
242 EFI_EDITOR_LINE *Line; local
276 EFI_EDITOR_LINE *Line; local
414 EFI_EDITOR_LINE *Line; local
483 FileBufferPrintLine( IN CONST EFI_EDITOR_LINE *Line, IN CONST UINTN Row ) argument
554 EFI_EDITOR_LINE *Line; local
665 EFI_EDITOR_LINE *Line; local
780 EFI_EDITOR_LINE *Line; local
1412 EFI_EDITOR_LINE *Line; local
1650 EFI_EDITOR_LINE *Line; local
1693 LineDeleteAt( IN OUT EFI_EDITOR_LINE *Line, IN UINTN Pos ) argument
1763 EFI_EDITOR_LINE *Line; local
1835 EFI_EDITOR_LINE *Line; local
1932 EFI_EDITOR_LINE *Line; local
1995 EFI_EDITOR_LINE *Line; local
2045 LineStrInsert( IN EFI_EDITOR_LINE *Line, IN CHAR16 Char, IN UINTN Pos, IN UINTN StrSize ) argument
2102 EFI_EDITOR_LINE *Line; local
2201 EFI_EDITOR_LINE *Line; local
2247 EFI_EDITOR_LINE *Line; local
2290 EFI_EDITOR_LINE *Line; local
2341 EFI_EDITOR_LINE *Line; local
2397 EFI_EDITOR_LINE *Line; local
2649 EFI_EDITOR_LINE *Line; local
2796 EFI_EDITOR_LINE *Line; local
2876 EFI_EDITOR_LINE *Line; local
2953 EFI_EDITOR_LINE *Line; local
3247 EFI_EDITOR_LINE *Line; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DMyAlloc.c51 UINTN Line
69 // Line := Set to __LINE__ by macro expansion.
83 if (File == NULL || Line == 0) {
85 "\nMyCheck(Final=%u, File=%s, Line=%u)"
89 (unsigned)Line
97 "\nMyCheck(Final=%u, File=%s, Line=%u)"
101 (unsigned)Line
120 "\nMyCheck(Final=%u, File=%s, Line=%u)""\nStructure corrupted!"
121 "\nFile=%s, Line=%u, nSize=%u, Head=%xh, Tail=%xh\n",
124 (unsigned)Line,
[all...]
H A DMyAlloc.h57 UINTN Line; member in struct:MyAllocStruct
63 // Cksum := (UINTN)This + (UINTN)Next + Line + Size + (UINTN)File +
68 // Line := __LINE__
91 UINTN Line
111 // Line := Set to __LINE__ by macro expansion.
123 UINTN Line
142 // Line := Set to __LINE__ by macro expansion.
155 UINTN Line
175 // Line := Set to __LINE__ by macro expansion.
187 UINTN Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/AutoGen/
H A DUniClassObject.py206 def GetLangDef(self, File, Line):
207 Lang = distutils.util.split_quoted((Line.split(u"//")[0]))
215 LineNo = GetLineNo(FileIn, Line, False)
217 ExtraData="""%s\n\t*Correct format is like '#langdef en-US "English"'""" % Line, File = File, Line = LineNo)
304 for Line in FileIn:
305 Line = FileIn[LineCount]
307 Line = Line.strip()
311 if Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkPkg/Library/FrameworkUefiLib/
H A DConsole.c328 CHAR16 *Line; local
394 Line = AllocateZeroPool ((MaxLength + 3) * sizeof (CHAR16));
395 ASSERT (Line != NULL);
400 SetMem16 (Line, (MaxLength + 2) * 2, BOXDRAW_HORIZONTAL);
401 Line[0] = BOXDRAW_DOWN_RIGHT;
402 Line[MaxLength + 1] = BOXDRAW_DOWN_LEFT;
403 Line[MaxLength + 2] = L'\0';
405 ConOut->OutputString (ConOut, Line);
413 SetMem16 (Line, (MaxLength + 2) * 2, L' ');
418 CopyMem (Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiLib/
H A DConsole.c328 CHAR16 *Line; local
394 Line = AllocateZeroPool ((MaxLength + 3) * sizeof (CHAR16));
395 ASSERT (Line != NULL);
400 SetMem16 (Line, (MaxLength + 2) * 2, BOXDRAW_HORIZONTAL);
401 Line[0] = BOXDRAW_DOWN_RIGHT;
402 Line[MaxLength + 1] = BOXDRAW_DOWN_LEFT;
403 Line[MaxLength + 2] = L'\0';
405 ConOut->OutputString (ConOut, Line);
413 SetMem16 (Line, (MaxLength + 2) * 2, L' ');
418 CopyMem (Line
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Trim/
H A DTrim.py33 ## Regular expression for matching Line Control directive like "#line xxx"
151 Line = Lines[Index]
154 # with Line Control directive
156 MatchList = gLineControlDirective.findall(Line)
181 Line = gHexNumberPattern.sub(r"0\2h", Line)
183 Line = gHexNumberPattern.sub(r"\1\2", Line)
185 Line = gLongNumberPattern.sub(r"\1", Line)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/TargetTool/
H A DTargetTool.py63 for Line in f:
64 if Line.startswith(CommentCharacter) or Line.strip() == '':
66 LineList = Line.split(KeySplitCharacter,1)
103 for Line in fr:
104 if Line.startswith(CommentCharacter) or Line.strip() == '':
105 fw.write(Line)
107 LineList = Line.split(KeySplitCharacter,1)
117 Line
[all...]

Completed in 65 milliseconds

12345