Home
last modified time | relevance | path

Searched refs:CleanString (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DDecParserUnitTest.py26 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/
DString.py125 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 …]
DInfClassObject.py369 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])
DDscClassObject.py289 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 …]
DParsing.py453 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(…
DDecClassObject.py179 Line = CleanString(Line)
DEdkIIWorkspaceBuild.py125 self.SupModList = CleanString(Type).split(DataType.TAB_SPACE_SPLIT)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py79 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 …]
DParsing.py30 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/
DUefiShellLevel2CommandsLib.c323 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()
DUefiShellLevel2CommandsLib.h312 OUT CHAR16 **CleanString
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLib/
DUefiShellLib.h91 OUT CHAR16 **CleanString
DUefiShellLib.c4346 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/
DConfiguration.py292 Line = CleanString(Line)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DBuildClassObject.py124 self.SupModList = CleanString(Type).split(DataType.TAB_SPACE_SPLIT)
DMetaFileParser.py375 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/
DParser.py22 from Common.String import CleanString, GetSplitValueList, ReplaceMacro
66 Line = CleanString(Line)
777 Line = CleanString(Line)
DEot.py165 line = CleanString(line)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DDecParser.py34 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())
DDecParserMisc.py110 def CleanString(Line, CommentCharacter=TAB_COMMENT_SPLIT, \ function
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaFileParser.py500 Line = CleanString(Content[Index], AllowCppStyleComment=True)
504 NextLine = CleanString(Content[Index + 1])
844 Line = CleanString(Content[Index])