Home
last modified time | relevance | path

Searched refs:CommentLines (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DCommentGenerating.py57 def GenGenericComment (CommentLines): argument
58 if not CommentLines:
60 CommentLines = CommentLines.rstrip(END_OF_LINE)
62 (GetSplitValueList(CommentLines, END_OF_LINE)) + END_OF_LINE
73 def GenGenericCommentF (CommentLines, NumOfPound=1, IsPrompt=False, IsInfLibraryClass=False): argument
74 if not CommentLines:
80 if CommentLines.endswith(END_OF_LINE):
81 CommentLines = CommentLines[:-1]
85 CommentLines.replace(END_OF_LINE, '') + END_OF_LINE
87 CommentLineList = GetSplitValueList(CommentLines, END_OF_LINE)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DCommentGeneratingUnitTest.py1389 CommentLines = 'Comment Line 1'
1390 Result = GenGenericCommentF(CommentLines)
1395 CommentLines = '\n'
1396 Result = GenGenericCommentF(CommentLines)
1401 CommentLines = '\n\n\n'
1402 Result = GenGenericCommentF(CommentLines)
1407 CommentLines = 'coment line 1\n'
1408 Result = GenGenericCommentF(CommentLines)
1413 CommentLines = 'coment line 1\n coment line 2\n'
1414 Result = GenGenericCommentF(CommentLines)