Home
last modified time | relevance | path

Searched refs:normpath (Results 1 – 25 of 249) sorted by relevance

12345678910

/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dhtml_module_unittest.py80 file_contents[os.path.normpath('/tmp/a/foo.js')] = """
85 FakeLoader([os.path.normpath('/tmp')], file_contents),
100 file_contents[os.path.normpath('/foo.js')] = ''
103 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
118 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
131 file_contents[os.path.normpath('/tmp/a/foo.html')] = """
135 FakeLoader([os.path.normpath('/tmp')], file_contents),
148 file_contents[os.path.normpath('/tmp/a/foo.css')] = """
151 FakeLoader([os.path.normpath('/tmp')], file_contents),
165 file_contents[os.path.normpath('/src/foo.js')] = ''
[all …]
Dfake_fs_unittest.py17 assert os.path.exists(os.path.normpath('/blah/x'))
20 open(os.path.normpath('/blah/x'), 'r').read())
26 with open(os.path.normpath('/blah/x'), 'r') as f:
36 gen = os.walk(os.path.normpath('/'))
38 self.assertEquals((os.path.normpath('/'), ['x'], ['a.txt']), r)
41 self.assertEquals((os.path.normpath('/x'), ['w', 'w2'], ['y.txt']), r)
44 self.assertEquals((os.path.normpath('/x/w'), [], ['z.txt']), r)
47 self.assertEquals((os.path.normpath('/x/w2'), ['w3'], []), r)
50 self.assertEquals((os.path.normpath('/x/w2/w3'), [], ['z3.txt']), r)
Dmodule_unittest.py38 project = project_module.Project([os.path.normpath('/src/')])
66 project = project_module.Project([os.path.normpath('/x')])
83 project = project_module.Project([os.path.normpath('/x')])
115 os.path.normpath('/x/y'), os.path.normpath('/x/raw/')])
124 os.path.normpath('/x/y/z/foo.html'),
125 os.path.normpath('/x/raw/bar.js'),
126 os.path.normpath('/x/y/z/foo.css'),
127 os.path.normpath('/x/y/z/foo.jpeg'),
128 os.path.normpath('/x/y/z/foo2.html'),
Dgenerate_unittest.py39 self.project = project_module.Project([os.path.normpath('/x')])
44 [os.path.normpath('foo.my_module')])
50 [os.path.normpath('foo.my_module')])
57 [os.path.normpath('foo.my_module')])
71 [os.path.normpath('foo.inline_and_external_module')])
81 [os.path.normpath('foo.inline_and_external_module')])
Dfake_fs.py66 path = os.path.normpath(path)
97 normpath = os.path.normpath(path)
98 if not normpath.startswith(os.path.sep):
99 normpath = os.path.sep + normpath
100 return normpath
Dstyle_sheet_unittest.py26 project = project_module.Project([os.path.normpath('/src/')])
33 self.assertEquals(os.path.normpath('/src/images/bar.jpeg'),
51 project = project_module.Project([os.path.normpath('/src')])
63 project = project_module.Project([os.path.normpath('/src')])
/external/python/cpython3/Lib/test/
Dtest_macpath.py126 normpath = macpath.normpath
127 self.assertEqual(normpath("a:b"), "a:b")
128 self.assertEqual(normpath("a"), ":a")
129 self.assertEqual(normpath("a:b::c"), "a:c")
130 self.assertEqual(normpath("a:b:c:::d"), "a:d")
131 self.assertRaises(macpath.norm_error, normpath, "a::b")
132 self.assertRaises(macpath.norm_error, normpath, "a:b:::c")
133 self.assertEqual(normpath(":"), ":")
134 self.assertEqual(normpath("a:"), "a:")
135 self.assertEqual(normpath("a:b:"), "a:b")
[all …]
Dtest_posixpath.py291 self.assertEqual(posixpath.normpath(""), ".")
292 self.assertEqual(posixpath.normpath("/"), "/")
293 self.assertEqual(posixpath.normpath("//"), "//")
294 self.assertEqual(posixpath.normpath("///"), "/")
295 self.assertEqual(posixpath.normpath("///foo/.//bar//"), "/foo/bar")
296 self.assertEqual(posixpath.normpath("///foo/.//bar//.//..//.//baz"),
298 self.assertEqual(posixpath.normpath("///..//./foo/.//bar"), "/foo/bar")
300 self.assertEqual(posixpath.normpath(b""), b".")
301 self.assertEqual(posixpath.normpath(b"/"), b"/")
302 self.assertEqual(posixpath.normpath(b"//"), b"//")
[all …]
Dregrtest.py29 mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
32 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir:
/external/deqp/scripts/
Dmake_release.py52 assert os.path.normpath(path) == path
53 assert os.path.normpath(basePath) == basePath
64 basePath = os.path.normpath(basePath)
67 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath)
128 …scriptPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, "framework", "qphelper", …
180 …fullSrcPath = os.path.normpath(os.path.join(self.getSrcBasePath(packageBuildInfo), self.srcBasePa…
181 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstBasePath))
198 fullSrcPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, self.srcFile))
199 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstFile))
235 …scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "android", "script…
[all …]
/external/deqp/framework/qphelper/
Dgen_release_info.py89 defaultGitDir = os.path.normpath(os.path.join(curDir, "..", "..", ".git"))
90 …defaultGlslGitDir = os.path.normpath(os.path.join(curDir, "..", "..", "external", "glslang", "sr…
91 …defaultSpirvToolsGitDir = os.path.normpath(os.path.join(curDir, "..", "..", "external", "spirv-to…
92 …defaultSpirvHeadersGitDir = os.path.normpath(os.path.join(curDir, "..", "..", "external", "spirv-h…
/external/grpc-grpc/tools/distrib/python/grpcio_tools/
Dsetup.py101 CC_FILES = [os.path.normpath(cc_file) for cc_file in protoc_lib_deps.CC_FILES]
103 os.path.normpath(proto_file) for proto_file in protoc_lib_deps.PROTO_FILES
105 CC_INCLUDE = os.path.normpath(protoc_lib_deps.CC_INCLUDE)
106 PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
/external/python/cpython3/Lib/distutils/
Dsysconfig.py20 PREFIX = os.path.normpath(sys.prefix)
21 EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
22 BASE_PREFIX = os.path.normpath(sys.base_prefix)
23 BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix)
108 return os.path.normpath(incdir)
507 _config_vars['srcdir'] = os.path.abspath(os.path.normpath(srcdir))
521 _config_vars['srcdir'] = os.path.normpath(srcdir)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Dsetup.py190 _os.path.normpath(dirpath).replace(sep, '.')
272 _os.path.normpath(item).split(_os.path.sep)
280 _os.path.normpath(item).split(_os.path.sep)
285 _os.path.normpath(item).split(_os.path.sep)
294 _os.path.normpath(item).split(_os.path.sep)
299 _os.path.normpath(item).split(_os.path.sep)
308 _os.path.normpath(item).split(_os.path.sep)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Dsetup.py190 _os.path.normpath(dirpath).replace(sep, '.')
272 _os.path.normpath(item).split(_os.path.sep)
280 _os.path.normpath(item).split(_os.path.sep)
285 _os.path.normpath(item).split(_os.path.sep)
294 _os.path.normpath(item).split(_os.path.sep)
299 _os.path.normpath(item).split(_os.path.sep)
308 _os.path.normpath(item).split(_os.path.sep)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Dsetup.py189 _os.path.normpath(dirpath).replace(sep, '.')
271 _os.path.normpath(item).split(_os.path.sep)
279 _os.path.normpath(item).split(_os.path.sep)
284 _os.path.normpath(item).split(_os.path.sep)
293 _os.path.normpath(item).split(_os.path.sep)
298 _os.path.normpath(item).split(_os.path.sep)
307 _os.path.normpath(item).split(_os.path.sep)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dsetup.py189 _os.path.normpath(dirpath).replace(sep, '.')
271 _os.path.normpath(item).split(_os.path.sep)
279 _os.path.normpath(item).split(_os.path.sep)
284 _os.path.normpath(item).split(_os.path.sep)
293 _os.path.normpath(item).split(_os.path.sep)
298 _os.path.normpath(item).split(_os.path.sep)
307 _os.path.normpath(item).split(_os.path.sep)
/external/skia/gn/
Dfind_headers.py24 absolute_source = os.path.normpath(absolute_source)
26 include_dirs = [os.path.join(os.path.normpath(include_dir), '')
58 sources.add(os.path.join(absolute_source, os.path.normpath(name[2:])))
/external/skqp/gn/
Dfind_headers.py24 absolute_source = os.path.normpath(absolute_source)
26 include_dirs = [os.path.join(os.path.normpath(include_dir), '')
58 sources.add(os.path.join(absolute_source, os.path.normpath(name[2:])))
/external/v8/
D.ycm_extra_conf.py66 curdir = os.path.normpath(os.path.dirname(filename))
70 nextdir = os.path.normpath(os.path.join(curdir, '..'))
162 abs_path = os.path.normpath(os.path.join(out_dir, flag[2:]))
/external/python/cpython2/PC/VS9.0/
Dvs9to8.py10 filename = os.path.normpath(os.path.join(src, name))
11 destname = os.path.normpath(os.path.join(dest, name))
/external/python/cpython2/Lib/test/
Dtest_posixpath.py295 self.assertEqual(posixpath.normpath(""), ".")
296 self.assertEqual(posixpath.normpath("/"), "/")
297 self.assertEqual(posixpath.normpath("//"), "//")
298 self.assertEqual(posixpath.normpath("///"), "/")
299 self.assertEqual(posixpath.normpath("///foo/.//bar//"), "/foo/bar")
300 self.assertEqual(posixpath.normpath("///foo/.//bar//.//..//.//baz"), "/foo/baz")
301 self.assertEqual(posixpath.normpath("///..//./foo/.//bar"), "/foo/bar")
/external/deqp/scripts/src_util/
Dcommon.py87 projectDir = os.path.normpath(os.path.join(scriptDir, "../.."))
98 return os.path.normpath(os.path.join(getProjectPath(), projectRelativePath))
/external/webrtc/webrtc/build/
Dmerge_libs.py52 search_path = os.path.normpath(argv[1])
53 output_lib = os.path.normpath(argv[2])
/external/jsoncpp/devtools/
Dtarball.py16 base_dir = os.path.normpath( os.path.abspath( base_dir ) )
19 path = os.path.normpath( os.path.abspath( path ) )

12345678910