/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | filesystem_unittest.py | 81 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 D | test_tool.py | 83 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 D | generate_library_loader.py | 172 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 D | generate_template_contents.py | 20 filenames = [os.path.relpath(x) for x in filenames]
|
H A D | generate_about_tracing_contents.py | 58 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 D | generate_deps_js_contents.py | 20 filenames = [os.path.relpath(x) for x in filenames]
|
/external/chromium_org/tools/json_schema_compiler/ |
H A D | compiler.py | 41 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 D | compatibility.py | 62 relpath = _relpath_nt variable 64 relpath = _relpath_posix variable
|
H A D | loader.py | 15 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 D | idl_c_header.py | 58 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 D | resource_scale_factors.py | 58 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 D | jar.py | 28 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 D | buildbot_run.py | 49 os.path.relpath(SCRIPT_DIR, root_dir))
|
H A D | build_updater.py | 158 out_files = [os.path.relpath(out_file, out_dir) 170 files_to_tar = [os.path.relpath(out_file, sdktoolsdir)
|
H A D | verify_ppapi.py | 76 rel_root = os.path.relpath(root, relative_to) 176 rel_dsc_filename = os.path.relpath(dsc_filename, SRC_DIR)
|
H A D | generate_make.py | 87 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 D | export-w3c-performance-wg-tests | 66 root = os.path.relpath(root, source_directory)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
H A D | finder.py | 95 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 D | discover.py | 33 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
|
H A D | browser_credentials.py | 125 os.path.relpath(os.path.join(os.path.dirname(page_set.file_path), 130 os.path.relpath(
|
/external/chromium_org/tools/checkdeps/ |
H A D | java_checker.py | 95 include_path = os.path.relpath(
|
/external/chromium_org/tools/checklicenses/ |
H A D | checklicenses.py | 484 filename = os.path.relpath(filename.strip(), options.base_directory)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
H A D | perftestsrunner.py | 150 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 D | WebKitHitTestTest.java | 174 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 D | asan_symbolize.py | 42 asan_libs += [os.path.relpath(os.path.join(src_dir, f))
|