/external/chromium_org/third_party/leveldatabase/src/db/ |
builder.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 8 #include "leveldb/status.h" 10 namespace leveldb { namespace 32 } // namespace leveldb
|
log_writer.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 10 #include "leveldb/slice.h" 11 #include "leveldb/status.h" 13 namespace leveldb { namespace 46 } // namespace leveldb
|
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
comparator.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 10 namespace leveldb { namespace 16 // must be thread-safe since leveldb may invoke its methods concurrently 36 // Names starting with "leveldb." are reserved and should not be used 61 } // namespace leveldb
|
filter_policy.h | 1 // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 7 // of keys. These filters are stored in leveldb and are consulted 8 // automatically by leveldb to decide whether or not to read some 21 namespace leveldb { namespace
|
write_batch.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 25 #include "leveldb/status.h" 27 namespace leveldb { namespace 62 } // namespace leveldb
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
histogram.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 10 namespace leveldb { namespace 40 } // namespace leveldb
|
mutexlock.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 11 namespace leveldb { namespace 38 } // namespace leveldb
|
options.cc | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 5 #include "leveldb/options.h" 7 #include "leveldb/comparator.h" 8 #include "leveldb/env.h" 10 namespace leveldb { namespace 29 } // namespace leveldb
|
testharness.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 11 #include "leveldb/env.h" 12 #include "leveldb/slice.h" 15 namespace leveldb { namespace 105 #define ASSERT_TRUE(c) ::leveldb::test::Tester(__FILE__, __LINE__).Is((c), #c) 106 #define ASSERT_OK(s) ::leveldb::test::Tester(__FILE__, __LINE__).IsOk((s)) 107 #define ASSERT_EQ(a,b) ::leveldb::test::Tester(__FILE__, __LINE__).IsEq((a),(b)) 108 #define ASSERT_NE(a,b) ::leveldb::test::Tester(__FILE__, __LINE__).IsNe((a),(b)) 109 #define ASSERT_GE(a,b) ::leveldb::test::Tester(__FILE__, __LINE__).IsGe((a),(b)) 110 #define ASSERT_GT(a,b) ::leveldb::test::Tester(__FILE__, __LINE__).IsGt((a),(b) [all...] |
logging.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 16 namespace leveldb { namespace 45 } // namespace leveldb
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_origin_database.h | 15 namespace leveldb { namespace 62 const leveldb::Status& status); 63 void ReportInitStatus(const leveldb::Status& status); 67 scoped_ptr<leveldb::DB> db_;
|
sandbox_database_test_helper.cc | 20 leveldb::FileType type, 31 leveldb::FileType file_type; 32 EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()), 83 leveldb::FileType type) { 89 leveldb::FileType file_type; 90 EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()),
|
sandbox_directory_database.cc | 19 #include "third_party/leveldatabase/src/include/leveldb/db.h" 20 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 141 leveldb::DB* db, 159 leveldb::DB* db_; 174 leveldb::DB* db, 187 scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); 198 scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); 251 // leveldb::Iterator iterates a snapshot of the database [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
register_app_task_unittest.cc | 24 #include "third_party/leveldatabase/src/include/leveldb/db.h" 25 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 88 scoped_ptr<leveldb::DB> OpenLevelDB() { 89 leveldb::DB* db = NULL; 90 leveldb::Options options; 92 leveldb::Status status = 93 leveldb::DB::Open(options, database_dir_.path().AsUTF8Unsafe(), &db); 95 return make_scoped_ptr<leveldb::DB>(db); 98 void SetUpInitialData(leveldb::DB* db) { 121 leveldb::WriteBatch batch [all...] |
metadata_db_migration_util_unittest.cc | 13 #include "third_party/leveldatabase/src/include/leveldb/db.h" 14 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 111 leveldb::Options options; 114 leveldb::DB* db_ptr = NULL; 117 leveldb::Status status = leveldb::DB::Open(options, db_dir, &db_ptr); 119 scoped_ptr<leveldb::DB> db(db_ptr); 123 leveldb::WriteBatch batch; 146 status = db->Write(leveldb::WriteOptions(), &batch); 152 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())) [all...] |
metadata_db_migration_util.cc | 10 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 97 SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db) { 141 leveldb::WriteBatch write_batch; 144 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); 164 db->Write(leveldb::WriteOptions(), &write_batch)); 167 SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db) { 200 leveldb::WriteBatch write_batch; 203 scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())) [all...] |
/external/chromium_org/chrome/browser/value_store/ |
leveldb_value_store.h | 15 #include "third_party/leveldatabase/src/include/leveldb/db.h" 17 // Value store area, backed by a leveldb database. 55 leveldb::ReadOptions options, 65 leveldb::WriteBatch* batch, 69 scoped_ptr<ValueStore::Error> WriteToDb(leveldb::WriteBatch* batch); 71 // Converts an error leveldb::Status to a ValueStore::Error. Returns a 74 const leveldb::Status& status, 84 // The location of the leveldb backend. 87 // leveldb backend. 88 scoped_ptr<leveldb::DB> db_ [all...] |
/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_database.cc | 14 #include "third_party/leveldatabase/src/include/leveldb/db.h" 15 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" 16 #include "third_party/leveldatabase/src/include/leveldb/options.h" 17 #include "third_party/leveldatabase/src/include/leveldb/slice.h" 18 #include "third_party/leveldatabase/src/include/leveldb/status.h" 19 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 26 DomDistillerDatabase::LevelDB::LevelDB() {} 28 DomDistillerDatabase::LevelDB::~LevelDB() { [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_storage.h | 22 namespace leveldb { namespace 45 explicit Iterator(scoped_ptr<leveldb::Iterator> it); 69 scoped_ptr<leveldb::Iterator> it_; 77 explicit CacheEntryIterator(scoped_ptr<leveldb::Iterator> it); 101 scoped_ptr<leveldb::Iterator> it_; 210 scoped_ptr<leveldb::DB> resource_map_;
|
/external/chromium_org/chrome/browser/chromeos/contacts/ |
contact_database.cc | 15 #include "third_party/leveldatabase/src/include/leveldb/db.h" 16 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" 17 #include "third_party/leveldatabase/src/include/leveldb/options.h" 18 #include "third_party/leveldatabase/src/include/leveldb/slice.h" 19 #include "third_party/leveldatabase/src/include/leveldb/status.h" 20 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 52 // LevelDB key used for storing UpdateMetadata messages. 182 leveldb::Options options; 188 leveldb::DB* db = NULL; 189 leveldb::Status status [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
sync_status_code.h | 12 namespace leveldb { namespace 68 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status);
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
block.h | 1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 10 #include "leveldb/iterator.h" 12 namespace leveldb { namespace 42 } // namespace leveldb
|
/external/chromium_org/google_apis/gcm/engine/ |
rmq_store.cc | 22 #include "third_party/leveldatabase/src/include/leveldb/db.h" 28 // ---- LevelDB keys. ---- 58 leveldb::Slice MakeSlice(const base::StringPiece& s) { 59 return leveldb::Slice(s.begin(), s.size()); 97 scoped_ptr<leveldb::DB> db_; 113 leveldb::Options options; 115 leveldb::DB* db; 116 leveldb::Status status = leveldb::DB::Open(options, 155 const leveldb::Status s [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
database.h | 20 #include "third_party/leveldatabase/src/include/leveldb/db.h" 37 // multiple leveldb::DB objects. All methods must be called from a background 41 // Different schemas are used for the different leveldb::DB's based off of the 43 // The following specifies the schema of each type of leveldb::DB. Delimiters 259 scoped_ptr<leveldb::DB> SafelyOpenDatabase( 260 const leveldb::Options& options, 299 scoped_ptr<leveldb::DB> recent_db_; 301 scoped_ptr<leveldb::DB> max_value_db_; 303 scoped_ptr<leveldb::DB> state_db_; 305 scoped_ptr<leveldb::DB> active_interval_db_ [all...] |
database.cc | 20 #include "third_party/leveldatabase/src/include/leveldb/db.h" 21 #include "third_party/leveldatabase/src/include/leveldb/iterator.h" 22 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 109 leveldb::Status insert_status = state_db_->Put(write_options_, key, value); 126 leveldb::Status status = event_db_->Put(write_options_, key, value); 136 scoped_ptr<leveldb::Iterator> it(active_interval_db_->NewIterator( 169 leveldb::WriteBatch invalid_entries; 170 scoped_ptr<leveldb::Iterator> it(event_db_->NewIterator(read_options_)); 202 scoped_ptr<leveldb::Iterator> it(event_db_->NewIterator(read_options_)); 235 leveldb::Status recent_status [all...] |