HomeSort by relevance Sort by last modified time
    Searched refs:WriteBatch (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/third_party/leveldatabase/src/db/
write_batch_internal.h 15 // 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* batch, MemTable* memtable)
    [all...]
write_batch.cc 5 // WriteBatch::rep_ :=
26 // WriteBatch header has an 8-byte sequence number followed by a 4-byte count.
29 WriteBatch::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 (too small)")
    [all...]
write_batch_test.cc 15 static std::string PrintContents(WriteBatch* b) {
58 WriteBatch batch;
64 WriteBatch batch;
78 WriteBatch batch;
91 WriteBatch b1, b2;
db_impl.h 34 virtual Status Write(const WriteOptions& options, WriteBatch* updates);
97 WriteBatch* BuildBatchGroup(Writer** last_writer);
141 WriteBatch* tmp_batch_;
leveldb_main.cc 67 // 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)
db_impl.cc 43 WriteBatch* batch;
133 tmp_batch_(new WriteBatch),
401 WriteBatch batch;
    [all...]
c.cc 41 using leveldb::WriteBatch;
48 struct leveldb_writebatch_t { WriteBatch rep; };
367 class H : public WriteBatch::Handler {
corruption_test.cc 74 WriteBatch batch;
197 Corrupt(kLogFile, 19, 1); // WriteBatch tag for first record
218 WriteBatch batch;
  /external/chromium_org/third_party/leveldatabase/src/include/leveldb/
write_batch.h 5 // 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 {
33 WriteBatch();
34 ~WriteBatch();
db.h 22 class WriteBatch;
74 virtual Status Write(const WriteOptions& options, WriteBatch* updates) = 0;
  /external/chromium_org/content/browser/indexed_db/leveldb/
leveldb_write_batch.h 12 class WriteBatch;
17 // Wrapper around leveldb::WriteBatch.
33 scoped_ptr<leveldb::WriteBatch> write_batch_;
leveldb_write_batch.cc 18 : write_batch_(new leveldb::WriteBatch) {}
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
metadata_database.h 28 class WriteBatch;
211 leveldb::WriteBatch* batch);
212 void MakeTrackerActive(int64 tracker_id, leveldb::WriteBatch* batch);
213 void MakeTrackerInactive(int64 tracker_id, leveldb::WriteBatch* batch);
216 leveldb::WriteBatch* batch);
218 leveldb::WriteBatch* batch);
222 leveldb::WriteBatch* batch);
224 leveldb::WriteBatch* batch);
226 leveldb::WriteBatch* batch);
229 leveldb::WriteBatch* batch)
    [all...]
metadata_database.cc 127 leveldb::WriteBatch* batch) {
134 void PutFileToBatch(const FileMetadata& file, leveldb::WriteBatch* batch) {
141 void PutTrackerToBatch(const FileTracker& tracker, leveldb::WriteBatch* batch) {
150 leveldb::WriteBatch* batch) {
154 void PutTrackerDeletionToBatch(int64 tracker_id, leveldb::WriteBatch* batch) {
327 leveldb::WriteBatch* batch) {
341 leveldb::WriteBatch* batch) {
522 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
540 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch)
    [all...]
drive_metadata_store.cc 336 leveldb::WriteBatch* batch) {
419 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
455 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
473 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
512 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch);
525 scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch)
    [all...]
drive_metadata_store.h 30 class WriteBatch;
157 void WriteToDB(scoped_ptr<leveldb::WriteBatch> batch,
metadata_db_migration_util.cc 141 leveldb::WriteBatch write_batch;
200 leveldb::WriteBatch write_batch;
metadata_db_migration_util_unittest.cc 120 leveldb::WriteBatch batch;
229 leveldb::WriteBatch batch;
  /external/chromium_org/content/browser/dom_storage/
session_storage_database.h 24 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* batch)
    [all...]
session_storage_database.cc 96 leveldb::WriteBatch batch;
157 leveldb::WriteBatch batch;
184 leveldb::WriteBatch batch;
197 leveldb::WriteBatch batch;
371 leveldb::WriteBatch* batch) {
425 leveldb::WriteBatch* batch) {
433 leveldb::WriteBatch* batch) {
484 leveldb::WriteBatch* batch) {
544 leveldb::WriteBatch* batch) {
574 leveldb::WriteBatch* batch)
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
sandbox_directory_database.h 23 class WriteBatch;
112 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch);
113 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch);
sandbox_directory_database.cc 550 leveldb::WriteBatch batch;
567 leveldb::WriteBatch batch;
600 leveldb::WriteBatch batch;
644 leveldb::WriteBatch batch;
821 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/
leveldb_value_store.h 64 // Adds a setting to a WriteBatch, and logs the change in |changes|. For use
70 leveldb::WriteBatch* batch,
75 std::string WriteToDb(leveldb::WriteBatch* batch);
leveldb_value_store.cc 214 leveldb::WriteBatch batch;
234 leveldb::WriteBatch batch;
265 leveldb::WriteBatch batch;
300 leveldb::WriteBatch batch;
395 leveldb::WriteBatch* batch,
417 std::string LeveldbValueStore::WriteToDb(leveldb::WriteBatch* batch) {
  /external/chromium_org/third_party/leveldatabase/src/issues/
issue178_test.cc 45 leveldb::WriteBatch batch;

Completed in 387 milliseconds

1 2