Home
last modified time | relevance | path

Searched refs:splitext (Results 1 – 25 of 193) sorted by relevance

12345678

/external/python/cpython2/Lib/test/
Dtest_macpath.py53 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'))
Dtest_posixpath.py59 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/
Dt020fuzzy.py15 inputPath = os.path.splitext(__file__)[0] + '.input'
27 outputPath = os.path.splitext(__file__)[0] + '.output'
Dt018llstar.py15 inputPath = os.path.splitext(__file__)[0] + '.input'
24 outputPath = os.path.splitext(__file__)[0] + '.output'
Dt012lexerXML.py29 inputPath = os.path.splitext(__file__)[0] + '.input'
41 outputPath = os.path.splitext(__file__)[0] + '.output'
Dt019lexer.py12 inputPath = os.path.splitext(__file__)[0] + '.input'
/external/google-benchmark/
D.ycm_extra_conf.py75 extension = os.path.splitext( filename )[ 1 ]
85 basename = os.path.splitext( filename )[ 0 ]
/external/python/cpython2/Lib/distutils/
Demxccompiler.py128 (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))
Dbcppcompiler.py222 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/
Dloader.py222 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/selinux/libsemanage/utils/
Dsemanage_migrate_store59 (file, ext) = os.path.splitext(name)
88 (disabledname, disabledext) = os.path.splitext(file)
128 (file, ext) = os.path.splitext(name)
/external/python/cpython2/Lib/
Dmimetypes.py134 base, ext = posixpath.splitext(url)
136 base, ext = posixpath.splitext(base + self.suffix_map[ext])
139 base, ext = posixpath.splitext(base)
Dmacpath.py74 def splitext(p): function
76 splitext.__doc__ = genericpath._splitext.__doc__
/external/swiftshader/third_party/subzero/pydir/
Dcrosstest.py120 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/jsoncpp/test/
Drunjsontests.py77 base_path = os.path.splitext(input_path)[0]
85 expected_output_path = os.path.splitext(input_path)[0] + '.expected'
Dgenerate_expected.py6 target = os.path.splitext(path)[0] + '.expected'
/external/pdfium/testing/tools/
Dtest_runner.py48 input_root, _ = os.path.splitext(input_filename)
91 output_event_path = os.path.splitext(pdf_path)[0] + ".evt"
130 test_name = os.path.splitext(os.path.split(img_path)[1])[0]
/external/python/cpython2/Doc/tools/
Drstlint.py18 from os.path import join, splitext, abspath, exists
193 ext = splitext(fn)[1]
/external/skia/gn/
Dcompile_processors.py15 path, _ = os.path.splitext(p)
/external/lisa/libs/utils/android/
D__init__.py38 filename = os.path.splitext(os.path.basename(filepath))[0]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Drun_translate.py28 os.path.splitext(os.path.basename(filename))[0])
/external/libmojo/mojo/public/tools/bindings/
Dmojom_list_outputs.py23 base, ext = os.path.splitext(full)
/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py105 split_name = os.path.splitext(filename)
198 basename, suffix = os.path.splitext(header_name)
/external/trappy/trappy/
D__init__.py49 import_name, extension = os.path.splitext(fname)
/external/chromium-trace/
Dsystrace.py26 root, ext = os.path.splitext(filename)

12345678