Searched defs:local_path (Results 1 - 25 of 50) sorted by path

12

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dfunctional.rb25 def local_path( *parts ) method in class:ANTLR3.Test.Location
30 local_path( name )
110 path = local_path( name.to_s )
162 def local_path( *args ) method in class:ANTLR3.Test.Functional
163 self.class.local_path( *args )
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Ddownload_operation_unittest.cc283 base::FilePath local_path, local_path_dontcare; local
290 &initialized_error, &local_path, &entry),
297 // In this case, |local_path| is empty.
300 ASSERT_TRUE(local_path.empty());
316 base::FilePath local_path, local_path_dontcare; local
323 &initialized_error, &local_path, &entry),
330 // |local_path| should not be empty.
333 ASSERT_TRUE(!local_path.empty());
338 base::GetFileSize(local_path, &local_file_size);
H A Dget_file_for_saving_operation_unittest.cc80 base::FilePath local_path; local
84 &error, &local_path, &entry));
100 google_apis::test_util::WriteStringToFile(local_path, "hello");
115 base::FilePath local_path; local
119 &error, &local_path, &entry));
126 EXPECT_TRUE(base::GetFileSize(local_path, &size));
139 base::FilePath local_path; local
143 &error, &local_path, &entry));
H A Dtruncate_operation_unittest.cc49 base::FilePath local_path; local
56 GetLocalId(file_in_root), &local_path),
63 base::GetFileSize(local_path, &local_file_size);
112 base::FilePath local_path; local
119 GetLocalId(file_in_root), &local_path),
126 ASSERT_TRUE(base::ReadFileToString(local_path, &content));
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dasync_file_util.cc110 const base::FilePath& local_path,
119 local_path, scope_out_policy, BrowserThread::GetBlockingPool()));
120 callback.Run(error, file_info, local_path, file_reference);
106 RunCreateSnapshotFileCallback( const AsyncFileUtil::CreateSnapshotFileCallback& callback, base::File::Error error, const base::File::Info& file_info, const base::FilePath& local_path, storage::ScopedFile::ScopeOutPolicy scope_out_policy) argument
H A Dfileapi_worker.cc101 // Runs |callback| with arguments based on |error|, |local_path| and |entry|.
104 const base::FilePath& local_path,
134 callback.Run(base::File::FILE_OK, file_info, local_path, scope_out_policy);
137 // Runs |callback| with arguments converted from |error| and |local_path|.
141 const base::FilePath& local_path,
144 callback.Run(FileErrorToBaseFileError(error), local_path, close_callback); local
162 const base::FilePath& local_path,
171 // Here, the file should be at |local_path|, but there may be timing issue.
189 base::Bind(&OpenFile, local_path, file_flags),
102 RunCreateSnapshotFileCallback(const CreateSnapshotFileCallback& callback, FileError error, const base::FilePath& local_path, scoped_ptr<ResourceEntry> entry) argument
138 RunCreateWritableSnapshotFileCallback( const CreateWritableSnapshotFileCallback& callback, FileError error, const base::FilePath& local_path, const base::Closure& close_callback) argument
159 OpenFileAfterFileSystemOpenFile(int file_flags, const OpenFileCallback& callback, FileError error, const base::FilePath& local_path, const base::Closure& close_callback) argument
H A Dwebkit_file_stream_writer_impl.cc136 const base::FilePath& local_path,
173 local_path,
132 WriteAfterCreateWritableSnapshotFile( net::IOBuffer* buf, int buf_len, base::File::Error open_result, const base::FilePath& local_path, const base::Closure& close_callback_on_ui_thread) argument
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dsync_client.cc479 const base::FilePath& local_path,
477 OnFetchFileComplete(const std::string& local_id, FileError error, const base::FilePath& local_path, scoped_ptr<ResourceEntry> entry) argument
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Devent_router.cc491 void EventRouter::AddFileWatch(const base::FilePath& local_path, argument
498 base::FilePath watch_path = local_path;
533 void EventRouter::RemoveFileWatch(const base::FilePath& local_path, argument
537 base::FilePath watch_path = local_path;
766 const base::FilePath& local_path,
770 WatcherMap::const_iterator iter = file_watchers_.find(local_path);
765 HandleFileWatchNotification(const drive::FileChange* list, const base::FilePath& local_path, bool got_error) argument
H A Dprivate_api_drive.cc156 static void Start(const base::FilePath local_path, argument
162 new SingleEntryPropertiesGetterForDrive(local_path, profile, callback);
171 SingleEntryPropertiesGetterForDrive(const base::FilePath local_path, argument
175 local_path_(local_path),
H A Dprivate_api_file_system.cc366 base::FilePath local_path = file_watch_url.path(); local
368 if (local_path.empty()) {
372 PerformFileWatchOperation(local_path, virtual_path, extension_id());
378 const base::FilePath& local_path,
386 local_path,
393 const base::FilePath& local_path,
400 event_router->RemoveFileWatch(local_path, extension_id);
377 PerformFileWatchOperation( const base::FilePath& local_path, const base::FilePath& virtual_path, const std::string& extension_id) argument
392 PerformFileWatchOperation( const base::FilePath& local_path, const base::FilePath& unused, const std::string& extension_id) argument
H A Dprivate_api_util.cc150 const base::FilePath& local_path) {
151 if (local_path.empty()) {
157 params->selected_files.push_back(ui::SelectedFileInfo(file_path, local_path));
148 ContinueGetSelectedFileInfo(Profile* profile, scoped_ptr<GetSelectedFileInfoParams> params, const base::FilePath& local_path) argument
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_browser_handlers.cc221 base::FilePath local_path = url.path(); local
225 DCHECK(!is_drive_file || drive::util::IsUnderDriveMountPoint(local_path));
233 if (!base::PathExists(local_path) ||
234 base::IsLink(local_path) ||
235 !base::GetFileInfo(local_path, &file_info)) {
249 file_definition.absolute_path = local_path;
H A Dfile_watcher.cc82 const base::FilePath& local_path,
93 local_path,
81 WatchLocalFile( const base::FilePath& local_path, const base::FilePathWatcher::Callback& file_watcher_callback, const BoolCallback& callback) argument
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
H A Dmount_path_util.cc64 bool IsFileSystemProviderLocalPath(const base::FilePath& local_path) { argument
66 local_path.GetComponents(&components);
136 const base::FilePath& local_path)
137 : profile_(profile), local_path_(local_path), file_system_(NULL) {
135 LocalPathParser(Profile* profile, const base::FilePath& local_path) argument
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dfile_system_backend_unittest.cc243 const base::FilePath::CharType* const local_path; member in class:__anon3224::TestCase::base::FilePath
264 base::FilePath local_path(kTestCases[i].local_path);
266 backend.GetVirtualPath(local_path, &virtual_path))
267 << "Resolving " << kTestCases[i].local_path;
276 << "Resolving " << kTestCases[i].local_path;
/external/chromium_org/chrome/browser/download/
H A Ddownload_target_determiner.cc362 const base::FilePath& local_path) {
364 DVLOG(20) << "Local path: " << local_path.AsUTF8Unsafe();
365 if (local_path.empty()) {
372 local_path_ = local_path;
361 DetermineLocalPathDone( const base::FilePath& local_path) argument
/external/chromium_org/chrome/browser/drive/
H A Ddrive_uploader.cc49 UploadFileInfo(const base::FilePath& local_path, argument
53 : file_path(local_path),
H A Ddrive_uploader_unittest.cc321 base::FilePath local_path; local
324 temp_dir_.path(), 0, &local_path, &data));
330 MockDriveServiceWithUploadExpectation mock_service(local_path, data.size());
336 local_path,
356 base::FilePath local_path; local
359 temp_dir_.path(), 512 * 1024, &local_path, &data));
365 MockDriveServiceWithUploadExpectation mock_service(local_path, data.size());
371 local_path,
393 base::FilePath local_path; local
396 temp_dir_.path(), 512 * 1024, &local_path,
420 base::FilePath local_path; local
448 base::FilePath local_path; local
477 base::FilePath local_path; local
503 base::FilePath local_path; local
516 local_path, local
550 base::FilePath local_path; local
569 local_path, local
[all...]
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
H A Dmime_util.cc28 void SniffMimeType(const base::FilePath& local_path, std::string* result) { argument
32 base::ReadFile(local_path, &content[0], content.size());
37 net::FilePathToFileURL(local_path),
56 const base::FilePath& local_path,
73 local_path,
94 const base::FilePath& local_path,
106 base::Bind(&SniffMimeType, local_path, sniffed_mime_type_ptr),
115 const base::FilePath& local_path,
118 if (file_manager::util::IsUnderNonNativeLocalPath(profile, local_path)) {
124 local_path,
55 OnGetMimeTypeFromMetadataForNonNativeLocalPathCompleted( const base::FilePath& local_path, const base::Callback<void(const std::string&)>& callback, bool success, const std::string& mime_type) argument
93 OnGetMimeTypeFromFileForNativeLocalPathCompleted( const base::FilePath& local_path, scoped_ptr<std::string> mime_type, const base::Callback<void(const std::string&)>& callback) argument
113 GetMimeTypeForLocalPath( Profile* profile, const base::FilePath& local_path, const base::Callback<void(const std::string&)>& callback) argument
[all...]
H A Dmime_util_unittest.cc43 const base::FilePath local_path) {
45 GURL(kOrigin), storage::kFileSystemTypeNativeLocal, local_path);
41 CreateNativeLocalFileSystemURL( storage::FileSystemContext* context, const base::FilePath local_path) argument
/external/chromium_org/chrome/browser/media_galleries/linux/
H A Dmtp_device_delegate_impl_linux.cc388 const base::FilePath& local_path,
393 DCHECK(!local_path.empty());
398 local_path,
515 const base::FilePath& local_path,
524 local_path,
386 CreateSnapshotFile( const base::FilePath& device_file_path, const base::FilePath& local_path, const CreateSnapshotFileSuccessCallback& success_callback, const ErrorCallback& error_callback) argument
513 CreateSnapshotFileInternal( const base::FilePath& device_file_path, const base::FilePath& local_path, const CreateSnapshotFileSuccessCallback& success_callback, const ErrorCallback& error_callback) argument
/external/chromium_org/chrome/browser/media_galleries/win/
H A Dmtp_device_operations_util.cc372 const base::FilePath& local_path,
376 DCHECK(!local_path.empty());
395 if (base::AppendToFile(local_path, buffer.c_str(), data_len) != data_len)
371 CopyDataChunkToLocalFile(IStream* stream, const base::FilePath& local_path, size_t optimal_transfer_size) argument
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dconflict_resolver_unittest.cc192 base::FilePath local_path = base::FilePath(FILE_PATH_LITERAL("dummy")); local
194 CreateTemporaryFileInDir(database_dir_.path(), &local_path);
198 file_change, local_path, url));
H A Dfake_sync_worker.cc141 const base::FilePath& local_path,
140 ApplyLocalChange(const FileChange& local_change, const base::FilePath& local_path, const SyncFileMetadata& local_metadata, const storage::FileSystemURL& url, const SyncStatusCallback& callback) argument

Completed in 3124 milliseconds

12