/external/chromium_org/third_party/leveldatabase/src/util/ |
filter_policy.cc | 1 // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 5 #include "leveldb/filter_policy.h" 7 namespace leveldb { namespace 11 } // namespace leveldb
|
hash.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 13 namespace leveldb { namespace
|
/external/chromium_org/third_party/leveldatabase/ |
env_idb.h | 8 namespace leveldb { namespace
|
env_chromium.h | 1 // Copyright (c) 2013 The LevelDB Authors. All rights reserved. 15 #include "leveldb/env.h" 16 #include "leveldb/slice.h" 17 #include "leveldb/status.h" 50 leveldb::Status MakeIOError(leveldb::Slice filename, 54 leveldb::Status MakeIOError(leveldb::Slice filename, 58 leveldb::Status MakeIOError(leveldb::Slice filename [all...] |
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 8 namespace leveldb { namespace 18 } // namespace leveldb
|
/external/chromium_org/third_party/leveldatabase/src/issues/ |
issue178_test.cc | 1 // Copyright (c) 2013 The LevelDB Authors. All rights reserved. 10 #include "leveldb/db.h" 11 #include "leveldb/write_batch.h" 32 std::string dbpath = leveldb::test::TmpDir() + "/leveldb_cbug_test"; 33 DestroyDB(dbpath, leveldb::Options()); 38 leveldb::DB* db; 39 leveldb::Options db_options; 41 db_options.compression = leveldb::kNoCompression; 42 ASSERT_OK(leveldb::DB::Open(db_options, dbpath, &db)); 45 leveldb::WriteBatch batch [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_format.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 11 namespace leveldb { namespace 33 } // namespace leveldb
|
db_iter.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 9 #include "leveldb/db.h" 12 namespace leveldb { namespace 26 } // namespace leveldb
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
merger.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 8 namespace leveldb { namespace 24 } // namespace leveldb
|
two_level_iterator.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 8 #include "leveldb/iterator.h" 10 namespace leveldb { namespace 32 } // namespace leveldb
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_unittest.cc | 14 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h" 15 #include "content/browser/indexed_db/leveldb/leveldb_database.h" 16 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" 17 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h" 46 scoped_ptr<LevelDBDatabase> leveldb; local 47 LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); 48 EXPECT_TRUE(leveldb); 50 bool success = leveldb->Put(key, &put_value); 52 leveldb.Pass(); 53 EXPECT_FALSE(leveldb); 99 scoped_ptr<LevelDBDatabase> leveldb; local 166 scoped_ptr<LevelDBDatabase> leveldb; local 218 scoped_ptr<LevelDBDatabase> leveldb; local [all...] |
leveldb_write_batch.h | 11 namespace leveldb { namespace 17 // Wrapper around leveldb::WriteBatch. 33 scoped_ptr<leveldb::WriteBatch> write_batch_;
|
leveldb_database.cc | 5 #include "content/browser/indexed_db/leveldb/leveldb_database.h" 18 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h" 19 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" 20 #include "content/browser/indexed_db/leveldb/leveldb_write_batch.h" 24 #include "third_party/leveldatabase/src/include/leveldb/comparator.h" 25 #include "third_party/leveldatabase/src/include/leveldb/db.h" 26 #include "third_party/leveldatabase/src/include/leveldb/env.h" 27 #include "third_party/leveldatabase/src/include/leveldb/slice.h" 49 static leveldb::Slice MakeSlice(const StringPiece& s) { 50 return leveldb::Slice(s.begin(), s.size()) [all...] |
leveldb_database.h | 15 #include "third_party/leveldatabase/src/include/leveldb/status.h" 17 namespace leveldb { namespace 39 leveldb::DB* db_; 40 const leveldb::Snapshot* snapshot_; 50 static leveldb::Status Open(const base::FilePath& file_name, 77 scoped_ptr<leveldb::Env> env_; 78 scoped_ptr<leveldb::Comparator> comparator_adapter_; 79 scoped_ptr<leveldb::DB> db_;
|
leveldb_write_batch.cc | 5 #include "content/browser/indexed_db/leveldb/leveldb_write_batch.h" 8 #include "third_party/leveldatabase/src/include/leveldb/slice.h" 9 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 18 : write_batch_(new leveldb::WriteBatch) {} 22 static leveldb::Slice MakeSlice(const base::StringPiece& s) { 23 return leveldb::Slice(s.begin(), s.size());
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_database_test_helper.h | 19 leveldb::FileType type, 24 leveldb::FileType type);
|
sandbox_directory_database.h | 21 namespace leveldb { namespace 110 void ReportInitStatus(const leveldb::Status& status); 114 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch); 115 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch); 117 const leveldb::Status& status); 120 scoped_ptr<leveldb::DB> db_;
|
sandbox_origin_database.cc | 19 #include "third_party/leveldatabase/src/include/leveldb/db.h" 20 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 78 leveldb::Options options; 81 leveldb::DB* db; 82 leveldb::Status status = leveldb::DB::Open(options, path, &db); 124 leveldb::Options options; 126 if (!leveldb::RepairDB(db_path, options).ok() || 185 const leveldb::Status& status) { 191 void SandboxOriginDatabase::ReportInitStatus(const leveldb::Status& status) [all...] |
/external/chromium_org/content/browser/dom_storage/ |
session_storage_database.h | 17 #include "third_party/leveldatabase/src/include/leveldb/status.h" 21 namespace leveldb { namespace 25 } // namespace leveldb 85 // - leveldb cannot open the database. 90 // opened leveldb::DB instance. 91 leveldb::Status TryToOpen(leveldb::DB** db); 112 leveldb::WriteBatch* batch); 124 leveldb::WriteBatch* batch); 129 leveldb::WriteBatch* batch) [all...] |
session_storage_database.cc | 13 #include "third_party/leveldatabase/src/include/leveldb/db.h" 14 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" 15 #include "third_party/leveldatabase/src/include/leveldb/options.h" 16 #include "third_party/leveldatabase/src/include/leveldb/status.h" 17 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 75 leveldb::ReadOptions options; 96 leveldb::WriteBatch batch; 105 if (!GetMapForArea(namespace_id, origin.spec(), leveldb::ReadOptions(), 131 leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_storage.cc | 16 #include "third_party/leveldatabase/src/include/leveldb/db.h" 17 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 69 bool IsChildEntryKey(const leveldb::Slice& key) { 82 bool IsCacheEntryKey(const leveldb::Slice& key) { 84 const leveldb::Slice expected_suffix(kCacheEntryKeySuffix, 90 const leveldb::Slice key_substring( 96 std::string GetIdFromCacheEntryKey(const leveldb::Slice& key) { 115 bool IsIdEntryKey(const leveldb::Slice& key) { 118 const leveldb::Slice expected_prefix(kIdEntryKeyPrefix, 122 const leveldb::Slice key_substring(key.data() + 1, expected_prefix.size()) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
metadata_database.h | 28 namespace leveldb { namespace 52 // MetadataDatabase holds and maintains a LevelDB instance and its indexes, 346 scoped_ptr<leveldb::DB> db, 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) [all...] |
metadata_db_migration_util.h | 12 #include "third_party/leveldatabase/src/include/leveldb/db.h" 56 SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db); 59 SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db);
|
drive_backend_util.h | 21 namespace leveldb { namespace 29 leveldb::WriteBatch* batch); 30 void PutFileToBatch(const FileMetadata& file, leveldb::WriteBatch* batch); 31 void PutTrackerToBatch(const FileTracker& tracker, leveldb::WriteBatch* batch);
|
/external/chromium_org/chrome/browser/value_store/ |
leveldb_value_store.cc | 16 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" 17 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 26 // Scoped leveldb snapshot which releases the snapshot on destruction. 29 explicit ScopedSnapshot(leveldb::DB* db) 36 const leveldb::Snapshot* get() { 41 leveldb::DB* db_; 42 const leveldb::Snapshot* snapshot_; 95 scoped_ptr<Error> error = ReadFromDb(leveldb::ReadOptions(), key, &setting); 113 leveldb::ReadOptions options; 141 leveldb::ReadOptions options = leveldb::ReadOptions() [all...] |