/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Library/ |
H A D | ParserValidate.py | 140 if TagName.strip() == '': 142 if TagName.strip() == '*': 172 Family = Family.strip() 233 Path = Path.strip() 422 Word = Word.strip() 486 return IsValidCFormatGuid(Word[Index+4:].strip()) 527 if IsValidSimpleWord(String.strip()): 530 if String.strip().startswith('"') and \ 531 String.strip().endswith('"'): 533 if String.strip() [all...] |
H A D | CommentParsing.py | 76 Comment = Comment.strip() 145 return Abstract.strip(), Description.strip(), Copyright.strip(), License.strip() 335 Comment = Comment.replace('##', '#').replace(' ', ' ').replace(' ', '#').strip('# ') 364 SubList = GenerateTokenList (List[0].strip()) 366 if List[1].strip().find('L"') == 0: 367 Comment = List[0].strip() + ':' + List[1].strip() [all...] |
H A D | String.py | 23 from string import strip namespace 47 return map(lambda l: l.strip(), String.split(SplitTag, MaxSplit)) 279 Line = Line.strip() 298 Line = Line.strip() 315 Line = Line.strip() 328 Line = LineParts[0].strip() 330 Comment = LineParts[1].strip() 341 Comment = Comment.strip() 438 Value = map(strip, LineList[1].split(ValueSplitCharacter)) 581 if LineList[Index].strip()[ [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/ |
H A D | runtime.c | 85 * @v cruft Initial substring of cruft to strip 88 char *strip; local 92 if ( ! ( strip = strstr ( cmdline, cruft ) ) ) 96 strip_end = strchr ( strip, ' ' ); 99 DBGC ( colour, "RUNTIME stripping \"%s\"\n", strip ); 100 strcpy ( strip, ( strip_end + 1 ) ); 102 DBGC ( colour, "RUNTIME stripping \"%s\"\n", strip ); 103 *strip = '\0';
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/UnitTest/ |
H A D | CommentGeneratingUnitTest.py | 216 self.assertEqual(Result.strip(), Expected) 251 self.assertEqual(Result.strip(), Expected) 286 self.assertEqual(Result.strip(), Expected) 310 self.assertEqual(Result.strip(), Expected) 332 self.assertEqual(Result.strip(), Expected.strip()) 354 self.assertEqual(Result.strip(), Expected.strip()) 388 self.assertEqual(Result.strip(), Expected.strip()) [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/ |
H A D | MetaDataParser.py | 131 Comment = Comment.strip() 201 return Abstract.strip(), Description.strip(), Copyright.strip(), License.strip() 234 Line = Line.strip() 247 Line = LineParts[0].strip() 249 Comment = LineParts[1].strip() 260 Comment = Comment.strip()
|
H A D | c.py | 145 FuncName = DeclSplitList[0].strip() 148 FuncName = FuncNamePartList[-1].strip() 188 Name = DeclList[0].strip() 198 Name = DeclList[0].strip() 209 Name = enum.Content[4:LBPos].strip() 225 Name = su.Content[SkipLen:].strip() 228 Name = su.Content[SkipLen:LBPos].strip() 241 TmpStr = td.ToType[LBPos + 1:].strip() 248 TmpStr = TmpStr[StarPos:].strip() 255 Name = Name.lstrip('*').strip() [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/ |
H A D | c.py | 140 DeclText = var.Declarator.strip() 143 DeclText = DeclText.lstrip('*').strip() 163 Name = DeclList[0].strip() 173 Name = DeclList[0].strip() 184 Name = enum.Content[4:LBPos].strip() 198 Name = su.Content[SkipLen:].strip() 201 Name = su.Content[SkipLen:LBPos].strip() 214 TmpStr = td.ToType[LBPos+1:].strip() 221 TmpStr = TmpStr[StarPos:].strip() 268 DeclText = ParamName.strip() [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenPatchPcdTable/ |
H A D | GenPatchPcdTable.py | 56 if lines[0].strip().find("Archive member included because of file (symbol)") != -1: 67 line = line.strip() 104 line = line.strip() 145 if pcd[1].strip() == efisec[0].strip():
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Parser/ |
H A D | InfBuildOptionSectionParser.py | 53 if LineContent.strip() == '': 59 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT): 179 if LineContent.strip().startswith("##") and AsBuildOptionFlag: 182 elif LineContent.strip().startswith("#") and AsBuildOptionFlag: 192 if LineContent.strip() == '': 196 if LineContent.strip().startswith("##") and AsBuildOptionFlag: 202 if not LineContent.strip().startswith("#"):
|
H A D | InfLibrarySectionParser.py | 59 if LibLineContent.strip() == '': 65 if LibLineContent.strip().startswith(DT.TAB_COMMENT_SPLIT): 162 if LineContent.strip() == '': 166 if not LineContent.strip().startswith("#"):
|
H A D | InfParser.py | 184 Line = Line.strip() 186 NextLine = FileLinesList[LineNo].strip() 227 if (Line.startswith(DT.TAB_SPECIAL_COMMENT) or not Line.strip().startswith("#")) and HeaderCommentStart \ 381 if SectionItem[0].strip().upper() == DT.TAB_INF_FIXED_PCD.upper() or \ 382 SectionItem[0].strip().upper() == DT.TAB_INF_PATCH_PCD.upper() or \ 383 SectionItem[0].strip().upper() == DT.TAB_INF_PCD_EX.upper() or \ 384 SectionItem[0].strip().upper() == DT.TAB_INF_PCD.upper() or \ 385 SectionItem[0].strip().upper() == DT.TAB_INF_FEATURE_PCD.upper(): 386 ArchList = GetSplitValueList(SectionItem[1].strip(), ' ') 388 ArchList = [SectionItem[1].strip()] [all...] |
H A D | InfGuidPpiProtocolSectionParser.py | 54 if LineContent.strip() == '': 58 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT): 141 if LineContent.strip() == '': 145 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT): 221 if LineContent.strip() == '': 319 if LineContent.strip() == '': 323 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT):
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Common/ |
H A D | TargetTxtClassObject.py | 87 Line = Line.strip() 92 Key = LineList[0].strip() 94 Value = LineList[1].strip()
|
H A D | Dictionary.py | 41 Dictionary[Key[0]] = LineList[1].strip().replace('\\','/')
|
H A D | String.py | 53 ValueList.append(String[Last:Index].strip()) 69 ValueList.append(String[Last:].strip()) 88 return map(lambda l: l.strip(), String.split(SplitStr, MaxSplit)) 326 Line = Line.strip(); 365 Line = Line.strip(); 383 Line = Line.strip(); 396 Line = LineParts[0].strip(); 398 Comment = LineParts[1].strip() 407 Comment = Comment.strip() 528 Value = map(string.strip, LineLis [all...] |
H A D | VpdInfoFile.py | 142 PcdValue = str(Pcd.SkuInfoList[Pcd.SkuInfoList.keys()[0]].DefaultValue).strip() 146 fd.write("%s.%s|%s|%s|%s \n" % (Pcd.TokenSpaceGuidCName, Pcd.TokenCName, str(Offset).strip(), str(Pcd.MaxDatumSize).strip(),PcdValue)) 169 Line = Line.strip() 184 if VpdObject.TokenSpaceGuidCName == TokenSpaceName and VpdObject.TokenCName == PcdTokenName.strip():
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Xml/ |
H A D | IniToXml.py | 51 Path = Path.strip() 89 Path = TokenList[0].strip().replace('\\', '/') 95 FileList[0] = TokenList[0].strip() 98 if len(Attr) != 2 or not Attr[0].strip() or not Attr[1].strip(): 101 Key = Attr[0].strip() 102 Val = Attr[1].strip() 334 Line = FileContent[Index].strip() 339 SectionName = Line[1:-1].strip() 355 TempKey = TokenList[0].strip() [all...] |
/vbox/src/VBox/ValidationKit/testmanager/batch/ |
H A D | vcs_import.py | 123 sAuthor = oLogEntry.findtext('author').strip(); 124 sDate = oLogEntry.findtext('date').strip(); 125 sMessage = oLogEntry.findtext('msg', '').strip();
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/ |
H A D | GenFds.py | 163 Pair.strip('"') 166 if List[0].strip() == "EFI_SOURCE": 167 GlobalData.gEfiSource = List[1].strip() 170 elif List[0].strip() == "EDK_SOURCE": 171 GlobalData.gEdkSource = List[1].strip() 174 elif List[0].strip() in ["WORKSPACE", "TARGET", "TOOLCHAIN"]: 175 GlobalData.gGlobalDefines[List[0].strip()] = List[1].strip() 177 GlobalData.gCommandLineDefines[List[0].strip()] = List[1].strip() [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Ecc/Xml/ |
H A D | XmlRoutines.py | 134 return XmlNode(Dom, String).firstChild.data.strip() 150 return Dom.firstChild.data.strip() 181 return Dom.getAttribute(Attribute).strip() 197 return Dom.nodeName.strip()
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Object/Parser/ |
H A D | InfLibraryClassesObject.py | 142 if LibItem[0].strip() != '': 143 if IsValidLibName(LibItem[0].strip()): 144 if LibItem[0].strip() != 'NULL': 168 if LibItem[1].strip() == '': 178 FeatureFlagRtv = IsValidFeatureFlagExp(LibItem[1].strip()) 186 LibItemObj.SetFeatureFlagExp(LibItem[1].strip())
|
H A D | InfSoucesObject.py | 48 if Item[4].strip() == '': 58 FeatureFlagRtv = IsValidFeatureFlagExp(Item[4].strip()) 68 if Item[3].strip() == '': 78 if Item[2].strip() == '': 88 if IsValidFamily(Item[1].strip()): 92 if Item[1].strip() == "*":
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/BPDG/ |
H A D | GenVpd.py | 39 self.PcdCName = PcdCName.strip() 40 self.PcdOffset = PcdOffset.strip() 41 self.PcdSize = PcdSize.strip() 42 self.PcdValue = PcdValue.strip() 43 self.Lineno = Lineno.strip() 44 self.FileName = FileName.strip() 216 ValueString = ValueString.strip() 217 ValueString = ValueString.lstrip('{').strip('}') 219 ValueList = [item.strip() for item in ValueList] 338 line = line.strip() [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Core/ |
H A D | IpiDb.py | 243 if Version == None or len(Version.strip()) == 0: 249 if NewDpFileName == None or len(NewDpFileName.strip()) == 0: 285 if Version == None or len(Version.strip()) == 0: 288 if DpGuid == None or len(DpGuid.strip()) == 0: 291 if DpVersion == None or len(DpVersion.strip()) == 0: 315 if Version == None or len(Version.strip()) == 0: 318 if PkgGuid == None or len(PkgGuid.strip()) == 0: 321 if PkgVersion == None or len(PkgVersion.strip()) == 0: 346 if Version == None or len(Version.strip()) == 0: 349 if DpGuid == None or len(DpGuid.strip()) [all...] |