Home
last modified time | relevance | path

Searched refs:lstrip (Results 1 – 25 of 56) sorted by relevance

123

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
Dc.py143 DeclText = DeclText.lstrip('*').strip()
154 var.Declarator = var.Declarator.lstrip().lstrip(FuncNamePartList[Index])
283 DeclText = DeclText.lstrip('*').strip()
316 DeclText = DeclText.lstrip('*').strip()
318 FuncDef.Declarator = FuncDef.Declarator.lstrip('*')
361 Ext = os.path.splitext(BaseName)[1].lstrip('.')
DCodeFragmentCollector.py261 …f str(self.Profile.FileLinesList[Line]).lstrip().startswith(',') or str(self.Profile.FileLinesList…
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
Dc.py111 DeclText = var.Declarator.lstrip()
122 DeclText = DeclText.lstrip('*')
124 DeclText = DeclText.lstrip('\r\n').lstrip('\r')
128 DeclText = DeclText.lstrip('\n')
132 DeclText = DeclText.lstrip(' ')
135 DeclText = DeclText.lstrip('\t')
255 Name = Name.lstrip('*').strip()
335 DeclText = DeclText.lstrip('*').strip()
411 DeclText = FuncDef.Declarator.lstrip()
419 DeclText = DeclText.lstrip('*')
[all …]
DCodeFragmentCollector.py267 …f str(self.Profile.FileLinesList[Line]).lstrip().startswith(',') or str(self.Profile.FileLinesList…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dtext_file.py237 line = line.lstrip()
263 line = line.lstrip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dquoprimime.py97 L.append(s.lstrip())
101 L.append(s.lstrip())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstringold.py84 def lstrip(s): function
90 return s.lstrip()
Dinspect.py355 return len(expline) - len(string.lstrip(expline))
384 content = len(string.lstrip(line))
390 lines[0] = lines[0].lstrip()
611 if end >= 0 and string.lstrip(lines[end])[:1] == '#' and \
613 comments = [string.lstrip(string.expandtabs(lines[end]))]
616 comment = string.lstrip(string.expandtabs(lines[end]))
621 comment = string.lstrip(string.expandtabs(lines[end]))
Dstring.py260 def lstrip(s, chars=None): function
267 return s.lstrip(chars)
DUserString.py104 def lstrip(self, chars=None): return self.__class__(self.data.lstrip(chars)) member in UserString
Dcookielib.py253 text = text.lstrip()
297 text = text.lstrip()
396 elif text.lstrip().startswith(","):
398 text = text.lstrip()[1:]
474 k = k.lstrip()
Dtraceback.py192 caretspace = badline.rstrip('\n')[:offset].lstrip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dinspect.py353 return len(expline) - len(string.lstrip(expline))
382 content = len(string.lstrip(line))
388 lines[0] = lines[0].lstrip()
613 if end >= 0 and string.lstrip(lines[end])[:1] == '#' and \
615 comments = [string.lstrip(string.expandtabs(lines[end]))]
618 comment = string.lstrip(string.expandtabs(lines[end]))
623 comment = string.lstrip(string.expandtabs(lines[end]))
Dstring.py262 def lstrip(s, chars=None): function
269 return s.lstrip(chars)
Dtraceback.py194 caretspace = caretspace[:offset].lstrip()
Dcmd.py264 line = origline.lstrip()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py603 StringValue = PcdValue.strip().lstrip('L\"').rstrip('\"')
607 StringValue = PcdValue.strip().lstrip('\"').rstrip('\"')
625 StringValue = PcdValue.strip().lstrip('{').rstrip('}')
DCommentParsing.py253 Macro = MatchedStr.strip().lstrip('$(').rstrip(')').strip()
386 Comment = TailComment.lstrip(" #")
594 HelpText = HelpText.lstrip('# ')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DInfSectionParser.py76 SectionLine = key.lstrip(TAB_SECTION_START).rstrip(TAB_SECTION_END)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebsucker.py92 path = path.lstrip("/")
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DExpression.py426 if Token.lstrip('{').rstrip('}').find('{') == -1:
427 if not [Hex for Hex in Token.lstrip('{').rstrip('}').split(',') if len(Hex) > 4]:
527 Token = Token.lstrip('0')
DRangeExpression.py537 if Token.lstrip('{').rstrip('}').find('{') == -1:
538 if not [Hex for Hex in Token.lstrip('{').rstrip('}').split(',') if len(Hex) > 4]:
638 Token = Token.lstrip('0')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_strop.py52 self.assertTrue(strop.lstrip(" \t\n hello \t\n ") == "hello \t\n ")
Dtest_bytes.py424 self.assertEqual(b.lstrip(b'i'), b'mississippi')
425 self.assertEqual(b.lstrip(b'm'), b'ississippi')
426 self.assertEqual(b.lstrip(b'pi'), b'mississippi')
427 self.assertEqual(b.lstrip(b'im'), b'ssissippi')
428 self.assertEqual(b.lstrip(b'pim'), b'ssissippi')
441 self.assertEqual(b.lstrip(), b'abc \t\n\r\f\v')
446 self.assertEqual(self.type2test(b'abc').lstrip(memoryview(b'ac')), b'bc')
451 self.assertRaises(TypeError, self.type2test(b'abc').lstrip, u'b')
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DDecParserMisc.py262 Value = Value.lstrip('0')

123