leveldb 69 chrome/browser/chromeos/drive/resource_metadata_storage.cc bool IsChildEntryKey(const leveldb::Slice& key) { leveldb 82 chrome/browser/chromeos/drive/resource_metadata_storage.cc bool IsCacheEntryKey(const leveldb::Slice& key) { leveldb 84 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Slice expected_suffix(kCacheEntryKeySuffix, leveldb 90 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Slice key_substring( leveldb 96 chrome/browser/chromeos/drive/resource_metadata_storage.cc std::string GetIdFromCacheEntryKey(const leveldb::Slice& key) { leveldb 115 chrome/browser/chromeos/drive/resource_metadata_storage.cc bool IsIdEntryKey(const leveldb::Slice& key) { leveldb 118 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Slice expected_prefix(kIdEntryKeyPrefix, leveldb 122 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Slice key_substring(key.data() + 1, expected_prefix.size()); leveldb 129 chrome/browser/chromeos/drive/resource_metadata_storage.cc DBInitStatus LevelDBStatusToDBInitStatus(const leveldb::Status status) { leveldb 153 chrome/browser/chromeos/drive/resource_metadata_storage.cc ResourceMetadataStorage::Iterator::Iterator(scoped_ptr<leveldb::Iterator> it) leveldb 161 chrome/browser/chromeos/drive/resource_metadata_storage.cc it_->Seek(leveldb::Slice(GetHeaderDBKey())); leveldb 193 chrome/browser/chromeos/drive/resource_metadata_storage.cc it_->Seek(leveldb::Slice(cache_entry_key)); leveldb 200 chrome/browser/chromeos/drive/resource_metadata_storage.cc it_->Seek(leveldb::Slice(current_key)); leveldb 226 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it) : it_(it.Pass()) { leveldb 307 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::DB* db = NULL; leveldb 308 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Options options; leveldb 311 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!leveldb::DB::Open(options, resource_map_path.AsUTF8Unsafe(), &db).ok()) leveldb 313 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::DB> resource_map(db); leveldb 318 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!resource_map->Get(leveldb::ReadOptions(), leveldb 319 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetHeaderDBKey()), leveldb 331 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions options; leveldb 333 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it(resource_map->NewIterator(options)); leveldb 335 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteBatch batch; leveldb 362 chrome/browser/chromeos/drive/resource_metadata_storage.cc return resource_map->Write(leveldb::WriteOptions(), &batch).ok(); leveldb 364 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions options; leveldb 366 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it(resource_map->NewIterator(options)); leveldb 368 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteBatch batch; leveldb 382 chrome/browser/chromeos/drive/resource_metadata_storage.cc return resource_map->Write(leveldb::WriteOptions(), &batch).ok(); leveldb 424 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::DB* db = NULL; leveldb 425 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Options options; leveldb 430 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Status status; leveldb 432 chrome/browser/chromeos/drive/resource_metadata_storage.cc status = leveldb::DB::Open(options, resource_map_path.AsUTF8Unsafe(), &db); leveldb 480 chrome/browser/chromeos/drive/resource_metadata_storage.cc status = leveldb::DB::Open(options, resource_map_path.AsUTF8Unsafe(), &db); leveldb 513 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Options options; leveldb 518 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Status status; leveldb 519 chrome/browser/chromeos/drive/resource_metadata_storage.cc status = leveldb::RepairDB(trashed_resource_map_path.AsUTF8Unsafe(), options); leveldb 526 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::DB* db = NULL; leveldb 527 chrome/browser/chromeos/drive/resource_metadata_storage.cc status = leveldb::DB::Open(options, trashed_resource_map_path.AsUTF8Unsafe(), leveldb 533 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::DB> resource_map(db); leveldb 538 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!resource_map->Get(leveldb::ReadOptions(), leveldb 539 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetHeaderDBKey()), leveldb 548 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it( leveldb 549 chrome/browser/chromeos/drive/resource_metadata_storage.cc resource_map->NewIterator(leveldb::ReadOptions())); leveldb 562 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (resource_map->Get(leveldb::ReadOptions(), leveldb 563 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(id), leveldb 603 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Status status = resource_map_->Get(leveldb::ReadOptions(), leveldb 604 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(id), leveldb 614 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteBatch batch; leveldb 643 chrome/browser/chromeos/drive/resource_metadata_storage.cc status = resource_map_->Write(leveldb::WriteOptions(), &batch); leveldb 653 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Get(leveldb::ReadOptions(), leveldb 654 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(id), leveldb 667 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteBatch batch; leveldb 680 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Write(leveldb::WriteOptions(), leveldb 689 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it( leveldb 690 chrome/browser/chromeos/drive/resource_metadata_storage.cc resource_map_->NewIterator(leveldb::ReadOptions())); leveldb 701 chrome/browser/chromeos/drive/resource_metadata_storage.cc resource_map_->Get(leveldb::ReadOptions(), leveldb 702 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetChildEntryKey(parent_id, child_name)), leveldb 713 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it( leveldb 714 chrome/browser/chromeos/drive/resource_metadata_storage.cc resource_map_->NewIterator(leveldb::ReadOptions())); leveldb 716 chrome/browser/chromeos/drive/resource_metadata_storage.cc it->Valid() && it->key().starts_with(leveldb::Slice(parent_id)); leveldb 735 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Put( leveldb 736 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteOptions(), leveldb 737 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetCacheEntryKey(id)), leveldb 738 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(serialized_entry)); leveldb 748 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Get( leveldb 749 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions(), leveldb 750 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetCacheEntryKey(id)), leveldb 759 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Delete( leveldb 760 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteOptions(), leveldb 761 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetCacheEntryKey(id))); leveldb 769 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it( leveldb 770 chrome/browser/chromeos/drive/resource_metadata_storage.cc resource_map_->NewIterator(leveldb::ReadOptions())); leveldb 785 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Get( leveldb 786 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions(), leveldb 787 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetIdEntryKey(resource_id)), leveldb 824 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Put( leveldb 825 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::WriteOptions(), leveldb 826 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetHeaderDBKey()), leveldb 827 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(serialized_header)); leveldb 835 chrome/browser/chromeos/drive/resource_metadata_storage.cc const leveldb::Status status = resource_map_->Get( leveldb 836 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions(), leveldb 837 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetHeaderDBKey()), leveldb 846 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::ReadOptions options; leveldb 849 chrome/browser/chromeos/drive/resource_metadata_storage.cc scoped_ptr<leveldb::Iterator> it(resource_map_->NewIterator(options)); leveldb 898 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Status status = resource_map_->Get( leveldb 907 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetIdEntryKey(entry.resource_id())) == it->key(); leveldb 923 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Status status = resource_map_->Get( leveldb 925 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(entry.parent_local_id()), leveldb 935 chrome/browser/chromeos/drive/resource_metadata_storage.cc leveldb::Slice(GetChildEntryKey(entry.parent_local_id(), leveldb 938 chrome/browser/chromeos/drive/resource_metadata_storage.cc if (!status.ok() || leveldb::Slice(child_id) != it->key()) { leveldb 22 chrome/browser/chromeos/drive/resource_metadata_storage.h namespace leveldb { leveldb 45 chrome/browser/chromeos/drive/resource_metadata_storage.h explicit Iterator(scoped_ptr<leveldb::Iterator> it); leveldb 69 chrome/browser/chromeos/drive/resource_metadata_storage.h scoped_ptr<leveldb::Iterator> it_; leveldb 77 chrome/browser/chromeos/drive/resource_metadata_storage.h explicit CacheEntryIterator(scoped_ptr<leveldb::Iterator> it); leveldb 101 chrome/browser/chromeos/drive/resource_metadata_storage.h scoped_ptr<leveldb::Iterator> it_; leveldb 210 chrome/browser/chromeos/drive/resource_metadata_storage.h scoped_ptr<leveldb::DB> resource_map_; leveldb 44 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::DB* resource_map() { return storage_->resource_map_.get(); } leveldb 51 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::WriteOptions(), leveldb 60 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::WriteOptions(), leveldb 372 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::WriteBatch batch; leveldb 385 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(resource_map()->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 414 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc leveldb::WriteBatch batch; leveldb 429 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(resource_map()->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 109 chrome/browser/performance_monitor/database.cc leveldb::Status insert_status = state_db_->Put(write_options_, key, value); leveldb 126 chrome/browser/performance_monitor/database.cc leveldb::Status status = event_db_->Put(write_options_, key, value); leveldb 136 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(active_interval_db_->NewIterator( leveldb 169 chrome/browser/performance_monitor/database.cc leveldb::WriteBatch invalid_entries; leveldb 170 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(event_db_->NewIterator(read_options_)); leveldb 202 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(event_db_->NewIterator(read_options_)); leveldb 235 chrome/browser/performance_monitor/database.cc leveldb::Status recent_status = leveldb 237 chrome/browser/performance_monitor/database.cc leveldb::Status metric_status = leveldb 272 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> recent_it( leveldb 293 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> metric_it( leveldb 318 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(recent_db_->NewIterator(read_options_)); leveldb 349 chrome/browser/performance_monitor/database.cc leveldb::Status status = recent_db_->Get(read_options_, recent_key, &result); leveldb 368 chrome/browser/performance_monitor/database.cc leveldb::WriteBatch invalid_entries; leveldb 369 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(metric_db_->NewIterator(read_options_)); leveldb 402 chrome/browser/performance_monitor/database.cc leveldb::WriteBatch invalid_entries; leveldb 403 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(metric_db_->NewIterator(read_options_)); leveldb 430 chrome/browser/performance_monitor/database.cc read_options_(leveldb::ReadOptions()), leveldb 431 chrome/browser/performance_monitor/database.cc write_options_(leveldb::WriteOptions()), leveldb 446 chrome/browser/performance_monitor/database.cc leveldb::Options open_options; leveldb 473 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::DB> Database::SafelyOpenDatabase( leveldb 474 chrome/browser/performance_monitor/database.cc const leveldb::Options& options, leveldb 483 chrome/browser/performance_monitor/database.cc leveldb::DB* database; leveldb 484 chrome/browser/performance_monitor/database.cc leveldb::Status status = leveldb::DB::Open(options, name, &database); leveldb 487 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(database); leveldb 493 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(); leveldb 500 chrome/browser/performance_monitor/database.cc status = leveldb::DB::Open(options, name, &database); leveldb 504 chrome/browser/performance_monitor/database.cc status = leveldb::RepairDB(name, options); leveldb 508 chrome/browser/performance_monitor/database.cc status = leveldb::DB::Open(options, name, &database); leveldb 510 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(database); leveldb 516 chrome/browser/performance_monitor/database.cc status = leveldb::DestroyDB(name, options); leveldb 519 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(); leveldb 524 chrome/browser/performance_monitor/database.cc leveldb::Options create_options(options); leveldb 526 chrome/browser/performance_monitor/database.cc status = leveldb::DB::Open(create_options, name, &database); leveldb 528 chrome/browser/performance_monitor/database.cc status = leveldb::DB::Open(options, name, &database); leveldb 532 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(database); leveldb 535 chrome/browser/performance_monitor/database.cc return scoped_ptr<leveldb::DB>(); leveldb 553 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(recent_db_->NewIterator(read_options_)); leveldb 565 chrome/browser/performance_monitor/database.cc scoped_ptr<leveldb::Iterator> it(max_value_db_->NewIterator(read_options_)); leveldb 259 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> SafelyOpenDatabase( leveldb 260 chrome/browser/performance_monitor/database.h const leveldb::Options& options, leveldb 299 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> recent_db_; leveldb 301 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> max_value_db_; leveldb 303 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> state_db_; leveldb 305 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> active_interval_db_; leveldb 307 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> metric_db_; leveldb 309 chrome/browser/performance_monitor/database.h scoped_ptr<leveldb::DB> event_db_; leveldb 311 chrome/browser/performance_monitor/database.h leveldb::ReadOptions read_options_; leveldb 312 chrome/browser/performance_monitor/database.h leveldb::WriteOptions write_options_; leveldb 45 chrome/browser/performance_monitor/database_unittest.cc leveldb::Status status = leveldb 56 chrome/browser/performance_monitor/database_unittest.cc leveldb::Status status = leveldb 70 chrome/browser/performance_monitor/database_unittest.cc size_t GetNumberOfEntries(leveldb::DB* level_db) { leveldb 72 chrome/browser/performance_monitor/database_unittest.cc scoped_ptr<leveldb::Iterator> iter( leveldb 57 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 268 chrome/browser/sync_file_system/drive_backend/conflict_resolver_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 53 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 483 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 25 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc leveldb::WriteBatch* batch) { leveldb 33 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc leveldb::WriteBatch* batch) { leveldb 44 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc leveldb::WriteBatch* batch) { leveldb 56 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc leveldb::WriteBatch* batch) { leveldb 62 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc leveldb::WriteBatch* batch) { leveldb 23 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h namespace leveldb { leveldb 31 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h leveldb::WriteBatch* batch); leveldb 33 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h leveldb::WriteBatch* batch); leveldb 35 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h leveldb::WriteBatch* batch); leveldb 38 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h leveldb::WriteBatch* batch); leveldb 40 chrome/browser/sync_file_system/drive_backend/drive_backend_util.h leveldb::WriteBatch* batch); leveldb 43 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 192 chrome/browser/sync_file_system/drive_backend/list_changes_task_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 57 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 239 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 109 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const leveldb::Status& status) { leveldb 120 chrome/browser/sync_file_system/drive_backend/metadata_database.cc bool IsDatabaseEmpty(leveldb::DB* db) { leveldb 122 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 128 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Env* env_override, leveldb 129 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::DB>* db_out, leveldb 135 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Options options; leveldb 140 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::DB* db = NULL; leveldb 141 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Status db_status = leveldb 142 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::DB::Open(options, path.AsUTF8Unsafe(), &db); leveldb 154 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode MigrateDatabaseIfNeeded(leveldb::DB* db) { leveldb 158 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Status status = leveldb 159 chrome/browser/sync_file_system/drive_backend/metadata_database.cc db->Get(leveldb::ReadOptions(), kDatabaseVersionKey, &value); leveldb 197 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode WriteVersionInfo(leveldb::DB* db) { leveldb 201 chrome/browser/sync_file_system/drive_backend/metadata_database.cc db->Put(leveldb::WriteOptions(), leveldb 206 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode ReadDatabaseContents(leveldb::DB* db, leveldb 212 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 266 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 280 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 369 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 385 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 395 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 402 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 421 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 537 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 561 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 584 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 618 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Env* env_override, leveldb 629 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::DB> db, leveldb 693 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 752 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 782 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 811 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 831 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 997 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1020 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1034 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1050 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1062 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1081 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1150 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1173 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1290 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 1426 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Env* env_override) leveldb 1440 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::Env* env_override, leveldb 1481 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch batch; leveldb 1491 chrome/browser/sync_file_system/drive_backend/metadata_database.cc db_->Write(leveldb::WriteOptions(), &batch)); leveldb 1508 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1518 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1531 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1556 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1599 chrome/browser/sync_file_system/drive_backend/metadata_database.cc int64 MetadataDatabase::IncrementTrackerID(leveldb::WriteBatch* batch) { leveldb 1690 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1711 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1736 chrome/browser/sync_file_system/drive_backend/metadata_database.cc void MetadataDatabase::WriteToDatabase(scoped_ptr<leveldb::WriteBatch> batch, leveldb 1746 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::Bind(&leveldb::DB::Write, leveldb 1748 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteOptions(), leveldb 1916 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 1935 chrome/browser/sync_file_system/drive_backend/metadata_database.cc leveldb::WriteBatch* batch) { leveldb 30 chrome/browser/sync_file_system/drive_backend/metadata_database.h namespace leveldb { leveldb 146 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::Env* env_override, leveldb 149 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<leveldb::DB> db, leveldb 360 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::Env* env_override); leveldb 364 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::Env* env_override, leveldb 372 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 376 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 380 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 385 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 389 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 391 chrome/browser/sync_file_system/drive_backend/metadata_database.h int64 IncrementTrackerID(leveldb::WriteBatch* batch); leveldb 402 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 406 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 408 chrome/browser/sync_file_system/drive_backend/metadata_database.h void WriteToDatabase(scoped_ptr<leveldb::WriteBatch> batch, leveldb 417 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 419 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 424 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::WriteBatch* batch); leveldb 428 chrome/browser/sync_file_system/drive_backend/metadata_database.h leveldb::Env* env_override_; leveldb 429 chrome/browser/sync_file_system/drive_backend/metadata_database.h scoped_ptr<leveldb::DB> db_; leveldb 178 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 215 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<leveldb::DB> db = InitializeLevelDB(); leveldb 253 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<leveldb::DB> InitializeLevelDB() { leveldb 254 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::DB* db = NULL; leveldb 255 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::Options options; leveldb 259 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::Status status = leveldb 260 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::DB::Open(options, database_dir_.path().AsUTF8Unsafe(), &db); leveldb 263 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc db->Put(leveldb::WriteOptions(), leveldb 271 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc void SetUpServiceMetadata(leveldb::DB* db) { leveldb 276 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::WriteBatch batch; leveldb 278 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(db->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 448 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::Status PutFileToDB(leveldb::DB* db, const FileMetadata& file) { leveldb 449 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::WriteBatch batch; leveldb 451 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return db->Write(leveldb::WriteOptions(), &batch); leveldb 454 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::Status PutTrackerToDB(leveldb::DB* db, leveldb 456 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc leveldb::WriteBatch batch; leveldb 458 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc return db->Write(leveldb::WriteOptions(), &batch); leveldb 625 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 743 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<leveldb::DB> db = InitializeLevelDB(); leveldb 796 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc scoped_ptr<leveldb::DB> db = InitializeLevelDB(); leveldb 97 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db) { leveldb 141 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc leveldb::WriteBatch write_batch; leveldb 144 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 164 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc db->Write(leveldb::WriteOptions(), &write_batch)); leveldb 167 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db) { leveldb 200 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc leveldb::WriteBatch write_batch; leveldb 203 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 247 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.cc db->Write(leveldb::WriteOptions(), &write_batch)); leveldb 56 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db); leveldb 59 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db); leveldb 111 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::Options options; leveldb 114 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::DB* db_ptr = NULL; leveldb 117 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::Status status = leveldb::DB::Open(options, db_dir, &db_ptr); leveldb 119 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc scoped_ptr<leveldb::DB> db(db_ptr); leveldb 123 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::WriteBatch batch; leveldb 146 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc status = db->Write(leveldb::WriteOptions(), &batch); leveldb 152 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 221 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::Options options; leveldb 223 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::DB* db_ptr = NULL; leveldb 226 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::Status status = leveldb::DB::Open(options, db_dir, &db_ptr); leveldb 228 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc scoped_ptr<leveldb::DB> db(db_ptr); leveldb 232 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc leveldb::WriteBatch batch; leveldb 257 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc status = db->Write(leveldb::WriteOptions(), &batch); leveldb 265 chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 47 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 75 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::DB> OpenLevelDB() { leveldb 76 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::DB* db = NULL; leveldb 77 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::Options options; leveldb 80 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::Status status = leveldb 81 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::DB::Open(options, database_dir_.path().AsUTF8Unsafe(), &db); leveldb 83 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc return make_scoped_ptr<leveldb::DB>(db); leveldb 86 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc void SetUpInitialData(leveldb::DB* db) { leveldb 109 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::WriteBatch batch; leveldb 115 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc EXPECT_TRUE(db->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 118 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc void CreateMetadataDatabase(scoped_ptr<leveldb::DB> db) { leveldb 138 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::DB* db) { leveldb 157 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::WriteBatch batch; leveldb 160 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc EXPECT_TRUE(db->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 164 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::DB* db) { leveldb 182 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc leveldb::WriteBatch batch; leveldb 185 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc EXPECT_TRUE(db->Write(leveldb::WriteOptions(), &batch).ok()); leveldb 235 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 252 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::DB> db(OpenLevelDB()); leveldb 267 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::DB> db(OpenLevelDB()); leveldb 283 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::DB> db(OpenLevelDB()); leveldb 298 chrome/browser/sync_file_system/drive_backend/register_app_task_unittest.cc scoped_ptr<leveldb::DB> db(OpenLevelDB()); leveldb 56 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 219 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 473 chrome/browser/sync_file_system/drive_backend/sync_engine.cc leveldb::Env* env_override) leveldb 34 chrome/browser/sync_file_system/drive_backend/sync_engine.h namespace leveldb { leveldb 161 chrome/browser/sync_file_system/drive_backend/sync_engine.h leveldb::Env* env_override); leveldb 194 chrome/browser/sync_file_system/drive_backend/sync_engine.h leveldb::Env* env_override_; leveldb 81 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.cc leveldb::Env* env_override) leveldb 30 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h namespace leveldb { leveldb 72 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h leveldb::Env* env_override); leveldb 111 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer.h leveldb::Env* env_override_; leveldb 49 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 225 chrome/browser/sync_file_system/drive_backend/sync_engine_initializer_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 106 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 153 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 65 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 374 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 48 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::DB> db; leveldb 122 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc bool IsDBEmpty(leveldb::DB* db) { leveldb 124 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::Iterator> itr(db->NewIterator(leveldb::ReadOptions())); leveldb 129 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::DB> OpenDatabase(const base::FilePath& path, leveldb 135 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::Options options; leveldb 138 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::DB* db = NULL; leveldb 139 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::Status db_status = leveldb::DB::Open( leveldb 152 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc SyncStatusCode WriteInitialData(leveldb::DB* db) { leveldb 155 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::WriteOptions(), leveldb 160 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc SyncStatusCode MigrateDatabaseIfNeeded(leveldb::DB* db) { leveldb 163 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::Status status = db->Get(leveldb::ReadOptions(), leveldb 197 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::Iterator> itr( leveldb 198 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->db->NewIterator(leveldb::ReadOptions())); leveldb 335 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::WriteBatch* batch) { leveldb 415 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 451 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 467 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 504 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 517 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 546 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 586 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 604 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 627 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 636 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc void DriveMetadataStore::WriteToDB(scoped_ptr<leveldb::WriteBatch> batch, leveldb 649 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc base::Bind(&leveldb::DB::Write, leveldb 651 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc leveldb::WriteOptions(), leveldb 675 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc const leveldb::Status& leveldb_status) { leveldb 28 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h namespace leveldb { leveldb 157 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h void WriteToDB(scoped_ptr<leveldb::WriteBatch> batch, leveldb 162 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h const leveldb::Status& status); leveldb 168 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h scoped_ptr<leveldb::DB> db_; leveldb 208 chrome/browser/sync_file_system/local/canned_syncable_file_system.cc leveldb::Env* env_override, leveldb 38 chrome/browser/sync_file_system/local/canned_syncable_file_system.h namespace leveldb { leveldb 76 chrome/browser/sync_file_system/local/canned_syncable_file_system.h leveldb::Env* env_override, leveldb 238 chrome/browser/sync_file_system/local/canned_syncable_file_system.h leveldb::Env* env_override_; leveldb 43 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Env* env_override); leveldb 49 chrome/browser/sync_file_system/local/local_file_change_tracker.cc SyncStatusCode WriteBatch(scoped_ptr<leveldb::WriteBatch> batch); leveldb 60 chrome/browser/sync_file_system/local/local_file_change_tracker.cc const leveldb::Status& status); leveldb 63 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Env* env_override_; leveldb 64 chrome/browser/sync_file_system/local/local_file_change_tracker.cc scoped_ptr<leveldb::DB> db_; leveldb 77 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Env* env_override, leveldb 265 chrome/browser/sync_file_system/local/local_file_change_tracker.cc scoped_ptr<leveldb::WriteBatch> batch(new leveldb::WriteBatch); leveldb 432 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Env* env_override) leveldb 444 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Options options; leveldb 449 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::DB* db; leveldb 450 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Status status = leveldb::DB::Open(options, path, &db); leveldb 476 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Options options; leveldb 478 chrome/browser/sync_file_system/local/local_file_change_tracker.cc if (leveldb::RepairDB(db_path, options).ok() && leveldb 493 chrome/browser/sync_file_system/local/local_file_change_tracker.cc const leveldb::Status& status) { leveldb 509 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Status status = db_->Put(leveldb::WriteOptions(), url, kMark); leveldb 529 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Status status = db_->Delete(leveldb::WriteOptions(), url); leveldb 550 chrome/browser/sync_file_system/local/local_file_change_tracker.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions())); leveldb 568 chrome/browser/sync_file_system/local/local_file_change_tracker.cc scoped_ptr<leveldb::WriteBatch> batch) { leveldb 572 chrome/browser/sync_file_system/local/local_file_change_tracker.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), batch.get()); leveldb 32 chrome/browser/sync_file_system/local/local_file_change_tracker.h namespace leveldb { leveldb 49 chrome/browser/sync_file_system/local/local_file_change_tracker.h leveldb::Env* env_override, leveldb 39 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc : in_memory_env_(leveldb::NewMemEnv(leveldb::Env::Default())), leveldb 114 chrome/browser/sync_file_system/local/local_file_change_tracker_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 50 chrome/browser/sync_file_system/local/local_file_sync_context.cc leveldb::Env* env_override, leveldb 37 chrome/browser/sync_file_system/local/local_file_sync_context.h namespace leveldb { leveldb 79 chrome/browser/sync_file_system/local/local_file_sync_context.h leveldb::Env* env_override, leveldb 333 chrome/browser/sync_file_system/local/local_file_sync_context.h leveldb::Env* env_override_; leveldb 67 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 351 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 107 chrome/browser/sync_file_system/local/local_file_sync_service.cc leveldb::Env* env) { leveldb 325 chrome/browser/sync_file_system/local/local_file_sync_service.cc leveldb::Env* env_override) leveldb 29 chrome/browser/sync_file_system/local/local_file_sync_service.h namespace leveldb { leveldb 76 chrome/browser/sync_file_system/local/local_file_sync_service.h leveldb::Env* env_override); leveldb 192 chrome/browser/sync_file_system/local/local_file_sync_service.h LocalFileSyncService(Profile* profile, leveldb::Env* env_override); leveldb 114 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 201 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 53 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc in_memory_env_(leveldb::NewMemEnv(leveldb::Env::Default())), leveldb 143 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 38 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc : in_memory_env_(leveldb::NewMemEnv(leveldb::Env::Default())), leveldb 105 chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 127 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 259 chrome/browser/sync_file_system/sync_file_system_service_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 98 chrome/browser/sync_file_system/sync_status_code.cc SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status) { leveldb 12 chrome/browser/sync_file_system/sync_status_code.h namespace leveldb { leveldb 68 chrome/browser/sync_file_system/sync_status_code.h SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status); leveldb 35 components/dom_distiller/core/dom_distiller_database.cc leveldb::Options options; leveldb 41 components/dom_distiller/core/dom_distiller_database.cc leveldb::DB* db = NULL; leveldb 42 components/dom_distiller/core/dom_distiller_database.cc leveldb::Status status = leveldb::DB::Open(options, path, &db); leveldb 45 components/dom_distiller/core/dom_distiller_database.cc status = leveldb::DB::Open(options, path, &db); leveldb 63 components/dom_distiller/core/dom_distiller_database.cc leveldb::WriteBatch updates; leveldb 67 components/dom_distiller/core/dom_distiller_database.cc updates.Put(leveldb::Slice(it->entry_id()), leveldb 68 components/dom_distiller/core/dom_distiller_database.cc leveldb::Slice(it->SerializeAsString())); leveldb 73 components/dom_distiller/core/dom_distiller_database.cc updates.Delete(leveldb::Slice(it->entry_id())); leveldb 76 components/dom_distiller/core/dom_distiller_database.cc leveldb::WriteOptions options; leveldb 78 components/dom_distiller/core/dom_distiller_database.cc leveldb::Status status = db_->Write(options, &updates); leveldb 90 components/dom_distiller/core/dom_distiller_database.cc leveldb::ReadOptions options; leveldb 91 components/dom_distiller/core/dom_distiller_database.cc scoped_ptr<leveldb::Iterator> db_iterator(db_->NewIterator(options)); leveldb 93 components/dom_distiller/core/dom_distiller_database.cc leveldb::Slice value_slice = db_iterator->value(); leveldb 26 components/dom_distiller/core/dom_distiller_database.h namespace leveldb { leveldb 90 components/dom_distiller/core/dom_distiller_database.h scoped_ptr<leveldb::DB> db_; leveldb 79 content/browser/dom_storage/session_storage_database.cc leveldb::DestroyDB( leveldb 81 content/browser/dom_storage/session_storage_database.cc leveldb::Options()); leveldb 83 content/browser/dom_storage/session_storage_database.cc leveldb::DestroyDB(session_storage_database_->file_path_.value(), leveldb 84 content/browser/dom_storage/session_storage_database.cc leveldb::Options()); leveldb 119 content/browser/dom_storage/session_storage_database.cc leveldb::ReadOptions options; leveldb 141 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch batch; leveldb 150 content/browser/dom_storage/session_storage_database.cc if (!GetMapForArea(namespace_id, origin.spec(), leveldb::ReadOptions(), leveldb 176 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); leveldb 203 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch batch; leveldb 220 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); leveldb 231 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch batch; leveldb 234 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); leveldb 245 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch batch; leveldb 256 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); leveldb 269 content/browser/dom_storage/session_storage_database.cc leveldb::ReadOptions options; leveldb 273 content/browser/dom_storage/session_storage_database.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options)); leveldb 340 content/browser/dom_storage/session_storage_database.cc leveldb::DB* db; leveldb 341 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = TryToOpen(&db); leveldb 372 content/browser/dom_storage/session_storage_database.cc leveldb::Status SessionStorageDatabase::TryToOpen(leveldb::DB** db) { leveldb 373 content/browser/dom_storage/session_storage_database.cc leveldb::Options options; leveldb 380 content/browser/dom_storage/session_storage_database.cc return leveldb::DB::Open(options, base::WideToUTF8(file_path_.value()), db); leveldb 382 content/browser/dom_storage/session_storage_database.cc return leveldb::DB::Open(options, file_path_.value(), db); leveldb 419 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 420 content/browser/dom_storage/session_storage_database.cc leveldb::Slice namespace_prefix = NamespacePrefix(); leveldb 422 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), namespace_prefix, leveldb 430 content/browser/dom_storage/session_storage_database.cc s = db_->Get(leveldb::ReadOptions(), namespace_start_key, &dummy); leveldb 444 content/browser/dom_storage/session_storage_database.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions())); leveldb 473 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 481 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 484 content/browser/dom_storage/session_storage_database.cc if (!GetMapForArea(namespace_id, origin, leveldb::ReadOptions(), &exists, leveldb 497 content/browser/dom_storage/session_storage_database.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions())); leveldb 517 content/browser/dom_storage/session_storage_database.cc const leveldb::ReadOptions& options, leveldb 520 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(options, namespace_key, map_id); leveldb 532 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 533 content/browser/dom_storage/session_storage_database.cc leveldb::Slice next_map_id_key = NextMapIdKey(); leveldb 534 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), next_map_id_key, map_id); leveldb 553 content/browser/dom_storage/session_storage_database.cc const leveldb::ReadOptions& options, leveldb 556 content/browser/dom_storage/session_storage_database.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options)); leveldb 593 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 606 content/browser/dom_storage/session_storage_database.cc batch->Put(key, leveldb::Slice(data, size)); leveldb 614 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), leveldb 623 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 634 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 654 content/browser/dom_storage/session_storage_database.cc leveldb::WriteBatch* batch) { leveldb 656 content/browser/dom_storage/session_storage_database.cc if (!ReadMap(map_id, leveldb::ReadOptions(), &values, true)) leveldb 666 content/browser/dom_storage/session_storage_database.cc std::string* map_id, leveldb::WriteBatch* batch) { leveldb 688 content/browser/dom_storage/session_storage_database.cc if (copy_data && !ReadMap(*map_id, leveldb::ReadOptions(), &values, false)) leveldb 21 content/browser/dom_storage/session_storage_database.h namespace leveldb { leveldb 93 content/browser/dom_storage/session_storage_database.h leveldb::Status TryToOpen(leveldb::DB** db); leveldb 114 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 126 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 131 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 137 content/browser/dom_storage/session_storage_database.h const leveldb::ReadOptions& options, leveldb 148 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 153 content/browser/dom_storage/session_storage_database.h const leveldb::ReadOptions& options, leveldb 159 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 163 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 168 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 171 content/browser/dom_storage/session_storage_database.h bool ClearMap(const std::string& map_id, leveldb::WriteBatch* batch); leveldb 180 content/browser/dom_storage/session_storage_database.h leveldb::WriteBatch* batch); leveldb 191 content/browser/dom_storage/session_storage_database.h scoped_ptr<leveldb::DB> db_; leveldb 184 content/browser/dom_storage/session_storage_database_unittest.cc leveldb::DB* leveldb = db_->db_.get(); leveldb 185 content/browser/dom_storage/session_storage_database_unittest.cc scoped_ptr<leveldb::Iterator> it( leveldb 186 content/browser/dom_storage/session_storage_database_unittest.cc leveldb->NewIterator(leveldb::ReadOptions())); leveldb 299 content/browser/dom_storage/session_storage_database_unittest.cc scoped_ptr<leveldb::Iterator> it( leveldb 300 content/browser/dom_storage/session_storage_database_unittest.cc db_->db_->NewIterator(leveldb::ReadOptions())); leveldb 372 content/browser/dom_storage/session_storage_database_unittest.cc leveldb::ReadOptions(), &exists, &map_id)); leveldb 139 content/browser/indexed_db/indexed_db_backing_store.cc static leveldb::Status InternalInconsistencyStatus() { leveldb 140 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::Corruption("Internal inconsistency"); leveldb 143 content/browser/indexed_db/indexed_db_backing_store.cc static leveldb::Status InvalidDBKeyStatus() { leveldb 144 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::InvalidArgument("Invalid database key ID"); leveldb 148 content/browser/indexed_db/indexed_db_backing_store.cc static leveldb::Status GetInt(DBOrTransaction* db, leveldb 153 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); leveldb 157 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 174 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetVarInt(DBOrTransaction* db, leveldb 179 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); leveldb 183 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 199 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetString( leveldb 206 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); leveldb 210 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 257 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 303 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 383 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetMaxObjectStoreId( leveldb 393 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetMaxObjectStoreId( leveldb 399 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 412 content/browser/indexed_db/indexed_db_backing_store.cc virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name, leveldb 418 content/browser/indexed_db/indexed_db_backing_store.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) leveldb 553 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::DestroyBackingStore( leveldb 678 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status status = leveldb_factory->OpenLevelDB( leveldb 850 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetIDBDatabaseMetaData( leveldb 857 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetInt(db_.get(), key, &metadata->id, found); leveldb 863 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 905 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetNewDatabaseId( leveldb 911 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 925 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 928 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::CreateIDBDatabaseMetaData( leveldb 936 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetNewDatabaseId(transaction.get(), row_id); leveldb 984 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::DeleteDatabase( leveldb 992 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetIDBDatabaseMetaData(name, &metadata, &success); leveldb 996 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1040 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetObjectStores( leveldb 1192 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1198 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1201 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status SetMaxObjectStoreId( leveldb 1208 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetMaxObjectStoreId( leveldb 1225 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::CreateObjectStore( leveldb 1236 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1276 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::DeleteObjectStore( leveldb 1287 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1320 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetRecord( leveldb 1338 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb_transaction->Get(leveldb_key, &data, &found); leveldb 1347 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::NotFound("Record contained no data"); leveldb 1361 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status GetNewVersionNumber( leveldb 1372 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1393 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::PutRecord( leveldb 1407 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetNewVersionNumber( leveldb 1433 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::ClearObjectStore( leveldb 1446 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1449 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::DeleteRecord( leveldb 1466 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1469 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetKeyGeneratorCurrentNumber( leveldb 1488 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1537 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::MaybeUpdateKeyGeneratorCurrentNumber( leveldb 1548 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetKeyGeneratorCurrentNumber( leveldb 1563 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1566 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::KeyExistsInObjectStore( leveldb 1581 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1588 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1625 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetIndexes( leveldb 1704 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1707 content/browser/indexed_db/indexed_db_backing_store.cc WARN_UNUSED_RESULT static leveldb::Status SetMaxIndexId( leveldb 1716 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb 1734 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::CreateIndex( leveldb 1747 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = SetMaxIndexId( leveldb 1769 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::DeleteIndex( leveldb 1790 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1793 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::PutIndexDataForRecord( leveldb 1821 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1852 content/browser/indexed_db/indexed_db_backing_store.cc static leveldb::Status VersionExists(LevelDBTransaction* transaction, leveldb 1862 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction->Get(key, &data, exists); leveldb 1878 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::FindKeyInIndex( leveldb 1900 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1902 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 1914 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = VersionExists(leveldb_transaction, leveldb 1933 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::GetPrimaryKeyViaIndex( leveldb 1946 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = FindKeyInIndex(transaction, leveldb 1971 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::KeyExistsInIndex( leveldb 1985 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = FindKeyInIndex(transaction, leveldb 1997 content/browser/indexed_db/indexed_db_backing_store.cc return leveldb::Status::OK(); leveldb 2404 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Get(primary_leveldb_key, &result, &found); leveldb 2511 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Get(primary_leveldb_key_, &result, &found); leveldb 2793 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status IndexedDBBackingStore::Transaction::Commit() { leveldb 2796 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Commit(); leveldb 43 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status OpenLevelDB(const base::FilePath& file_name, leveldb 47 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) = 0; leveldb 101 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status GetIDBDatabaseMetaData( leveldb 105 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status CreateIDBDatabaseMetaData( leveldb 114 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DeleteDatabase(const base::string16& name); leveldb 117 content/browser/indexed_db/indexed_db_backing_store.h static leveldb::Status DestroyBackingStore(const base::FilePath& path_base, leveldb 122 content/browser/indexed_db/indexed_db_backing_store.h leveldb::Status GetObjectStores( leveldb 125 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status CreateObjectStore( leveldb 132 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DeleteObjectStore( leveldb 158 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status GetRecord( leveldb 164 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status PutRecord( leveldb 171 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status ClearObjectStore( leveldb 175 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DeleteRecord( leveldb 180 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status GetKeyGeneratorCurrentNumber( leveldb 185 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( leveldb 191 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status KeyExistsInObjectStore( leveldb 199 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status CreateIndex( leveldb 208 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status DeleteIndex( leveldb 213 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status PutIndexDataForRecord( leveldb 220 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status GetPrimaryKeyViaIndex( leveldb 227 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status KeyExistsInIndex( leveldb 330 content/browser/indexed_db/indexed_db_backing_store.h virtual leveldb::Status Commit(); leveldb 365 content/browser/indexed_db/indexed_db_backing_store.h leveldb::Status FindKeyInIndex( leveldb 373 content/browser/indexed_db/indexed_db_backing_store.h leveldb::Status GetIndexes(int64 database_id, leveldb 55 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord( leveldb 65 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = leveldb 90 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord(&transaction1, leveldb 122 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->GetRecord(&transaction2, leveldb 167 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord(&transaction1, leveldb 258 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->CreateIDBDatabaseMetaData( leveldb 291 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->GetIDBDatabaseMetaData( leveldb 41 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status Get(const base::StringPiece& key, leveldb 45 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc return leveldb::Status::IOError("It's busted!"); leveldb 52 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status OpenLevelDB( leveldb 58 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc return leveldb::Status::OK(); leveldb 60 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) leveldb 64 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc return leveldb::Status::IOError("error"); leveldb 104 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status OpenLevelDB( leveldb 112 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc virtual leveldb::Status DestroyLevelDB(const base::FilePath& file_name) leveldb 116 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc return leveldb::Status::IOError("error"); leveldb 316 content/browser/indexed_db/indexed_db_context_impl.cc leveldb::Status s = LevelDBDatabase::Destroy(idb_directory); leveldb 167 content/browser/indexed_db/indexed_db_database.cc leveldb::Status IndexedDBDatabase::OpenInternal() { leveldb 169 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->GetIDBDatabaseMetaData( leveldb 298 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = leveldb 436 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = leveldb 572 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s; leveldb 671 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store->GetKeyGeneratorCurrentNumber( leveldb 686 content/browser/indexed_db/indexed_db_database.cc static leveldb::Status UpdateKeyGenerator(IndexedDBBackingStore* backing_store, leveldb 776 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->KeyExistsInObjectStore( leveldb 827 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = leveldb 857 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = UpdateKeyGenerator(backing_store_.get(), leveldb 891 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->KeyExistsInObjectStore( leveldb 1234 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = leveldb 242 content/browser/indexed_db/indexed_db_database.h leveldb::Status OpenInternal(); leveldb 32 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::GetIDBDatabaseMetaData( leveldb 36 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 39 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData( leveldb 44 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 51 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::DeleteDatabase( leveldb 53 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 56 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::CreateObjectStore( leveldb 63 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 66 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::ClearObjectStore( leveldb 70 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 72 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::DeleteRecord( leveldb 77 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 79 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::GetKeyGeneratorCurrentNumber( leveldb 84 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 86 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::MaybeUpdateKeyGeneratorCurrentNumber( leveldb 92 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 94 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::KeyExistsInObjectStore( leveldb 101 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 104 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::CreateIndex( leveldb 113 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 116 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::DeleteIndex(Transaction*, leveldb 120 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 122 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::PutIndexDataForRecord( leveldb 129 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 177 content/browser/indexed_db/indexed_db_fake_backing_store.cc leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::Commit() { leveldb 179 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::OK(); leveldb 181 content/browser/indexed_db/indexed_db_fake_backing_store.cc return leveldb::Status::IOError("test error"); leveldb 26 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, leveldb 29 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status CreateIDBDatabaseMetaData( leveldb 37 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status DeleteDatabase(const base::string16& name) OVERRIDE; leveldb 39 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status CreateObjectStore(Transaction*, leveldb 46 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status ClearObjectStore(Transaction*, leveldb 49 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status DeleteRecord(Transaction*, leveldb 53 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*, leveldb 58 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( leveldb 64 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status KeyExistsInObjectStore( leveldb 72 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status CreateIndex(Transaction*, leveldb 80 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status DeleteIndex(Transaction*, leveldb 84 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status PutIndexDataForRecord(Transaction*, leveldb 124 content/browser/indexed_db/indexed_db_fake_backing_store.h virtual leveldb::Status Commit() OVERRIDE; leveldb 76 content/browser/indexed_db/indexed_db_index_writer.cc leveldb::Status s = leveldb 106 content/browser/indexed_db/indexed_db_index_writer.cc leveldb::Status s = backing_store->KeyExistsInIndex(transaction, leveldb 49 content/browser/indexed_db/leveldb/leveldb_database.cc static leveldb::Slice MakeSlice(const StringPiece& s) { leveldb 50 content/browser/indexed_db/leveldb/leveldb_database.cc return leveldb::Slice(s.begin(), s.size()); leveldb 53 content/browser/indexed_db/leveldb/leveldb_database.cc static StringPiece MakeStringPiece(const leveldb::Slice& s) { leveldb 61 content/browser/indexed_db/leveldb/leveldb_database.cc int LevelDBDatabase::ComparatorAdapter::Compare(const leveldb::Slice& a, leveldb 62 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Slice& b) const { leveldb 73 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Slice& limit) const {} leveldb 92 content/browser/indexed_db/leveldb/leveldb_database.cc static leveldb::Status OpenDB(leveldb::Comparator* comparator, leveldb 93 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Env* env, leveldb 95 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::DB** db) { leveldb 96 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Options options; leveldb 100 content/browser/indexed_db/leveldb/leveldb_database.cc options.compression = leveldb::kSnappyCompression; leveldb 108 content/browser/indexed_db/leveldb/leveldb_database.cc return leveldb::DB::Open(options, path.AsUTF8Unsafe(), db); leveldb 111 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Destroy(const base::FilePath& file_name) { leveldb 112 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Options options; leveldb 113 content/browser/indexed_db/leveldb/leveldb_database.cc options.env = leveldb::IDBEnv(); leveldb 115 content/browser/indexed_db/leveldb/leveldb_database.cc return leveldb::DestroyDB(file_name.AsUTF8Unsafe(), options); leveldb 121 content/browser/indexed_db/leveldb/leveldb_database.cc explicit LockImpl(leveldb::Env* env, leveldb::FileLock* lock) leveldb 125 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Env* env_; leveldb 126 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::FileLock* lock_; leveldb 132 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Env* env = leveldb::IDBEnv(); leveldb 134 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::FileLock* lock = NULL; leveldb 135 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status status = env->LockFile(lock_path.AsUTF8Unsafe(), &lock); leveldb 172 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status& s) { leveldb 214 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status& status) { leveldb 229 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status& s) { leveldb 260 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Open(const base::FilePath& file_name, leveldb 267 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::DB* db; leveldb 268 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = leveldb 269 content/browser/indexed_db/leveldb/leveldb_database.cc OpenDB(comparator_adapter.get(), leveldb::IDBEnv(), file_name, &db); leveldb 298 content/browser/indexed_db/leveldb/leveldb_database.cc scoped_ptr<leveldb::Env> in_memory_env(leveldb::NewMemEnv(leveldb::IDBEnv())); leveldb 300 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::DB* db; leveldb 301 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = OpenDB( leveldb 318 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Put(const StringPiece& key, leveldb 320 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::WriteOptions write_options; leveldb 323 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = leveldb 330 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Remove(const StringPiece& key) { leveldb 331 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::WriteOptions write_options; leveldb 334 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = db_->Delete(write_options, MakeSlice(key)); leveldb 340 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Get(const StringPiece& key, leveldb 345 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::ReadOptions read_options; leveldb 350 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = db_->Get(read_options, MakeSlice(key), value); leveldb 356 content/browser/indexed_db/leveldb/leveldb_database.cc return leveldb::Status::OK(); leveldb 362 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::Status LevelDBDatabase::Write(const LevelDBWriteBatch& write_batch) { leveldb 363 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::WriteOptions write_options; leveldb 366 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = leveldb 390 content/browser/indexed_db/leveldb/leveldb_database.cc explicit IteratorImpl(scoped_ptr<leveldb::Iterator> iterator); leveldb 393 content/browser/indexed_db/leveldb/leveldb_database.cc scoped_ptr<leveldb::Iterator> iterator_; leveldb 397 content/browser/indexed_db/leveldb/leveldb_database.cc IteratorImpl::IteratorImpl(scoped_ptr<leveldb::Iterator> it) leveldb 401 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = iterator_->status(); leveldb 442 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb::ReadOptions read_options; leveldb 447 content/browser/indexed_db/leveldb/leveldb_database.cc scoped_ptr<leveldb::Iterator> i(db_->NewIterator(read_options)); leveldb 457 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Slice start_slice = MakeSlice(start); leveldb 458 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Slice stop_slice = MakeSlice(stop); leveldb 18 content/browser/indexed_db/leveldb/leveldb_database.h namespace leveldb { leveldb 40 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::DB* db_; leveldb 41 content/browser/indexed_db/leveldb/leveldb_database.h const leveldb::Snapshot* snapshot_; leveldb 51 content/browser/indexed_db/leveldb/leveldb_database.h class ComparatorAdapter : public leveldb::Comparator { leveldb 55 content/browser/indexed_db/leveldb/leveldb_database.h virtual int Compare(const leveldb::Slice& a, leveldb 56 content/browser/indexed_db/leveldb/leveldb_database.h const leveldb::Slice& b) const OVERRIDE; leveldb 61 content/browser/indexed_db/leveldb/leveldb_database.h const leveldb::Slice& limit) const leveldb 69 content/browser/indexed_db/leveldb/leveldb_database.h static leveldb::Status Open(const base::FilePath& file_name, leveldb 75 content/browser/indexed_db/leveldb/leveldb_database.h static leveldb::Status Destroy(const base::FilePath& file_name); leveldb 80 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::Status Put(const base::StringPiece& key, std::string* value); leveldb 81 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::Status Remove(const base::StringPiece& key); leveldb 82 content/browser/indexed_db/leveldb/leveldb_database.h virtual leveldb::Status Get(const base::StringPiece& key, leveldb 86 content/browser/indexed_db/leveldb/leveldb_database.h leveldb::Status Write(const LevelDBWriteBatch& write_batch); leveldb 98 content/browser/indexed_db/leveldb/leveldb_database.h scoped_ptr<leveldb::Env> env_; leveldb 99 content/browser/indexed_db/leveldb/leveldb_database.h scoped_ptr<leveldb::Comparator> comparator_adapter_; leveldb 100 content/browser/indexed_db/leveldb/leveldb_database.h scoped_ptr<leveldb::DB> db_; leveldb 65 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status LevelDBTransaction::Get(const StringPiece& key, leveldb 75 content/browser/indexed_db/leveldb/leveldb_transaction.cc return leveldb::Status::OK(); leveldb 79 content/browser/indexed_db/leveldb/leveldb_transaction.cc return leveldb::Status::OK(); leveldb 82 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Get(key, value, found, &snapshot_); leveldb 88 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status LevelDBTransaction::Commit() { leveldb 93 content/browser/indexed_db/leveldb/leveldb_transaction.cc return leveldb::Status::OK(); leveldb 106 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Write(*write_batch); leveldb 442 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status LevelDBDirectTransaction::Get(const StringPiece& key, leveldb 448 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Get(key, value, found); leveldb 458 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status LevelDBDirectTransaction::Commit() { leveldb 461 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Write(*write_batch_); leveldb 30 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Get(const base::StringPiece& key, leveldb 33 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Commit(); leveldb 146 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Get(const base::StringPiece& key, leveldb 150 content/browser/indexed_db/leveldb/leveldb_transaction.h leveldb::Status Commit(); leveldb 46 content/browser/indexed_db/leveldb/leveldb_unittest.cc scoped_ptr<LevelDBDatabase> leveldb; leveldb 47 content/browser/indexed_db/leveldb/leveldb_unittest.cc LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 48 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 50 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status status = leveldb->Put(key, &put_value); leveldb 52 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb.Pass(); leveldb 53 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_FALSE(leveldb); leveldb 55 content/browser/indexed_db/leveldb/leveldb_unittest.cc LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 56 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 58 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(key, &got_value, &found); leveldb 62 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb.Pass(); leveldb 63 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_FALSE(leveldb); leveldb 70 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 71 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_FALSE(leveldb); leveldb 77 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 79 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 80 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(key, &got_value, &found); leveldb 94 content/browser/indexed_db/leveldb/leveldb_unittest.cc scoped_ptr<LevelDBDatabase> leveldb; leveldb 95 content/browser/indexed_db/leveldb/leveldb_unittest.cc LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 96 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 100 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status status = leveldb->Put(key, &put_value); leveldb 104 content/browser/indexed_db/leveldb/leveldb_unittest.cc new LevelDBTransaction(leveldb.get()); leveldb 108 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Put(key, &put_value); leveldb 118 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(key, &got_value, &found); leveldb 126 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Put(added_key, &put_value); leveldb 129 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(added_key, &got_value, &found); leveldb 160 content/browser/indexed_db/leveldb/leveldb_unittest.cc scoped_ptr<LevelDBDatabase> leveldb; leveldb 161 content/browser/indexed_db/leveldb/leveldb_unittest.cc LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 162 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 165 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status s = leveldb->Put(key1, &put_value); leveldb 168 content/browser/indexed_db/leveldb/leveldb_unittest.cc s = leveldb->Put(key2, &put_value); leveldb 172 content/browser/indexed_db/leveldb/leveldb_unittest.cc new LevelDBTransaction(leveldb.get()); leveldb 174 content/browser/indexed_db/leveldb/leveldb_unittest.cc s = leveldb->Remove(key2); leveldb 211 content/browser/indexed_db/leveldb/leveldb_unittest.cc scoped_ptr<LevelDBDatabase> leveldb; leveldb 212 content/browser/indexed_db/leveldb/leveldb_unittest.cc LevelDBDatabase::Open(temp_directory.path(), &comparator, &leveldb); leveldb 213 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(leveldb); leveldb 216 content/browser/indexed_db/leveldb/leveldb_unittest.cc new LevelDBTransaction(leveldb.get()); leveldb 227 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status status = transaction->Commit(); leveldb 230 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(key1, &got_value, &found); leveldb 235 content/browser/indexed_db/leveldb/leveldb_unittest.cc status = leveldb->Get(key2, &got_value, &found); leveldb 245 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Env* env = leveldb::IDBEnv(); leveldb 247 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::FileLock* lock; leveldb 248 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status status = env->LockFile(file.AsUTF8Unsafe(), &lock); leveldb 257 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::FileLock* lock2; leveldb 18 content/browser/indexed_db/leveldb/leveldb_write_batch.cc : write_batch_(new leveldb::WriteBatch) {} leveldb 22 content/browser/indexed_db/leveldb/leveldb_write_batch.cc static leveldb::Slice MakeSlice(const base::StringPiece& s) { leveldb 23 content/browser/indexed_db/leveldb/leveldb_write_batch.cc return leveldb::Slice(s.begin(), s.size()); leveldb 11 content/browser/indexed_db/leveldb/leveldb_write_batch.h namespace leveldb { leveldb 33 content/browser/indexed_db/leveldb/leveldb_write_batch.h scoped_ptr<leveldb::WriteBatch> write_batch_; leveldb 105 extensions/browser/api/storage/storage_api_unittest.cc leveldb::WriteBatch batch; leveldb 29 extensions/browser/value_store/leveldb_value_store.cc explicit ScopedSnapshot(leveldb::DB* db) leveldb 36 extensions/browser/value_store/leveldb_value_store.cc const leveldb::Snapshot* get() { leveldb 41 extensions/browser/value_store/leveldb_value_store.cc leveldb::DB* db_; leveldb 42 extensions/browser/value_store/leveldb_value_store.cc const leveldb::Snapshot* snapshot_; leveldb 95 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<Error> error = ReadFromDb(leveldb::ReadOptions(), key, &setting); leveldb 113 extensions/browser/value_store/leveldb_value_store.cc leveldb::ReadOptions options; leveldb 141 extensions/browser/value_store/leveldb_value_store.cc leveldb::ReadOptions options = leveldb::ReadOptions(); leveldb 148 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(options)); leveldb 178 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch batch; leveldb 198 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch batch; leveldb 227 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch batch; leveldb 234 extensions/browser/value_store/leveldb_value_store.cc ReadFromDb(leveldb::ReadOptions(), *it, &old_value); leveldb 244 extensions/browser/value_store/leveldb_value_store.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 304 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch batch; leveldb 317 extensions/browser/value_store/leveldb_value_store.cc bool LeveldbValueStore::WriteToDbForTest(leveldb::WriteBatch* batch) { leveldb 327 extensions/browser/value_store/leveldb_value_store.cc leveldb::Options options; leveldb 331 extensions/browser/value_store/leveldb_value_store.cc leveldb::DB* db = NULL; leveldb 332 extensions/browser/value_store/leveldb_value_store.cc leveldb::Status status = leveldb 333 extensions/browser/value_store/leveldb_value_store.cc leveldb::DB::Open(options, db_path_.AsUTF8Unsafe(), &db); leveldb 343 extensions/browser/value_store/leveldb_value_store.cc leveldb::ReadOptions options, leveldb 350 extensions/browser/value_store/leveldb_value_store.cc leveldb::Status s = db_->Get(options, key, &value_as_json); leveldb 373 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch* batch, leveldb 380 extensions/browser/value_store/leveldb_value_store.cc ReadFromDb(leveldb::ReadOptions(), key, &old_value); leveldb 401 extensions/browser/value_store/leveldb_value_store.cc leveldb::WriteBatch* batch) { leveldb 402 extensions/browser/value_store/leveldb_value_store.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), batch); leveldb 409 extensions/browser/value_store/leveldb_value_store.cc scoped_ptr<leveldb::Iterator> it(db_->NewIterator(leveldb::ReadOptions())); leveldb 429 extensions/browser/value_store/leveldb_value_store.cc const leveldb::Status& status, leveldb 53 extensions/browser/value_store/leveldb_value_store.h bool WriteToDbForTest(leveldb::WriteBatch* batch); leveldb 61 extensions/browser/value_store/leveldb_value_store.h leveldb::ReadOptions options, leveldb 71 extensions/browser/value_store/leveldb_value_store.h leveldb::WriteBatch* batch, leveldb 75 extensions/browser/value_store/leveldb_value_store.h scoped_ptr<ValueStore::Error> WriteToDb(leveldb::WriteBatch* batch); leveldb 80 extensions/browser/value_store/leveldb_value_store.h const leveldb::Status& status, leveldb 94 extensions/browser/value_store/leveldb_value_store.h scoped_ptr<leveldb::DB> db_; leveldb 75 extensions/browser/value_store/leveldb_value_store_unittest.cc leveldb::WriteBatch batch; leveldb 118 extensions/browser/value_store/leveldb_value_store_unittest.cc leveldb::WriteBatch batch; leveldb 82 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice MakeSlice(const base::StringPiece& s) { leveldb 83 google_apis/gcm/engine/gcm_store_impl.cc return leveldb::Slice(s.begin(), s.size()); leveldb 138 google_apis/gcm/engine/gcm_store_impl.cc scoped_ptr<leveldb::DB> db_; leveldb 158 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Options options; leveldb 160 google_apis/gcm/engine/gcm_store_impl.cc leveldb::DB* db; leveldb 161 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status status = leveldb 162 google_apis/gcm/engine/gcm_store_impl.cc leveldb::DB::Open(options, path_.AsUTF8Unsafe(), &db); leveldb 228 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = leveldb 229 google_apis/gcm/engine/gcm_store_impl.cc leveldb::DestroyDB(path_.AsUTF8Unsafe(), leveldb::Options()); leveldb 249 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 256 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = leveldb 282 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 287 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status status = db_->Put(write_options, leveldb 305 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 308 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status status = db_->Delete(write_options, MakeSlice(app_id)); leveldb 326 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 330 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = db_->Put(write_options, leveldb 349 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 352 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s; leveldb 379 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 385 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = db_->Put(write_options, leveldb 408 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 409 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 414 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s; leveldb 457 google_apis/gcm/engine/gcm_store_impl.cc leveldb::WriteOptions write_options; leveldb 461 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = leveldb 474 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 478 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = db_->Get(read_options, MakeSlice(kDeviceAIDKey), &result); leveldb 508 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 511 google_apis/gcm/engine/gcm_store_impl.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options)); leveldb 515 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); leveldb 535 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 538 google_apis/gcm/engine/gcm_store_impl.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options)); leveldb 542 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); leveldb 557 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 560 google_apis/gcm/engine/gcm_store_impl.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(read_options)); leveldb 564 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); leveldb 589 google_apis/gcm/engine/gcm_store_impl.cc leveldb::ReadOptions read_options; leveldb 593 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = db_->Get(read_options, leveldb 15 third_party/leveldatabase/chromium_logger.h namespace leveldb { leveldb 20 third_party/leveldatabase/env_chromium.cc using namespace leveldb; leveldb 268 third_party/leveldatabase/env_chromium.cc int GetCorruptionCode(const leveldb::Status& status) { leveldb 290 third_party/leveldatabase/env_chromium.cc std::string GetCorruptionMessage(const leveldb::Status& status) { leveldb 297 third_party/leveldatabase/env_chromium.cc bool IndicatesDiskFull(const leveldb::Status& status) { leveldb 310 third_party/leveldatabase/env_chromium.cc bool IsIOError(const leveldb::Status& status) { leveldb 318 third_party/leveldatabase/env_chromium.cc bool IsCorruption(const leveldb::Status& status) { leveldb 47 third_party/leveldatabase/env_chromium.h leveldb::Status MakeIOError(leveldb::Slice filename, leveldb 51 third_party/leveldatabase/env_chromium.h leveldb::Status MakeIOError(leveldb::Slice filename, leveldb 55 third_party/leveldatabase/env_chromium.h leveldb::Status MakeIOError(leveldb::Slice filename, leveldb 69 third_party/leveldatabase/env_chromium.h int GetCorruptionCode(const leveldb::Status& status); leveldb 71 third_party/leveldatabase/env_chromium.h std::string GetCorruptionMessage(const leveldb::Status& status); leveldb 72 third_party/leveldatabase/env_chromium.h bool IndicatesDiskFull(const leveldb::Status& status); leveldb 73 third_party/leveldatabase/env_chromium.h bool IsIOError(const leveldb::Status& status); leveldb 74 third_party/leveldatabase/env_chromium.h bool IsCorruption(const leveldb::Status& status); leveldb 101 third_party/leveldatabase/env_chromium.h class ChromiumEnv : public leveldb::Env, leveldb 113 third_party/leveldatabase/env_chromium.h virtual leveldb::Status GetChildren(const std::string& dir, leveldb 115 third_party/leveldatabase/env_chromium.h virtual leveldb::Status DeleteFile(const std::string& fname); leveldb 116 third_party/leveldatabase/env_chromium.h virtual leveldb::Status CreateDir(const std::string& name); leveldb 117 third_party/leveldatabase/env_chromium.h virtual leveldb::Status DeleteDir(const std::string& name); leveldb 118 third_party/leveldatabase/env_chromium.h virtual leveldb::Status GetFileSize(const std::string& fname, uint64_t* size); leveldb 119 third_party/leveldatabase/env_chromium.h virtual leveldb::Status RenameFile(const std::string& src, leveldb 121 third_party/leveldatabase/env_chromium.h virtual leveldb::Status LockFile(const std::string& fname, leveldb 122 third_party/leveldatabase/env_chromium.h leveldb::FileLock** lock); leveldb 123 third_party/leveldatabase/env_chromium.h virtual leveldb::Status UnlockFile(leveldb::FileLock* lock); leveldb 126 third_party/leveldatabase/env_chromium.h virtual leveldb::Status GetTestDirectory(std::string* path); leveldb 155 third_party/leveldatabase/env_chromium.h leveldb::MutexLock l(&mu_); leveldb 159 third_party/leveldatabase/env_chromium.h leveldb::MutexLock l(&mu_); leveldb 163 third_party/leveldatabase/env_chromium.h leveldb::port::Mutex mu_; leveldb 25 third_party/leveldatabase/env_chromium_stdio.cc using namespace leveldb; leveldb 12 third_party/leveldatabase/env_chromium_stdio.h class ChromiumWritableFile : public leveldb::WritableFile { leveldb 20 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status Append(const leveldb::Slice& data); leveldb 21 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status Close(); leveldb 22 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status Flush(); leveldb 23 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status Sync(); leveldb 31 third_party/leveldatabase/env_chromium_stdio.h leveldb::Status SyncParent(); leveldb 47 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status NewSequentialFile(const std::string& fname, leveldb 48 third_party/leveldatabase/env_chromium_stdio.h leveldb::SequentialFile** result); leveldb 49 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status NewRandomAccessFile( leveldb 51 third_party/leveldatabase/env_chromium_stdio.h leveldb::RandomAccessFile** result); leveldb 52 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status NewWritableFile(const std::string& fname, leveldb 53 third_party/leveldatabase/env_chromium_stdio.h leveldb::WritableFile** result); leveldb 54 third_party/leveldatabase/env_chromium_stdio.h virtual leveldb::Status NewLogger(const std::string& fname, leveldb 55 third_party/leveldatabase/env_chromium_stdio.h leveldb::Logger** result); leveldb 20 third_party/leveldatabase/env_chromium_unittest.cc using namespace leveldb; leveldb 201 third_party/leveldatabase/env_chromium_unittest.cc status = leveldb::DB::Open(options, dir.AsUTF8Unsafe(), &db); leveldb 229 third_party/leveldatabase/env_chromium_unittest.cc leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result); leveldb 248 third_party/leveldatabase/env_chromium_unittest.cc leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result); leveldb 14 third_party/leveldatabase/env_chromium_win.cc using namespace leveldb; leveldb 12 third_party/leveldatabase/env_chromium_win.h leveldb::Status MakeIOErrorWin(leveldb::Slice filename, leveldb 17 third_party/leveldatabase/env_chromium_win.h class ChromiumWritableFileWin : public leveldb::WritableFile { leveldb 25 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status Append(const leveldb::Slice& data); leveldb 26 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status Close(); leveldb 27 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status Flush(); leveldb 28 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status Sync(); leveldb 36 third_party/leveldatabase/env_chromium_win.h leveldb::Status SyncParent(); leveldb 52 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status NewSequentialFile(const std::string& fname, leveldb 53 third_party/leveldatabase/env_chromium_win.h leveldb::SequentialFile** result); leveldb 54 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status NewRandomAccessFile( leveldb 56 third_party/leveldatabase/env_chromium_win.h leveldb::RandomAccessFile** result); leveldb 57 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status NewWritableFile(const std::string& fname, leveldb 58 third_party/leveldatabase/env_chromium_win.h leveldb::WritableFile** result); leveldb 59 third_party/leveldatabase/env_chromium_win.h virtual leveldb::Status NewLogger(const std::string& fname, leveldb 60 third_party/leveldatabase/env_chromium_win.h leveldb::Logger** result); leveldb 8 third_party/leveldatabase/env_idb.h namespace leveldb { leveldb 31 third_party/leveldatabase/port/port_chromium.h namespace leveldb { leveldb 97 third_party/leveldatabase/port/port_chromium.h #define LEVELDB_ONCE_INIT leveldb::port::ONCE_STATE_UNINITIALIZED leveldb 12 webkit/browser/fileapi/file_system_options.cc leveldb::Env* env_override) leveldb 13 webkit/browser/fileapi/file_system_options.h namespace leveldb { leveldb 37 webkit/browser/fileapi/file_system_options.h leveldb::Env* env_override); leveldb 52 webkit/browser/fileapi/file_system_options.h leveldb::Env* env_override() const { return env_override_; } leveldb 57 webkit/browser/fileapi/file_system_options.h leveldb::Env* env_override_; leveldb 257 webkit/browser/fileapi/obfuscated_file_util.cc leveldb::Env* env_override, leveldb 107 webkit/browser/fileapi/obfuscated_file_util.h leveldb::Env* env_override, leveldb 247 webkit/browser/fileapi/obfuscated_file_util.h leveldb::Env* env_override, leveldb 339 webkit/browser/fileapi/obfuscated_file_util.h leveldb::Env* env_override_; leveldb 95 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); leveldb 142 webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc scoped_ptr<leveldb::Env> in_memory_env_; leveldb 21 webkit/browser/fileapi/sandbox_database_test_helper.cc leveldb::FileType type, leveldb 32 webkit/browser/fileapi/sandbox_database_test_helper.cc leveldb::FileType file_type; leveldb 33 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()), leveldb 75 webkit/browser/fileapi/sandbox_database_test_helper.cc leveldb::FileType type) { leveldb 81 webkit/browser/fileapi/sandbox_database_test_helper.cc leveldb::FileType file_type; leveldb 82 webkit/browser/fileapi/sandbox_database_test_helper.cc EXPECT_TRUE(leveldb::ParseFileName(FilePathToString(file_path.BaseName()), leveldb 19 webkit/browser/fileapi/sandbox_database_test_helper.h leveldb::FileType type, leveldb 24 webkit/browser/fileapi/sandbox_database_test_helper.h leveldb::FileType type); leveldb 141 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::DB* db, leveldb 159 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::DB* db_; leveldb 174 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::DB* db, leveldb 187 webkit/browser/fileapi/sandbox_directory_database.cc scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); leveldb 198 webkit/browser/fileapi/sandbox_directory_database.cc scoped_ptr<leveldb::Iterator> itr(db_->NewIterator(leveldb::ReadOptions())); leveldb 414 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Env* env_override) leveldb 431 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb 432 webkit/browser/fileapi/sandbox_directory_database.cc db_->Get(leveldb::ReadOptions(), child_key, &child_id_string); leveldb 472 webkit/browser/fileapi/sandbox_directory_database.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions())); leveldb 495 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb 496 webkit/browser/fileapi/sandbox_directory_database.cc db_->Get(leveldb::ReadOptions(), file_key, &file_data_string); leveldb 530 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb 531 webkit/browser/fileapi/sandbox_directory_database.cc db_->Get(leveldb::ReadOptions(), child_key, &child_id_string); leveldb 554 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteBatch batch; leveldb 559 webkit/browser/fileapi/sandbox_directory_database.cc status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 571 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteBatch batch; leveldb 574 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 604 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteBatch batch; leveldb 608 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 625 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = db_->Put( leveldb 626 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteOptions(), leveldb 628 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), leveldb 648 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteBatch batch; leveldb 659 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), leveldb 661 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 674 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb 675 webkit/browser/fileapi/sandbox_directory_database.cc db_->Get(leveldb::ReadOptions(), LastIntegerKey(), &int_string); leveldb 683 webkit/browser/fileapi/sandbox_directory_database.cc status = db_->Put(leveldb::WriteOptions(), LastIntegerKey(), leveldb 705 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Env* env_override) { leveldb 707 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Options options; leveldb 710 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb::DestroyDB(name, options); leveldb 725 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Options options; leveldb 730 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::DB* db; leveldb 731 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb::DB::Open(options, path, &db); leveldb 775 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Options options; leveldb 779 webkit/browser/fileapi/sandbox_directory_database.cc if (!leveldb::RepairDB(db_path, options).ok()) leveldb 808 webkit/browser/fileapi/sandbox_directory_database.cc const leveldb::Status& status) { leveldb 833 webkit/browser/fileapi/sandbox_directory_database.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions())); leveldb 844 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::WriteBatch batch; leveldb 849 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 862 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Status status = leveldb 863 webkit/browser/fileapi/sandbox_directory_database.cc db_->Get(leveldb::ReadOptions(), LastFileIdKey(), &id_string); leveldb 884 webkit/browser/fileapi/sandbox_directory_database.cc const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch) { leveldb 903 webkit/browser/fileapi/sandbox_directory_database.cc leveldb::Slice(reinterpret_cast<const char *>(pickle.data()), leveldb 910 webkit/browser/fileapi/sandbox_directory_database.cc FileId file_id, leveldb::WriteBatch* batch) { leveldb 932 webkit/browser/fileapi/sandbox_directory_database.cc const leveldb::Status& status) { leveldb 21 webkit/browser/fileapi/sandbox_directory_database.h namespace leveldb { leveldb 62 webkit/browser/fileapi/sandbox_directory_database.h leveldb::Env* env_override); leveldb 99 webkit/browser/fileapi/sandbox_directory_database.h leveldb::Env* env_override); leveldb 113 webkit/browser/fileapi/sandbox_directory_database.h void ReportInitStatus(const leveldb::Status& status); leveldb 117 webkit/browser/fileapi/sandbox_directory_database.h const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch); leveldb 118 webkit/browser/fileapi/sandbox_directory_database.h bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch); leveldb 120 webkit/browser/fileapi/sandbox_directory_database.h const leveldb::Status& status); leveldb 123 webkit/browser/fileapi/sandbox_directory_database.h leveldb::Env* env_override_; leveldb 124 webkit/browser/fileapi/sandbox_directory_database.h scoped_ptr<leveldb::DB> db_; leveldb 118 webkit/browser/fileapi/sandbox_directory_database_unittest.cc leveldb::WriteOptions(), leveldb 129 webkit/browser/fileapi/sandbox_directory_database_unittest.cc leveldb::WriteOptions(), leveldb 616 webkit/browser/fileapi/sandbox_directory_database_unittest.cc CorruptDatabase(kDatabaseDirectory, leveldb::kDescriptorFile, leveldb 637 webkit/browser/fileapi/sandbox_directory_database_unittest.cc CorruptDatabase(kDatabaseDirectory, leveldb::kDescriptorFile, leveldb 639 webkit/browser/fileapi/sandbox_directory_database_unittest.cc CorruptDatabase(kDatabaseDirectory, leveldb::kLogFile, leveldb 660 webkit/browser/fileapi/sandbox_directory_database_unittest.cc DeleteDatabaseFile(kDatabaseDirectory, leveldb::kDescriptorFile); leveldb 664 webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc leveldb::Env* env_override, leveldb 62 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Env* env_override) leveldb 80 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Options options; leveldb 85 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::DB* db; leveldb 86 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Status status = leveldb::DB::Open(options, path, &db); leveldb 128 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Options options; leveldb 132 webkit/browser/fileapi/sandbox_origin_database.cc if (!leveldb::RepairDB(db_path, options).ok() || leveldb 191 webkit/browser/fileapi/sandbox_origin_database.cc const leveldb::Status& status) { leveldb 197 webkit/browser/fileapi/sandbox_origin_database.cc void SandboxOriginDatabase::ReportInitStatus(const leveldb::Status& status) { leveldb 226 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Status status = leveldb 227 webkit/browser/fileapi/sandbox_origin_database.cc db_->Get(leveldb::ReadOptions(), OriginToOriginKey(origin), &path); leveldb 245 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Status status = leveldb 246 webkit/browser/fileapi/sandbox_origin_database.cc db_->Get(leveldb::ReadOptions(), origin_key, &path_string); leveldb 253 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::WriteBatch batch; leveldb 256 webkit/browser/fileapi/sandbox_origin_database.cc status = db_->Write(leveldb::WriteOptions(), &batch); leveldb 273 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Status status = leveldb 274 webkit/browser/fileapi/sandbox_origin_database.cc db_->Delete(leveldb::WriteOptions(), OriginToOriginKey(origin)); leveldb 288 webkit/browser/fileapi/sandbox_origin_database.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions())); leveldb 320 webkit/browser/fileapi/sandbox_origin_database.cc leveldb::Status status = leveldb 321 webkit/browser/fileapi/sandbox_origin_database.cc db_->Get(leveldb::ReadOptions(), LastPathKey(), &number_string); leveldb 329 webkit/browser/fileapi/sandbox_origin_database.cc scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions())); leveldb 338 webkit/browser/fileapi/sandbox_origin_database.cc db_->Put(leveldb::WriteOptions(), LastPathKey(), std::string("-1")); leveldb 15 webkit/browser/fileapi/sandbox_origin_database.h namespace leveldb { leveldb 35 webkit/browser/fileapi/sandbox_origin_database.h leveldb::Env* env_override); leveldb 64 webkit/browser/fileapi/sandbox_origin_database.h const leveldb::Status& status); leveldb 65 webkit/browser/fileapi/sandbox_origin_database.h void ReportInitStatus(const leveldb::Status& status); leveldb 69 webkit/browser/fileapi/sandbox_origin_database.h leveldb::Env* env_override_; leveldb 70 webkit/browser/fileapi/sandbox_origin_database.h scoped_ptr<leveldb::DB> db_; leveldb 235 webkit/browser/fileapi/sandbox_origin_database_unittest.cc CorruptDatabase(kDBDir, leveldb::kDescriptorFile, leveldb 237 webkit/browser/fileapi/sandbox_origin_database_unittest.cc CorruptDatabase(kDBDir, leveldb::kLogFile, -1, 1); leveldb 259 webkit/browser/fileapi/sandbox_origin_database_unittest.cc const leveldb::FileType kLevelDBFileTypes[] = { leveldb 260 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kLogFile, leveldb 261 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kDBLockFile, leveldb 262 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kTableFile, leveldb 263 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kDescriptorFile, leveldb 264 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kCurrentFile, leveldb 265 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kTempFile, leveldb 266 webkit/browser/fileapi/sandbox_origin_database_unittest.cc leveldb::kInfoLogFile, leveldb 52 webkit/browser/fileapi/sandbox_prioritized_origin_database.cc leveldb::Env* env_override) leveldb 14 webkit/browser/fileapi/sandbox_prioritized_origin_database.h namespace leveldb { leveldb 28 webkit/browser/fileapi/sandbox_prioritized_origin_database.h leveldb::Env* env_override); leveldb 62 webkit/browser/fileapi/sandbox_prioritized_origin_database.h leveldb::Env* env_override_;