Searched refs:relpath (Results 1 - 25 of 90) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfilesystem_unittest.py81 self.assertEqual(self.fs.relpath('aaa/bbb'), 'aaa/bbb')
82 self.assertEqual(self.fs.relpath('aaa/bbb/'), 'aaa/bbb')
83 self.assertEqual(self.fs.relpath('aaa/bbb/.'), 'aaa/bbb')
84 self.assertEqual(self.fs.relpath('aaa/./bbb'), 'aaa/bbb')
85 self.assertEqual(self.fs.relpath('aaa/../bbb/'), 'bbb')
86 self.assertEqual(self.fs.relpath('aaa/bbb', 'aaa/bbb'), '.')
87 self.assertEqual(self.fs.relpath('aaa/bbb/ccc', 'aaa/bbb'), 'ccc')
88 self.assertEqual(self.fs.relpath('aaa/./ccc', 'aaa/bbb'), '../ccc')
89 self.assertEqual(self.fs.relpath('aaa/../ccc', 'aaa/bbb'), '../../ccc')
90 self.assertEqual(self.fs.relpath('aa
[all...]
/external/chromium_org/tools/clang/scripts/
H A Dtest_tool.py83 print '[ RUN ] %s' % os.path.relpath(actual)
90 print '[ FAILED ] %s' % os.path.relpath(actual)
93 fromfile=os.path.relpath(expected),
94 tofile=os.path.relpath(actual)):
99 print '[ OK ] %s' % os.path.relpath(actual)
/external/chromium_org/tools/generate_library_loader/
H A Dgenerate_library_loader.py172 options.output_cc = os.path.relpath(options.output_cc, source_tree_root)
173 options.output_h = os.path.relpath(options.output_h, source_tree_root)
222 generator_path = os.path.relpath(__file__, source_tree_root)
/external/chromium-trace/trace-viewer/build/
H A Dgenerate_template_contents.py20 filenames = [os.path.relpath(x) for x in filenames]
H A Dgenerate_about_tracing_contents.py58 rel_filename = os.path.relpath(style_sheet.filename, outdir)
98 rel_filename = os.path.relpath(dependent_raw_script.filename, outdir)
101 rel_filename = os.path.relpath(module.filename, outdir)
H A Dgenerate_deps_js_contents.py20 filenames = [os.path.relpath(x) for x in filenames]
/external/chromium_org/tools/json_schema_compiler/
H A Dcompiler.py41 schema_loader = SchemaLoader(os.path.dirname(os.path.relpath(
64 relpath = os.path.relpath(os.path.normpath(schema_filename), root)
66 relpath,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
H A Dcompatibility.py62 relpath = _relpath_nt variable
64 relpath = _relpath_posix variable
H A Dloader.py15 from os.path import relpath namespace
17 from unittest2.compatibility import relpath namespace
230 _relpath = relpath(path, self._top_level_dir)
/external/chromium_org/ppapi/generators/
H A Didl_c_header.py58 def GetPathFromNode(filenode, relpath=None, ext=None):
62 if relpath: name = os.path.join(relpath, name)
67 def GetHeaderFromNode(filenode, relpath=None):
68 return GetPathFromNode(filenode, relpath, ext='.h')
225 def_guard = GetHeaderFromNode(filenode, relpath=gpath)
257 include, relpath=gpath).replace(os.sep, '/') for include in includes]
266 relpath=gpath).replace(os.sep, '/')
314 def_guard = GetPathFromNode(filenode, relpath=gpath, ext='.h')
/external/chromium_org/ui/resources/resource_check/
H A Dresource_scale_factors.py58 repository_path = self.input_api.os_path.relpath(
73 relative_path = self.input_api.os_path.relpath(f.LocalPath(),
/external/chromium_org/build/android/gyp/
H A Djar.py28 class_files_rel = [os.path.relpath(f, jar_cwd) for f in class_files]
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dbuildbot_run.py49 os.path.relpath(SCRIPT_DIR, root_dir))
H A Dbuild_updater.py158 out_files = [os.path.relpath(out_file, out_dir)
170 files_to_tar = [os.path.relpath(out_file, sdktoolsdir)
H A Dverify_ppapi.py76 rel_root = os.path.relpath(root, relative_to)
176 rel_dsc_filename = os.path.relpath(dsc_filename, SRC_DIR)
H A Dgenerate_make.py87 relpath = os.path.relpath(makeexe, makepath)
90 outpath = os.path.join(relpath, 'make.exe')
245 rel_path = os.path.relpath(pepperdir, os.path.dirname(out_path))
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dexport-w3c-performance-wg-tests66 root = os.path.relpath(root, source_directory)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
H A Dfinder.py95 relpath = name.replace('.', self.filesystem.sep) + '.py'
96 return any(self.filesystem.exists(self.filesystem.join(tree.top_directory, relpath)) for tree in self.trees)
139 relpath = tree.subpath(path)
140 if not relpath:
/external/chromium_org/tools/telemetry/telemetry/core/
H A Ddiscover.py33 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
H A Dbrowser_credentials.py125 os.path.relpath(os.path.join(os.path.dirname(page_set.file_path),
130 os.path.relpath(
/external/chromium_org/tools/checkdeps/
H A Djava_checker.py95 include_path = os.path.relpath(
/external/chromium_org/tools/checklicenses/
H A Dchecklicenses.py484 filename = os.path.relpath(filename.strip(), options.base_directory)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/
H A Dperftestsrunner.py150 relpath = filesystem.relpath(arg, self._base_path)
151 if filesystem.exists(filesystem.join(self._base_path, relpath)):
152 paths.append(filesystem.normpath(relpath))
160 relative_path = filesystem.relpath(path, self._base_path).replace('\\', '/')
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DWebKitHitTestTest.java174 String relpath = "/foo.html";
175 String fullpath = mWebServer.getResponseUrl(relpath);
176 String page = fullPageLink(relpath, ANCHOR_TEXT);
181 assertTrue(pollForHrefAndImageSrcOnUiThread(relpath, ANCHOR_TEXT, null));
/external/chromium_org/build/android/
H A Dasan_symbolize.py42 asan_libs += [os.path.relpath(os.path.join(src_dir, f))

Completed in 523 milliseconds

1234