Searched refs:WriteBatch (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/leveldatabase/src/db/
H A Dwrite_batch_internal.h15 // WriteBatch that we don't want in the public WriteBatch interface.
19 static int Count(const WriteBatch* batch);
22 static void SetCount(WriteBatch* batch, int n);
25 static SequenceNumber Sequence(const WriteBatch* batch);
29 static void SetSequence(WriteBatch* batch, SequenceNumber seq);
31 static Slice Contents(const WriteBatch* batch) {
35 static size_t ByteSize(const WriteBatch* batch) {
39 static void SetContents(WriteBatch* batch, const Slice& contents);
41 static Status InsertInto(const WriteBatch* batc
[all...]
H A Dwrite_batch.cc5 // WriteBatch::rep_ :=
26 // WriteBatch header has an 8-byte sequence number followed by a 4-byte count.
29 WriteBatch::WriteBatch() { function in class:leveldb::WriteBatch
33 WriteBatch::~WriteBatch() { }
35 WriteBatch::Handler::~Handler() { }
37 void WriteBatch::Clear() {
42 Status WriteBatch::Iterate(Handler* handler) const {
45 return Status::Corruption("malformed WriteBatch (to
[all...]
H A Dwrite_batch_test.cc15 static std::string PrintContents(WriteBatch* b) {
58 WriteBatch batch;
64 WriteBatch batch;
78 WriteBatch batch;
91 WriteBatch b1, b2;
H A Ddb_impl.h34 virtual Status Write(const WriteOptions& options, WriteBatch* updates);
103 WriteBatch* BuildBatchGroup(Writer** last_writer);
150 WriteBatch* tmp_batch_;
H A Dleveldb_main.cc67 // Called on every item found in a WriteBatch.
68 class WriteBatchItemPrinter : public WriteBatch::Handler {
85 // Called on every log record (each one of which is a WriteBatch)
93 WriteBatch batch;
108 // Called on every log record (each one of which is a WriteBatch)
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dwrite_batch.h5 // WriteBatch holds a collection of updates to apply atomically to a DB.
8 // to the WriteBatch. For example, the value of "key" will be "v3"
16 // Multiple threads can invoke const methods on a WriteBatch without
18 // non-const method, all threads accessing the same WriteBatch must use
31 class WriteBatch { class in namespace:leveldb
33 WriteBatch();
34 ~WriteBatch();
H A Ddb.h22 class WriteBatch;
74 virtual Status Write(const WriteOptions& options, WriteBatch* updates) = 0;
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_write_batch.h12 class WriteBatch;
17 // Wrapper around leveldb::WriteBatch.
33 scoped_ptr<leveldb::WriteBatch> write_batch_;
H A Dleveldb_write_batch.cc18 : write_batch_(new leveldb::WriteBatch) {}
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dmetadata_database.h30 class WriteBatch;
354 leveldb::WriteBatch* batch);
355 void MakeTrackerActive(int64 tracker_id, leveldb::WriteBatch* batch);
356 void MakeTrackerInactive(int64 tracker_id, leveldb::WriteBatch* batch);
357 void MakeAppRootDisabled(int64 tracker_id, leveldb::WriteBatch* batch);
358 void MakeAppRootEnabled(int64 tracker_id, leveldb::WriteBatch* batch);
361 leveldb::WriteBatch* batch);
363 leveldb::WriteBatch* batch);
367 leveldb::WriteBatch* batch);
370 leveldb::WriteBatch* batc
[all...]
H A Ddrive_backend_util.h22 class WriteBatch;
29 leveldb::WriteBatch* batch);
30 void PutFileToBatch(const FileMetadata& file, leveldb::WriteBatch* batch);
31 void PutTrackerToBatch(const FileTracker& tracker, leveldb::WriteBatch* batch);
H A Dmetadata_database.cc145 leveldb::WriteBatch* batch) {
149 void PutTrackerDeletionToBatch(int64 tracker_id, leveldb::WriteBatch* batch) {
325 leveldb::WriteBatch* batch) {
338 leveldb::WriteBatch* batch) {
547 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
653 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
671 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
[all...]
H A Ddrive_backend_util.cc30 leveldb::WriteBatch* batch) {
37 void PutFileToBatch(const FileMetadata& file, leveldb::WriteBatch* batch) {
44 void PutTrackerToBatch(const FileTracker& tracker, leveldb::WriteBatch* batch) {
H A Dregister_app_task_unittest.cc121 leveldb::WriteBatch batch;
167 leveldb::WriteBatch batch;
192 leveldb::WriteBatch batch;
H A Dmetadata_db_migration_util.cc141 leveldb::WriteBatch write_batch;
200 leveldb::WriteBatch write_batch;
/external/chromium_org/content/browser/dom_storage/
H A Dsession_storage_database.h24 class WriteBatch;
112 leveldb::WriteBatch* batch);
124 leveldb::WriteBatch* batch);
129 leveldb::WriteBatch* batch);
146 leveldb::WriteBatch* batch);
157 leveldb::WriteBatch* batch);
161 leveldb::WriteBatch* batch);
166 leveldb::WriteBatch* batch);
169 bool ClearMap(const std::string& map_id, leveldb::WriteBatch* batch);
178 leveldb::WriteBatch* batc
[all...]
H A Dsession_storage_database.cc96 leveldb::WriteBatch batch;
157 leveldb::WriteBatch batch;
184 leveldb::WriteBatch batch;
197 leveldb::WriteBatch batch;
370 leveldb::WriteBatch* batch) {
424 leveldb::WriteBatch* batch) {
432 leveldb::WriteBatch* batch) {
483 leveldb::WriteBatch* batch) {
543 leveldb::WriteBatch* batch) {
573 leveldb::WriteBatch* batc
[all...]
/external/chromium_org/webkit/browser/fileapi/
H A Dsandbox_directory_database.h24 class WriteBatch;
114 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch);
115 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch);
H A Dsandbox_directory_database.cc552 leveldb::WriteBatch batch;
569 leveldb::WriteBatch batch;
602 leveldb::WriteBatch batch;
646 leveldb::WriteBatch batch;
834 leveldb::WriteBatch batch;
874 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch) {
900 FileId file_id, leveldb::WriteBatch* batch) {
/external/chromium_org/chrome/browser/value_store/
H A Dleveldb_value_store.h60 // Adds a setting to a WriteBatch, and logs the change in |changes|. For use
65 leveldb::WriteBatch* batch,
69 scoped_ptr<ValueStore::Error> WriteToDb(leveldb::WriteBatch* batch);
H A Dleveldb_value_store.cc178 leveldb::WriteBatch batch;
198 leveldb::WriteBatch batch;
226 leveldb::WriteBatch batch;
323 leveldb::WriteBatch* batch,
351 leveldb::WriteBatch* batch) {
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
H A Ddrive_metadata_store.cc335 leveldb::WriteBatch* batch) {
415 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
451 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
467 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
504 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
517 scoped_ptr<leveldb::WriteBatch> batc
[all...]
H A Ddrive_metadata_store.h30 class WriteBatch;
157 void WriteToDB(scoped_ptr<leveldb::WriteBatch> batch,
/external/chromium_org/third_party/leveldatabase/src/issues/
H A Dissue178_test.cc45 leveldb::WriteBatch batch;
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_change_tracker.cc46 SyncStatusCode WriteBatch(scoped_ptr<leveldb::WriteBatch> batch);
232 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
255 tracker_db_->WriteBatch(batch.Pass());
525 SyncStatusCode LocalFileChangeTracker::TrackerDB::WriteBatch( function in class:sync_file_system::LocalFileChangeTracker::TrackerDB
526 scoped_ptr<leveldb::WriteBatch> batch) {

Completed in 914 milliseconds

12