Searched defs:quota (Results 1 - 25 of 41) sorted by relevance

12

/external/webkit/Source/WebCore/storage/
H A DStorageNamespace.cpp39 PassRefPtr<StorageNamespace> StorageNamespace::localStorageNamespace(const String& path, unsigned quota) argument
41 return StorageNamespaceImpl::localStorageNamespace(path, quota);
45 PassRefPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page*, unsigned quota) argument
47 return StorageNamespaceImpl::sessionStorageNamespace(quota);
H A DStorageMap.h54 unsigned quota() const { return m_quotaSize; } function in class:WebCore::StorageMap
59 StorageMap(unsigned quota);
H A DStorageMap.cpp33 PassRefPtr<StorageMap> StorageMap::create(unsigned quota) argument
35 return adoptRef(new StorageMap(quota));
38 StorageMap::StorageMap(unsigned quota) argument
41 , m_quotaSize(quota) // quota measured in bytes
H A DStorageNamespaceImpl.cpp53 PassRefPtr<StorageNamespace> StorageNamespaceImpl::localStorageNamespace(const String& path, unsigned quota) argument
58 RefPtr<StorageNamespace> storageNamespace = adoptRef(new StorageNamespaceImpl(LocalStorage, lookupPath, quota));
66 PassRefPtr<StorageNamespace> StorageNamespaceImpl::sessionStorageNamespace(unsigned quota) argument
68 return adoptRef(new StorageNamespaceImpl(SessionStorage, String(), quota));
71 StorageNamespaceImpl::StorageNamespaceImpl(StorageType storageType, const String& path, unsigned quota) argument
75 , m_quota(quota)
H A DStorageAreaImpl.cpp47 inline StorageAreaImpl::StorageAreaImpl(StorageType storageType, PassRefPtr<SecurityOrigin> origin, PassRefPtr<StorageSyncManager> syncManager, unsigned quota) argument
50 , m_storageMap(StorageMap::create(quota))
61 PassRefPtr<StorageAreaImpl> StorageAreaImpl::create(StorageType storageType, PassRefPtr<SecurityOrigin> origin, PassRefPtr<StorageSyncManager> syncManager, unsigned quota) argument
63 RefPtr<StorageAreaImpl> area = adoptRef(new StorageAreaImpl(storageType, origin, syncManager, quota));
201 unsigned quota = m_storageMap->quota(); local
202 m_storageMap = StorageMap::create(quota);
240 unsigned quota = m_storageMap->quota(); local
241 m_storageMap = StorageMap::create(quota);
[all...]
H A DDatabaseTracker.cpp126 if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, quota INTEGER NOT NULL ON CONFLICT FAIL);")) {
171 // Give the chrome client a chance to increase the quota.
225 // The maximum size for a database is the full quota for its origin, minus the current usage within the origin,
317 // If this origin's quota is being tracked (open handle to a database in this origin), add this new database
318 // to the quota manager now
346 SQLiteStatement statement(m_database, "SELECT origin, quota FROM Origins");
657 void DatabaseTracker::setQuota(SecurityOrigin* origin, unsigned long long quota) argument
661 if (quotaForOriginNoLock(origin) == quota)
674 statement.bindInt64(2, quota);
680 SQLiteStatement statement(m_database, "UPDATE Origins SET quota
[all...]
/external/webkit/Source/WebCore/page/
H A DGroupSettings.cpp37 void GroupSettings::setLocalStorageQuotaBytes(unsigned quota) argument
39 m_localStorageQuotaBytes = quota;
47 void GroupSettings::setIndexedDBQuotaBytes(int64_t quota) argument
49 m_indexedDBQuotaBytes = quota;
H A DPageGroup.cpp348 unsigned quota = m_groupSettings->localStorageQuotaBytes(); local
349 m_localStorage = StorageNamespace::localStorageNamespace(path, quota);
/external/iptables/include/linux/netfilter/
H A Dxt_quota.h14 aligned_u64 quota; member in struct:xt_quota_info
H A Dxt_quota2.h19 aligned_u64 quota; member in struct:xt_quota_mtinfo2
/external/kernel-headers/original/linux/netfilter/
H A Dxt_quota.h12 aligned_u64 quota; member in struct:xt_quota_info
/external/webkit/Source/WebKit/chromium/src/
H A DWebStorageNamespaceImpl.cpp43 WebStorageNamespace* WebStorageNamespace::createLocalStorageNamespace(const WebString& path, unsigned quota) argument
45 return new WebStorageNamespaceImpl(WebCore::StorageNamespaceImpl::localStorageNamespace(path, quota));
48 WebStorageNamespace* WebStorageNamespace::createSessionStorageNamespace(unsigned quota) argument
50 return new WebStorageNamespaceImpl(WebCore::StorageNamespaceImpl::sessionStorageNamespace(quota));
H A DStorageNamespaceProxy.cpp45 PassRefPtr<StorageNamespace> StorageNamespace::localStorageNamespace(const String& path, unsigned quota) argument
47 return adoptRef(new StorageNamespaceProxy(WebKit::webKitClient()->createLocalStorageNamespace(path, quota), LocalStorage));
50 PassRefPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page* page, unsigned quota) argument
53 return adoptRef(new StorageNamespaceProxy(webViewClient->createSessionStorageNamespace(quota), SessionStorage));
/external/webkit/Source/WebKit/win/
H A DWebSecurityOrigin.cpp146 HRESULT STDMETHODCALLTYPE WebSecurityOrigin::quota( function in class:WebSecurityOrigin
162 /* [in] */ unsigned long long quota)
165 DatabaseTracker::tracker().setQuota(m_securityOrigin.get(), quota);
169 UNUSED_PARAM(quota);
161 setQuota( unsigned long long quota) argument
H A DWebDatabaseManager.cpp376 /* [in] */ unsigned long long quota)
384 DatabaseTracker::tracker().setQuota(SecurityOrigin::createFromString(origin).get(), quota);
374 setQuota( BSTR origin, unsigned long long quota) argument
/external/chromium/chrome/browser/extensions/
H A Dextension_test_api.cc60 ExtensionsQuotaService* quota = service->quota_service(); local
61 quota->Purge();
62 quota->violators_.clear();
H A Dextension_function_dispatcher.cc504 ExtensionsQuotaService* quota = service->quota_service(); local
505 if (quota->Assess(extension_id(), function, &params.arguments,
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebsecurityorigin.cpp131 Returns the quota for the databases in the security origin.
143 Sets the quota for the databases in the security origin to \a quota bytes.
145 If the quota is set to a value less than the current usage, the quota will remain
146 and no data will be purged to meet the new quota. However, no new data can be added
149 void QWebSecurityOrigin::setDatabaseQuota(qint64 quota) argument
152 DatabaseTracker::tracker().setQuota(d->origin.get(), quota);
156 void QWebSecurityOrigin::setApplicationCacheQuota(qint64 quota) argument
159 WebCore::cacheStorage().storeUpdatedQuotaForOrigin(d->origin.get(), quota);
[all...]
/external/webkit/Source/WebKit/android/jni/
H A DWebStorage.cpp79 unsigned long long quota = WebCore::DatabaseTracker::tracker().quotaForOrigin(securityOrigin.get()); local
80 return quota;
105 static void SetQuotaForOrigin(JNIEnv* env, jobject obj, jstring origin, unsigned long long quota) argument
109 WebCore::DatabaseTracker::tracker().setQuota(securityOrigin.get(), quota);
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKDatabaseManager.cpp151 void WKDatabaseManagerSetQuotaForOrigin(WKDatabaseManagerRef databaseManagerRef, WKSecurityOriginRef originRef, uint64_t quota) argument
153 toImpl(databaseManagerRef)->setQuotaForOrigin(toImpl(originRef), quota); local
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitsecurityorigin.cpp44 * #webkit_security_origin_get_web_database_usage. An origin's quota can be
197 * WebKitSecurityOrigin:web-database-quota:
204 g_param_spec_uint64("web-database-quota",
206 _("The web database quota of the security origin in bytes"),
311 * Returns the quota for Web Database storage of the security origin
314 * Returns: the Web Database quota
333 * @quota: a new Web Database quota in bytes
335 * Adjust the quota for Web Database storage of the security origin
339 void webkit_security_origin_set_web_database_quota(WebKitSecurityOrigin* securityOrigin, guint64 quota) argument
[all...]
/external/webkit/Source/WebKit2/UIProcess/
H A DWebDatabaseManagerProxy.cpp214 void WebDatabaseManagerProxy::setQuotaForOrigin(WebSecurityOrigin* origin, uint64_t quota) argument
217 m_webContext->sendToAllProcessesRelaunchingThemIfNecessary(Messages::WebDatabaseManager::SetQuotaForOrigin(origin->databaseIdentifier(), quota));
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
H A DWKBundle.cpp151 void WKBundleSetDatabaseQuota(WKBundleRef bundleRef, uint64_t quota) argument
153 toImpl(bundleRef)->setDatabaseQuota(quota);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
H A DInjectedBundle.cpp143 void InjectedBundle::setDatabaseQuota(uint64_t quota) argument
145 WebDatabaseManager::shared().setQuotaForOrigin("file:///", quota);
/external/webkit/Source/WebKit/chromium/public/
H A DWebKitClient.h100 virtual WebStorageNamespace* createLocalStorageNamespace(const WebString& path, unsigned quota) { return 0; } argument

Completed in 469 milliseconds

12