Home
last modified time | relevance | path

Searched refs:rstrip (Results 1 – 25 of 88) sorted by relevance

1234

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DCommentGenerating.py46 TailCommentLines = TailCommentLines.rstrip(END_OF_LINE)
60 CommentLines = CommentLines.rstrip(END_OF_LINE)
139 Abstract = Abstract.rstrip('\r\n')
147 Description = Description.rstrip('\r\n')
156 Copyright = Copyright.rstrip('\r\n')
162 License = License.rstrip('\r\n')
DParserValidate.py267 Path = Path.rstrip('/')
603 StringValue = PcdValue.strip().lstrip('L\"').rstrip('\"')
607 StringValue = PcdValue.strip().lstrip('\"').rstrip('\"')
625 StringValue = PcdValue.strip().lstrip('{').rstrip('}')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCodeFragmentCollector.py252 … if BeforeHashPart.rstrip().endswith(T_CHAR_COMMA) or BeforeHashPart.rstrip().endswith(';'):
255 if Line - 2 >= 0 and str(self.Profile.FileLinesList[Line - 2]).rstrip().endswith(','):
258 if Line - 2 >= 0 and str(self.Profile.FileLinesList[Line - 2]).rstrip().endswith(';'):
295 if PPDirectiveObj.Content.rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
317 if CurrentLine.rstrip(T_CHAR_LF).rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCodeFragmentCollector.py258 … if BeforeHashPart.rstrip().endswith(T_CHAR_COMMA) or BeforeHashPart.rstrip().endswith(';'):
261 if Line - 2 >= 0 and str(self.Profile.FileLinesList[Line - 2]).rstrip().endswith(','):
264 if Line - 2 >= 0 and str(self.Profile.FileLinesList[Line - 2]).rstrip().endswith(';'):
305 if PPDirectiveObj.Content.rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
330 if CurrentLine.rstrip(T_CHAR_LF).rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
427 if PPDirectiveObj.Content.rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
452 if CurrentLine.rstrip(T_CHAR_LF).rstrip(T_CHAR_CR).endswith(T_CHAR_BACKSLASH):
Dc.py289 ParamStr = FuncDeclarator[LBPos + 1:].rstrip(')')
296 FuncName = FuncName.rstrip('\r\n').rstrip('\n')
300 FuncName = FuncName.rstrip('\r')
304 FuncName = FuncName.rstrip(' ')
307 FuncName = FuncName.rstrip('\t')
619 FileName = FileName.lstrip('<').rstrip('>').strip()
630 FileName = FileName.lstrip('<').rstrip('>').strip()
658 PredicateList.append(Exp.rstrip(';').rstrip(')').strip())
672 PredicateList.append(Exp.rstrip(';').rstrip(')').strip())
768 TmpStr = Str.rstrip(';').rstrip(')')
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcalendar.py321 s = s.rstrip()
323 s += self.formatweekheader(w).rstrip()
326 s += self.formatweek(week, w).rstrip()
340 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip())
349 a(formatstring(names, colwidth, c).rstrip())
352 a(formatstring(headers, colwidth, c).rstrip())
363 a(formatstring(weeks, colwidth, c).rstrip())
Dposixpath.py86 head = head.rstrip('/')
123 head = head.rstrip('/')
270 userhome = userhome.rstrip('/') or userhome
Dstringold.py93 def rstrip(s): function
100 return s.rstrip()
Dpy_compile.py150 filename = filename.rstrip('\n')
Dstring.py270 def rstrip(s, chars=None): function
277 return s.rstrip(chars)
Dmultifile.py92 marker = line.rstrip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcalendar.py325 s = s.rstrip()
327 s += self.formatweekheader(w).rstrip()
330 s += self.formatweek(week, w).rstrip()
344 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip())
353 a(formatstring(names, colwidth, c).rstrip())
356 a(formatstring(headers, colwidth, c).rstrip())
367 a(formatstring(weeks, colwidth, c).rstrip())
Dstring.py272 def rstrip(s, chars=None): function
279 return s.rstrip(chars)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/comparisons/
Dregextest.py44 return s.rstrip('\n')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpatchcheck.py51 return [x.decode().rstrip() for x in st.stdout]
53 output = (x.decode().rstrip().rsplit(None, 1)[-1]
Dcombinerefs.py114 print '??? new object created while tearing down:', line.rstrip()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/
DGenMetaFileMisc.py167 NewStateMent = Statement.ljust(LeftOffset) + ' ' + Comment.rstrip('\n')
169 NewStateMent = Statement + ' ' + Comment.rstrip('\n')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_pep352.py49 superclass_name = inheritance_tree.readline().rstrip()
59 exc_line = exc_line.rstrip()
Dtest_profile.py64 filename = filename.rstrip('co')
Dtest_dis.py95 lines = [line.rstrip() for line in lines]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_msvc9compiler.py129 content = '\n'.join([line.rstrip() for line in f.readlines()])
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DInfSectionParser.py76 SectionLine = key.lstrip(TAB_SECTION_START).rstrip(TAB_SECTION_END)
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DPatchCheck.py280 elif len(line.rstrip()) != 0:
285 self.set_filename(line[6:].rstrip())
350 stripped = line.rstrip()
373 err2 = 'Line: ' + self.lines[self.line_num].rstrip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/
Dwiki.py31 line = line.rstrip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dtext_file.py265 line = line.rstrip()

1234