Home
last modified time | relevance | path

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

12345

/external/chromium-trace/catapult/third_party/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'),
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.py32 self.project = project_module.Project([os.path.normpath('/x')])
37 [os.path.normpath('foo.my_module')])
43 [os.path.normpath('foo.my_module')])
50 [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.py145 os.path.normpath(href[1:]))
147 abspath = os.path.normpath(os.path.join(module_dir_name,
148 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/catapult/third_party/gsutil/gslib/tests/
Dtest_update.py98 normpath = os.path.normpath
103 os.path.normpath = lambda fname: fname
108 os.path.normpath = normpath
/external/chromium-trace/catapult/third_party/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/third_party/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/third_party/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/third_party/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/chromium-trace/catapult/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/chromium-trace/catapult/telemetry/telemetry/core/
Dutil.py31 return os.path.normpath(os.path.join(GetCatapultDir(), 'third_party'))
35 return os.path.normpath(os.path.join(
48 return os.path.normpath(os.path.join(GetTelemetryDir(), '..', '..', '..'))
/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/jsoncpp/devtools/
Dtarball.py16 base_dir = os.path.normpath( os.path.abspath( base_dir ) )
19 path = os.path.normpath( os.path.abspath( path ) )
/external/webrtc/webrtc/build/
Dmerge_libs.py52 search_path = os.path.normpath(argv[1])
53 output_lib = os.path.normpath(argv[2])
/external/autotest/tko/parsers/test/
Dnew_scenario.py48 results_dirpath = path.normpath(args[0])
54 scenarios_dirpath = path.normpath(args[1])
/external/jsoncpp/scons-tools/
Dtargz.py31 path = os.path.normpath( os.path.abspath( path ) )
42 base_dir = os.path.normpath( env.get('TARGZ_BASEDIR', env.Dir('.')).abspath )
/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/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/jsoncpp/test/
Drunjsontests.py125 jsontest_executable_path = os.path.normpath( os.path.abspath( args[0] ) )
127 input_path = os.path.normpath( os.path.abspath( args[1] ) )

12345