Home
last modified time | relevance | path

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

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_macpath.py33 splitext = macpath.splitext
34 self.assertEqual(splitext(":foo.ext"), (':foo', '.ext'))
35 self.assertEqual(splitext("foo:foo.ext"), ('foo:foo', '.ext'))
36 self.assertEqual(splitext(".ext"), ('.ext', ''))
37 self.assertEqual(splitext("foo.ext:foo"), ('foo.ext:foo', ''))
38 self.assertEqual(splitext(":foo.ext:"), (':foo.ext:', ''))
39 self.assertEqual(splitext(""), ('', ''))
40 self.assertEqual(splitext("foo.bar.ext"), ('foo.bar', '.ext'))
Dtest_posixpath.py41 self.assertEqual(posixpath.splitext(path), (filename, ext))
42 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext))
43 self.assertEqual(posixpath.splitext("abc/" + path), ("abc/" + filename, ext))
44 self.assertEqual(posixpath.splitext("abc.def/" + path), ("abc.def/" + filename, ext))
45 self.assertEqual(posixpath.splitext("/abc.def/" + path), ("/abc.def/" + filename, ext))
46 self.assertEqual(posixpath.splitext(path + "/"), (filename + ext + "/", ""))
Dtest_trace.py23 modname = os.path.splitext(os.path.basename(__file__))[0]
265 ((os.path.splitext(trace.__file__)[0] + '.py', 'trace', 'Trace.runfunc'),
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DLongFilePathOsPath.py39 splitext = os.path.splitext variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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))
Dcygwinccompiler.py205 (dll_name, dll_extension) = os.path.splitext(
275 (base, ext) = os.path.splitext (os.path.normcase(src_name))
Dspawn.py160 base, ext = os.path.splitext(executable)
Dmsvccompiler.py325 (base, ext) = os.path.splitext (src_name)
410 base, _ = os.path.splitext (os.path.basename (src))
520 (dll_name, dll_ext) = os.path.splitext(
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dloader.py220 path = os.path.splitext(os.path.normpath(path))[0]
257 realpath = os.path.splitext(mod_file)[0]
258 fullpath_noext = os.path.splitext(full_path)[0]
261 mod_name = os.path.splitext(os.path.basename(full_path))[0]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Trim/
DTrim.py362 … if len(Result) == 0 or os.path.splitext(Result[0][1])[1].lower() not in [".asl", ".asi"]:
448 Dummy, Ext = os.path.splitext(FileName)
603 CommandOptions.OutputFile = os.path.splitext(InputFile)[0] + '.iii'
607 CommandOptions.OutputFile = os.path.splitext(InputFile)[0] + '.iii'
613 CommandOptions.OutputFile = os.path.splitext(InputFile)[0] + '.iii'
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmimetypes.py134 base, ext = posixpath.splitext(url)
136 base, ext = posixpath.splitext(base + self.suffix_map[ext])
139 base, ext = posixpath.splitext(base)
Dposixpath.py95 def splitext(p): function
97 splitext.__doc__ = genericpath._splitext.__doc__
Dntpath.py189 def splitext(p): function
191 splitext.__doc__ = genericpath._splitext.__doc__
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dwinmakemakefile.py107 base, ext = os.path.splitext(base)
Dcheckextensions.py66 base, ext = os.path.splitext(tail)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Dregrtest.py35 base, ext = os.path.splitext(file)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/
DTableFile.py88 (Root, Ext) = os.path.splitext(FileFullPath)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DPackageFile.py192 ExtName = os.path.splitext(File1)[1]
242 if os.path.splitext(ArcName)[1].lower() == '.pkg':
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DConvertMasmToNasm.py59 srcExt = os.path.splitext(self.src)[1]
189 ext = os.path.splitext(path)[1].lower()
232 outputFile = os.path.splitext(inputFile)[0] + '.nasm'
770 dst = os.path.splitext(src)[0] + '.nasm'
803 srcExt = os.path.splitext(src)[1]
847 asmSrc = os.path.splitext(dst)[0] + '.asm'
922 asmSrc = os.path.splitext(dst)[0] + '.asm'
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_config_cmd.py30 this_file = os.path.splitext(__file__)[0] + '.py'
Dsetuptools_build_ext.py89 fn, ext = os.path.splitext(filename)
279 basename, ext = os.path.splitext(filename)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DSection.py157 if os.path.splitext(F)[1] == Suffix:
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/
DSplitFspBin.py638 hfile = os.path.splitext(os.path.basename(fspfile))[0] + '.h'
639 fspname, ext = os.path.splitext(os.path.basename(hfile))
667 fspname, ext = os.path.splitext(os.path.basename(nametemplate))
737 base, ext = os.path.splitext(filename)
740 fspname, ext = os.path.splitext(os.path.basename(OutputFile))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dntpath.py194 def splitext(p): function
196 splitext.__doc__ = genericpath._splitext.__doc__

1234