/build/soong/ |
reverse_path.py | 30 realpath = os.path.relpath(os.path.realpath('.'), os.path.realpath(path)) 31 relpath = os.path.relpath('.', path) 33 if realpath != relpath: 36 return relpath
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 68 int type, String domain, String relpath, long mode, long mtime) 70 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]"); 75 int slash = relpath.indexOf('/'); 78 int i = Integer.parseInt(relpath.substring(0, slash)); 80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 86 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); 92 Slog.e(TAG, "Skipping data with malformed path " + relpath);
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ |
local_directory_corpus_driver.py | 22 rel_f = os.path.relpath(full_f, basedir) 29 def _GetTagsForRelPath(relpath): 31 sub_dir = os.path.dirname(relpath) 39 relpath = os.path.relpath(filename, base_directory) 40 tags = _GetTagsForRelPath(relpath)
|
/external/vixl/third_party/android/ |
generate_android_mk.py | 47 default=os.path.relpath(target_mk_default, os.getcwd()), 54 sources = map(lambda p : os.path.relpath(p, dir_root), sources) 58 test_sources = map(lambda p : os.path.relpath(p, dir_root), test_sources)
|
/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)
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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/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-trace/catapult/devil/devil/utils/ |
zip_utils.py | 20 dir_arc_path = os.path.join(arc_path, os.path.relpath(dir_path, path))
|
/external/google-breakpad/src/build/ |
gyp_breakpad | 58 args.append('--depth=' + os.path.relpath(breakpad_root))
|
/external/v8/test/intl/ |
testcfg.py | 50 relpath = fullpath[len(self.root) + 1 : -3] 51 testname = relpath.replace(os.path.sep, "/")
|
/external/chromium-trace/catapult/hooks/ |
install.py | 25 src_path_rel = os.path.relpath(full_src_path, full_dst_path_dirname) 50 os.path.relpath(full_dst_path)))
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
resource.py | 23 return os.path.relpath(self.absolute_path, self.toplevel_dir)
|
/external/pdfium/build/ |
gyp_pdfium | 38 args.append('--depth=' + os.path.relpath(pdfium_root))
|
/external/webrtc/webrtc/build/ |
merge_libs.py | 43 files.append(os.path.relpath(os.path.join(root, filename)))
|
/external/chromium-trace/catapult/third_party/typ/typ/fakes/ |
host_fake.py | 76 relpath = self.join(*comps) 77 if relpath.startswith('/'): 78 return relpath 79 return self.join(self.cwd, relpath) 118 files.append(self.relpath(f, top)) 205 def relpath(self, path, start): member in class:FakeHost
|
/external/v8/test/message/ |
testcfg.py | 56 relpath = fullpath[len(self.root) + 1 : -3] 57 testname = relpath.replace(os.path.sep, "/")
|
/external/v8/test/mjsunit/ |
testcfg.py | 56 relpath = fullpath[len(self.root) + 1 : -3] 57 testname = relpath.replace(os.path.sep, "/")
|