Home
last modified time | relevance | path

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

123

/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
Dhtml_module_unittest.py77 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
90 file_contents[os.path.normpath('/tmp/a/foo.js')] = """
95 FakeLoader([os.path.normpath('/tmp')], file_contents),
110 file_contents[os.path.normpath('/foo.js')] = ''
113 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
128 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
145 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
158 file_contents[os.path.normpath('/tmp/a/foo.html')] = """
162 FakeLoader([os.path.normpath('/tmp')], file_contents),
175 file_contents[os.path.normpath('/tmp/a/foo.css')] = """
[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'),
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
Dgenerate_unittest.py36 [os.path.normpath('/x')])
41 [os.path.normpath('foo.my_module')])
47 [os.path.normpath('foo.my_module')])
54 [os.path.normpath('foo.my_module')])
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')])
Dhtml_module.py148 os.path.normpath(href[1:]))
150 abspath = os.path.normpath(os.path.join(module_dir_name,
151 os.path.normpath(href)))
/external/deqp/scripts/
Dmake_release.py50 assert os.path.normpath(path) == path
51 assert os.path.normpath(basePath) == basePath
62 basePath = os.path.normpath(basePath)
65 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath)
126 …scriptPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, "framework", "qphelper", …
178 …fullSrcPath = os.path.normpath(os.path.join(self.getSrcBasePath(packageBuildInfo), self.srcBasePa…
179 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstBasePath))
196 fullSrcPath = os.path.normpath(os.path.join(packageBuildInfo.srcBasePath, self.srcFile))
197 fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstFile))
233 …scriptPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, "src", "android", "script…
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/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)
Ddata.py37 drive, path = '', _os.path.normpath(path)
151 normalized = _os.path.normpath(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/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)
Ddata.py37 drive, path = '', _os.path.normpath(path)
151 normalized = _os.path.normpath(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/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)
Ddata.py37 drive, path = '', _os.path.normpath(path)
151 normalized = _os.path.normpath(manpage)
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/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)
Ddata.py37 drive, path = '', _os.path.normpath(path)
151 normalized = _os.path.normpath(manpage)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Durlparser.py431 self.directory = self.normpath(directory)
432 self.root_directory = self.normpath(root_directory or directory)
435 def normpath(path): member in StaticURLParser
437 normpath = staticmethod(normpath) variable in StaticURLParser
448 full = self.normpath(os.path.join(self.directory, filename))
539 self.root_resource = os.path.normpath(root_resource)
556 resource = os.path.normcase(os.path.normpath(
/external/deqp/android/scripts/
Dbuild.py49 return os.path.normpath(os.path.join(buildRoot, "native", buildName))
55 deqpDir = os.path.normpath(os.path.join(common.ANDROID_DIR, ".."))
103 …manifestSrcPath = os.path.normpath(os.path.join(common.ANDROID_DIR, "package", "AndroidManifest.xm…
104 manifestDstPath = os.path.normpath(os.path.join(appDir, "AndroidManifest.xml"))
/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/deqp/scripts/egl/
Dcommon.py37 EGL_DIR = os.path.normpath(os.path.join(SCRIPTS_DIR, "..", "..", "framework", "egl"))
38 EGL_WRAPPER_DIR = os.path.normpath(os.path.join(EGL_DIR, "wrapper"))
/external/protobuf/gtest/test/
Drun_tests_util_test.py112 def normpath(self, path): member in FakePath
113 return os.path.normpath(path)
116 return self.normpath(os.path.join(self.current_dir, path))
163 return (os.path.normpath(pair[0]), os.path.normpath(pair[1]))
168 directory, executable = map(os.path.normpath, pair)
Drun_tests_util.py147 return injected_os.path.normpath(injected_os.path.join(script_dir,
306 normalized_args = [self.os.path.normpath(arg) for arg in args]
337 test_dir = self.os.path.normpath(self.os.path.join(self.script_dir, 'test'))
/external/deqp/scripts/opengl/
Dsrc_util.py34 OPENGL_DIR = os.path.normpath(os.path.join(SCRIPTS_DIR, "..", "..", "framework", "opengl"))
35 EGL_DIR = os.path.normpath(os.path.join(SCRIPTS_DIR, "..", "..", "framework", "egl"))
/external/jsoncpp/test/
Drunjsontests.py124 jsontest_executable_path = os.path.normpath( os.path.abspath( args[0] ) )
126 input_path = os.path.normpath( os.path.abspath( args[1] ) )
/external/fonttools/MetaTools/
DbuildChangeLog.py5 fontToolsDir = os.path.dirname(os.path.dirname(os.path.normpath(

123