Home
last modified time | relevance | path

Searched refs:usage_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/quota_internals/
Dquota_internals_types.cc35 : type_(type), usage_(-1), unlimited_usage_(-1), quota_(-1) { in GlobalStorageInfo()
45 if (usage_ >= 0) in NewValue()
46 dict->SetDouble("usage", static_cast<double>(usage_)); in NewValue()
56 : host_(host), type_(type), usage_(-1), quota_(-1) { in PerHostStorageInfo()
66 if (usage_ >= 0) in NewValue()
67 dict->SetDouble("usage", static_cast<double>(usage_)); in NewValue()
Dquota_internals_types.h28 usage_ = usage; in set_usage()
45 int64 usage_; variable
57 usage_ = usage; in set_usage()
71 int64 usage_; variable
/external/chromium_org/webkit/browser/fileapi/quota/
Dquota_backend_impl_unittest.cc35 usage_(0), quota_(0) {} in MockQuotaManagerProxy()
51 usage_ += delta; in NotifyStorageModified()
52 ASSERT_LT(usage_, quota_); in NotifyStorageModified()
60 callback.Run(quota::kQuotaStatusOk, usage_, quota_); in GetUsageAndQuota()
64 int64 usage() { return usage_; } in usage()
65 void set_usage(int64 usage) { usage_ = usage; } in set_usage()
73 int64 usage_; member in fileapi::__anon11de64f40111::MockQuotaManagerProxy
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_quota_client_unittest.cc41 usage_(0), in IndexedDBQuotaClientTest()
83 usage_ = -1; in GetOriginUsage()
91 EXPECT_GT(usage_, -1); in GetOriginUsage()
92 return usage_; in GetOriginUsage()
154 void OnGetOriginUsageComplete(int64 usage) { usage_ = usage; } in OnGetOriginUsageComplete()
165 int64 usage_; member in content::IndexedDBQuotaClientTest
/external/chromium_org/content/public/test/
Dtest_file_system_backend.cc57 : usage_(0), in QuotaUtil()
98 return usage_; in GetOriginUsageOnFileThread()
141 usage_ += delta; in OnUpdate()
148 int64 usage_; member in fileapi::TestFileSystemBackend::QuotaUtil
/external/chromium_org/webkit/browser/database/
Ddatabase_quota_client_unittest.cc131 usage_(0), in DatabaseQuotaClientTest()
140 usage_ = 0; in GetOriginUsage()
146 return usage_; in GetOriginUsage()
192 usage_ = usage; in OnGetOriginUsageComplete()
204 int64 usage_; member in webkit_database::DatabaseQuotaClientTest
/external/chromium_org/webkit/browser/appcache/
Dappcache_quota_client_unittest.cc33 usage_(0), in AppCacheQuotaClientTest()
45 usage_ = -1; in GetOriginUsage()
48 return usage_; in GetOriginUsage()
142 usage_ = usage; in OnGetOriginUsageComplete()
156 int64 usage_; member in appcache::AppCacheQuotaClientTest
332 EXPECT_EQ(10, usage_); in TEST_F()
369 EXPECT_EQ(0, usage_); in TEST_F()
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache.cc161 size_t usage_; member in leveldb::__anon26392f960111::LRUCache
171 : usage_(0) { in LRUCache()
190 usage_ -= e->charge; in Unref()
240 usage_ += charge; in Insert()
248 while (usage_ > capacity_ && lru_.next != &lru_) { in Insert()
/external/chromium_org/gpu/command_buffer/service/
Dbuffer_manager.h45 return usage_; in usage()
164 GLenum usage_; variable
Dtexture_definition.cc330 usage_(texture->usage()), in TextureDefinition()
424 texture->usage_ = usage_; in UpdateTexture()
Dtexture_definition.h119 GLenum usage_; variable
Dbuffer_manager.cc83 usage_(GL_STATIC_DRAW) { in Buffer()
101 usage_ = usage; in SetInfo()
Dtexture_manager.h64 return usage_; in usage()
365 GLenum usage_; variable
Dtexture_manager.cc112 usage_(GL_NONE), in Texture()
275 usage_); in AddToSignature()
632 usage_ = param; in SetParameter()
/external/chromium_org/android_webview/native/
Daw_quota_manager_bridge_impl.cc63 std::vector<int64> usage_; member in android_webview::__anon3f0310bf0111::GetOriginsTask
119 usage_.push_back(usage); in OnUsageAndQuotaObtained()
142 ui_callback_.Run(origin_, usage_, quota_); in DoneOnUIThread()
/external/chromium_org/content/browser/fileapi/
Dfile_system_quota_client_unittest.cc78 return usage_; in GetOriginUsage()
201 int64 usage() const { return usage_; } in usage()
210 usage_ = usage; in OnGetUsage()
229 int64 usage_; member in fileapi::FileSystemQuotaClientTest
Dobfuscated_file_util_unittest.cc140 usage_(-1) { in ObfuscatedFileUtilTest()
251 &usage_, in GetUsageFromQuotaManager()
285 int64 usage() const { return usage_; } in usage()
689 int64 usage_; member in fileapi::ObfuscatedFileUtilTest
/external/chromium_org/webkit/browser/quota/
Dquota_manager_unittest.cc111 usage_ = -1; in GetUsageAndQuotaForWebApps()
121 usage_ = -1; in GetUsageAndQuotaForStorageClient()
164 usage_ = -1; in GetGlobalUsage()
173 usage_ = -1; in GetHostUsage()
237 usage_ = -1; in GetUsageAndQuotaForEviction()
309 usage_ = usage; in DidGetUsageAndQuota()
332 usage_ = usage; in DidGetGlobalUsage()
337 usage_ = usage; in DidGetHostUsage()
390 int64 usage() const { return usage_; } in usage()
420 int64 usage_; member in quota::QuotaManagerTest