/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) 50 if relpath.startswith(exclusion):
|
/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/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:
|
compiler.py | 43 os.path.dirname(os.path.relpath(os.path.normpath(filenames[0]), root)), 64 relpath = os.path.relpath(os.path.normpath(schema_filename), root) 66 relpath,
|
/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...] |
/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 | 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)
|
/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/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, '/') 309 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
compatibility.py | 62 relpath = _relpath_nt variable 64 relpath = _relpath_posix variable
|
/external/chromium_org/build/android/gyp/ |
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/ |
buildbot_run.py | 49 os.path.relpath(SCRIPT_DIR, root_dir))
|
build_updater.py | 158 out_files = [os.path.relpath(out_file, out_dir) 170 files_to_tar = [os.path.relpath(out_file, sdktoolsdir)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
export-w3c-performance-wg-tests | 66 root = os.path.relpath(root, source_directory)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
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/android/checkstyle/ |
checkstyle.py | 57 rel_path = os.path.relpath(full_path, local_path)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
discover.py | 36 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
|