/external/python/cpython3/Lib/test/ |
D | test_macpath.py | 88 splitext = macpath.splitext 89 self.assertEqual(splitext(":foo.ext"), (':foo', '.ext')) 90 self.assertEqual(splitext("foo:foo.ext"), ('foo:foo', '.ext')) 91 self.assertEqual(splitext(".ext"), ('.ext', '')) 92 self.assertEqual(splitext("foo.ext:foo"), ('foo.ext:foo', '')) 93 self.assertEqual(splitext(":foo.ext:"), (':foo.ext:', '')) 94 self.assertEqual(splitext(""), ('', '')) 95 self.assertEqual(splitext("foo.bar.ext"), ('foo.bar', '.ext')) 97 self.assertEqual(splitext(b":foo.ext"), (b':foo', b'.ext')) 98 self.assertEqual(splitext(b"foo:foo.ext"), (b'foo:foo', b'.ext')) [all …]
|
D | test_posixpath.py | 72 self.assertEqual(posixpath.splitext(path), (filename, ext)) 73 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext)) 74 self.assertEqual(posixpath.splitext("abc/" + path), 76 self.assertEqual(posixpath.splitext("abc.def/" + path), 78 self.assertEqual(posixpath.splitext("/abc.def/" + path), 80 self.assertEqual(posixpath.splitext(path + "/"), 87 self.assertEqual(posixpath.splitext(path), (filename, ext)) 88 self.assertEqual(posixpath.splitext(b"/" + path), 90 self.assertEqual(posixpath.splitext(b"abc/" + path), 92 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/antlr/antlr-3.4/runtime/Python/tests/ |
D | t020fuzzy.py | 15 inputPath = os.path.splitext(__file__)[0] + '.input' 27 outputPath = os.path.splitext(__file__)[0] + '.output'
|
D | t018llstar.py | 15 inputPath = os.path.splitext(__file__)[0] + '.input' 24 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/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))
|
D | bcppcompiler.py | 222 modname, ext = os.path.splitext (tail) 238 (base, ext) = os.path.splitext(os.path.normcase(file)) 342 (base, ext) = os.path.splitext (os.path.normcase(src_name))
|
/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)
|
D | macpath.py | 91 def splitext(p): function 96 splitext.__doc__ = genericpath._splitext.__doc__
|
/external/selinux/libsemanage/utils/ |
D | semanage_migrate_store | 59 (file, ext) = os.path.splitext(name) 88 (disabledname, disabledext) = os.path.splitext(file) 128 (file, ext) = os.path.splitext(name)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | discover.py | 42 if os.path.splitext(filename)[1] != '.py': 50 module_name = re.sub(r'[/\\]', '.', os.path.splitext(module_rel_path)[0])
|
/external/python/cpython2/Lib/ |
D | mimetypes.py | 134 base, ext = posixpath.splitext(url) 136 base, ext = posixpath.splitext(base + self.suffix_map[ext]) 139 base, ext = posixpath.splitext(base)
|
D | macpath.py | 74 def splitext(p): function 76 splitext.__doc__ = genericpath._splitext.__doc__
|
/external/swiftshader/third_party/subzero/pydir/ |
D | crosstest.py | 120 base, ext = os.path.splitext(arg) 217 pure_c = os.path.splitext(args.driver)[1] == '.c' 235 base, ext = os.path.splitext(args.driver)
|
/external/python/cpython3/Lib/distutils/ |
D | bcppcompiler.py | 222 modname, ext = os.path.splitext (tail) 238 (base, ext) = os.path.splitext(os.path.normcase(file)) 342 (base, ext) = os.path.splitext (os.path.normcase(src_name))
|
/external/jsoncpp/test/ |
D | runjsontests.py | 77 base_path = os.path.splitext(input_path)[0] 85 expected_output_path = os.path.splitext(input_path)[0] + '.expected'
|
D | generate_expected.py | 6 target = os.path.splitext(path)[0] + '.expected'
|
/external/python/cpython3/Doc/tools/ |
D | rstlint.py | 16 from os.path import join, splitext, abspath, exists 188 ext = splitext(fn)[1]
|
/external/python/cpython2/Doc/tools/ |
D | rstlint.py | 18 from os.path import join, splitext, abspath, exists 193 ext = splitext(fn)[1]
|
/external/autotest/client/cros/audio/ |
D | audio_test_data.py | 88 original_path_without_ext, _ = os.path.splitext(self.path) 183 path_without_ext, ext = os.path.splitext(path)
|
/external/tensorflow/tensorflow/contrib/lite/schema/ |
D | upgrade_schema.py | 130 basename_no_extension, extension = os.path.splitext(basename) 161 _, extension = os.path.splitext(output_file)
|