HomeSort by relevance Sort by last modified time
    Searched refs:file_ (Results 51 - 75 of 269) sorted by null

1 23 4 5 6 7 8 91011

  /external/chromium_org/content/browser/download/
download_file_impl.cc 41 : file_(save_info->file_path,
68 file_.Initialize(default_download_directory_);
103 return file_.AppendDataToFile(data, data_len);
120 DownloadInterruptReason reason = file_.Rename(new_path);
146 if (full_path != file_.full_path())
147 reason = file_.Rename(new_path);
156 reason = file_.AnnotateWithSourceInformation();
176 file_.Detach();
180 file_.Cancel();
184 return file_.full_path()
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
memenv.cc 150 explicit SequentialFileImpl(FileState* file) : file_(file), pos_(0) {
151 file_->Ref();
155 file_->Unref();
159 Status s = file_->Read(pos_, n, result, scratch);
167 if (pos_ > file_->Size()) {
168 return Status::IOError("pos_ > file_->Size()");
170 const size_t available = file_->Size() - pos_;
179 FileState* file_; member in class:leveldb::__anon11702::SequentialFileImpl
185 explicit RandomAccessFileImpl(FileState* file) : file_(file) {
186 file_->Ref()
199 FileState* file_; member in class:leveldb::__anon11702::RandomAccessFileImpl
221 FileState* file_; member in class:leveldb::__anon11702::WritableFileImpl
    [all...]
  /external/chromium_org/net/base/
file_stream_context.cc 58 if (file_ != base::kInvalidPlatformFileValue)
63 } else if (file_ != base::kInvalidPlatformFileValue) {
64 CancelIo(file_);
91 file_ = result.file;
92 if (file_ == base::kInvalidPlatformFileValue) {
105 if (file_ != base::kInvalidPlatformFileValue) {
106 base::ClosePlatformFile(file_);
107 file_ = base::kInvalidPlatformFileValue;
231 file_ = open_result.file;
232 if (file_ == base::kInvalidPlatformFileValue
    [all...]
net_log_logger.h 47 ScopedStdioHandle file_; member in class:net::NetLogLogger
file_stream_context_posix.cc 49 : file_(base::kInvalidPlatformFileValue),
61 : file_(file),
74 if (fstat(file_, &info) != 0) {
138 if (ftruncate(file_, bytes) != 0) {
149 off_t res = lseek(file_, static_cast<off_t>(offset),
158 ssize_t res = HANDLE_EINTR(fsync(file_));
169 ssize_t res = HANDLE_EINTR(read(file_, buf->data(),
180 ssize_t res = HANDLE_EINTR(write(file_, buf->data(), buf_len));
188 bool success = base::ClosePlatformFile(file_);
189 file_ = base::kInvalidPlatformFileValue
    [all...]
net_log_logger.cc 26 : file_(file), added_events_(false) {
34 fprintf(file_.get(), "{\"constants\": %s,\n", json.c_str());
35 fprintf(file_.get(), "\"events\": [\n");
39 if (file_.get())
40 fprintf(file_.get(), "]}");
58 fprintf(file_.get(), "%s%s",
  /external/chromium/base/
event_recorder.h 83 file_(NULL),
99 FILE* file_; member in class:base::EventRecorder
  /external/chromium/chrome/browser/webdata/
web_apps_table_unittest.cc 24 PathService::Get(chrome::DIR_TEST_DATA, &file_);
28 file_ = file_.AppendASCII(test_db);
29 file_util::Delete(file_, false);
33 file_util::Delete(file_, false);
36 FilePath file_; member in class:WebAppsTableTest
46 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
64 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
keyword_table_unittest.cc 24 PathService::Get(chrome::DIR_TEST_DATA, &file_);
28 file_ = file_.AppendASCII(test_db);
29 file_util::Delete(file_, false);
33 file_util::Delete(file_, false);
52 FilePath file_; member in class:KeywordTableTest
62 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
140 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
155 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
225 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
    [all...]
  /external/chromium_org/base/
event_recorder.h 82 file_(NULL),
98 FILE* file_; member in class:base::EventRecorder
  /external/chromium/chrome/browser/net/
net_log_logger.h 36 ScopedStdioHandle file_; member in class:NetLogLogger
  /external/chromium/net/base/
file_stream_posix.cc 271 : file_(base::kInvalidPlatformFileValue),
278 : file_(file),
297 if (file_ != base::kInvalidPlatformFileValue) {
298 if (close(file_) != 0) {
301 file_ = base::kInvalidPlatformFileValue;
312 file_ = base::CreatePlatformFile(path, open_flags_, NULL, NULL);
313 if (file_ == base::kInvalidPlatformFileValue) {
325 return file_ != base::kInvalidPlatformFileValue;
337 off_t res = lseek(file_, static_cast<off_t>(offset),
356 if (fstat(file_, &info) != 0
    [all...]
  /external/chromium_org/chrome/tools/convert_dict/
dic_reader.h 41 FILE* file_; member in class:convert_dict::DicReader
  /external/chromium_org/net/disk_cache/flash/
storage.h 28 base::PlatformFile file_; member in class:disk_cache::Storage
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
turnserver_main.cc 41 explicit TurnFileAuth(const std::string& path) : file_(path) {
42 file_.Load();
49 bool ret = file_.GetStringValue(username, &hex);
58 talk_base::OptionsFile file_; member in class:TurnFileAuth
  /external/chromium_org/base/files/
file.cc 22 : file_(kInvalidPlatformFileValue),
30 : file_(kInvalidPlatformFileValue),
43 : file_(other.object->TakePlatformFile()),
file_util_proxy_unittest.cc 28 file_(kInvalidPlatformFileValue),
38 if (file_ != kInvalidPlatformFileValue)
39 ClosePlatformFile(file_); variable
51 file_ = file.ReleaseValue();
60 file_ = file.ReleaseValue();
90 if (file_ != kInvalidPlatformFileValue)
91 return file_;
94 file_ = CreatePlatformFile(test_path(), flags, &created, &error);
96 EXPECT_NE(kInvalidPlatformFileValue, file_);
97 return file_;
112 PlatformFile file_; member in class:base::FileUtilProxyTest
    [all...]
  /external/webrtc/src/system_wrappers/source/
data_log.cc 102 FileWrapper* file_; member in class:webrtc::LogTable
148 file_(FileWrapper::Create()),
164 if (file_ != NULL) {
165 file_->Flush();
166 file_->CloseFile();
167 delete file_;
209 if (file_->Open())
211 file_->OpenFile(file_name.c_str(),
216 if (file_ == NULL)
235 file_->WriteText("%s[%u],", column_it->first.c_str()
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/
python_generator.cc 240 Generator::Generator() : file_(NULL) {
259 file_ = file;
266 file_->CopyTo(&fdp);
275 PrintTopBoilerplate(printer_, file_, GeneratingDescriptorProto());
305 for (int i = 0; i < file_->dependency_count(); ++i) {
306 string module_name = ModuleName(file_->dependency(i)->name());
313 for (int i = 0; i < file_->public_dependency_count(); ++i) {
314 string module_name = ModuleName(file_->public_dependency(i)->name());
324 m["name"] = file_->name();
325 m["package"] = file_->package()
    [all...]
  /external/chromium_org/tools/memory_watcher/
memory_watcher.cc 28 : file_(NULL),
64 DCHECK(file_ == NULL);
76 file_ = fopen(tmp_name.c_str(), "w+");
80 if (file_ != NULL) {
81 fclose(file_);
82 file_ = NULL;
241 fwprintf(file_, L"%d bytes, %d allocs, #%d\n",
249 fprintf(file_, "%s", output.c_str());
251 fprintf(file_, "Total Leaks: %d\n", total_blocks);
252 fprintf(file_, "Total Stacks: %d\n", stack_tracks.size())
    [all...]
  /external/chromium_org/tools/ipc_fuzzer/message_lib/
message_file_writer.cc 28 // Helper to append data to file_.
46 base::PlatformFile file_; member in class:ipc_fuzzer::__anon14669::Writer
55 file_(base::kInvalidPlatformFileValue),
60 if (file_ != base::kInvalidPlatformFileValue)
61 base::ClosePlatformFile(file_);
65 file_ = base::CreatePlatformFile(
70 if (file_ == base::kInvalidPlatformFileValue) {
81 int ret = base::WritePlatformFileAtCurrentPos(file_, char_buffer, size);
  /external/chromium/chrome/browser/visitedlink/
visitedlink_master.cc 70 : file_(file),
77 WriteToFile(file_, offset_,
104 FILE* file_; member in class:__anon2508::AsyncWriter
118 explicit AsyncSetEndOfFile(FILE* file) : file_(file) {}
121 TruncateFile(file_);
125 FILE* file_; member in class:__anon2508::AsyncSetEndOfFile
133 explicit AsyncCloseHandle(FILE* file) : file_(file) {}
136 fclose(file_);
140 FILE* file_; member in class:__anon2508::AsyncCloseHandle
239 file_ = NULL
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_connection_posix.cc 119 tcgetattr(file_, &config);
128 if (!SetCustomBitrate(file_, &config, *options.bitrate)) {
179 return tcsetattr(file_, TCSANOW, &config) == 0;
184 tcgetattr(file_, &config);
196 return tcsetattr(file_, TCSANOW, &config) == 0;
200 return tcflush(file_, TCIOFLUSH) == 0;
206 if (ioctl(file_, TIOCMGET, &status) == -1) {
221 if (ioctl(file_, TIOCMGET, &status) == -1) {
241 return ioctl(file_, TIOCMSET, &status) == 0;
246 if (tcgetattr(file_, &config) == -1)
    [all...]
serial_connection_win.cc 137 if (!GetCommState(file_, &config)) {
157 return SetCommState(file_, &config) != 0;
167 if (!::SetCommTimeouts(file_, &timeouts)) {
173 if (!GetCommState(file_, &config)) {
187 return SetCommState(file_, &config) != 0;
191 return PurgeComm(file_, PURGE_RXCLEAR | PURGE_TXCLEAR) != 0;
197 if (!GetCommModemStatus(file_, &status)) {
210 if (!EscapeCommFunction(file_, *signals.dtr ? SETDTR : CLRDTR)) {
215 if (!EscapeCommFunction(file_, *signals.rts ? SETRTS : CLRRTS)) {
225 if (!GetCommState(file_, &config))
    [all...]
  /external/chromium/net/disk_cache/
storage_block.h 78 MappedFile* file_; member in class:disk_cache::StorageBlock

Completed in 491 milliseconds

1 23 4 5 6 7 8 91011