Home
last modified time | relevance | path

Searched refs:local_path (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium_org/chrome/browser/drive/
Ddrive_uploader_unittest.cc318 base::FilePath local_path; in TEST_F() local
321 temp_dir_.path(), 0, &local_path, &data)); in TEST_F()
327 MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); in TEST_F()
333 local_path, in TEST_F()
353 base::FilePath local_path; in TEST_F() local
356 temp_dir_.path(), 512 * 1024, &local_path, &data)); in TEST_F()
362 MockDriveServiceWithUploadExpectation mock_service(local_path, data.size()); in TEST_F()
368 local_path, in TEST_F()
390 base::FilePath local_path; in TEST_F() local
393 temp_dir_.path(), 512 * 1024, &local_path, &data)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dget_file_for_saving_operation_unittest.cc82 base::FilePath local_path; in TEST_F() local
86 &error, &local_path, &entry)); in TEST_F()
114 google_apis::test_util::WriteStringToFile(local_path, "hello"); in TEST_F()
129 base::FilePath local_path; in TEST_F() local
133 &error, &local_path, &entry)); in TEST_F()
140 EXPECT_TRUE(base::GetFileSize(local_path, &size)); in TEST_F()
153 base::FilePath local_path; in TEST_F() local
157 &error, &local_path, &entry)); in TEST_F()
Dtruncate_operation_unittest.cc49 base::FilePath local_path; in TEST_F() local
56 GetLocalId(file_in_root), &local_path), in TEST_F()
63 base::GetFileSize(local_path, &local_file_size); in TEST_F()
112 base::FilePath local_path; in TEST_F() local
119 GetLocalId(file_in_root), &local_path), in TEST_F()
126 ASSERT_TRUE(base::ReadFileToString(local_path, &content)); in TEST_F()
Ddownload_operation_unittest.cc298 base::FilePath local_path, local_path_dontcare; in TEST_F() local
308 &initialized_error, &entry, &local_path, &cancel_download), in TEST_F()
318 ASSERT_TRUE(local_path.empty()); in TEST_F()
335 base::FilePath local_path, local_path_dontcare; in TEST_F() local
345 &initialized_error, &entry, &local_path, &cancel_download), in TEST_F()
355 ASSERT_TRUE(!local_path.empty()); in TEST_F()
360 base::GetFileSize(local_path, &local_file_size); in TEST_F()
/external/chromium_org/tools/telemetry/telemetry/core/
Dextension_to_load.py53 def local_path(self): member in ExtensionToLoad
58 @local_path.setter
59 def local_path(self, local_path): member in ExtensionToLoad
60 self._local_path = local_path
/external/chromium_org/tools/telemetry/telemetry/page/
Dcloud_storage.py114 def Get(bucket, remote_path, local_path): argument
116 logging.info('Downloading %s to %s' % (url, local_path))
117 _RunCommand(['cp', url, local_path])
120 def Insert(bucket, remote_path, local_path): argument
122 logging.info('Uploading %s to %s' % (local_path, url))
123 _RunCommand(['cp', local_path, url])
/external/chromium_org/ui/shell_dialogs/
Dselected_file_info.cc14 local_path(in_local_path) { in SelectedFileInfo()
15 if (local_path.empty()) in SelectedFileInfo()
16 local_path = file_path; in SelectedFileInfo()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb25 def local_path( *parts ) method
30 local_path( name )
110 path = local_path( name.to_s )
162 def local_path( *args ) method in ANTLR3.Test.Functional
163 self.class.local_path( *args )
/external/chromium_org/components/policy/resources/
DPRESUBMIT.py29 local_path = input_api.PresubmitLocalPath()
30 filepath = input_api.os_path.join(local_path, 'policy_templates.json')
36 input_api.os_path.join(local_path, input_api.os_path.pardir, 'tools'))
104 local_path = input_api.PresubmitLocalPath()
105 template_path = os_path.join(local_path, 'policy_templates.json')
/external/chromium_org/third_party/
DPRESUBMIT.py14 local_path = f.LocalPath()
15 if input_api.os_path.dirname(local_path) == 'third_party':
17 if local_path.startswith('third_party' + input_api.os_path.sep):
19 if local_path.endswith("README.chromium"):
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dfile_system_backend_unittest.cc245 const base::FilePath::CharType* const local_path; in TEST() member
266 base::FilePath local_path(kTestCases[i].local_path); in TEST() local
268 backend.GetVirtualPath(local_path, &virtual_path)) in TEST()
269 << "Resolving " << kTestCases[i].local_path; in TEST()
278 << "Resolving " << kTestCases[i].local_path; in TEST()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dprivate_api_file_system.h68 const base::FilePath& local_path,
91 const base::FilePath& local_path,
109 const base::FilePath& local_path,
Dprivate_api_file_system.cc355 base::FilePath local_path = file_watch_url.path(); in RunImpl() local
357 if (local_path.empty()) { in RunImpl()
361 PerformFileWatchOperation(local_path, virtual_path, extension_id()); in RunImpl()
367 const base::FilePath& local_path, in PerformFileWatchOperation() argument
375 local_path, in PerformFileWatchOperation()
382 const base::FilePath& local_path, in PerformFileWatchOperation() argument
389 event_router->RemoveFileWatch(local_path, extension_id); in PerformFileWatchOperation()
/external/chromium_org/content/public/test/
Dsandbox_file_system_test_helper.cc71 base::FilePath local_path; in GetLocalPath() local
73 file_util_->GetLocalFilePath(context.get(), CreateURL(path), &local_path); in GetLocalPath()
74 return local_path; in GetLocalPath()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dmtp_device_async_delegate.h41 const base::FilePath& local_path)> CreateSnapshotFileSuccessCallback;
61 const base::FilePath& local_path,
/external/chromium_org/chrome/browser/chromeos/drive/
Dfileapi_worker.cc103 const base::FilePath& local_path, in RunCreateSnapshotFileCallback() argument
133 callback.Run(base::PLATFORM_FILE_OK, file_info, local_path, scope_out_policy); in RunCreateSnapshotFileCallback()
140 const base::FilePath& local_path, in RunCreateWritableSnapshotFileCallback() argument
143 callback.Run(FileErrorToPlatformError(error), local_path, close_callback); in RunCreateWritableSnapshotFileCallback()
158 const base::FilePath& local_path, in OpenFileAfterFileSystemOpenFile() argument
190 local_path, file_flags, static_cast<bool*>(NULL), result), in OpenFileAfterFileSystemOpenFile()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/
Durls.py32 def view_source_url(local_path): argument
33 return "http://trac.webkit.org/browser/trunk/%s" % local_path
/external/chromium_org/webkit/browser/fileapi/
Dobfuscated_file_util.cc430 base::FilePath* local_path) { in GetLocalFilePath() argument
443 *local_path = DataPathToLocalPath(url, file_info.data_path); in GetLocalFilePath()
445 if (local_path->empty()) in GetLocalFilePath()
482 base::FilePath local_path; in Truncate() local
484 GetFileInfo(context, url, &file_info, &local_path); in Truncate()
491 error = NativeFileUtil::Truncate(local_path, length); in Truncate()
734 base::FilePath local_path; in DeleteFile() local
736 db, context, url, file_id, &file_info, &platform_file_info, &local_path); in DeleteFile()
759 error = NativeFileUtil::DeleteFile(local_path); in DeleteFile()
1030 base::FilePath local_path = DataPathToLocalPath(url, local_info->data_path); in GetFileInfoInternal() local
[all …]
/external/chromium_org/tools/android/checkstyle/
Dcheckstyle.py52 local_path = input_api.PresubmitLocalPath()
57 rel_path = os.path.relpath(full_path, local_path)
/external/chromium_org/content/browser/fileapi/
Dobfuscated_file_util_unittest.cc305 base::FilePath local_path; in CheckFileAndCloseHandle() local
307 context.get(), url, &local_path)); in CheckFileAndCloseHandle()
313 EXPECT_EQ(data_path, local_path); in CheckFileAndCloseHandle()
340 EXPECT_EQ(data_path, local_path); in CheckFileAndCloseHandle()
509 base::FilePath local_path; in TestTouchHelper() local
513 context.get(), url, &file_info, &local_path)); in TestTouchHelper()
528 context.get(), url, &file_info, &local_path)); in TestTouchHelper()
738 base::FilePath local_path; in TEST_F() local
740 context.get(), url, &local_path)); in TEST_F()
741 EXPECT_TRUE(base::PathExists(local_path)); in TEST_F()
[all …]
/external/chromium_org/tools/code_coverage/
Dcroc.py76 self.local_path = None # Local path to file
477 local_path = dirpath + '/' + f
479 covf = self.GetCoveredFile(local_path, add=True)
484 covf.local_path = local_path
496 lines = self.scan_file(covf.local_path, covf.attrs.get('language'))
/external/chromium_org/content/shell/browser/
Dshell_browser_main.cc82 base::FilePath local_path; in GetURLForLayoutTest() local
86 if (net::FileURLToFilePath(test_url, &local_path)) in GetURLForLayoutTest()
87 *current_working_directory = local_path.DirName(); in GetURLForLayoutTest()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_sync_context.cc271 const base::FilePath& local_path, in ApplyRemoteChange() argument
280 change, local_path, url, callback)); in ApplyRemoteChange()
294 file_system_context, change, local_path, url, callback); in ApplyRemoteChange()
328 const base::FilePath& local_path, in HandleRemoteAddOrUpdate() argument
346 local_path, in HandleRemoteAddOrUpdate()
354 const base::FilePath& local_path, in DidRemoveExistingEntryForRemoteAddOrUpdate() argument
378 DCHECK(!local_path.empty()); in DidRemoveExistingEntryForRemoteAddOrUpdate()
384 local_path, url_for_sync, operation_callback); in DidRemoveExistingEntryForRemoteAddOrUpdate()
397 local_path, in DidRemoveExistingEntryForRemoteAddOrUpdate()
958 const base::FilePath& local_path, in DidCreateDirectoryForCopyIn() argument
[all …]
/external/openssh/
Dsftp-client.c987 do_download(struct sftp_conn *conn, char *remote_path, char *local_path, in do_download() argument
1050 local_fd = open(local_path, O_WRONLY | O_CREAT | O_TRUNC, in do_download()
1054 local_path, strerror(errno)); in do_download()
1193 error("Couldn't write to \"%s\": %s", local_path, in do_download()
1204 if (pflag && chmod(local_path, mode) == -1) in do_download()
1206 error("Couldn't set mode on \"%s\": %s", local_path, in do_download()
1213 if (utimes(local_path, tv) == -1) in do_download()
1215 local_path, strerror(errno)); in do_download()
1334 do_upload(struct sftp_conn *conn, char *local_path, char *remote_path, in do_upload() argument
1358 if ((local_fd = open(local_path, O_RDONLY, 0)) == -1) { in do_upload()
[all …]
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_browser_handlers.cc243 base::FilePath local_path = url.path(); in SetupFileAccessPermissions() local
247 DCHECK(!is_drive_file || drive::util::IsUnderDriveMountPoint(local_path)); in SetupFileAccessPermissions()
252 if (!base::PathExists(local_path) || in SetupFileAccessPermissions()
253 base::IsLink(local_path) || in SetupFileAccessPermissions()
254 !base::GetFileInfo(local_path, &file_info)) { in SetupFileAccessPermissions()
269 file.absolute_path = local_path; in SetupFileAccessPermissions()

1234