/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
D | DecParserUnitTest.py | 26 CleanString 35 Line, Comment = CleanString('') 39 Line, Comment = CleanString('line without comment') 43 Line, Comment = CleanString('# pure comment') 47 Line, Comment = CleanString('line # and comment') 52 Line, Comment = CleanString('line // and comment', AllowCppStyleComment = True) 415 dec._RawData.CurrentLine = CleanString(dec._RawData.GetNextLine())[0] 424 dec._RawData.CurrentLine = CleanString(dec._RawData.GetNextLine())[0] 433 dec._RawData.CurrentLine = CleanString(dec._RawData.GetNextLine())[0] 437 dec._RawData.CurrentLine = CleanString(dec._RawData.GetNextLine())[0] [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | String.py | 125 Defines[(CleanString(List[0]), Arch)] = CleanString(List[1]) 147 …IncludeFile = CleanString(String[String.upper().find(DataType.TAB_INCLUDE.upper() + ' ') + len(Dat… 169 Line = CleanString(Line, CommentCharacter) 171 KeyValues.append([CleanString(Line, CommentCharacter), newKey[1]]) 195 Line = CleanString(Line, CommentCharacter) 197 KeyValues.append([CleanString(Line, CommentCharacter), SkuIdNameList[1]]) 330 def CleanString(Line, CommentCharacter=DataType.TAB_COMMENT_SPLIT, AllowCppStyleComment=False, Buil… function 431 Line = CleanString(Line, CommentCharacter) 449 String = CleanString(String) 464 VerString = CleanString(VerString) [all …]
|
D | InfClassObject.py | 369 Line = CleanString(Line) 572 Lib.LibraryClass = CleanString(List[0]) 576 Lib.SupModuleList = GetSplitValueList(CleanString(List[1]), ' ') 581 ModuleHeader.CustomMakefile[CleanString(List[0])] = CleanString(List[1]) 586 Image.ModuleEntryPoint = CleanString(D[1]) 590 Image.ModuleUnloadImage = CleanString(D[1]) 594 LibraryClass.Constructor = CleanString(D[1]) 598 LibraryClass.Destructor = CleanString(D[1]) 605 ModuleHeader.Define[CleanString(List[0])] = CleanString(List[1]) 611 ModuleHeader.Specification[CleanString(List[0])] = CleanString(List[1])
|
D | DscClassObject.py | 289 if CleanString(NewItem) == '': 344 if CleanString(NewItem) == '': 396 if CleanString(NewItem) == '': 438 if CleanString(NewItem) == '': 497 if CleanString(NewItem) == '': 547 if CleanString(NewItem) == '': 600 if CleanString(NewItem) == '': 657 if CleanString(NewItem) == '': 714 if CleanString(NewItem) == '': 765 if CleanString(NewItem) == '': [all …]
|
D | Parsing.py | 453 ListItem = CleanString(Line.rsplit('{', 1)[0], DataType.TAB_COMMENT_SPLIT) 552 Line = CleanString(Line, CommentCharacter) 563 ListItem = CleanString(Line.rsplit('{', 1)[0], CommentCharacter) 797 …Define = GetSplitValueList(CleanString(LineValue[LineValue.upper().find(DataType.TAB_DEFINE.upper(…
|
D | DecClassObject.py | 179 Line = CleanString(Line)
|
D | EdkIIWorkspaceBuild.py | 125 self.SupModList = CleanString(Type).split(DataType.TAB_SPACE_SPLIT)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | String.py | 79 Defines[(CleanString(List[0]), Arch)] = CleanString(List[1]) 99 Line = CleanString(Line, CommentCharacter) 101 KeyValues.append([CleanString(Line, CommentCharacter), NewKey[1]]) 123 Line = CleanString(Line, CommentCharacter) 125 KeyValues.append([CleanString(Line, CommentCharacter), SkuIdNameList[1]]) 275 def CleanString(Line, CommentCharacter=DataType.TAB_COMMENT_SPLIT, AllowCppStyleComment=False): function 365 Line = CleanString(Line, CommentCharacter) 382 String = CleanString(String) 436 LineList[1] = CleanString(LineList[1], CommentCharacter) 440 Value = CleanString(LineList[1], CommentCharacter).splitlines() [all …]
|
D | Parsing.py | 30 from Library.String import CleanString 308 ListItem = CleanString(Line.rsplit('{', 1)[0], \ 435 Line = CleanString(Line, CommentCharacter) 446 ListItem = CleanString(Line.rsplit('{', 1)[0], CommentCharacter) 724 GetSplitValueList(CleanString\
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | UefiShellLevel2CommandsLib.c | 323 OUT CHAR16 **CleanString in ShellLevel2StripQuotes() argument 328 if (OriginalString == NULL || CleanString == NULL) { in ShellLevel2StripQuotes() 332 *CleanString = AllocateCopyPool (StrSize (OriginalString), OriginalString); in ShellLevel2StripQuotes() 333 if (*CleanString == NULL) { in ShellLevel2StripQuotes() 337 for (Walker = *CleanString; Walker != NULL && *Walker != CHAR_NULL ; Walker++) { in ShellLevel2StripQuotes()
|
D | UefiShellLevel2CommandsLib.h | 312 OUT CHAR16 **CleanString
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLib/ |
D | UefiShellLib.h | 91 OUT CHAR16 **CleanString
|
D | UefiShellLib.c | 4346 OUT CHAR16 **CleanString in InternalShellStripQuotes() argument 4351 if (OriginalString == NULL || CleanString == NULL) { in InternalShellStripQuotes() 4355 *CleanString = AllocateCopyPool (StrSize (OriginalString), OriginalString); in InternalShellStripQuotes() 4356 if (*CleanString == NULL) { in InternalShellStripQuotes() 4360 for (Walker = *CleanString; Walker != NULL && *Walker != CHAR_NULL ; Walker++) { in InternalShellStripQuotes()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | Configuration.py | 292 Line = CleanString(Line)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
D | BuildClassObject.py | 124 self.SupModList = CleanString(Type).split(DataType.TAB_SPACE_SPLIT)
|
D | MetaFileParser.py | 375 self._CurrentLine = CleanString(self._CurrentLine, BuildOption=True) 900 Line = CleanString(Content[Index]) 1175 self._CurrentLine = CleanString(self._CurrentLine, BuildOption=True) 1370 … GlobalData.gPlatformOtherPcds[Name] = (CleanString(Content[Line - 1]), PcdLine, PcdType)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | Parser.py | 22 from Common.String import CleanString, GetSplitValueList, ReplaceMacro 66 Line = CleanString(Line) 777 Line = CleanString(Line)
|
D | Eot.py | 165 line = CleanString(line)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | DecParser.py | 34 from Parser.DecParserMisc import CleanString 259 Line, Comment = CleanString(self._RawData.GetNextLine()) 328 Line, Comment = CleanString(self._RawData.GetNextLine()) 872 Line, Comment = CleanString(self._RawData.GetNextLine())
|
D | DecParserMisc.py | 110 def CleanString(Line, CommentCharacter=TAB_COMMENT_SPLIT, \ function
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/ |
D | MetaFileParser.py | 500 Line = CleanString(Content[Index], AllowCppStyleComment=True) 504 NextLine = CleanString(Content[Index + 1]) 844 Line = CleanString(Content[Index])
|