HomeSort by relevance Sort by last modified time
    Searched refs:relpath (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /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/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 172 options.output_cc = os.path.relpath(options.output_cc, source_tree_root)
173 options.output_h = os.path.relpath(options.output_h, source_tree_root)
222 generator_path = os.path.relpath(__file__, source_tree_root)
  /external/chromium_org/tools/json_schema_compiler/
compiler.py 41 schema_loader = SchemaLoader(os.path.dirname(os.path.relpath(
64 relpath = os.path.relpath(os.path.normpath(schema_filename), root)
66 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')
225 def_guard = GetHeaderFromNode(filenode, relpath=gpath)
257 include, relpath=gpath).replace(os.sep, '/') for include in includes]
266 relpath=gpath).replace(os.sep, '/')
314 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/ui/resources/resource_check/
resource_scale_factors.py 58 repository_path = self.input_api.os_path.relpath(
73 relative_path = self.input_api.os_path.relpath(f.LocalPath(),
  /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)
generate_make.py 87 relpath = os.path.relpath(makeexe, makepath)
90 outpath = os.path.join(relpath, 'make.exe')
245 rel_path = os.path.relpath(pepperdir, os.path.dirname(out_path))
  /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/telemetry/telemetry/core/
discover.py 33 module_rel_path = os.path.relpath(os.path.join(dir_path, filename),
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
layout_tests_mover.py 93 return self._filesystem.normpath(self._filesystem.join(destination, self._filesystem.relpath(path, origin)))
139 expectations = expectations.union(self._get_expectations_for_test(model, self._filesystem.relpath(test, self._layout_tests_root)))
182 self._scm.add(self._filesystem.relpath(expectations_file, self._scm.checkout_root))
218 return self._filesystem.relpath(new_absolute_reference, new_root)

Completed in 505 milliseconds

1 2 3 4 5