/external/chromium_org/build/ |
inverse_depth.py | 12 return os.path.relpath(os.getcwd(), os.path.abspath(depth))
|
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...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 66 int type, String domain, String relpath, long mode, long mtime) 68 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]"); 73 int slash = relpath.indexOf('/'); 76 int i = Integer.parseInt(relpath.substring(0, slash)); 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 84 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); 90 Slog.e(TAG, "Skipping data with malformed path " + relpath);
|
/external/chromium_org/build/linux/unbundle/ |
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/ |
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:
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
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('aaa/bbb', 'aaa/ccc'), '../bbb' [all...] |
/external/chromium_org/third_party/closure_compiler/build/ |
outputs.py | 14 return os.path.relpath(resource_path, src_root)
|
/external/chromium_org/third_party/skia/platform_tools/android/gyp_gen/ |
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/ |
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)
|
/ndk/build/tools/ |
build-gdb-stub.sh | 58 GDB_TO_PYTHON_REL_DIR=$(relpath "$GDB_BIN_DIR" "$PYTHON_BIN_DIR" | sed -e s./.\\\\\\\\.g) 59 PYTHONHOME_REL_DIR=$(relpath "$GDB_BIN_DIR" "$PYTHON_PREFIX_DIR" | sed -e s./.\\\\\\\\.g)
|
/external/chromium_org/tools/clang/scripts/ |
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)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 391 self.assertRaises(ValueError, posixpath.relpath, "") 392 self.assertEqual(posixpath.relpath("a"), "a") 393 self.assertEqual(posixpath.relpath(posixpath.abspath("a")), "a") 394 self.assertEqual(posixpath.relpath("a/b"), "a/b") 395 self.assertEqual(posixpath.relpath("../a/b"), "../a/b") 396 self.assertEqual(posixpath.relpath("a", "../b"), "../"+curdir+"/a") 397 self.assertEqual(posixpath.relpath("a/b", "../c"), "../"+curdir+"/a/b") 398 self.assertEqual(posixpath.relpath("a", "b/c"), "../../a") 399 self.assertEqual(posixpath.relpath("a", "a"), ".") 400 self.assertEqual(posixpath.relpath("/foo/bar/bat", "/x/y/z"), '../../../foo/bar/bat' [all...] |
test_py_compile.py | 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 391 self.assertRaises(ValueError, posixpath.relpath, "") 392 self.assertEqual(posixpath.relpath("a"), "a") 393 self.assertEqual(posixpath.relpath(posixpath.abspath("a")), "a") 394 self.assertEqual(posixpath.relpath("a/b"), "a/b") 395 self.assertEqual(posixpath.relpath("../a/b"), "../a/b") 396 self.assertEqual(posixpath.relpath("a", "../b"), "../"+curdir+"/a") 397 self.assertEqual(posixpath.relpath("a/b", "../c"), "../"+curdir+"/a/b") 398 self.assertEqual(posixpath.relpath("a", "b/c"), "../../a") 399 self.assertEqual(posixpath.relpath("a", "a"), ".") 400 self.assertEqual(posixpath.relpath("/foo/bar/bat", "/x/y/z"), '../../../foo/bar/bat' [all...] |
test_py_compile.py | 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path))
|
/external/chromium_org/tools/generate_library_loader/ |
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/eigen/doc/ |
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/ |
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/WebKit/Tools/Scripts/webkitpy/bindings/ |
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/ |
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')
|
/development/tools/elftree/ |
elftree.c | 292 char *relpath; local 295 relpath = getenv("ANDROID_PRODUCT_OUT"); 296 if (!relpath) { 299 relpath = "."; 302 snprintf(path, PATH_MAX, "%s/%s", relpath, "system/lib");
|
/external/chromium-trace/trace-viewer/build/ |
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)
|
generate_deps_js_contents.py | 20 filenames = [os.path.relpath(x) for x in filenames]
|
generate_template_contents.py | 20 filenames = [os.path.relpath(x) for x in filenames]
|
/external/lldb/test/unittest2/ |
compatibility.py | 62 relpath = _relpath_nt variable 64 relpath = _relpath_posix variable
|