/external/chromium_org/build/ |
H A D | inverse_depth.py | 12 return os.path.relpath(os.getcwd(), os.path.abspath(depth))
|
H A D | get_syzygy_binaries.py | 110 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 D | outputs.py | 14 return os.path.relpath(resource_path, src_root)
|
/external/chromium_org/build/linux/unbundle/ |
H A D | remove_bundled_libraries.py | 40 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 D | features_compiler.py | 25 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 D | compiler.py | 48 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 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/eigen/doc/ |
H A D | eigen_navtree_hacks.js | 78 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 D | check_chromevox.py | 34 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 D | gypd_parser.py | 47 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 D | gypd_parser.py | 47 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 D | test_tool.py | 89 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 D | generate_library_loader.py | 165 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 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/lldb/test/unittest2/ |
H A D | compatibility.py | 62 relpath = _relpath_nt variable 64 relpath = _relpath_posix variable
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/bindings/ |
H A D | main.py | 200 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 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') 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 D | resource_scale_factors.py | 63 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 D | zip.py | 22 outfile.write(f, os.path.relpath(f, base_dir))
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | path_util.py | 87 rel_path = posixpath.relpath(path, last_path) 89 # Don't let relpath say the filename is '.'
|
H A D | test_util.py | 59 # 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 D | run_bindings_generator.py | 17 mojom_reldir = os.path.dirname(os.path.relpath(mojom_file, root_dir))
|
/external/chromium_org/ppapi/tests/ |
H A D | create_nonsfi_test_nmf.py | 52 _URL_KEY: os.path.relpath(program, root_path)
|