/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | String.py | 164 def GetLibraryClassesWithModuleType(Lines, Key, KeyValues, CommentCharacter): argument 169 Line = CleanString(Line, CommentCharacter) 170 if Line != '' and Line[0] != CommentCharacter: 171 KeyValues.append([CleanString(Line, CommentCharacter), newKey[1]]) 186 def GetDynamics(Lines, Key, KeyValues, CommentCharacter): argument 195 Line = CleanString(Line, CommentCharacter) 196 if Line != '' and Line[0] != CommentCharacter: 197 KeyValues.append([CleanString(Line, CommentCharacter), SkuIdNameList[1]]) 330 def CleanString(Line, CommentCharacter=DataType.TAB_COMMENT_SPLIT, AllowCppStyleComment=False, Buil… argument 339 Line = Line.replace(DataType.TAB_COMMENT_EDK_SPLIT, CommentCharacter) [all …]
|
D | EdkIIWorkspace.py | 183 …def ConvertTextFileToDictionary(self, FileName, Dictionary, CommentCharacter, KeySplitCharacter, V… argument 186 …nvertTextFileToDictionary(self.WorkspaceFile(FileName), Dictionary, CommentCharacter, KeySplitChar… 201 …def ConvertDictionaryToTextFile(self, FileName, Dictionary, CommentCharacter, KeySplitCharacter, V… argument 204 …nvertDictionaryToTextFile(self.WorkspaceFile(FileName), Dictionary, CommentCharacter, KeySplitChar… 220 def ConvertTextFileToDictionary(FileName, Dictionary, CommentCharacter, KeySplitCharacter, ValueSpl… argument 230 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] not in Keys: 253 def ConvertDictionaryToTextFile(FileName, Dictionary, CommentCharacter, KeySplitCharacter, ValueSpl… argument 271 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] in Dictionary:
|
D | Dictionary.py | 28 def ConvertTextFileToDictionary(FileName, Dictionary, CommentCharacter, KeySplitCharacter, ValueSpl… argument 33 if Line.startswith(CommentCharacter): 38 if len(Key) == 1 and Key[0][0] != CommentCharacter and Key[0] not in Keys:
|
D | TargetTxtClassObject.py | 79 def ConvertTextFileToDict(self, FileName, CommentCharacter, KeySplitCharacter): argument 91 if Line.startswith(CommentCharacter) or Line == '':
|
D | Parsing.py | 541 def GetComponents(Lines, Key, KeyValues, CommentCharacter): argument 552 Line = CleanString(Line, CommentCharacter) 563 ListItem = CleanString(Line.rsplit('{', 1)[0], CommentCharacter)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | String.py | 94 def GetLibraryClassesWithModuleType(Lines, Key, KeyValues, CommentCharacter): argument 99 Line = CleanString(Line, CommentCharacter) 100 if Line != '' and Line[0] != CommentCharacter: 101 KeyValues.append([CleanString(Line, CommentCharacter), NewKey[1]]) 114 def GetDynamics(Lines, Key, KeyValues, CommentCharacter): argument 123 Line = CleanString(Line, CommentCharacter) 124 if Line != '' and Line[0] != CommentCharacter: 125 KeyValues.append([CleanString(Line, CommentCharacter), SkuIdNameList[1]]) 275 def CleanString(Line, CommentCharacter=DataType.TAB_COMMENT_SPLIT, AllowCppStyleComment=False): argument 284 Line = Line.replace(DataType.TAB_COMMENT_EDK1_SPLIT, CommentCharacter) [all …]
|
D | Misc.py | 1067 def GetCharIndexOutStr(CommentCharacter, Line): argument 1080 elif Line[Index] == CommentCharacter and InString : 1082 …elif Line[Index] == CommentCharacter and (Index +1) < len(Line) and Line[Index+1] == CommentCharac…
|
D | Parsing.py | 421 def GetComponents(Lines, KeyValues, CommentCharacter): argument 435 Line = CleanString(Line, CommentCharacter) 446 ListItem = CleanString(Line.rsplit('{', 1)[0], CommentCharacter)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
D | MetaDataParser.py | 238 def CleanString2(Line, CommentCharacter='#', AllowCppStyleComment=False): argument 247 Line = Line.replace('//', CommentCharacter) 251 LineParts = Line.split(CommentCharacter, 1) 263 while Start < End and Comment.startswith(CommentCharacter, Start, End): 265 while End >= 0 and Comment.endswith(CommentCharacter, Start, End):
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/ |
D | TargetTool.py | 58 def ConvertTextFileToDict(self, FileName, CommentCharacter, KeySplitCharacter): argument 63 if Line.startswith(CommentCharacter) or Line.strip() == '': 68 … if Key.startswith(CommentCharacter) == False and Key in self.TargetTxtDictionary.keys(): 96 def RWFile(self, CommentCharacter, KeySplitCharacter, Num): argument 103 if Line.startswith(CommentCharacter) or Line.strip() == '': 109 … if Key.startswith(CommentCharacter) == False and Key in self.TargetTxtDictionary.keys():
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | DecParserMisc.py | 110 def CleanString(Line, CommentCharacter=TAB_COMMENT_SPLIT, \ argument 120 Line = Line.replace(TAB_COMMENT_EDK1_SPLIT, CommentCharacter) 130 if Line[Index] == CommentCharacter and not InQuote:
|