Searched defs:ntpath (Results 1 - 13 of 13) sorted by relevance

/external/skia/infra/bots/
H A Dzip_utils.py13 import ntpath namespace
41 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep)
62 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep)
/external/skqp/infra/bots/
H A Dzip_utils.py13 import ntpath namespace
41 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep)
62 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep)
/external/google-breakpad/src/tools/python/tests/
H A Dfilter_syms_unittest.py34 import ntpath namespace
51 ignored_prefixes, ntpath)
/external/v8/tools/clang/translation_unit/
H A Dtest_translation_unit.py11 import ntpath namespace
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/
H A Dfilter_syms.py43 import ntpath namespace
191 path_handler = { 'win32': ntpath,
/external/autotest/client/site_tests/camera_V4L2/
H A Dcamera_V4L2.py7 import ntpath namespace
51 device_name = ntpath.basename(device)
/external/python/cpython2/Lib/test/
H A Dtest_ntpath.py2 import ntpath namespace
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
[all...]
H A Dtest_httpservers.py11 import ntpath namespace
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/
H A Dtest_ntpath.py1 import ntpath namespace
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
[all...]
H A Dtest_httpservers.py15 import ntpath namespace
1011 with support.swap_attr(server.os, 'path', ntpath):
1013 path = path.replace(ntpath.sep, os.sep)
1017 path = path.replace(ntpath.sep, os.sep)
1021 path = path.replace(ntpath.sep, os.sep)
1025 path = path.replace(ntpath.sep, os.sep)
/external/curl/tests/python_dependencies/impacket/
H A Dsmb3.py29 import ntpath namespace
870 fileName = ntpath.normpath(fileName)
887 parentDir = ntpath.dirname(pathName)
1324 oldPath = ntpath.normpath(oldPath)
1329 newPath = ntpath.normpath(newPath)
1365 path = ntpath.normpath(path)
1374 fileId = self.create(treeId, ntpath.dirname(path), FILE_READ_ATTRIBUTES | FILE_READ_DATA ,FILE_SHARE_READ | FILE_SHARE_WRITE |FILE_SHARE_DELETE, FILE_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT, FILE_OPEN, 0)
1380 res = self.queryDirectory( treeId, fileId, ntpath.basename(path), maxBufferSize = 65535, informationClass = FILE_FULL_DIRECTORY_INFORMATION )
1402 pathName = ntpath.normpath(pathName)
1421 pathName = ntpath
[all...]
H A Dsmbserver.py34 import ntpath namespace
2155 if ntpath.ismount(UNCOrShare):
2158 path = ntpath.basename(UNCOrShare)
2736 if ntpath.ismount(UNCOrShare):
2739 path = ntpath.basename(UNCOrShare)
/external/python/cpython3/Lib/
H A Dpathlib.py4 import ntpath namespace
114 pathmod = ntpath

Completed in 461 milliseconds