Searched refs:splitext (Results 1 – 25 of 357) sorted by relevance
12345678910>>...15
/external/python/cpython3/Lib/test/ |
D | test_macpath.py | 94 splitext = macpath.splitext 95 self.assertEqual(splitext(":foo.ext"), (':foo', '.ext')) 96 self.assertEqual(splitext("foo:foo.ext"), ('foo:foo', '.ext')) 97 self.assertEqual(splitext(".ext"), ('.ext', '')) 98 self.assertEqual(splitext("foo.ext:foo"), ('foo.ext:foo', '')) 99 self.assertEqual(splitext(":foo.ext:"), (':foo.ext:', '')) 100 self.assertEqual(splitext(""), ('', '')) 101 self.assertEqual(splitext("foo.bar.ext"), ('foo.bar', '.ext')) 103 self.assertEqual(splitext(b":foo.ext"), (b':foo', b'.ext')) 104 self.assertEqual(splitext(b"foo:foo.ext"), (b'foo:foo', b'.ext')) [all …]
|
D | test_posixpath.py | 74 self.assertEqual(posixpath.splitext(path), (filename, ext)) 75 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext)) 76 self.assertEqual(posixpath.splitext("abc/" + path), 78 self.assertEqual(posixpath.splitext("abc.def/" + path), 80 self.assertEqual(posixpath.splitext("/abc.def/" + path), 82 self.assertEqual(posixpath.splitext(path + "/"), 89 self.assertEqual(posixpath.splitext(path), (filename, ext)) 90 self.assertEqual(posixpath.splitext(b"/" + path), 92 self.assertEqual(posixpath.splitext(b"abc/" + path), 94 self.assertEqual(posixpath.splitext(b"abc.def/" + path), [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_macpath.py | 53 splitext = macpath.splitext 54 self.assertEqual(splitext(":foo.ext"), (':foo', '.ext')) 55 self.assertEqual(splitext("foo:foo.ext"), ('foo:foo', '.ext')) 56 self.assertEqual(splitext(".ext"), ('.ext', '')) 57 self.assertEqual(splitext("foo.ext:foo"), ('foo.ext:foo', '')) 58 self.assertEqual(splitext(":foo.ext:"), (':foo.ext:', '')) 59 self.assertEqual(splitext(""), ('', '')) 60 self.assertEqual(splitext("foo.bar.ext"), ('foo.bar', '.ext'))
|
D | test_posixpath.py | 59 self.assertEqual(posixpath.splitext(path), (filename, ext)) 60 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext)) 61 self.assertEqual(posixpath.splitext("abc/" + path), ("abc/" + filename, ext)) 62 self.assertEqual(posixpath.splitext("abc.def/" + path), ("abc.def/" + filename, ext)) 63 self.assertEqual(posixpath.splitext("/abc.def/" + path), ("/abc.def/" + filename, ext)) 64 self.assertEqual(posixpath.splitext(path + "/"), (filename + ext + "/", ""))
|
/external/grpc-grpc/src/boringssl/ |
D | gen_build_yaml.py | 91 'name': 'boringssl_%s_lib' % os.path.splitext(os.path.basename(test))[0], 94 'language': 'c' if os.path.splitext(test)[1] == '.c' else 'c++', 108 'name': 'boringssl_%s' % os.path.splitext(os.path.basename(test))[0], 118 'boringssl_%s_lib' % os.path.splitext(os.path.basename(test))[0], 127 'name': 'boringssl_%s' % os.path.splitext(os.path.basename(test))[0],
|
/external/harfbuzz_ng/test/subset/ |
D | subset_test_suite.py | 23 font_base_name_parts = os.path.splitext(font_base_name) 24 profile_name = os.path.splitext(os.path.basename(self.profile_path))[0] 33 font_base_name_parts = os.path.splitext(font_base_name) 51 test_name = os.path.splitext(os.path.basename(self.test_path))[0]
|
/external/antlr/runtime/Python3/tests/ |
D | t020fuzzy.py | 14 inputPath = os.path.splitext(__file__)[0] + '.input' 27 outputPath = os.path.splitext(__file__)[0] + '.output'
|
D | t018llstar.py | 14 inputPath = os.path.splitext(__file__)[0] + '.input' 24 outputPath = os.path.splitext(__file__)[0] + '.output'
|
D | t012lexerXML.py | 28 inputPath = os.path.splitext(__file__)[0] + '.input' 42 outputPath = os.path.splitext(__file__)[0] + '.output'
|
/external/fonttools/Lib/fontTools/misc/ |
D | cliTools.py | 13 fileName, ext = os.path.splitext(fileName) 18 extension = os.path.splitext(input)[1]
|
/external/antlr/runtime/Python/tests/ |
D | t018llstar.py | 15 inputPath = os.path.splitext(__file__)[0] + '.input' 24 outputPath = os.path.splitext(__file__)[0] + '.output'
|
D | t020fuzzy.py | 15 inputPath = os.path.splitext(__file__)[0] + '.input' 27 outputPath = os.path.splitext(__file__)[0] + '.output'
|
D | t012lexerXML.py | 29 inputPath = os.path.splitext(__file__)[0] + '.input' 41 outputPath = os.path.splitext(__file__)[0] + '.output'
|
/external/perfetto/tools/ |
D | gen_merged_sql_metrics.py | 104 variable = filename_to_variable(os.path.splitext(name)[0]) 113 variable = filename_to_variable(os.path.splitext(name)[0])
|
/external/mesa3d/bin/ |
D | install_megadrivers.py | 61 name, ext = os.path.splitext(each) 66 name, ext = os.path.splitext(name)
|
/external/libcxx/utils/google-benchmark/ |
D | .ycm_extra_conf.py | 75 extension = os.path.splitext( filename )[ 1 ] 85 basename = os.path.splitext( filename )[ 0 ]
|
/external/google-benchmark/ |
D | .ycm_extra_conf.py | 75 extension = os.path.splitext( filename )[ 1 ] 85 basename = os.path.splitext( filename )[ 0 ]
|
/external/python/cpython2/Lib/distutils/ |
D | emxccompiler.py | 128 (dll_name, dll_extension) = os.path.splitext( 137 os.path.splitext(os.path.basename(output_filename))[0], 190 (base, ext) = os.path.splitext (os.path.normcase(src_name))
|
/external/python/setuptools/setuptools/ |
D | namespaces.py | 19 filename, ext = os.path.splitext(self._get_target()) 34 filename, ext = os.path.splitext(self._get_target())
|
/external/u-boot/tools/dtoc/ |
D | fdt_util.py | 57 _, ext = os.path.splitext(fname) 65 root, _ = os.path.splitext(fname)
|
/external/python/cpython2/Lib/unittest/ |
D | loader.py | 222 path = os.path.splitext(os.path.normpath(path))[0] 259 realpath = os.path.splitext(os.path.realpath(mod_file))[0] 260 fullpath_noext = os.path.splitext(os.path.realpath(full_path))[0] 263 mod_name = os.path.splitext(os.path.basename(full_path))[0]
|
/external/python/cpython3/Lib/ |
D | mimetypes.py | 136 base, ext = posixpath.splitext(url) 138 base, ext = posixpath.splitext(base + self.suffix_map[ext]) 141 base, ext = posixpath.splitext(base)
|
/external/selinux/libsemanage/utils/ |
D | semanage_migrate_store | 59 (file, ext) = os.path.splitext(name) 89 (disabledname, disabledext) = os.path.splitext(file) 129 (file, ext) = os.path.splitext(name)
|
/external/fonttools/Tests/varLib/ |
D | mutator_test.py | 115 instfont_path = os.path.splitext(varfont_path)[0] + '-instance' + suffix 136 instfont_path = os.path.splitext(varfont_path)[0] + '-instance' + suffix 158 instfont_path = os.path.splitext(varfont_path)[0] + '-instance' + suffix
|
/external/fonttools/Tests/ttLib/tables/ |
D | tables_test.py | 250 name = os.path.splitext(testfile)[0] 307 name = os.path.splitext(testfile)[0]
|
12345678910>>...15