Searched refs:target_path (Results 1 - 25 of 96) sorted by relevance

1234

/external/chromium_org/build/android/gyp/
H A Dcreate_placeholder_files.py27 target_path = os.path.join(options.dest_lib_dir, name)
28 build_utils.Touch(target_path)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dworkspace.py52 target_path = self._filesystem.join(directory, target_name)
53 if not self._filesystem.exists(target_path):
54 return target_path
/external/chromium_org/chrome/browser/download/
H A Ddownload_target_info.h19 base::FilePath target_path; member in struct:DownloadTargetInfo
43 // |target_path|.
51 // Whether the |target_path| would be handled safely by the browser if it were
H A Ddownload_path_reservation_tracker.cc169 base::FilePath target_path(suggested_path.NormalizePathSeparators());
170 base::FilePath target_dir = target_path.DirName();
171 base::FilePath filename = target_path.BaseName();
194 target_path = target_dir.Append(filename);
203 if (limit <= 0 || !TruncateFileName(&target_path, limit))
208 if (!name_too_long && IsPathInUse(target_path)) {
221 base::FilePath path_to_check(target_path);
234 target_path = path_to_check;
243 reservations[key] = target_path;
245 *reserved_path = target_path;
346 GetReservedPath( DownloadItem* download_item, const base::FilePath& target_path, const base::FilePath& default_path, bool create_directory, FilenameConflictAction conflict_action, const ReservedPathCallback& callback) argument
[all...]
H A Ddownload_path_reservation_tracker.h26 // Callback used with |GetReservedPath|. |target_path| specifies the target
30 // - |target_path| was verified as being unique if uniqueness was
34 // |target_path| may be different from that of |requested_target_path|.
35 typedef base::Callback<void(const base::FilePath& target_path,
/external/chromium_org/content/public/test/
H A Dmock_download_manager.cc15 const base::FilePath& target_path,
32 target_path(target_path),
50 target_path(rhs.target_path),
70 target_path == rhs.target_path &&
101 const base::FilePath& target_path,
117 id, current_path, target_path, url_chain, referrer_url, mime_type,
12 CreateDownloadItemAdapter( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
98 CreateDownloadItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
/external/chromium_org/chromeos/dbus/
H A Dimage_burner_client.cc88 std::string target_path; local
91 if (!reader.PopString(&target_path) ||
98 burn_finished_handler_.Run(target_path, success, error);
104 std::string target_path; local
107 if (!reader.PopString(&target_path) ||
114 burn_progress_update_handler_.Run(target_path, num_bytes_burnt,
H A Dimage_burner_client.h28 typedef base::Callback<void(const std::string& target_path,
33 typedef base::Callback<void(const std::string& target_path,
/external/chromium_org/third_party/zlib/google/
H A Dzip_reader_unittest.cc239 base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt"));
240 ASSERT_TRUE(reader.LocateAndOpenEntry(target_path));
241 EXPECT_EQ(target_path, reader.current_entry_info()->file_path());
248 base::FilePath target_path(FILE_PATH_LITERAL("nonexistent.txt"));
249 ASSERT_FALSE(reader.LocateAndOpenEntry(target_path));
256 base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt"));
257 ASSERT_TRUE(reader.LocateAndOpenEntry(target_path));
275 base::FilePath target_path(FILE_PATH_LITERAL("foo/bar/quux.txt"));
276 ASSERT_TRUE(reader.LocateAndOpenEntry(target_path));
295 base::FilePath target_path(FILE_PATH_LITERA
[all...]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
H A Dcopy_entry.cc19 const base::FilePath& target_path,
23 target_path_(target_path),
40 options.target_path = target_path_.AsUTF8Unsafe();
16 CopyEntry(extensions::EventRouter* event_router, const ProvidedFileSystemInfo& file_system_info, const base::FilePath& source_path, const base::FilePath& target_path, const storage::AsyncFileUtil::StatusCallback& callback) argument
H A Dmove_entry.cc19 const base::FilePath& target_path,
23 target_path_(target_path),
40 options.target_path = target_path_.AsUTF8Unsafe();
16 MoveEntry(extensions::EventRouter* event_router, const ProvidedFileSystemInfo& file_system_info, const base::FilePath& source_path, const base::FilePath& target_path, const storage::AsyncFileUtil::StatusCallback& callback) argument
H A Dcopy_entry.h34 const base::FilePath& target_path,
H A Dmove_entry.h34 const base::FilePath& target_path,
/external/chromium_org/chrome/browser/history/
H A Ddownload_row.cc21 const base::FilePath& target_path,
40 target_path(target_path),
19 DownloadRow( const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start, const base::Time& end, const std::string& etag, const std::string& last_modified, int64 received, int64 total, content::DownloadItem::DownloadState download_state, content::DownloadDangerType danger_type, content::DownloadInterruptReason interrupt_reason, uint32 id, bool download_opened, const std::string& ext_id, const std::string& ext_name) argument
H A Ddownload_row.h27 const base::FilePath& target_path,
52 base::FilePath target_path; member in struct:history::DownloadRow
/external/chromium_org/chrome/tools/test/
H A Dgenerate_mime_tests.pl47 print "Usage:\n generate_mime_tests.pl < target_path >\n target_path".
53 my $target_path = $ARGV[0];
214 $infile = $target_path.$infile;
266 $infile = $target_path.$infile;
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_delegate.cc33 base::FilePath target_path(download->GetForcedFilePath());
34 callback.Run(target_path,
37 target_path);
/external/chromium_org/chrome/common/
H A Dlogging_chrome.cc159 base::FilePath target_path; local
162 target_path = GenerateTimestampedName(symlink_path, base::Time::Now());
169 if (!base::CreateSymbolicLink(target_path, symlink_path)) {
171 << " pointing at " << target_path.value();
174 if (!base::ReadSymbolicLink(symlink_path, &target_path))
177 return target_path;
181 const base::FilePath& target_path) {
184 if (::unlink(target_path.value().c_str()) == -1)
185 DPLOG(WARNING) << "Unable to unlink log file " << target_path.value();
238 base::FilePath target_path local
180 RemoveSymlinkAndLog(const base::FilePath& link_path, const base::FilePath& target_path) argument
264 base::FilePath target_path; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Doperation_chromeos.cc87 void Operation::StartWriteOnUIThread(const std::string& target_path, argument
100 target_path,
105 const std::string& target_path,
117 void Operation::OnBurnProgress(const std::string& target_path, argument
104 OnBurnFinished(const base::Closure& continuation, const std::string& target_path, bool success, const std::string& error) argument
H A Doperation.h173 // Starts the ImageBurner write. Note that target_path is the file path of
175 void StartWriteOnUIThread(const std::string& target_path,
178 const std::string& target_path,
181 void OnBurnProgress(const std::string& target_path,
/external/chromium_org/chrome/installer/test/
H A Dalternate_version_generator.h26 // the original and placing it in |target_path|. Any previous file at
27 // |target_path| is clobbered. Returns true on success. |original_version| and
31 const base::FilePath& target_path,
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs.cc169 Error MemFs::Rename(const Path& src_path, const Path& target_path) { argument
184 error = FindNode(target_path.Parent(), 0, &target_parent);
188 std::string target_name = target_path.Basename();
192 error = FindNode(target_path, 0, &target_node);
203 RemoveInternal(target_path, REMOVE_ALL);
215 target_parent->RemoveChild(target_path.Basename());
229 target_parent->AddChild(target_path.Basename(), target_node);
231 target_parent->AddChild(target_path.Basename(), src_node);
/external/chromium_org/sandbox/win/src/
H A Dsync_policy.cc70 UNICODE_STRING target_path = {}; local
72 status = NtQuerySymbolicLinkObject(symbolic_link, &target_path,
81 target_path.Buffer = new wchar_t[target_length + 1];
82 target_path.Length = 0;
83 target_path.MaximumLength = target_length;
84 status = NtQuerySymbolicLinkObject(symbolic_link, &target_path,
87 target->assign(target_path.Buffer, target_length);
93 delete[] target_path.Buffer;
/external/chromium_org/chrome/browser/
H A Dsxs_linux.cc144 base::FilePath target_path = local
148 if (!base::Move(source_path, target_path)) {
150 << "' to '" << target_path.value() << "'";
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dmac_tool.py303 target_path = os.path.join(
310 shutil.copy2(source_path, target_path)
311 return target_path
328 target_path = os.path.join(
332 shutil.copy2(source_path, target_path)
474 target_path = os.path.join(
481 shutil.copy2(source_path, target_path)
482 data = self._LoadPlistMaybeBinary(target_path)
488 plistlib.writePlist(data, target_path)
489 return target_path
[all...]

Completed in 7787 milliseconds

1234