HomeSort by relevance Sort by last modified time
    Searched refs:new_path (Results 26 - 50 of 89) sorted by null

12 3 4

  /external/chromium_org/content/browser/download/
base_file_unittest.cc 288 base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
289 EXPECT_FALSE(base::PathExists(new_path));
293 EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, base_file_->Rename(new_path));
295 EXPECT_TRUE(base::PathExists(new_path));
426 base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
427 EXPECT_FALSE(base::PathExists(new_path));
432 base_file_->Rename(new_path));
434 EXPECT_TRUE(base::PathExists(new_path));
445 base::FilePath new_path(temp_dir_.path().AppendASCII("NewFile"));
446 EXPECT_FALSE(base::PathExists(new_path));
    [all...]
base_file.cc 151 DownloadInterruptReason BaseFile::Rename(const base::FilePath& new_path) {
157 if (new_path == full_path_)
166 base::Bind(&FileRenamedNetLogCallback, &full_path_, &new_path));
168 file_util::CreateDirectory(new_path.DirName());
172 rename_result = MoveFileAndAdjustPermissions(new_path);
175 full_path_ = new_path;
base_file_win.cc 296 const base::FilePath& new_path) {
301 base::FilePath::StringType target = new_path.value();
base_file.h 121 const base::FilePath& new_path);
  /external/chromium/third_party/libjingle/source/talk/base/
win32filesystem.cc 248 const Pathname &new_path) {
254 << " to " << new_path.pathname();
256 ToUtf16(new_path.pathname()).c_str()) != 0;
260 const Pathname &new_path) {
266 << " to " << new_path.pathname();
268 ToUtf16(new_path.pathname()).c_str()) == 0) {
273 if (!CopyFolder(old_path, new_path))
308 const Pathname &new_path) {
310 ToUtf16(new_path.pathname()).c_str(), TRUE) != 0;
fileutils.cc 169 const Pathname &new_path) {
172 new_dir.SetFolder(new_path.pathname());
185 dest.SetFolder(new_path.pathname());
  /external/chromium_org/third_party/libjingle/source/talk/base/
win32filesystem.cc 248 const Pathname &new_path) {
254 << " to " << new_path.pathname();
256 ToUtf16(new_path.pathname()).c_str()) != 0;
260 const Pathname &new_path) {
266 << " to " << new_path.pathname();
268 ToUtf16(new_path.pathname()).c_str()) == 0) {
273 if (!CopyFolder(old_path, new_path))
308 const Pathname &new_path) {
310 ToUtf16(new_path.pathname()).c_str(), TRUE) != 0;
  /external/chromium_org/sandbox/win/tools/finder/
finder_kernel.cc 128 ATL::CString new_path; local
130 new_path = path + cur_path;
132 new_path = path + L"\\" + cur_path;
135 TestKernelObjectAccess(new_path, cur_type);
139 ParseKernelObjects(new_path);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
layout_tests_mover.py 167 new_path = self._move_path(path, self._origin, self._destination)
168 _log.debug('Updating expectation for %s to %s' % (path, new_path))
170 test_expectations.add_expectation_line(LayoutTestsMover._clone_expectation_line_for_path(expectation, new_path))
174 new_path = self._destination
176 (path, new_path))
177 test_expectations.add_expectation_line(LayoutTestsMover._clone_expectation_line_for_path(expectation, new_path))
  /external/linux-tools-perf/
builtin-help.c 322 struct strbuf new_path = STRBUF_INIT; local
329 strbuf_addstr(&new_path, system_path(PERF_MAN_PATH));
330 strbuf_addch(&new_path, ':');
332 strbuf_addstr(&new_path, old_path);
334 setenv("MANPATH", new_path.buf, 1);
336 strbuf_release(&new_path);
  /external/chromium_org/media/tools/layout_tests/
test_expectations_history.py 101 new_path = TestExpectationsHistory.GetTestExpectationsPathForRevision(
110 url_or_path2=new_path,
  /external/chromium_org/base/
file_util.cc 251 FilePath new_path; local
253 new_path =
255 if (!PathExists(new_path) &&
256 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) {
  /external/chromium_org/sandbox/win/src/
filesystem_policy.h 103 bool PreProcessName(const std::wstring& path, std::wstring* new_path);
  /system/vold/
DirectVolume.h 64 int updateDeviceInfo(char *new_path, int new_major, int new_minor);
Volume.h 99 virtual int updateDeviceInfo(char *new_path, int new_major, int new_minor) = 0;
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_importer.py 308 new_path = os.path.join(self.destination_directory, subpath)
310 if not(os.path.exists(new_path)):
311 os.makedirs(new_path)
328 new_filepath = os.path.join(new_path, file_to_copy['dest'])
346 converted_file = converter.convert_for_webkit(new_path, filename=orig_filepath)
364 self.remove_deleted_files(new_path, copied_files)
365 self.write_import_log(new_path, copied_files, prefixed_properties)
  /art/runtime/base/unix_file/
mapped_file_test.cc 108 const std::string new_path(GetTmpPath("new-file.txt"));
109 ASSERT_EQ(-1, unlink(new_path.c_str()));
113 ASSERT_TRUE(file.Open(new_path, MappedFile::kReadWriteMode));
122 FdFile new_file(TEMP_FAILURE_RETRY(open(new_path.c_str(), O_RDONLY)));
126 EXPECT_EQ(0, unlink(new_path.c_str()));
  /external/chromium/chrome/browser/download/
download_file_manager.cc 350 FilePath new_path = full_path; local
359 uniquifier = download_util::GetUniquePathNumber(new_path);
361 download_util::AppendNumberToPath(&new_path, uniquifier);
366 if (!download->Rename(new_path)) {
383 new_path, uniquifier));
download_util.cc 776 FilePath new_path;
778 new_path = FilePath(path);
779 AppendNumberToPath(&new_path, count);
781 if (!file_util::PathExists(new_path))
838 FilePath new_path;
840 new_path = FilePath(path);
841 AppendNumberToPath(&new_path, count);
843 if (!file_util::PathExists(new_path) &&
844 !file_util::PathExists(GetCrDownloadPath(new_path)))
855 FilePath new_path(path)
    [all...]
  /external/chromium_org/third_party/lcov/bin/
lcov     [all...]
  /external/chromium/base/
file_path.cc 296 FilePath new_path(path_);
297 new_path.StripTrailingSeparatorsInternal();
303 StringType::size_type letter = FindDriveLetter(new_path.path_);
306 new_path.path_.find_last_of(kSeparators, StringType::npos,
310 new_path.path_.resize(letter + 1);
313 new_path.path_.resize(letter + 2);
315 IsSeparator(new_path.path_[letter + 1])) {
318 new_path.path_.resize(letter + 3);
321 new_path.path_.resize(last_separator);
324 new_path.StripTrailingSeparatorsInternal()
    [all...]
  /external/chromium_org/base/files/
file_path.cc 306 FilePath new_path(path_);
307 new_path.StripTrailingSeparatorsInternal();
313 StringType::size_type letter = FindDriveLetter(new_path.path_);
316 new_path.path_.find_last_of(kSeparators, StringType::npos,
320 new_path.path_.resize(letter + 1);
323 new_path.path_.resize(letter + 2);
325 IsSeparator(new_path.path_[letter + 1])) {
328 new_path.path_.resize(letter + 3);
331 new_path.path_.resize(last_separator);
334 new_path.StripTrailingSeparatorsInternal()
    [all...]
  /external/chromium_org/chrome/browser/download/
download_target_determiner.h 155 const base::FilePath& new_path,
  /bootable/recovery/
recovery.cpp 689 char new_path[PATH_MAX]; local
690 strlcpy(new_path, path, PATH_MAX);
691 strlcat(new_path, "/", PATH_MAX);
692 strlcat(new_path, item, PATH_MAX);
693 new_path[strlen(new_path)-1] = '\0'; // truncate the trailing '/'
694 result = update_directory(new_path, unmount_when_done, wipe_cache, device);
699 char new_path[PATH_MAX]; local
700 strlcpy(new_path, path, PATH_MAX);
701 strlcat(new_path, "/", PATH_MAX)
    [all...]
  /external/chromium_org/chrome/browser/profiles/
profile_manager.cc 831 base::FilePath new_path = user_data_dir_; local
833 new_path = new_path.Append(ASCIIToUTF16(profile_name));
835 new_path = new_path.Append(profile_name);
838 return new_path;
851 base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); local
853 profile_manager->CreateProfileAsync(new_path,
858 return new_path;
1019 base::FilePath new_path = GenerateNextProfileDirectoryPath(); local
    [all...]

Completed in 7421 milliseconds

12 3 4