Searched refs:startswith (Results 1 – 25 of 311) sorted by relevance
12345678910>>...13
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | HTMLParser.py | 145 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 …]
|
D | getopt.py | 83 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)
|
D | posixpath.py | 53 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.py | 66 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/ |
D | literals.py | 21 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/ |
D | InfParser.py | 201 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 …]
|
D | InfBuildOptionSectionParser.py | 59 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("#"):
|
D | DecParserMisc.py | 94 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/ |
D | HTMLParser.py | 158 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 …]
|
D | getopt.py | 83 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/ |
D | test_repr.py | 126 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 …]
|
D | test_rlcompleter.py | 35 [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/ |
D | gprof2html.py | 36 if line.startswith(" time"): 50 if line.startswith("index % time"): 56 if line.startswith("Index by function name"): 63 if line.startswith("["):
|
D | svneol.py | 67 if line.startswith("END"): 69 assert line.startswith("K ") 75 assert line.startswith("V ")
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | ParserValidate.py | 53 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/ |
D | PatchCheck.py | 215 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/ |
D | msgfmt.py | 136 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/ |
D | Expression.py | 75 if String.startswith('"'): 187 if (Oprand1.startswith('L"') and not Oprand2.startswith('L"')) or \ 188 (not Oprand1.startswith('L"') and Oprand2.startswith('L"')): 263 …if type(Token) == type('') and Token.startswith('{') and Token.endswith('}') and self._Idx >= self… 279 elif not Val.startswith('L"') and not Val.startswith('{'): 419 if HexList[3].startswith('{') and \ 481 if self._Token.startswith('"'): 499 if not Expr.startswith(','): 503 while Expr.startswith(','): 517 if self._LiteralToken.startswith('{') and \ [all …]
|
D | LongFilePathSupport.py | 26 if FileName.startswith('\\\\?\\'): 28 if FileName.startswith('\\\\'):
|
D | MultipleWorkspace.py | 43 if str(os.path.normcase (Path)).startswith(Ws): 95 if Path.lower().startswith(Pkg.lower()): 98 if Path.lower().startswith(Ws.lower()):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
D | from.py | 26 if line.startswith('From '): 33 if line.startswith('Subject: '):
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | InstallPkg.py | 645 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/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_numliterals.py | 19 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/PatchPcdValue/ |
D | PatchPcdValue.py | 113 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/ |
D | MetaFileTable.py | 243 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"):
|
12345678910>>...13