OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GetBytesInUse
(Results
1 - 16
of
16
) sorted by null
/external/chromium_org/extensions/browser/api/storage/
weak_unlimited_settings_storage.cc
15
size_t WeakUnlimitedSettingsStorage::
GetBytesInUse
(const std::string& key) {
16
return delegate_->
GetBytesInUse
(key);
19
size_t WeakUnlimitedSettingsStorage::
GetBytesInUse
(
21
return delegate_->
GetBytesInUse
(keys);
25
size_t WeakUnlimitedSettingsStorage::
GetBytesInUse
() {
26
return delegate_->
GetBytesInUse
();
settings_storage_quota_enforcer.h
34
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
35
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
36
virtual size_t
GetBytesInUse
() OVERRIDE;
weak_unlimited_settings_storage.h
24
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
25
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
26
virtual size_t
GetBytesInUse
() OVERRIDE;
settings_quota_unittest.cc
562
TEST_F(ExtensionSettingsQuotaTest,
GetBytesInUse
) {
563
// Just testing
GetBytesInUse
, no need for a quota.
570
EXPECT_EQ(0u, storage_->
GetBytesInUse
());
571
EXPECT_EQ(0u, storage_->
GetBytesInUse
("a"));
572
EXPECT_EQ(0u, storage_->
GetBytesInUse
("b"));
573
EXPECT_EQ(0u, storage_->
GetBytesInUse
(ab));
577
EXPECT_EQ(2u, storage_->
GetBytesInUse
());
578
EXPECT_EQ(2u, storage_->
GetBytesInUse
("a"));
579
EXPECT_EQ(0u, storage_->
GetBytesInUse
("b"));
580
EXPECT_EQ(2u, storage_->
GetBytesInUse
(ab))
[
all
...]
settings_storage_quota_enforcer.cc
96
size_t SettingsStorageQuotaEnforcer::
GetBytesInUse
(const std::string& key) {
102
size_t SettingsStorageQuotaEnforcer::
GetBytesInUse
(
107
used +=
GetBytesInUse
(*it);
112
size_t SettingsStorageQuotaEnforcer::
GetBytesInUse
() {
113
// All ValueStore implementations rely on
GetBytesInUse
being
local_value_store_cache.cc
102
storage->
GetBytesInUse
());
storage_api.cc
230
bytes_in_use = storage->
GetBytesInUse
();
236
bytes_in_use = storage->
GetBytesInUse
(as_string);
244
bytes_in_use = storage->
GetBytesInUse
(as_string_list);
/external/chromium_org/chrome/browser/extensions/api/storage/
policy_value_store.h
43
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
44
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
45
virtual size_t
GetBytesInUse
() OVERRIDE;
syncable_settings_storage.h
37
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
38
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
39
virtual size_t
GetBytesInUse
() OVERRIDE;
policy_value_store.cc
122
size_t PolicyValueStore::
GetBytesInUse
(const std::string& key) {
129
size_t PolicyValueStore::
GetBytesInUse
(const std::vector<std::string>& keys) {
134
size_t PolicyValueStore::
GetBytesInUse
() {
syncable_settings_storage.cc
38
size_t SyncableSettingsStorage::
GetBytesInUse
(const std::string& key) {
40
return delegate_->
GetBytesInUse
(key);
43
size_t SyncableSettingsStorage::
GetBytesInUse
(
46
return delegate_->
GetBytesInUse
(keys);
49
size_t SyncableSettingsStorage::
GetBytesInUse
() {
51
return delegate_->
GetBytesInUse
();
/external/chromium_org/extensions/browser/value_store/
testing_value_store.h
31
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
32
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
33
virtual size_t
GetBytesInUse
() OVERRIDE;
leveldb_value_store.h
33
virtual size_t
GetBytesInUse
(const std::string& key) OVERRIDE;
34
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) OVERRIDE;
35
virtual size_t
GetBytesInUse
() OVERRIDE;
testing_value_store.cc
20
size_t TestingValueStore::
GetBytesInUse
(const std::string& key) {
26
size_t TestingValueStore::
GetBytesInUse
(
33
size_t TestingValueStore::
GetBytesInUse
() {
value_store.h
160
// Note: The
GetBytesInUse
methods are only used by extension settings at the
164
virtual size_t
GetBytesInUse
(const std::string& key) = 0;
167
virtual size_t
GetBytesInUse
(const std::vector<std::string>& keys) = 0;
170
virtual size_t
GetBytesInUse
() = 0;
leveldb_value_store.cc
69
size_t LeveldbValueStore::
GetBytesInUse
(const std::string& key) {
75
size_t LeveldbValueStore::
GetBytesInUse
(
82
size_t LeveldbValueStore::
GetBytesInUse
() {
Completed in 146 milliseconds