Searched defs:old_path (Results 1 - 7 of 7) sorted by relevance

/external/chromium/net/test/
H A Dpython_utils.cc20 std::string old_path; local
27 if (!env->GetVar(kPythonPathEnv, &old_path)) {
29 } else if (old_path.find(dir_path) == std::string::npos) {
30 std::string new_path(old_path);
/external/chromium/chrome/browser/extensions/
H A Dextension_management_browsertest.cc90 FilePath old_path = service->extensions()->back()->path(); local
100 EXPECT_NE(old_path.value(), new_path.value());
/external/chromium/third_party/libjingle/source/talk/base/
H A Dfileutils.cc168 bool FilesystemInterface::CopyFolder(const Pathname &old_path, argument
170 VERIFY(IsFolder(old_path));
174 old_dir.SetFolder(old_path.pathname());
H A Dunixfilesystem.cc220 bool UnixFilesystem::MoveFile(const Pathname &old_path, argument
222 if (!IsFile(old_path)) {
223 ASSERT(IsFile(old_path));
226 LOG(LS_VERBOSE) << "Moving " << old_path.pathname()
228 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
231 if (!CopyFile(old_path, new_path))
233 if (!DeleteFile(old_path))
239 bool UnixFilesystem::MoveFolder(const Pathname &old_path, argument
241 if (!IsFolder(old_path)) {
242 ASSERT(IsFolder(old_path));
265 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dwin32filesystem.cc247 bool Win32Filesystem::MoveFile(const Pathname &old_path, argument
249 if (!IsFile(old_path)) {
250 ASSERT(IsFile(old_path));
253 LOG(LS_INFO) << "Moving " << old_path.pathname()
255 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(),
259 bool Win32Filesystem::MoveFolder(const Pathname &old_path, argument
261 if (!IsFolder(old_path)) {
262 ASSERT(IsFolder(old_path));
265 LOG(LS_INFO) << "Moving " << old_path.pathname()
267 if (::MoveFile(ToUtf16(old_path
307 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dfileutils.h169 // This moves a file from old_path to new_path, where "old_path" is a
170 // plain file. This ASSERTs and returns false if old_path points to a
174 virtual bool MoveFolder(const Pathname &old_path,
177 // This moves a directory from old_path to new_path, where "old_path" is a
178 // directory. This ASSERTs and returns false if old_path points to a plain
182 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0;
184 // This attempts to move whatever is located at old_path to new_path,
186 bool MoveFileOrFolder(const Pathname &old_path, cons argument
202 CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) argument
334 MoveFolder(const Pathname &old_path, const Pathname &new_path) argument
338 MoveFile(const Pathname &old_path, const Pathname &new_path) argument
342 CopyFolder(const Pathname &old_path, const Pathname &new_path) argument
346 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
/external/qemu/block/
H A Dvvfat.c2361 char* old_path = mapping->path; local
2365 if (rename(old_path, mapping->path))
2370 int l2 = strlen(old_path);
2402 free(old_path);

Completed in 1611 milliseconds