/external/python/cpython2/Lib/test/ |
test_ntpath.py | 2 import ntpath 22 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 23 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 24 tester('ntpath.splitext(".ext")', ('.ext', '')) 25 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 26 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 27 tester('ntpath.splitext("")', ('', '')) 28 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 29 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 30 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
test_httpservers.py | 11 import ntpath 648 with test_support.swap_attr(SimpleHTTPServer.os, 'path', ntpath): 650 path = path.replace(ntpath.sep, os.sep) 654 path = path.replace(ntpath.sep, os.sep) 658 path = path.replace(ntpath.sep, os.sep) 662 path = path.replace(ntpath.sep, os.sep)
|
/external/python/cpython3/Lib/test/ |
test_ntpath.py | 1 import ntpath 43 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 44 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 45 tester('ntpath.splitext(".ext")', ('.ext', '')) 46 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 47 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 48 tester('ntpath.splitext("")', ('', '')) 49 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 50 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 51 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/external/v8/tools/clang/translation_unit/ |
test_translation_unit.py | 11 import ntpath 75 if ntpath.basename(expected_line) != ntpath.basename(actual_line): 76 sys.stdout.write('expected: %s' % ntpath.basename(expected_line)) 77 sys.stdout.write('actual: %s' % ntpath.basename(actual_line))
|
/external/google-breakpad/src/tools/python/tests/ |
filter_syms_unittest.py | 34 import ntpath 51 ignored_prefixes, ntpath)
|
/external/skia/infra/bots/ |
zip_utils.py | 13 import ntpath 41 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep) 62 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep)
|
/external/skqp/infra/bots/ |
zip_utils.py | 13 import ntpath 41 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep) 62 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ntpath.py | 1 import ntpath
18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext'))
19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext'))
20 tester('ntpath.splitext(".ext")', ('.ext', ''))
21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', ''))
22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', ''))
23 tester('ntpath.splitext("")', ('', ''))
24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext'))
25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext'))
26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext')) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ntpath.py | 1 import ntpath 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ntpath.py | 1 import ntpath 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ntpath.py | 1 import ntpath 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ntpath.py | 1 import ntpath 18 tester('ntpath.splitext("foo.ext")', ('foo', '.ext')) 19 tester('ntpath.splitext("/foo/foo.ext")', ('/foo/foo', '.ext')) 20 tester('ntpath.splitext(".ext")', ('.ext', '')) 21 tester('ntpath.splitext("\\foo.ext\\foo")', ('\\foo.ext\\foo', '')) 22 tester('ntpath.splitext("foo.ext\\")', ('foo.ext\\', '')) 23 tester('ntpath.splitext("")', ('', '')) 24 tester('ntpath.splitext("foo.bar.ext")', ('foo.bar', '.ext')) 25 tester('ntpath.splitext("xx/foo.bar.ext")', ('xx/foo.bar', '.ext')) 26 tester('ntpath.splitext("xx\\foo.bar.ext")', ('xx\\foo.bar', '.ext') [all...] |
/external/autotest/client/site_tests/camera_V4L2/ |
camera_V4L2.py | 7 import ntpath 51 device_name = ntpath.basename(device)
|
/external/google-breakpad/src/tools/python/ |
filter_syms.py | 43 import ntpath 191 path_handler = { 'win32': ntpath,
|
/external/python/cpython2/Lib/ |
os2emxpath.py | 12 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
|
os.py | 5 - os.path is one of the modules posixpath, or ntpath 63 import ntpath as path 78 import ntpath as path 96 import ntpath as path
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
os2emxpath.py | 11 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
|
os.py | 5 - os.path is one of the modules posixpath, or ntpath 63 import ntpath as path 78 import ntpath as path 96 import ntpath as path
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
os2emxpath.py | 11 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
os2emxpath.py | 11 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
os2emxpath.py | 11 from ntpath import (expanduser, expandvars, isabs, islink, splitdrive,
|
/external/curl/tests/python_dependencies/impacket/ |
smb3.py | 29 import ntpath [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
os.py | 5 - os.path is one of the modules uefipath, posixpath, or ntpath
63 import ntpath as path
78 import ntpath as path
96 import ntpath as path
124 import ntpath as path
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
os.py | 18 - os.path is one of the modules uefipath, posixpath, or ntpath
76 import ntpath as path
91 import ntpath as path
109 import ntpath as path
137 import ntpath as path
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
os.py | 5 - os.path is one of the modules posixpath, or ntpath
63 import ntpath as path
78 import ntpath as path
96 import ntpath as path
|