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

/external/chromium_org/net/test/
H A Dpython_utils.cc21 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_org/chrome/browser/chromeos/file_manager/
H A Dpath_util.cc51 const base::FilePath& old_path,
94 if (old_path == old_base ||
95 old_base.AppendRelativePath(old_path, &relative)) {
97 return old_path != *new_path;
50 MigratePathFromOldFormat(Profile* profile, const base::FilePath& old_path, base::FilePath* new_path) argument
H A Dvolume_manager.cc261 const base::FilePath old_path = local
264 if (!old_path.empty() &&
266 old_path, &new_path)) {
383 base::FilePath old_path; local
384 if (FindDownloadsMountPointPath(profile_, &old_path)) {
386 CreateDownloadsVolumeInfo(old_path));
/external/chromium_org/chrome/browser/media/
H A Dwv_test_license_server_config.cc81 std::string old_path; local
82 if (env->GetVar(kLibraryPathEnvVarName, &old_path))
83 library_paths.append(":").append(old_path);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dexec_cmd.c84 const char *old_path = getenv("PATH"); local
90 if (old_path)
91 strbuf_addstr(&new_path, old_path);
/external/chromium_org/chrome/browser/extensions/api/management/
H A Dmanagement_browsertest.cc123 base::FilePath old_path = extension->path(); local
133 EXPECT_NE(old_path.value(), new_path.value());
/external/chromium_org/content/browser/download/
H A Dbase_file_unittest.cc499 base::FilePath old_path = base_file_->full_path(); local
510 ASSERT_EQ(old_path.value(), base_file_->full_path().value());
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_proc_maps.cpp152 const char* old_path = entry.path; local
153 if (old_path) {
155 ::memcpy(new_path, old_path, entry.path_len);
/external/chromium_org/third_party/webrtc/base/
H A Dfileutils.cc151 bool FilesystemInterface::CopyFolder(const Pathname &old_path, argument
154 VERIFY(IsFolder(old_path));
158 old_dir.SetFolder(old_path.pathname());
H A Dwin32filesystem.cc230 bool Win32Filesystem::MoveFile(const Pathname &old_path, argument
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, argument
244 if (!IsFolder(old_path)) {
245 ASSERT(IsFolder(old_path));
248 LOG(LS_INFO) << "Moving " << old_path.pathname()
250 if (::MoveFile(ToUtf16(old_path
290 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dfileutils.h154 // 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, cons argument
187 CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) argument
319 MoveFolder(const Pathname &old_path, const Pathname &new_path) argument
323 MoveFile(const Pathname &old_path, const Pathname &new_path) argument
327 CopyFolder(const Pathname &old_path, const Pathname &new_path) argument
331 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
H A Dfileutils_mock.h177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) { argument
181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) { argument
185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) { argument
H A Dunixfilesystem.cc221 bool UnixFilesystem::MoveFile(const Pathname &old_path, argument
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, argument
242 if (!IsFolder(old_path)) {
243 ASSERT(IsFolder(old_path));
266 CopyFile(const Pathname &old_path, const Pathname &new_path) argument
[all...]
/external/chromium_org/chrome/browser/plugins/
H A Dplugin_prefs.cc413 base::FilePath old_path = plugin_path; local
416 if (old_path == plugin_path) {
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_form_manager.cc128 const std::string& old_path = observed_form_.origin.path(); local
133 StartsWithASCII(new_path, old_path, /*case_sensitive=*/true);
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-help.c313 const char *old_path = getenv("MANPATH"); local
316 * old_path, the ':' at the end will let 'man' to try
318 * there is old_path, we need ':' as delimiter. */
321 if (old_path)
322 strbuf_addstr(&new_path, old_path);
/external/chromium_org/components/nacl/browser/
H A Dnacl_process_host.cc573 std::string old_path; local
581 if (!env->GetVar(kPath, &old_path)) {
583 } else if (!IsInPath(old_path, x64_crt_path)) {
584 std::string new_path(old_path);
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_graph_state.cpp145 CPDF_Path old_path = pData->m_pPathList[pData->m_PathCount - 1]; local
146 if (old_path.IsRect()) {
147 CPDF_Rect old_rect(old_path.GetPointX(0), old_path.GetPointY(0),
148 old_path.GetPointX(2), old_path.GetPointY(2));
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_proxy.cc275 std::string old_path; local
276 Error error = AcquireHandleAndPath(oldfd, &old_handle, &old_path);
282 FreeAndReassignFD(newfd, old_handle, old_path);
/external/lldb/source/Commands/
H A DCommandObjectProcess.cpp670 char old_path[PATH_MAX]; local
672 old_exec_module_sp->GetFileSpec().GetPath (old_path, PATH_MAX);
676 old_path, new_path);
/external/chromium_org/chrome/browser/
H A Dchrome_content_browser_client.cc352 const std::string old_path = url->path(); local
354 const std::string::size_type separator = old_path.find('/', 1);
358 new_host = old_path.substr(1);
360 new_host = old_path.substr(1, separator - 1);
361 new_path = old_path.substr(separator);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_controller.cc1546 std::vector<MenuItemView*>* old_path,
1549 DCHECK(old_path && new_path && first_diff_at);
1550 BuildMenuItemPath(old_item, old_path);
1553 size_t common_size = std::min(old_path->size(), new_path->size());
1558 if ((*old_path)[i] != (*new_path)[i]) {
1543 BuildPathsAndCalculateDiff( MenuItemView* old_item, MenuItemView* new_item, std::vector<MenuItemView*>* old_path, std::vector<MenuItemView*>* new_path, size_t* first_diff_at) argument

Completed in 452 milliseconds