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

1 2 3

  /bionic/libc/bionic/
link.cpp 32 int link(const char* old_path, const char* new_path) {
33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0);
rename.cpp 32 int rename(const char* old_path, const char* new_path) {
33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path);
symlink.cpp 32 int symlink(const char* old_path, const char* new_path) {
33 return symlinkat(old_path, AT_FDCWD, new_path);
  /external/chromium_org/ash/resources/
PRESUBMIT.py 35 old_path = sys.path
38 sys.path = [resources] + old_path
45 sys.path = old_path
  /external/chromium_org/chrome/app/theme/
PRESUBMIT.py 35 old_path = sys.path
38 sys.path = [resources] + old_path
45 sys.path = old_path
  /external/chromium_org/ui/resources/
PRESUBMIT.py 34 old_path = sys.path
37 sys.path = [resources] + old_path
44 sys.path = old_path
  /external/chromium_org/third_party/webrtc/base/
fileutils.h 154 // This moves a file from old_path to new_path, where "old_path" is a
155 // plain file. This ASSERTs and returns false if old_path points to a
159 virtual bool MoveFolder(const Pathname &old_path,
162 // This moves a directory from old_path to new_path, where "old_path" is a
163 // directory. This ASSERTs and returns false if old_path points to a plain
167 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0;
169 // This attempts to move whatever is located at old_path to new_path,
171 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path)
    [all...]
unixfilesystem.h 64 // This moves a file from old_path to new_path, where "file" can be a plain
67 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
68 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path);
70 // This copies a file from old_path to _new_path where "file" can be a plain
73 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
win32filesystem.h 42 // This moves a file from old_path to new_path. If the new path is on a
46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
48 // Moves a folder from old_path to new_path. If the new path is on a different
51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path);
53 // This copies a file from old_path to _new_path
55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
unixfilesystem.cc 221 bool UnixFilesystem::MoveFile(const Pathname &old_path,
223 if (!IsFile(old_path)) {
224 ASSERT(IsFile(old_path));
227 LOG(LS_VERBOSE) << "Moving " << old_path.pathname()
229 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
232 if (!CopyFile(old_path, new_path))
234 if (!DeleteFile(old_path))
240 bool UnixFilesystem::MoveFolder(const Pathname &old_path,
242 if (!IsFolder(old_path)) {
243 ASSERT(IsFolder(old_path));
    [all...]
win32filesystem.cc 230 bool Win32Filesystem::MoveFile(const Pathname &old_path,
232 if (!IsFile(old_path)) {
233 ASSERT(IsFile(old_path));
236 LOG(LS_INFO) << "Moving " << old_path.pathname()
238 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(),
242 bool Win32Filesystem::MoveFolder(const Pathname &old_path,
244 if (!IsFolder(old_path)) {
245 ASSERT(IsFolder(old_path));
248 LOG(LS_INFO) << "Moving " << old_path.pathname()
250 if (::MoveFile(ToUtf16(old_path.pathname()).c_str()
    [all...]
  /external/chromium_org/tools/valgrind/drmemory/
PRESUBMIT.py 17 old_path = sys.path
23 sys.path = old_path
  /external/chromium_org/chrome/browser/chromeos/file_manager/
path_util.h 22 // Converts |old_path| to |new_path| and returns true, if the old path points
51 const base::FilePath& old_path,
path_util.cc 51 const base::FilePath& old_path,
94 if (old_path == old_base ||
95 old_base.AppendRelativePath(old_path, &relative)) {
97 return old_path != *new_path;
  /external/chromium_org/mojo/spy/
PRESUBMIT.py 20 old_path = sys.path
23 sys.path = prepended_path + old_path
26 sys.path = old_path
  /external/chromium_org/tools/telemetry/
PRESUBMIT.py 39 old_path = sys.path
42 sys.path = prepended_path + old_path
45 sys.path = old_path
  /external/chromium_org/chrome/browser/
PRESUBMIT.py 47 old_path = sys.path
50 sys.path = [cwd] + old_path
73 sys.path = old_path
  /external/chromium_org/net/test/
python_utils.cc 21 std::string old_path; local
28 if (!env->GetVar(kPythonPathEnv, &old_path)) {
30 } else if (old_path.find(dir_path) == std::string::npos) {
31 std::string new_path(old_path);
  /external/chromium-trace/trace-viewer/
PRESUBMIT.py 66 old_path = sys.path
69 sys.path = prepended_path + old_path
72 sys.path = old_path
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
exec_cmd.c 84 const char *old_path = getenv("PATH"); local
90 if (old_path)
91 strbuf_addstr(&new_path, old_path);
  /external/chromium_org/chrome/browser/media/
wv_test_license_server_config.cc 81 std::string old_path; local
82 if (env->GetVar(kLibraryPathEnvVarName, &old_path))
83 library_paths.append(":").append(old_path);
  /external/chromium_org/media/tools/layout_tests/
test_expectations_history.py 103 old_path = TestExpectationsHistory.GetTestExpectationsPathForRevision(
107 url_or_path=old_path,
  /frameworks/compile/mclinker/lib/MC/
MCLDDirectory.cpp 96 std::string old_path = Directory::m_Path.native(); local
99 Directory::m_Path.native() += old_path;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_posixpath.py 252 old_path = abspath('.')
281 os.chdir(old_path)
303 old_path = abspath('.')
315 os.chdir(old_path)
326 old_path = abspath('.')
334 os.chdir(old_path)
348 old_path = abspath('.')
361 os.chdir(old_path)
372 old_path = abspath('.')
382 os.chdir(old_path)
    [all...]

Completed in 724 milliseconds

1 2 3