Home
last modified time | relevance | path

Searched refs:startswith (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DHTMLParser.py145 startswith = rawdata.startswith
146 if startswith('<', i):
149 elif startswith("</", i):
151 elif startswith("<!--", i):
153 elif startswith("<?", i):
155 elif startswith("<!", i):
167 elif startswith("&#", i):
173 if not startswith(';', k-1):
182 elif startswith('&', i):
188 if not startswith(';', k-1):
[all …]
Dgetopt.py83 while args and args[0].startswith('-') and args[0] != '-':
87 if args[0].startswith('--'):
117 if shortopts.startswith('+'):
167 possibilities = [o for o in longopts if o.startswith(opt)]
205 return shortopts.startswith(':', i+1)
Dposixpath.py53 return s.startswith('/')
66 if b.startswith('/'):
252 if not path.startswith('~'):
296 if name.startswith('{') and name.endswith('}'):
318 initial_slashes = path.startswith('/')
322 path.startswith('//') and not path.startswith('///')):
D_MozillaCookieJar.py66 if (line.strip().startswith(("#", "$")) or
81 initial_dot = domain.startswith(".")
129 if cookie.domain.startswith("."): initial_dot = "TRUE"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dliterals.py21 assert all.startswith("\\")
25 if tail.startswith("x"):
41 assert s.startswith("'") or s.startswith('"'), repr(s[:1])
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParser.py201 if Line.startswith(DT.TAB_SPECIAL_COMMENT) and \
217 …if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) an…
218 HeaderCommentStart and not Line.startswith(DT.TAB_SPECIAL_COMMENT) and not\
225 …if (Line.startswith(DT.TAB_SPECIAL_COMMENT) or not Line.strip().startswith("#")) and HeaderComment…
246 if Line.startswith(DT.TAB_SPECIAL_COMMENT) and \
263 if Line.startswith(DT.TAB_SPECIAL_COMMENT) and BinaryHeaderCommentStart and \
273 …if (Line.startswith(DT.TAB_COMMENT_SPLIT) and CurrentSection == DT.MODEL_META_DATA_FILE_HEADER) an…
274 BinaryHeaderCommentStart and not Line.startswith(DT.TAB_SPECIAL_COMMENT) and not\
281 …if (Line.startswith(DT.TAB_SPECIAL_COMMENT) or not Line.strip().startswith(DT.TAB_COMMENT_SPLIT)) …
301 … if Line.startswith(DT.TAB_COMMENT_SPLIT) and not Line.startswith(DT.TAB_SPECIAL_COMMENT):
[all …]
DInfBuildOptionSectionParser.py59 if LineContent.strip().startswith(DT.TAB_COMMENT_SPLIT):
179 if LineContent.strip().startswith("##") and AsBuildOptionFlag:
182 elif LineContent.strip().startswith("#") and AsBuildOptionFlag:
196 if LineContent.strip().startswith("##") and AsBuildOptionFlag:
202 if not LineContent.strip().startswith("#"):
DDecParserMisc.py94 if Path.startswith(Root):
149 if Token.lower().startswith('0x'):
236 if not ((Value.startswith('L"') or Value.startswith('"') and \
260 if Value and not Value.startswith('0x') \
261 and not Value.startswith('0X'):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DHTMLParser.py158 startswith = rawdata.startswith
159 if startswith('<', i):
162 elif startswith("</", i):
164 elif startswith("<!--", i):
166 elif startswith("<?", i):
168 elif startswith("<!", i):
187 elif startswith("&#", i):
193 if not startswith(';', k-1):
202 elif startswith('&', i):
208 if not startswith(';', k-1):
[all …]
Dgetopt.py83 while args and args[0].startswith('-') and args[0] != '-':
87 if args[0].startswith('--'):
117 if shortopts.startswith('+'):
167 possibilities = [o for o in longopts if o.startswith(opt)]
205 return shortopts.startswith(':', i+1)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_repr.py126 self.assertTrue(s.startswith("<class "))
132 self.assertTrue(repr(fp).startswith(
135 self.assertTrue(repr(fp).startswith(
139 self.assertTrue(repr(lambda x: x).startswith(
148 self.assertTrue(repr(''.split).startswith(
179 self.assertTrue(repr(x).startswith('<read-only buffer for 0x'))
196 self.assertTrue(repr(x).startswith('<staticmethod object at 0x'))
198 self.assertTrue(repr(x).startswith('<classmethod object at 0x'))
276 self.assertTrue(repr(bar.bar).startswith(
286 self.assertTrue(repr(ibaz).startswith(
[all …]
Dtest_rlcompleter.py35 [x+'(' for x in dir(builtins) if x.startswith('di')])
37 [x+'(' for x in dir(builtins) if x.startswith('st')])
53 if x.startswith('s')])
66 if x.startswith('s')])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dgprof2html.py36 if line.startswith(" time"):
50 if line.startswith("index % time"):
56 if line.startswith("Index by function name"):
63 if line.startswith("["):
Dsvneol.py67 if line.startswith("END"):
69 assert line.startswith("K ")
75 assert line.startswith("V ")
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParserValidate.py53 if not HexStr.upper().startswith("0X"):
250 if not Path.startswith(Root):
258 if OrigPath.startswith(Rel):
295 if Path.startswith('.'):
338 if not Value.startswith('0x') and not Value.startswith('0X'):
532 if String.strip().startswith('"') and \
602 if PcdValue.strip().startswith('L\"'):
606 elif PcdValue.strip().startswith('\"'):
624 if PcdValue.strip().startswith('{') and PcdValue.strip().endswith('}') :
713 if UserId.startswith('"') and UserId.endswith('"'):
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DPatchCheck.py215 not lines[i].startswith('git-svn-id:')):
262 if line.startswith('diff --git'):
265 if line.startswith('@@ '):
268 not line.startswith(r'\ No newline '):
270 if line.startswith('diff --git'):
277 if line.startswith('diff --git'):
284 if line.startswith('+++ b/'):
286 if line.startswith('@@ '):
289 elif line.startswith('GIT binary patch'):
295 if line.startswith(pfx):
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
Dmsgfmt.py136 if l.startswith('msgid') and not l.startswith('msgid_plural'):
144 elif l.startswith('msgid_plural'):
153 elif l.startswith('msgstr'):
155 if l.startswith('msgstr['):
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DExpression.py75 if String.startswith('"'):
191 if (Oprand1.startswith('L"') and not Oprand2.startswith('L"')) or \
192 (not Oprand1.startswith('L"') and Oprand2.startswith('L"')):
267 …if type(Token) == type('') and Token.startswith('{') and Token.endswith('}') and self._Idx >= self…
283 elif not Val.startswith('L"') and not Val.startswith('{'):
423 if HexList[3].startswith('{') and \
485 if self._Token.startswith('"'):
503 if not Expr.startswith(','):
507 while Expr.startswith(','):
521 if self._LiteralToken.startswith('{') and \
[all …]
DLongFilePathSupport.py26 if FileName.startswith('\\\\?\\'):
28 if FileName.startswith('\\\\'):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dfrom.py26 if line.startswith('From '):
33 if line.startswith('Subject: '):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_numliterals.py19 return (node.value.startswith(u"0") or node.value[-1] in u"Ll")
25 elif val.startswith(u'0') and val.isdigit() and len(set(val)) > 1:
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DInstallPkg.py645 if NewPath.startswith("\\") or NewPath.startswith("/"):
662 if File.startswith("\\") or File.startswith("/"):
680 if File.startswith("\\") or File.startswith("/"):
699 if File.startswith("\\") or File.startswith("/"):
732 if FileName.startswith("\\") or FileName.startswith("/"):
770 if FileName.startswith(CheckPath):
772 while RemainingPath.startswith('\\') or RemainingPath.startswith('/'):
823 if ToPath.startswith("\\") or ToPath.startswith("/"):
829 if FromPath.startswith("\\") or FromPath.startswith("/"):
839 if FileName.startswith("\\") or FileName.startswith("/"):
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py113 elif ValueString.startswith('0X'):
130 if ValueString.startswith('0X'):
144 if ValueString.startswith('L"'):
160 elif ValueString.startswith("{") and ValueString.endswith("}"):
168 if ByteString.upper().startswith('0X'):
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaFileTable.py243 if comment.startswith("@ValidRange"):
246 if comment.startswith("@ValidList"):
249 if comment.startswith("@Expression"):
254 if oricomment.startswith("@ValidRange"):
256 if oricomment.startswith("@ValidList"):
258 if oricomment.startswith("@Expression"):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dstructparse.py25 assert (pyhead.startswith("PyObject") and
30 if line.startswith("}"):

12345678910>>...13