/external/chromium_org/chrome/installer/util/ |
H A D | installation_validation_helper.cc | 3 // found in the LICENSE file. 5 // This file declares helper functions for use in tests that expect a valid 29 const char* file, 79 const char* file, 88 ADD_FAILURE_AT(file, line) 94 return (old_message_handler_)(severity, file, line, message_start, str); 78 AddFailureForLogMessage(int severity, const char* file, int line, size_t message_start, const std::string& str) argument
|
/external/chromium_org/chrome/utility/media_galleries/ |
H A D | pmp_column_reader.cc | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 30 bool PmpColumnReader::ReadFile(base::File* file, argument 35 if (!file->IsValid()) 39 if (!file->GetInfo(&info)) 52 bool success = file->Read(0, data_begin, length_) && 190 // Fail if cannot find null termination. String runs on past file end.
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | data_driven_test.cc | 3 // found in the LICENSE file. 15 // Reads |file| into |content|, and converts Windows line-endings to Unix ones. 17 bool ReadFile(const base::FilePath& file, std::string* content) { argument 18 if (!base::ReadFileToString(file, content)) 25 // Write |content| to |file|. Returns true on success. 26 bool WriteFile(const base::FilePath& file, const std::string& content) { argument 27 int write_size = base::WriteFile(file, content.c_str(),
|
/external/chromium_org/components/component_updater/test/ |
H A D | test_installer.cc | 3 // found in the LICENSE file. 28 bool TestInstaller::GetInstalledFile(const std::string& file, argument 48 bool ReadOnlyTestInstaller::GetInstalledFile(const std::string& file, argument 50 *installed_file = install_directory_.AppendASCII(file); 78 bool VersionedTestInstaller::GetInstalledFile(const std::string& file, argument 82 *installed_file = path.Append(base::FilePath::FromUTF8Unsafe(file));
|
/external/chromium_org/components/cronet/android/ |
H A D | url_request_context_adapter.cc | 3 // found in the LICENSE file. 219 // Do nothing if already logging to a file. 224 FILE* file = base::OpenFile(file_path, "w"); local 225 if (!file) 229 net_log_logger_.reset(new net::NetLogLogger(file, *constants));
|
/external/chromium_org/components/nacl/browser/ |
H A D | pnacl_host_unittest.cc | 3 // found in the LICENSE file. 28 // Size of a buffer used for writing and reading from a file. 68 // and also writes some data into the file, which is read back by 70 void CallbackExpectMiss(const base::File& file, bool is_hit) { argument 72 ASSERT_TRUE(file.IsValid()); 74 base::File* mutable_file = const_cast<base::File*>(&file); 85 void CallbackExpectHit(const base::File& file, bool is_hit) { argument 87 ASSERT_TRUE(file.IsValid()); 89 base::File* mutable_file = const_cast<base::File*>(&file); 187 // Early abort, before temp file reques [all...] |
/external/chromium_org/components/nacl/renderer/ |
H A D | file_downloader.cc | 3 // found in the LICENSE file. 17 base::File file, 21 file_(file.Pass()), 72 // Seek back to the beginning of the file that was just written so it's 16 FileDownloader(scoped_ptr<blink::WebURLLoader> url_loader, base::File file, StatusCallback status_cb, ProgressCallback progress_cb) argument
|
H A D | manifest_service_channel.cc | 3 // found in the LICENSE file. 83 base::File file, 87 if (file.IsValid()) { 91 file.TakePlatformFile(), 99 file_for_transit = base::FileDescriptor(file.Pass()); 82 DidOpenResource(IPC::Message* reply, base::File file, uint64_t token_lo, uint64_t token_hi) argument
|
H A D | pnacl_translation_resource_host.cc | 3 // found in the LICENSE file. 115 IPC::PlatformFileForTransit file) { 117 base::File base_file = IPC::PlatformFileForTransitToFile(file); 112 OnNexeTempFileReply( PP_Instance instance, bool is_hit, IPC::PlatformFileForTransit file) argument
|
/external/chromium_org/components/translate/content/renderer/ |
H A D | data_file_renderer_cld_data_provider.cc | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 88 void DataFileRendererCldDataProvider::LoadCldData(base::File file, argument 95 if (!file.IsValid()) { 96 LOG(ERROR) << "Can't find the CLD data file."; 100 // mmap the file 102 bool initialized = g_cld_mmap.Get().value->Initialize(file.Pass());
|
/external/chromium_org/content/browser/fileapi/ |
H A D | plugin_private_file_system_backend_unittest.cc | 3 // found in the LICENSE file. 106 FileSystemURL file = CreateURL(root_url, "foo"); local 109 AsyncFileTestHelper::CreateFile(context_.get(), file)); 111 AsyncFileTestHelper::GetPlatformPath(context_.get(), file,
|
/external/chromium_org/content/browser/loader/ |
H A D | resource_dispatcher_host_browsertest.cc | 3 // found in the LICENSE file. 60 GURL GetMockURL(const std::string& file) { argument 62 base::FilePath().AppendASCII(file)); 335 // Now load a file:// page, which does not use the BufferedEventHandler.
|
/external/chromium_org/content/browser/ |
H A D | session_history_browsertest.cc | 3 // found in the LICENSE file. 95 GURL GetURL(const std::string file) { argument 97 std::string("/session_history/") + file);
|
/external/chromium_org/courgette/ |
H A D | encode_decode_unittest.cc | 3 // found in the LICENSE file. 11 void TestAssembleToStreamDisassemble(std::string file, 16 std::string file, 18 const void* original_buffer = file.c_str(); 19 size_t original_length = file.length(); 72 std::string file = FileContents("setup1.exe"); local 73 TestAssembleToStreamDisassemble(file, 971850); 77 std::string file = FileContents("chrome64_1.exe"); local 78 TestAssembleToStreamDisassemble(file, 814709); 82 std::string file local 15 TestAssembleToStreamDisassemble( std::string file, size_t expected_encoded_lenth) const argument [all...] |
H A D | memory_allocator.cc | 3 // found in the LICENSE file. 16 // The file is created in the %TEMP% folder. 17 // NOTE: Since the file will be used as backing for a memory allocation, 54 bool FileMapping::Create(HANDLE file, size_t size) { argument 55 DCHECK(file != INVALID_HANDLE_VALUE); 57 mapping_ = ::CreateFileMapping(file, NULL, PAGE_READWRITE, 0, 0, NULL);
|
/external/chromium_org/crypto/ |
H A D | openssl_util.cc | 3 // found in the LICENSE file. 77 static void LockingCallback(int mode, int n, const char* file, int line) { argument 78 OpenSSLInitSingleton::GetInstance()->OnLockingCallback(mode, n, file, line); 81 void OnLockingCallback(int mode, int n, const char* file, int line) { argument 97 // such as the library, function and reason for the error, the file and line
|
/external/chromium_org/device/serial/ |
H A D | serial_io_handler.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 128 const base::File& file() const { return file_; } function in class:device::SerialIoHandler 167 void FinishOpen(base::File file);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_resource_manager.cc | 3 // found in the LICENSE file. 21 << resource_tracker->file() 30 const char* file, 35 new FakeResourceTracker(resource, classname, file, line); 54 << resource_tracker->file() << ":" 73 << resource_tracker->file() << ":" 110 << resource_tracker->file() << ":" 118 const char* file, 122 file_(file), 28 Create(FakeResource* resource, const char* classname, const char* file, int line) argument 116 FakeResourceTracker(FakeResource* resource, const char* classname, const char* file, int line) argument
|
/external/chromium_org/net/base/ |
H A D | file_stream.cc | 3 // found in the LICENSE file. 16 FileStream::FileStream(base::File file, argument 18 : context_(new Context(file.Pass(), task_runner)) { 43 return context_->file().IsValid(); 62 // read(..., 0) will return 0, which indicates end-of-file. 87 return context_->file();
|
H A D | mock_file_stream.cc | 3 // found in the LICENSE file. 24 base::File file, 26 : net::FileStream(file.Pass(), task_runner), 23 MockFileStream( base::File file, const scoped_refptr<base::TaskRunner>& task_runner) argument
|
/external/chromium_org/net/ssl/ |
H A D | openssl_ssl_util.cc | 3 // found in the LICENSE file. 161 if (error_info.file != NULL) 162 dict->SetString("file", error_info.file); 204 const char* file; local 207 error_code = ERR_get_error_line(&file, &line); 210 out_error_info->file = file; 215 out_error_info->file = file; [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_broker.cc | 3 // found in the LICENSE file. 83 bool ReadMessage(PlatformFile file, size_t message_len, char* message) { argument 88 return ::ReadFile(file, message, size, &read, NULL) && read == size; 94 ssize_t read = HANDLE_EINTR(::read(file, message + total_read, 104 bool WriteMessage(PlatformFile file, size_t message_len, const char* message) { 109 return ::WriteFile(file, message, size, &written, NULL) && written == size; 115 ssize_t written = HANDLE_EINTR(::write(file, message + total_written, 125 bool VerifyMessage(PlatformFile file, size_t message_len, const char* message) { 127 bool success = ReadMessage(file, message_len, message_received) && 133 bool ClosePlatformFile(PlatformFile file) { 296 PlatformFile file = IntToPlatformFile(handle); local [all...] |
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_flash_file_modulelocal_thunk.cc | 3 // found in the LICENSE file. 26 PP_FileHandle* file) { 30 return enter.functions()->OpenFile(instance, path, mode, file); 81 int32_t CreateTemporaryFile(PP_Instance instance, PP_FileHandle* file) { argument 86 *file = PP_kInvalidFileHandle; 87 return enter.functions()->CreateTemporaryFile(instance, file); 23 OpenFile(PP_Instance instance, const char* path, int32_t mode, PP_FileHandle* file) argument
|
/external/chromium_org/remoting/host/native_messaging/ |
H A D | native_messaging_reader.cc | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 38 Core(base::File file, 66 base::File file, 70 : read_stream_(file.Pass()), 133 NativeMessagingReader::NativeMessagingReader(base::File file) argument 138 core_.reset(new Core(file.Pass(), base::ThreadTaskRunnerHandle::Get(), 65 Core( base::File file, scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, scoped_refptr<base::SequencedTaskRunner> read_task_runner, base::WeakPtr<NativeMessagingReader> reader) argument
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | FormDataList.cpp | 15 * along with this library; see the file COPYING.LIB. If not, write to 88 File* file = toFile(value.blob()); local 89 // For file blob, use the filename (or relative path if it is present) as the name. 90 name = file->webkitRelativePath().isEmpty() ? file->name() : file->webkitRelativePath(); 92 // If a filename is passed in FormData.append(), use it instead of the file blob's name. 96 // For non-file blob, use the filename if it is passed in FormData.append(). 121 File* file = toFile(value.blob()); local 122 // Do not add the file i [all...] |