Home
last modified time | relevance | path

Searched refs:with_suffix (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteRegisterState.py13 def grp_register_save_restore_works(self, with_suffix): argument
21 if with_suffix:
45 if with_suffix:
/external/llvm-project/lldb/test/API/tools/lldb-server/register-reading/
DTestGdbRemoteGPacket.py60 def g_returns_correct_data(self, with_suffix): argument
64 if with_suffix:
78 if with_suffix:
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_util_test.cc78 HloInstruction* with_suffix = in TEST() local
81 EXPECT_THAT(with_suffix, op::Tuple(op::GetTupleElement(op::Parameter(0), 0), in TEST()
/external/python/cpython3/Lib/test/
Dtest_pathlib.py581 self.assertEqual(P('a/b').with_suffix('.gz'), P('a/b.gz'))
582 self.assertEqual(P('/a/b').with_suffix('.gz'), P('/a/b.gz'))
583 self.assertEqual(P('a/b.py').with_suffix('.gz'), P('a/b.gz'))
584 self.assertEqual(P('/a/b.py').with_suffix('.gz'), P('/a/b.gz'))
586 self.assertEqual(P('a/b.py').with_suffix(''), P('a/b'))
587 self.assertEqual(P('/a/b').with_suffix(''), P('/a/b'))
589 self.assertRaises(ValueError, P('').with_suffix, '.gz')
590 self.assertRaises(ValueError, P('.').with_suffix, '.gz')
591 self.assertRaises(ValueError, P('/').with_suffix, '.gz')
593 self.assertRaises(ValueError, P('a/b').with_suffix, 'gz')
[all …]
Dtest_zipapp.py350 target = source.with_suffix('.pyz')
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dgenerate_protos.py161 if args.plugin_path.with_suffix('.bat').exists():
162 args.plugin_path = args.plugin_path.with_suffix('.bat')
/external/grpc-grpc-java/annotation-stubs/
Dgen_annotations.py52 src_path = out_dir.joinpath(*parts).with_suffix('.java')
/external/jimfs/jimfs/
Dgen_annotations.py52 src_path = out_dir.joinpath(*parts).with_suffix('.java')
/external/python/cpython2/Tools/nuget/
Dmake_zip.py132 pyc = Path(tmpdir) / rel.with_suffix('.pyc').name
138 f.write(str(pyc), str(rel.with_suffix('.pyc')))
/external/python/cpython3/PC/layout/
Dmain.py147 pdb = src.with_suffix(".pdb")
151 lib = src.with_suffix(".lib")
305 zf.write(str(pyc), dest.with_suffix(".pyc"))
/external/tensorflow/tensorflow/tools/docs/
Dgenerate2.py126 path = path.with_suffix(".md")
/external/python/cpython3/Lib/
Dzipapp.py130 target = source.with_suffix('.pyz')
Dpathlib.py880 def with_suffix(self, suffix): member in PurePath
/external/angle/tools/android/modularization/convenience/
Dlookup_dep.py264 cache_path = abs_jar_path.with_suffix(abs_jar_path.suffix + '.namelist_cache')
/external/python/cpython3/Doc/library/
Dpathlib.rst600 .. method:: PurePath.with_suffix(suffix)
607 >>> p.with_suffix('.bz2')
610 >>> p.with_suffix('.txt')
613 >>> p.with_suffix('')
/external/toolchain-utils/rust_tools/
Drust_uprev.py638 tmp_state_file = state_file.with_suffix('.tmp')
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py244 self.path('c:/Downloads/pathlib.tar.gz').with_suffix('.bz2'),
246 self.assertEqual(self.path('README').with_suffix('.txt'),
/external/python/parse_type/tasks/_vendor/
Dpathlib.py780 def with_suffix(self, suffix): member in PurePath
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst3087 calling Path.with_suffix('') allows removing the suffix again. Patch by
5275 PurePath.with_suffix().
D3.8.0a1.rst3549 Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` when formatting an
/external/python/cpython2/
Dconfigure5267 withval=$with_suffix;
/external/python/cpython3/
Dconfigure5715 withval=$with_suffix;
/external/python/cpython3/Misc/
DHISTORY1563 - Issue #20639: calling Path.with_suffix('') allows removing the suffix
2140 PurePath.with_suffix().
2889 - Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix.