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

123456

/external/chromium_org/build/
H A Dinverse_depth.py12 return os.path.relpath(os.getcwd(), os.path.abspath(depth))
H A Dget_syzygy_binaries.py110 for (relpath, md5) in c.iteritems():
111 if not isinstance(relpath, basestring) or len(relpath) == 0:
128 for relpath, md5 in stored['contents'].iteritems():
129 abspath = os.path.abspath(os.path.join(output_dir, relpath))
132 contents[relpath] = m
146 for relpath, md5 in cont_stored.iteritems():
147 if relpath not in cont_actual:
148 _LOGGER.debug('Missing content: %s', relpath)
150 if md5 != cont_actual[relpath]
[all...]
/external/chromium_org/third_party/closure_compiler/build/
H A Doutputs.py14 return os.path.relpath(resource_path, src_root)
/external/chromium_org/build/linux/unbundle/
H A Dremove_bundled_libraries.py40 root_relpath = os.path.relpath(root, source_tree_root)
46 relpath = os.path.relpath(path, source_tree_root)
54 split = relpath.rsplit(os.sep + 'third_party' + os.sep, 1)
58 if relpath.startswith(exclusion):
/external/chromium_org/tools/json_schema_compiler/
H A Dfeatures_compiler.py25 schema_loader = SchemaLoader(os.path.dirname(os.path.relpath(schema, root)),
36 relpath = os.path.relpath(os.path.normpath(source_file_dir), root)
37 full_path = os.path.join(relpath, schema)
49 with open(os.path.join(destdir, relpath, filename), 'w') as f:
H A Dcompiler.py48 schema = os.path.relpath(file_path, root)
73 relpath = os.path.relpath(os.path.normpath(file_path), root)
75 relpath,
/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/eigen/doc/
H A Deigen_navtree_hacks.js78 function initNavTree(toroot,relpath)
91 o.node.relpath = relpath;
95 o.node.plus_img.src = relpath+"ftv2pnode.png";
102 showSyncOff(navSync,relpath);
105 showSyncOn(navSync,relpath);
107 navSync.click(function(){ toggleSyncButton(relpath); });
110 navTo(o,toroot,window.location.hash,relpath);
125 navTo(o,link,$(location).attr('hash'),relpath);
130 navTo(o,toroot,window.location.hash,relpath);
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
H A Dcheck_chromevox.py34 return os.path.relpath(os.path.join(_SCRIPT_DIR, '..', path))
66 (os.path.relpath(path) for path in changed_files))
74 os.path.relpath(
121 changed_paths = (os.path.relpath(p) for p in args)
/external/chromium_org/third_party/skia/platform_tools/android/gyp_gen/
H A Dgypd_parser.py47 rel_source = os.path.relpath(source, os.pardir)
48 rel_source = os.path.relpath(rel_source, dest_dir)
98 rel_include = os.path.relpath(include, os.pardir)
99 rel_include = os.path.relpath(rel_include, dest_dir)
/external/skia/platform_tools/android/gyp_gen/
H A Dgypd_parser.py47 rel_source = os.path.relpath(source, os.pardir)
48 rel_source = os.path.relpath(rel_source, dest_dir)
98 rel_include = os.path.relpath(include, os.pardir)
99 rel_include = os.path.relpath(rel_include, dest_dir)
/external/chromium_org/tools/clang/scripts/
H A Dtest_tool.py89 print '[ RUN ] %s' % os.path.relpath(actual)
98 fromfile=os.path.relpath(expected),
99 tofile=os.path.relpath(actual)):
101 print '[ FAILED ] %s' % os.path.relpath(actual)
105 print '[ OK ] %s' % os.path.relpath(actual)
/external/chromium_org/tools/generate_library_loader/
H A Dgenerate_library_loader.py165 options.output_cc = os.path.relpath(options.output_cc, source_tree_root)
166 options.output_h = os.path.relpath(options.output_h, source_tree_root)
215 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/lldb/test/unittest2/
H A Dcompatibility.py62 relpath = _relpath_nt variable
64 relpath = _relpath_posix variable
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/bindings/
H A Dmain.py200 os.path.relpath(path, output_directory))
206 generated_files = set([os.path.relpath(path, output_directory)
214 relpath = os.path.relpath(path, reference_directory)
215 if relpath not in generated_files:
216 excess_files.append(relpath)
/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')
220 def_guard = GetHeaderFromNode(filenode, relpath=gpath)
252 include, relpath=gpath).replace(os.sep, '/') for include in includes]
261 relpath=gpath).replace(os.sep, '/')
333 def_guard = GetPathFromNode(filenode, relpath=gpath, ext='.h')
/external/chromium_org/ui/resources/resource_check/
H A Dresource_scale_factors.py63 repository_path = self.input_api.os_path.relpath(
78 relative_path = self.input_api.os_path.relpath(f.LocalPath(),
/external/chromium_org/build/android/gn/
H A Dzip.py22 outfile.write(f, os.path.relpath(f, base_dir))
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dpath_util.py87 rel_path = posixpath.relpath(path, last_path)
89 # Don't let relpath say the filename is '.'
H A Dtest_util.py59 # os.path.relpath kills any trailing '/'.
60 return os.path.relpath(abspath) + ('/' if abspath.endswith('/') else '')
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/
H A Drun_bindings_generator.py17 mojom_reldir = os.path.dirname(os.path.relpath(mojom_file, root_dir))
/external/chromium_org/ppapi/tests/
H A Dcreate_nonsfi_test_nmf.py52 _URL_KEY: os.path.relpath(program, root_path)

Completed in 7219 milliseconds

123456