Home
last modified time | relevance | path

Searched refs:writer_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium/chrome/common/
Dlibxml_utils.cc132 : writer_(NULL), in XmlWriter()
136 if (writer_) in ~XmlWriter()
137 xmlFreeTextWriter(writer_); in ~XmlWriter()
144 writer_ = xmlNewTextWriterMemory(buffer_, 0); in StartWriting()
145 xmlTextWriterSetIndent(writer_, 1); in StartWriting()
146 xmlTextWriterStartDocument(writer_, NULL, NULL, NULL); in StartWriting()
150 xmlTextWriterEndDocument(writer_); in StopWriting()
151 xmlFreeTextWriter(writer_); in StopWriting()
152 writer_ = NULL; in StopWriting()
Dlibxml_utils.h133 void StartIndenting() { xmlTextWriterSetIndent(writer_, 1); } in StartIndenting()
136 void StopIndenting() { xmlTextWriterSetIndent(writer_, 0); } in StopIndenting()
141 return xmlTextWriterStartElement(writer_, in StartElement()
147 return xmlTextWriterEndElement(writer_) >= 0; in EndElement()
153 return xmlTextWriterWriteAttribute(writer_, in AddAttribute()
163 return xmlTextWriterWriteElement(writer_, in WriteElement()
179 xmlTextWriterPtr writer_;
Dmetrics_helpers.cc53 writer_(NULL) { in XmlWrapper()
58 writer_ = xmlNewTextWriterDoc(&doc_, /* compression */ 0); in XmlWrapper()
60 writer_ = xmlNewTextWriterMemory(buffer_, /* compression */ 0); in XmlWrapper()
62 DCHECK(writer_); in XmlWrapper()
64 int result = xmlTextWriterSetIndent(writer_, 2); in XmlWrapper()
77 if (writer_) { in FreeDocWriter()
78 xmlFreeTextWriter(writer_); in FreeDocWriter()
79 writer_ = NULL; in FreeDocWriter()
88 xmlTextWriterPtr writer() const { return writer_; } in writer()
94 xmlTextWriterPtr writer_; member in MetricsLogBase::XmlWrapper
Djson_pref_store.cc133 writer_(filename, file_message_loop_proxy) { in JsonPrefStore()
278 writer_.WriteNow(data); in WritePrefs()
286 writer_.ScheduleWrite(this); in ScheduleWritePrefs()
290 if (writer_.HasPendingWrite() && !read_only_) in CommitPendingWrite()
291 writer_.DoScheduledWrite(); in CommitPendingWrite()
Djson_pref_store.h79 ImportantFileWriter writer_; variable
/external/chromium/chrome/browser/importer/
Din_process_importer_bridge.cc19 : writer_(writer), in InProcessImporterBridge()
30 writer_, &ProfileWriter::AddBookmarkEntry, bookmarks, in AddBookmarkEntries()
37 NewRunnableMethod(writer_, &ProfileWriter::AddHomepage, home_page)); in AddHomePage()
45 NewRunnableMethod(writer_, &ProfileWriter::AddIE7PasswordInfo, in AddIE7PasswordInfo()
54 NewRunnableMethod(writer_, &ProfileWriter::AddFavicons, favicons)); in SetFavicons()
62 NewRunnableMethod(writer_, &ProfileWriter::AddHistoryPage, in SetHistoryItems()
73 writer_, &ProfileWriter::AddKeywords, template_urls, in SetKeywords()
82 NewRunnableMethod(writer_, &ProfileWriter::AddPasswordForm, form)); in SetPasswordForm()
Dimporter_host.cc111 writer_ = writer; in StartImportSettings()
124 new InProcessImporterBridge(writer_.get(), this)); in StartImportSettings()
203 if ((items & importer::FAVORITES) && !writer_->BookmarkModelIsLoaded()) { in CheckForLoadedModels()
213 if (!writer_->TemplateURLModelIsLoaded()) { in CheckForLoadedModels()
Dexternal_process_importer_host.cc33 writer_ = writer; in StartImportSettings()
57 new InProcessImporterBridge(writer_.get(), this); in InvokeTaskIfDone()
Din_process_importer_bridge.h61 ProfileWriter* const writer_; // weak variable
Dimporter_host.h129 scoped_refptr<ProfileWriter> writer_; variable
/external/chromium/chrome/browser/diagnostics/
Ddiagnostics_main.cc267 writer_(writer) { in TestController()
274 writer_->WriteInfoText(title.append(PrintableUSCurrentTime()) + L")\n"); in Run()
276 writer_->WriteResult(false, L"Diagnostics start", L"model is null"); in Run()
281 writer_->WriteResult(false, L"Diagnostics start", L"ICU failure"); in Run()
285 writer_->WriteInfoText(StringPrintf(L"%d available test(s)\n\n", count)); in Run()
303 if (writer_->failures() > 0) { in OnDoneAll()
304 writer_->WriteInfoText(StringPrintf(L"DONE. %d failure(s)\n\n", in OnDoneAll()
305 writer_->failures())); in OnDoneAll()
307 writer_->WriteInfoText(L"DONE\n\n"); in OnDoneAll()
314 writer_->WriteResult(success, UTF16ToWide(test_info.GetTitle()), in ShowResult()
[all …]
/external/chromium/chrome/browser/bookmarks/
Dbookmark_storage.cc135 writer_(profile->GetPath().Append(chrome::kBookmarksFileName), in BookmarkStorage()
139 writer_.set_commit_interval(base::TimeDelta::FromMilliseconds(kSaveDelayMS)); in BookmarkStorage()
141 BrowserThread::FILE, FROM_HERE, new BackupTask(writer_.path())); in BookmarkStorage()
145 if (writer_.HasPendingWrite()) in ~BookmarkStorage()
146 writer_.DoScheduledWrite(); in ~BookmarkStorage()
153 DoLoadBookmarks(writer_.path()); in LoadBookmarks()
191 writer_.ScheduleWrite(this); in ScheduleSave()
197 if (writer_.HasPendingWrite()) in BookmarkModelDeleted()
211 if (path == writer_.path() && !file_exists) { in OnLoadFinished()
266 writer_.WriteNow(data); in SaveNow()
Dbookmark_storage.h147 ImportantFileWriter writer_; variable
/external/openfst/src/include/fst/extensions/far/
Dfar.h182 void Add(const string &key, const Fst<A> &fst) { writer_->Add(key, fst); } in Add()
186 bool Error() const { return writer_->Error(); } in Error()
188 ~STTableFarWriter() { delete writer_; } in ~STTableFarWriter() local
192 : writer_(writer) {} in STTableFarWriter()
195 STTableWriter<Fst<A>, FstWriter<A> > *writer_;
212 void Add(const string &key, const Fst<A> &fst) { writer_->Add(key, fst); } in Add()
216 bool Error() const { return writer_->Error(); } in Error()
218 ~STListFarWriter() { delete writer_; } in ~STListFarWriter() local
222 : writer_(writer) {} in STListFarWriter()
225 STListWriter<Fst<A>, FstWriter<A> > *writer_;
/external/v8/src/
Dprofile-generator.cc3402 ASSERT(writer_ == NULL); in Serialize()
3403 writer_ = new OutputStreamWriter(stream); in Serialize()
3417 delete writer_; in Serialize()
3418 writer_ = NULL; in Serialize()
3449 writer_->AddCharacter('{'); in SerializeImpl()
3450 writer_->AddString("\"snapshot\":{"); in SerializeImpl()
3452 if (writer_->aborted()) return; in SerializeImpl()
3453 writer_->AddString("},\n"); in SerializeImpl()
3454 writer_->AddString("\"nodes\":["); in SerializeImpl()
3456 if (writer_->aborted()) return; in SerializeImpl()
[all …]
Dgdb-jit.cc442 : ELFSection(name, TYPE_STRTAB, 1), writer_(NULL), offset_(0), size_(0) { in StringTable()
454 writer_ = w; in AttachWriter()
455 offset_ = writer_->position(); in AttachWriter()
462 writer_ = NULL; in DetachWriter()
466 ASSERT(writer_ == NULL); in WriteBody()
475 writer_->Write(*str); in WriteString()
481 Writer* writer_; member in v8::internal::StringTable
Dprofile-generator.h1120 writer_(NULL) { in HeapSnapshotJSONSerializer()
1155 OutputStreamWriter* writer_; variable
/external/chromium/net/tools/dump_cache/
Dupgrade.cc222 delete writer_; in ~MasterSM()
266 CacheDumpWriter* writer_; member in __anona64442140111::MasterSM
323 writer_ = new DiskDumper(path_); in DoInit()
337 writer_ = new CacheDumper(cache_.get()); in DoInit()
339 if (!writer_) in DoInit()
399 int rv = writer_->CreateEntry(key, in DoGetKey()
470 writer_->CloseEntry(entry_, last_used_, last_modified_); in CloseEntry()
513 int rv = writer_->WriteEntry(entry_, stream_, offset_, buf, read_size, in DoReadData()
/external/chromium/net/socket/
Dtcp_client_socket_win.cc134 WriteDelegate writer_; member in net::TCPClientSocketWin::Core
156 ALLOW_THIS_IN_INITIALIZER_LIST(writer_(this)), in Core()
184 write_watcher_.StartWatching(write_overlapped_.hEvent, &writer_); in WatchForWrite()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable.cc1124 source_file_(source_file), line_(line), writer_(writer) { in BaseTransaction()
1134 writer_(INVALID) { in BaseTransaction()
1171 if (writer_ == syncable::SYNCAPI) { in NotifyTransactionChangingAndEnding()
1174 writer_, in NotifyTransactionChangingAndEnding()
1179 writer_, in NotifyTransactionChangingAndEnding()
Dsyncable.h1109 WriterTag writer_; variable