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

1 2 3 4 5 6 7

  /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.
14 #include "leveldb/env.h"
15 #include "leveldb/slice.h"
16 #include "leveldb/status.h"
46 leveldb::Status MakeIOError(leveldb::Slice filename,
50 leveldb::Status MakeIOError(leveldb::Slice filename,
54 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
24 } // 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"
44 scoped_ptr<LevelDBDatabase> leveldb; local
45 LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb);
46 EXPECT_TRUE(leveldb);
48 bool success = leveldb->Put(key, &put_value);
50 leveldb.Pass();
51 EXPECT_FALSE(leveldb);
97 scoped_ptr<LevelDBDatabase> leveldb; local
164 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.h 16 #include "third_party/leveldatabase/src/include/leveldb/status.h"
18 namespace leveldb { namespace
40 leveldb::DB* db_;
41 const leveldb::Snapshot* snapshot_;
46 static leveldb::Status Open(const base::FilePath& file_name,
71 scoped_ptr<leveldb::Env> env_;
72 scoped_ptr<leveldb::Comparator> comparator_adapter_;
73 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());
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"
33 static leveldb::Slice MakeSlice(const StringPiece& s) {
34 return leveldb::Slice(s.begin(), s.size())
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
sandbox_database_test_helper.h 19 leveldb::FileType type,
24 leveldb::FileType type);
sandbox_directory_database.h 20 namespace leveldb { namespace
107 void ReportInitStatus(const leveldb::Status& status);
112 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch);
113 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch);
115 const leveldb::Status& status);
118 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/chrome/browser/chromeos/drive/
file_cache_metadata.cc 15 #include "third_party/leveldatabase/src/include/leveldb/db.h"
32 FileCacheMetadata::Iterator::Iterator(scoped_ptr<leveldb::Iterator> it)
100 leveldb::DB* level_db = NULL;
101 leveldb::Options options;
104 leveldb::Status db_status = leveldb::DB::Open(options, db_path.AsUTF8Unsafe(),
116 db_status = leveldb::DB::Open(options, db_path.value(), &level_db);
144 level_db_->Put(leveldb::WriteOptions(),
145 leveldb::Slice(resource_id),
146 leveldb::Slice(serialized))
    [all...]
resource_metadata_storage.cc 15 #include "third_party/leveldatabase/src/include/leveldb/db.h"
16 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
55 bool IsChildEntryKey(const leveldb::Slice& key) {
68 bool IsCacheEntryKey(const leveldb::Slice& key) {
70 const leveldb::Slice expected_suffix(kCacheEntryKeySuffix,
76 const leveldb::Slice key_substring(
81 // Converts leveldb::Status to DBInitStatus.
82 DBInitStatus LevelDBStatusToDBInitStatus(const leveldb::Status status) {
96 ResourceMetadataStorage::Iterator::Iterator(scoped_ptr<leveldb::Iterator> it)
104 it_->Seek(leveldb::Slice(GetHeaderDBKey()))
    [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/sync_file_system/drive_backend/
metadata_database.h 26 namespace leveldb { namespace
45 // MetadataDatabase holds and maintains a LevelDB instance and its indexes,
203 scoped_ptr<leveldb::DB> db,
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)
    [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);
  /external/chromium_org/chrome/browser/sync_file_system/
sync_status_code.h 12 namespace leveldb { namespace
66 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status);

Completed in 561 milliseconds

1 2 3 4 5 6 7