Home
last modified time | relevance | path

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

1234567891011

/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dfactory.py90 if port_to_use.startswith('test'):
93 elif port_to_use.startswith('dryrun'):
96 elif port_to_use.startswith('mock-'):
99 elif port_to_use.startswith('mac'):
102 elif port_to_use.startswith('win'):
105 elif port_to_use.startswith('gtk'):
108 elif port_to_use.startswith('qt'):
111 elif port_to_use.startswith('chromium-gpu'):
114 elif port_to_use.startswith('chromium-mac'):
117 elif port_to_use.startswith('chromium-linux'):
[all …]
Dtest.py266 if port_name.startswith('test-win'):
268 elif port_name.startswith('test-linux'):
371 if (relative_path.startswith(LAYOUTTEST_WEBSOCKET_DIR)
372 or relative_path.startswith(LAYOUTTEST_HTTP_DIR)):
380 if (port and not relative_path.startswith("local/") and
381 not relative_path.startswith("media/")):
382 if relative_path.startswith("ssl/"):
400 if uri.startswith("file:///"):
404 if uri.startswith("http://127.0.0.1:8880/"):
408 if uri.startswith("http://"):
[all …]
Dchromium_gpu.py51 if port_name.startswith('chromium-gpu-linux'):
53 if port_name.startswith('chromium-gpu-mac'):
55 if port_name.startswith('chromium-gpu-win'):
78 if not port.name().startswith('chromium-gpu-mac'):
Dwebkit.py143 if output.startswith('Content-Length'):
149 elif output.startswith('diff'):
156 if output.startswith('diff'):
282 if line.startswith('#') or not len(line):
400 if uri.startswith("file:///"):
463 if line.startswith(TYPE_HEADER) and content_type is None:
465 elif line.startswith(ENCODING_HEADER) and encoding is None:
467 elif line.startswith(LENGTH_HEADER) and content_length is None:
473 elif line.startswith(HASH_HEADER):
Dbase.py399 if (relative_path.startswith(LAYOUTTEST_WEBSOCKET_DIR)
400 or relative_path.startswith(LAYOUTTEST_HTTP_DIR)):
408 if (port and not relative_path.startswith("local/")):
409 if relative_path.startswith("ssl/"):
466 if uri.startswith("file:///"):
470 if uri.startswith("http://127.0.0.1:8880/"):
474 if uri.startswith("http://"):
478 if uri.startswith("https://"):
497 test_name.startswith(test_or_category)):
568 …assert filename.startswith(self.layout_tests_dir()), "%s did not start with %s" % (filename, self.…
/external/llvm/lib/IR/
DAutoUpgrade.cpp49 if (Name.size() <= 8 || !Name.startswith("llvm.")) in UpgradeIntrinsicFunction1()
56 if (Name.startswith("arm.neon.vclz")) { in UpgradeIntrinsicFunction1()
69 if (Name.startswith("arm.neon.vcnt")) { in UpgradeIntrinsicFunction1()
77 if (Name.startswith("ctlz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
83 if (Name.startswith("cttz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
92 if (Name.startswith("x86.sse2.pcmpeq.") || in UpgradeIntrinsicFunction1()
93 Name.startswith("x86.sse2.pcmpgt.") || in UpgradeIntrinsicFunction1()
94 Name.startswith("x86.avx2.pcmpeq.") || in UpgradeIntrinsicFunction1()
95 Name.startswith("x86.avx2.pcmpgt.") || in UpgradeIntrinsicFunction1()
96 Name.startswith("x86.avx.vpermil.") || in UpgradeIntrinsicFunction1()
[all …]
/external/llvm/utils/
Dsort_includes.py37 if l.startswith('#include'):
43 if look_for_api_header and header.startswith('"'):
47 if header.startswith('<') or header.startswith('"gtest/'):
50 if (header.startswith('"llvm/') or header.startswith('"llvm-c/') or
51 header.startswith('"clang/') or header.startswith('"clang-c/')):
61 if l.startswith('//') or l.startswith('#define') or l.startswith('#ifndef'):
/external/clang/lib/Analysis/
DCocoaConventions.cpp30 if (TDName.startswith(Prefix) && TDName.endswith("Ref")) in isRefType()
33 if (TDName.startswith("xpc_")) in isRefType()
47 return Name.startswith(Prefix); in isRefType()
124 if (suffix.startswith("reate")) { in followsCreateRule()
127 else if (suffix.startswith("opy")) { in followsCreateRule()
/external/clang/utils/
DCmpDriver77 return (filename.startswith('/tmp/', 1) or
78 filename.startswith('/var/', 1))
96 ln.startswith('Target: ') or
97 ln.startswith('Configured with: ') or
98 ln.startswith('Thread model: ') or
99 ln.startswith('gcc version') or
100 ln.startswith('clang version')):
102 elif ln.strip().startswith('"'):
/external/webkit/Tools/Scripts/webkitpy/style/
Dfilter.py43 if not (rule.startswith('+') or rule.startswith('-')):
48 if category.startswith(rule[1:]):
113 if not category.startswith(rule[1:]):
115 should_check = rule.startswith('+')
/external/webkit/Tools/wx/build/
Dsettings.py42 if sys.platform.startswith('win'):
165 building_on_win32 = sys.platform.startswith('win')
230 if sys.platform.startswith('cygwin'):
237 if sys.platform.startswith('darwin'):
298 if sys.platform.startswith('darwin'):
344 if sys.platform.startswith('darwin'):
392 if sys.platform.startswith('darwin') and min_version and min_version == '10.4':
397 if not sys.platform.startswith('darwin'):
Dbuild_utils.py40 if sys.platform.startswith('win'):
128 if sys.platform.startswith('win'):
134 elif sys.platform.startswith('darwin'):
136 if platform.release().startswith('10'): # Snow Leopard
185 if line.startswith("Revision: "):
/external/markdown/markdown/extensions/
Dtables.py37 if header[0].startswith('|'):
42 if c.startswith(':') and c.endswith(':'):
44 elif c.startswith(':'):
79 if row.startswith('|'):
/external/icu4c/test/depstest/
Ddependencies.py79 if not line.startswith(" "): return line
99 if not line.startswith(" "): return line
124 if not line.startswith(" "): return line
129 if line.startswith('"') and line.endswith('"') and '"' not in symbol:
147 if line.startswith("library: "):
156 elif line.startswith("group: "):
/external/webkit/Source/WebKit/wx/
Dwscript45 if sys.platform.startswith("win"):
76 if sys.platform.startswith('win'):
92 if sys.platform.startswith('darwin'):
111 if sys.platform.startswith('darwin'):
/external/chromium/build/linux/
Drewrite_dirs.py26 if os.path.isabs(path) and not path.startswith(sysroot):
27 if path.startswith(prefix):
50 elif args[i].startswith(prefix):
/external/libvpx/libvpx/third_party/googletest/src/scripts/
Dupload.py477 if host == "localhost" or host.startswith("localhost:"):
539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
866 status_lines[1].startswith("--- Changelist")):
913 is_binary = mimetype and not mimetype.startswith("text/")
[all …]
/external/chromium/testing/gtest/scripts/
Dupload.py477 if host == "localhost" or host.startswith("localhost:"):
539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
866 status_lines[1].startswith("--- Changelist")):
913 is_binary = mimetype and not mimetype.startswith("text/")
[all …]
/external/chromium/testing/gmock/scripts/
Dupload.py477 if host == "localhost" or host.startswith("localhost:"):
539 use_shell = sys.platform.startswith("win")
652 if line.startswith('Index:') or line.startswith('Property changes on:'):
695 if not response_body.startswith("OK"):
718 return mimetype.startswith("image/")
764 if path.startswith("/projects/"):
771 if path.startswith("/repos/"):
798 if line.startswith("Index:") or line.startswith("Property changes on:"):
866 status_lines[1].startswith("--- Changelist")):
913 is_binary = mimetype and not mimetype.startswith("text/")
[all …]
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp132 Name.startswith(".bss.") || in getELFKindForNamedSection()
133 Name.startswith(".gnu.linkonce.b.") || in getELFKindForNamedSection()
134 Name.startswith(".llvm.linkonce.b.") || in getELFKindForNamedSection()
136 Name.startswith(".sbss.") || in getELFKindForNamedSection()
137 Name.startswith(".gnu.linkonce.sb.") || in getELFKindForNamedSection()
138 Name.startswith(".llvm.linkonce.sb.")) in getELFKindForNamedSection()
142 Name.startswith(".tdata.") || in getELFKindForNamedSection()
143 Name.startswith(".gnu.linkonce.td.") || in getELFKindForNamedSection()
144 Name.startswith(".llvm.linkonce.td.")) in getELFKindForNamedSection()
148 Name.startswith(".tbss.") || in getELFKindForNamedSection()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h374 if (Name.startswith("\01L_OBJC_SELECTOR_REFERENCES_") || in IsObjCIdentifiedObject()
375 Name.startswith("\01L_OBJC_CLASSLIST_REFERENCES_") || in IsObjCIdentifiedObject()
376 Name.startswith("\01L_OBJC_CLASSLIST_SUP_REFS_$_") || in IsObjCIdentifiedObject()
377 Name.startswith("\01L_OBJC_METH_VAR_NAME_") || in IsObjCIdentifiedObject()
378 Name.startswith("\01l_objc_msgSend_fixup_")) in IsObjCIdentifiedObject()
/external/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp77 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1)) in runOnModule()
87 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1)) in runOnModule()
109 if (Name.startswith("llvm.") || (!Name.empty() && Name[0] == 1)) in runOnModule()
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Ddiff_parser.py170 if line.startswith('+'):
173 elif line.startswith('-'):
176 elif line.startswith(' '):
/external/skia/tools/
Dsubmit_try76 if line.startswith(REPO_ROOT_STR):
78 elif line.startswith(URL_STR):
101 if line.startswith(TRYSERVER_SVN_URL):
182 while argv and not argv[0].startswith('-'):
/external/markdown/markdown/
Dblockprocessors.py44 if line.startswith(' '*markdown.TAB_LENGTH):
56 if lines[i].startswith(' '*markdown.TAB_LENGTH*level):
121 return block.startswith(' '*markdown.TAB_LENGTH) and \
190 return block.startswith(' '*markdown.TAB_LENGTH)
293 if item.startswith(' '*markdown.TAB_LENGTH):
312 if items[-1].startswith(' '*markdown.TAB_LENGTH):
373 if lines[1].startswith('='):

1234567891011