Searched refs:splitext (Results 1 – 25 of 193) sorted by relevance
12345678
/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'
|
D | t019lexer.py | 12 inputPath = os.path.splitext(__file__)[0] + '.input'
|
/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/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/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/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/pdfium/testing/tools/ |
D | test_runner.py | 48 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/ |
D | rstlint.py | 18 from os.path import join, splitext, abspath, exists 193 ext = splitext(fn)[1]
|
/external/skia/gn/ |
D | compile_processors.py | 15 path, _ = os.path.splitext(p)
|
/external/lisa/libs/utils/android/ |
D | __init__.py | 38 filename = os.path.splitext(os.path.basename(filepath))[0]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | run_translate.py | 28 os.path.splitext(os.path.basename(filename))[0])
|
/external/libmojo/mojo/public/tools/bindings/ |
D | mojom_list_outputs.py | 23 base, ext = os.path.splitext(full)
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
D | generate-darwin-source-and-headers.py | 105 split_name = os.path.splitext(filename) 198 basename, suffix = os.path.splitext(header_name)
|
/external/trappy/trappy/ |
D | __init__.py | 49 import_name, extension = os.path.splitext(fname)
|
/external/chromium-trace/ |
D | systrace.py | 26 root, ext = os.path.splitext(filename)
|
12345678