Home
last modified time | relevance | path

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

12345678910>>...40

/external/u-boot/test/py/tests/
Dtest_tpm2.py39 if not output.endswith('0'):
49 assert output.endswith('0')
60 assert output.endswith('0')
71 assert output.endswith('0')
83 assert output.endswith('0')
100 assert output.endswith('0')
104 assert output.endswith('0')
120 assert output.endswith('0')
125 assert output.endswith('0')
145 assert output.endswith('0')
[all …]
/external/python/cpython3/Tools/c-globals/
Dcheck-c-globals.py45 assert not filename.endswith('.c')
46 assert capi_vars[name].endswith('.c')
99 if name.endswith(('Type', '_Type', '_type')): # XXX Always a static type?
101 if name.endswith('_desc'): # for structseq types
105 name.endswith(('_doc', '__doc__', '_docstring')) or
106 name.endswith('_methods') or
107 name.endswith('_fields') or
108 name.endswith(('_memberlist', '_members')) or
109 name.endswith('_slots') or
110 name.endswith(('_getset', '_getsets', '_getsetlist')) or
[all …]
/external/selinux/python/sepolicy/sepolicy/
D__init__.py504 if i['target'].endswith("_t"):
532 if p.endswith("(/.*)?"):
554 if exe.endswith("_exec_t") and exe not in exclude_list:
564 if exe.endswith("_exec_t") and exe not in exclude_list:
992 if f.endswith("_var_run_t"):
994 if f.endswith("_pid_t"):
996 if f.endswith("_var_lib_t"):
998 if f.endswith("_var_t"):
1000 if f.endswith("_var_spool_t"):
1002 if f.endswith("_spool_t"):
[all …]
/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'):
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/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/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/swiftshader/third_party/llvm-7.0/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/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/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/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/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/u-boot/tools/
Drkmux.py80 if field.endswith('_sel') or field.endswith('_con'):
82 elif field.endswith(' iomux'):
84 elif field.endswith('_mode') or field.endswith('_mask'):
131 line.endswith('_sel') or line.endswith('_con')):
/external/deqp/scripts/src_util/
Dcheck_whitespace.py31 if line.endswith(" \n") or line.endswith("\t\n"):
37 if line.endswith("\r") or line.endswith("\r\n"):
/external/protobuf/python/
Dsetup.py115 if filepath.endswith("_pb2.py") or filepath.endswith(".pyc") or \
116 filepath.endswith(".so") or filepath.endswith(".o") or \
117 filepath.endswith('google/protobuf/compiler/__init__.py') or \
118 filepath.endswith('google/protobuf/util/__init__.py'):
/external/python/cpython2/Tools/scripts/
Dpysource.py51 return fullpath.endswith(".py") or fullpath.endswith(".pyw")
66 if fullpath.endswith(".py") or fullpath.endswith(".pyw"):
/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/perfetto/tools/
Dinstall-build-deps341 min_acls = 0o755 if info.filename.endswith('/') else 0o644
385 if url.endswith('.git'):
388 is_zip = local_path.endswith('.zip') or local_path.endswith('.tgz')
419 if local_path.endswith('.tgz'):
422 elif local_path.endswith('.zip'):
/external/python/cpython3/PC/layout/support/
Dfilesets.py17 if p.endswith("*"):
32 or any(map(bn.endswith, self._suffixes))
51 elif p.endswith("*"):
66 or any(map(bn.endswith, self._suffixes))
/external/sl4a/Docs/
Dgenerate_api_reference_md.py114 if f.endswith('Facade.java'):
141 if not line.endswith(')'):
146 if not line.endswith('{'):
156 if line.endswith(')'):
166 if line.endswith('{'):
/external/skqp/tools/copyright/
Dfileparser.py14 if (filepath.endswith('.cpp') or
15 filepath.endswith('.h') or
16 filepath.endswith('.c')):
/external/catch2/scripts/
DfixWhitespace.py8 return path.endswith( ".cpp" ) or path.endswith( ".h" ) or path.endswith( ".hpp" )
/external/skia/tools/copyright/
Dfileparser.py14 if (filepath.endswith('.cpp') or
15 filepath.endswith('.h') or
16 filepath.endswith('.c')):
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/Go/
Dlit.local.cfg39 if args[0].endswith('ccache') or args[0].endswith('gomacc'):
45 if path.endswith('/cc') and os.readlink(path) == 'clang':
51 if path.endswith('/c++') and os.readlink(path) == 'clang++':

12345678910>>...40