Home
last modified time | relevance | path

Searched refs:endswith (Results 1 – 25 of 1378) sorted by relevance

12345678910>>...56

/external/capstone/suite/
Dautogen_x86imm.py17 if name.endswith("_DB"): # pseudo instruction
22 if name.endswith("16mi8"):
24 elif name.endswith("16ri8"):
26 elif name.endswith("32ri8"):
28 elif name.endswith("32mi8"):
30 elif name.endswith("64i32"):
32 elif name.endswith("64mi32"):
34 elif name.endswith("64ri32"):
36 elif name.endswith("64ri8"):
38 elif name.endswith("64mi8"):
[all …]
/external/skia/tools/
Drewrite_includes.py57 if file_name.endswith('.h'):
81 if (file_path.endswith('.h') or
82 file_path.endswith('.c') or
83 file_path.endswith('.m') or
84 file_path.endswith('.mm') or
85 file_path.endswith('.inc') or
86 file_path.endswith('.fp') or
87 file_path.endswith('.cc') or
88 file_path.endswith('.cpp')):
/external/python/cpython3/Tools/c-analyzer/
Dcheck-c-globals.py47 assert not filename.endswith('.c')
48 assert capi_vars[name].endswith('.c')
101 if name.endswith(('Type', '_Type', '_type')): # XXX Always a static type?
103 if name.endswith('_desc'): # for structseq types
107 name.endswith(('_doc', '__doc__', '_docstring')) or
108 name.endswith('_methods') or
109 name.endswith('_fields') or
110 name.endswith(('_memberlist', '_members')) or
111 name.endswith('_slots') or
112 name.endswith(('_getset', '_getsets', '_getsetlist')) or
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/sanity/
Dcheck_port_platform.py36 if filename.endswith('.pb.h') or filename.endswith('.pb.c'):
39 if (filename.endswith('.upb.h') or filename.endswith('.upb.c') or
40 filename.endswith('.upbdefs.h') or
41 filename.endswith('.upbdefs.c')):
/external/selinux/python/sepolicy/sepolicy/
D__init__.py504 if i['target'].endswith("_t"):
532 if p.endswith("(/.*)?"):
553 if exe.endswith("_exec_t") and exe not in exclude_list:
563 if exe.endswith("_exec_t") and exe not in exclude_list:
991 if f.endswith("_var_run_t"):
993 if f.endswith("_pid_t"):
995 if f.endswith("_var_lib_t"):
997 if f.endswith("_var_t"):
999 if f.endswith("_var_spool_t"):
1001 if f.endswith("_spool_t"):
[all …]
/external/python/cffi/demo/
Dpy.cleanup15 if filename.endswith('/__pycache__'):
20 elif (filename.endswith('.pyc') or filename.endswith('.pyo') or
21 filename.endswith('.pyc~') or filename.endswith('.pyo~')):
/external/llvm/unittests/Support/
DTypeNameTest.cpp33 EXPECT_TRUE(S1Name.endswith("::N1::S1")) << S1Name.str(); in TEST()
34 EXPECT_TRUE(C1Name.endswith("::N1::C1")) << C1Name.str(); in TEST()
35 EXPECT_TRUE(U1Name.endswith("::N1::U1")) << U1Name.str(); in TEST()
37 EXPECT_TRUE(S2Name.endswith("S2")) << S2Name.str(); in TEST()
39 EXPECT_TRUE(S2Name.endswith("::S2")) << S2Name.str(); in TEST()
/external/llvm-project/llvm/unittests/Support/
DTypeNameTest.cpp32 EXPECT_TRUE(S1Name.endswith("::N1::S1")) << S1Name.str(); in TEST()
33 EXPECT_TRUE(C1Name.endswith("::N1::C1")) << C1Name.str(); in TEST()
34 EXPECT_TRUE(U1Name.endswith("::N1::U1")) << U1Name.str(); in TEST()
36 EXPECT_TRUE(S2Name.endswith("S2")) << S2Name.str(); in TEST()
38 EXPECT_TRUE(S2Name.endswith("::S2")) << S2Name.str(); in TEST()
/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser.py95 if (argument.startswith("\"") and argument.endswith("\"") or
96 argument.startswith("'") and argument.endswith("'")):
118 if args and args[-1].endswith(">"):
141 elif len(args) > 1 and args[-2].endswith(">"):
164 if in_str.count("[") == 1 and in_str.endswith("]"):
237 if indices_string.startswith("[") and indices_string.endswith("]"):
386 or not interval_str.endswith(("]", ")"))):
427 if size_str.endswith("B"):
432 elif size_str.endswith("k"):
434 elif size_str.endswith("M"):
[all …]
/external/skia/
DPRESUBMIT.py70 is_json = affected_file_path.endswith('.json')
72 affected_file_path.endswith('/METADATA'))
107 if affected_file_path.endswith('.cpp') or affected_file_path.endswith('.h'):
168 if (f.LocalPath().endswith('.gn') or
169 f.LocalPath().endswith('.gni')):
200 if f.LocalPath().endswith('.md'):
256 sources = lambda x: (x.LocalPath().endswith('.h') or
257 x.LocalPath().endswith('.py') or
258 x.LocalPath().endswith('.sh') or
259 x.LocalPath().endswith('.m') or
[all …]
/external/autotest/client/tests/bonnie/
Dbonnie.py12 if size.endswith('G') or size.endswith('g'):
15 if size.endswith('M') or size.endswith('m'):
19 if chunk.endswith('K') or chunk.endswith('k'):
/external/skqp/
DPRESUBMIT.py70 is_json = affected_file_path.endswith('.json')
72 affected_file_path.endswith('/METADATA'))
107 if affected_file_path.endswith('.cpp') or affected_file_path.endswith('.h'):
178 if (not f.LocalPath().endswith('.gn') and
179 not f.LocalPath().endswith('.gni')):
208 sources = lambda x: (x.LocalPath().endswith('.h') or
209 x.LocalPath().endswith('.py') or
210 x.LocalPath().endswith('.sh') or
211 x.LocalPath().endswith('.m') or
212 x.LocalPath().endswith('.mm') or
[all …]
/external/python/cpython3/Mac/
DExtras.install.py16 if name.endswith('~'): return 0
17 if name.endswith('.BAK'): return 0
18 if name.endswith('.pyc'): return 0
19 if name.endswith('.pyo'): return 0
20 if name.endswith('.orig'): return 0
/external/python/cpython2/Mac/
DExtras.install.py16 if name.endswith('~'): return 0
17 if name.endswith('.BAK'): return 0
18 if name.endswith('.pyc'): return 0
19 if name.endswith('.pyo'): return 0
20 if name.endswith('.orig'): return 0
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dpigweed_presubmit.py77 @filter_paths(endswith=_BUILD_EXTENSIONS)
92 @filter_paths(endswith=_BUILD_EXTENSIONS)
106 @filter_paths(endswith=_BUILD_EXTENSIONS)
114 @filter_paths(endswith=_BUILD_EXTENSIONS)
121 @filter_paths(endswith=_BUILD_EXTENSIONS)
127 @filter_paths(endswith=_BUILD_EXTENSIONS)
141 @filter_paths(endswith=_BUILD_EXTENSIONS)
154 @filter_paths(endswith=_BUILD_EXTENSIONS)
160 @filter_paths(endswith=_BUILD_EXTENSIONS)
176 @filter_paths(endswith=format_code.C_FORMAT.extensions)
[all …]
Dpython_checks.py48 @filter_paths(endswith='.py')
71 @filter_paths(endswith='.py')
91 @filter_paths(endswith='.py')
147 def all_checks(endswith: str = '.py',
150 filter_paths(endswith=endswith, **filter_paths_args)(function)
/external/libcxx/utils/libcxx/test/
Dformat.py71 if any([filename.endswith(ext)
89 is_sh_test = name_root.endswith('.sh')
90 is_pass_test = name.endswith('.pass.cpp') or name.endswith('.pass.mm')
91 is_fail_test = name.endswith('.fail.cpp') or name.endswith('.fail.mm')
92 is_objcxx_test = name.endswith('.mm')
93 is_objcxx_arc_test = name.endswith('.arc.pass.mm') or \
94 name.endswith('.arc.fail.mm')
202 for f in os.listdir(local_cwd) if f.endswith('.dat')]
/external/llvm-project/libcxx/utils/libcxx/test/
Dformat.py236 elif filename.endswith('.compile.pass.cpp'):
241 elif filename.endswith('.compile.fail.cpp'):
246 elif filename.endswith('.link.pass.cpp'):
251 elif filename.endswith('.link.fail.cpp'):
257 elif filename.endswith('.verify.cpp'):
269 elif filename.endswith('.pass.cpp') or filename.endswith('.pass.mm'):
278 elif filename.endswith('.fail.cpp'):
/external/autotest/client/site_tests/power_MeetClient/
Dpower_MeetClient.py217 if key.endswith('fps'):
219 if key.endswith('Percent'):
221 if key.endswith('width') or key.endswith('height') :
227 if key.endswith('fps'):
229 if key.endswith('Percent'):
231 if key.endswith('width'):
233 if key.endswith('height'):
/external/deqp/scripts/src_util/
Dcheck_whitespace.py34 if line.endswith(" \n") or line.endswith("\t\n"):
40 if line.endswith("\r") or line.endswith("\r\n"):
/external/python/asn1crypto/dev/
Ddeps.py182 if path.endswith('.zip'):
267 is_dir = fn.endswith('/') or fn.endswith('\\')
294 if pkg_path.endswith('.exe'):
315 if pkg_path.endswith('.whl'):
433 if ver_str.endswith('.*'):
495 if exe_suffix and download['url'].endswith(exe_suffix):
497 if download['url'].endswith('.whl'):
503 if download['url'].endswith('.tar.bz2'):
505 if download['url'].endswith('.tar.gz'):
559 …if pkg.endswith('.zip') or pkg.endswith('.tar.gz') or pkg.endswith('.tar.bz2') or pkg.endswith('.w…
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DIncludeSorter.cpp22 if (Str.endswith(Suffix)) { in RemoveFirstSuffix()
76 return IncludeFile.endswith(".h") ? IncludeSorter::IK_CSystemInclude in DetermineIncludeKind()
80 if (CanonicalFile.endswith(CanonicalInclude) in DetermineIncludeKind()
81 || CanonicalInclude.endswith(CanonicalFile)) { in DetermineIncludeKind()
99 if (IncludeFile.endswith(".generated.h") || in DetermineIncludeKind()
100 IncludeFile.endswith(".proto.h") || IncludeFile.endswith(".pbobjc.h")) { in DetermineIncludeKind()
/external/python/cpython3/Tools/scripts/
Dpysource.py51 return fullpath.endswith(".py") or fullpath.endswith(".pyw")
66 if fullpath.endswith(".py") or fullpath.endswith(".pyw"):
Dpatchcheck.py149 fixed = [path for path in file_paths if path.endswith('.py') and
229 python_files = [fn for fn in file_paths if fn.endswith('.py')]
230 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
232 fn.endswith(('.rst', '.inc'))]
247 python_files = [fn for fn in file_paths if fn.endswith('.py')]
248 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
250 fn.endswith(('.rst', '.inc'))]
/external/python/cpython2/Tools/scripts/
Dpysource.py51 return fullpath.endswith(".py") or fullpath.endswith(".pyw")
66 if fullpath.endswith(".py") or fullpath.endswith(".pyw"):

12345678910>>...56