Searched refs:quota (Results 1 - 25 of 208) sorted by relevance

123456789

/external/chromium_org/third_party/WebKit/Source/modules/quota/
H A DStorageInfo.cpp32 #include "modules/quota/StorageInfo.h"
36 StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota) argument
38 , m_quota(quota)
H A DStorageInfo.h42 static StorageInfo* create(unsigned long long usage, unsigned long long quota) argument
44 return new StorageInfo(usage, quota);
48 unsigned long long quota() const { return m_quota; } function in class:blink::FINAL
53 StorageInfo(unsigned long long usage, unsigned long long quota);
H A DStorageInfo.idl37 readonly attribute unsigned long long quota;
/external/chromium_org/chrome/browser/resources/quota_internals/
H A Dmessage_dispatcher.js17 cr.define('cr.quota', function() {
47 target = cr.quota.onAvailableSpaceUpdated;
50 target = cr.quota.onGlobalInfoUpdated;
53 target = cr.quota.onPerHostInfoUpdated;
56 target = cr.quota.onPerOriginInfoUpdated;
59 target = cr.quota.onStatisticsUpdated;
/external/iptables/include/linux/netfilter/
H A Dxt_quota.h16 __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/uapi/linux/netfilter/
H A Dxt_quota.h16 __aligned_u64 quota; member in struct:xt_quota_info
/external/chromium_org/storage/browser/quota/
H A Dstorage_observer.cc5 #include "storage/browser/quota/storage_observer.h"
52 : usage(0), quota(0) {
55 StorageObserver::Event::Event(const Filter& filter, int64 usage, int64 quota) argument
56 : filter(filter), usage(usage), quota(quota) {
62 quota == other.quota;
H A Dstorage_observer.h10 #include "storage/browser/quota/quota_client.h"
11 #include "storage/common/quota/quota_types.h"
17 // events, such as changes in quota or usage.
62 // The quota corresponding to the filter.
63 int64 quota; member in struct:storage::StorageObserver::Event
66 Event(const Filter& filter, int64 usage, int64 quota);
/external/chromium_org/content/common/dom_storage/
H A Ddom_storage_map.h19 // tracks the size in bytes of the keys/values, enforcing a quota.
24 explicit DOMStorageMap(size_t quota);
35 // this method does not do quota checking.
46 size_t quota() const { return quota_; } function in class:content::DOMStorageMap
47 void set_quota(size_t quota) { quota_ = quota; } argument
/external/iptables/extensions/
H A Dlibxt_quota.c2 * Shared library add-on to iptables to add quota support
15 {.name = "quota", .id = O_QUOTA, .type = XTTYPE_UINT64,
17 XTOPT_POINTER(struct xt_quota_info, quota)},
23 printf("quota match options:\n"
24 "[!] --quota quota quota (bytes)\n");
31 printf(" quota: %llu bytes", (unsigned long long)q->quota);
41 printf(" --quota
[all...]
H A Dlibxt_quota2.c41 {.name = "quota", .id = O_QUOTA, .type = XTTYPE_UINT64,
43 XTOPT_POINTER(struct xt_quota_mtinfo2, quota)},
51 "quota match options:\n"
53 " --no-change never change counter/quota value for matching packets\n"
55 "[!] --quota quota initial quota (bytes or packets)\n"
99 printf(" --quota %llu ", (unsigned long long)q->quota);
112 printf(" quota");
[all...]
/external/e2fsprogs/e2fsck/
H A DMakefile.in70 dx_dirinfo.o ehandler.o problem.o message.o quota.o recovery.o \
79 profiled/message.o profiled/problem.o profiled/quota.o \
114 $(srcdir)/quota.c \
298 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/quota/mkquota.h \
299 $(top_srcdir)/lib/quota/quotaio.h $(top_srcdir)/lib/quota/dqblk_v2.h \
300 $(top_srcdir)/lib/quota/quotaio_tree.h $(top_srcdir)/lib/../e2fsck/dict.h \
309 $(srcdir)/profile.h prof_err.h $(top_srcdir)/lib/quota/mkquota.h \
310 $(top_srcdir)/lib/quota/quotaio.h $(top_srcdir)/lib/quota/dqblk_v
[all...]
/external/chromium_org/chrome/browser/ui/webui/quota_internals/
H A Dquota_internals_types.h12 #include "storage/common/quota/quota_types.h"
21 // Represends global usage and quota information for specific type of storage.
35 void set_quota(int64 quota) { argument
36 quota_ = quota;
50 // Represents per host usage and quota information for the storage.
60 void set_quota(int64 quota) { argument
61 quota_ = quota;
/external/chromium_org/content/test/data/indexeddb/
H A Dquota_test.js15 function initUsageCallback(usage, quota) {
17 origReturnedQuota = returnedQuota = quota;
18 debug("original quota is " + displaySize(origReturnedQuota));
55 fail("dataAdded > quota " + dataAdded + " > " + origReturnedQuota);
79 function usageCallback(usage, quota) {
84 returnedQuota = quota;
85 debug("Allotted quota is " + displaySize(returnedQuota));
/external/chromium_org/content/test/data/fileapi/
H A Dquota_test.js36 fail('Unexpectedly succeeded to truncate. It should fail by quota.');
44 function quotaSuccess(usage, quota) {
47 if (quota != 5000 * 1024)
48 fail('Quota is not 5000KiB: ' + quota);
59 debug('Querying usage and quota.');
/external/chromium_org/storage/browser/fileapi/
H A Dsandbox_file_stream_writer.h17 #include "storage/common/quota/quota_types.h"
42 void set_default_quota(int64 quota) { argument
43 default_quota_ = quota;
47 // Performs quota calculation and calls local_file_writer_->Write().
62 int64 quota);
H A Dsandbox_file_stream_writer.cc16 #include "storage/browser/quota/quota_manager_proxy.h"
23 // Adjust the |quota| value in overwriting case (i.e. |file_size| > 0 and
24 // |file_offset| < |file_size|) to make the remaining quota calculation easier.
25 // Specifically this widens the quota for overlapping range (so that we can
26 // simply compare written bytes against the adjusted quota).
27 int64 AdjustQuotaForOverlap(int64 quota, argument
31 if (quota < 0)
32 quota = 0;
34 if (kint64max - overlap > quota)
35 quota
163 DidGetUsageAndQuota( const net::CompletionCallback& callback, storage::QuotaStatusCode status, int64 usage, int64 quota) argument
[all...]
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebSocketHandle.h64 virtual void flowControl(int64_t quota) = 0;
/external/chromium_org/content/child/
H A Dwebsocket_bridge.h42 virtual void flowControl(int64_t quota) OVERRIDE;
64 void DidReceiveFlowControl(int64_t quota);
/external/chromium_org/content/browser/quota/
H A Dmock_quota_manager.cc5 #include "content/browser/quota/mock_quota_manager.h"
30 MockQuotaManager::StorageInfo::StorageInfo() : usage(0), quota(kint64max) {}
52 callback.Run(storage::kQuotaStatusOk, info.usage, info.quota);
56 int64 quota) {
57 usage_and_quota_map_[std::make_pair(origin, type)].quota = quota;
55 SetQuota(const GURL& origin, StorageType type, int64 quota) argument
/external/chromium_org/android_webview/native/
H A Daw_quota_manager_bridge_impl.cc18 #include "storage/browser/quota/quota_manager.h"
19 #include "storage/common/quota/quota_types.h"
54 int64 quota);
116 int64 quota) {
121 quota_.push_back(quota);
270 const std::vector<int64>& quota) {
283 base::android::ToJavaLongArray(env, quota).obj());
292 int64 quota) {
296 quota = 0;
301 base::Bind(ui_callback, usage, quota));
112 OnUsageAndQuotaObtained( const GURL& origin, storage::QuotaStatusCode status_code, int64 usage, int64 quota) argument
266 GetOriginsCallbackImpl( int jcallback_id, const std::vector<std::string>& origin, const std::vector<int64>& usage, const std::vector<int64>& quota) argument
288 OnUsageAndQuotaObtained( const AwQuotaManagerBridgeImpl::QuotaUsageCallback& ui_callback, storage::QuotaStatusCode status_code, int64 usage, int64 quota) argument
342 QuotaUsageCallbackImpl( int jcallback_id, bool is_quota, int64 usage, int64 quota) argument
[all...]
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_quota_helper_unittest.cc16 #include "storage/browser/quota/quota_manager.h"
17 #include "storage/browser/quota/quota_manager_proxy.h"
82 void SetPersistentHostQuota(const std::string& host, int64 quota) { argument
85 host, quota,
98 void GotPersistentHostQuota(storage::QuotaStatusCode status, int64 quota) { argument
100 quota_ = quota;
107 int64 quota() { function in class:BrowsingDataQuotaHelperTest
201 EXPECT_EQ(0, quota());
205 EXPECT_EQ(10, quota());
/external/chromium_org/content/browser/
H A Dquota_dispatcher_host.cc13 #include "storage/browser/quota/quota_manager.h"
82 QuotaStatusCode status, int64 usage, int64 quota) {
89 request_id(), usage, quota));
110 // Convert the requested size from uint64 to int64 since the quota backend
139 int64 quota) {
149 requested_quota_ <= quota) {
155 current_quota_ = quota;
167 int64 quota) {
168 DidFinish(status, usage, std::min(requested_quota_, quota));
176 // User didn't allow the new quota
81 DidQueryStorageUsageAndQuota( QuotaStatusCode status, int64 usage, int64 quota) argument
137 DidGetPersistentUsageAndQuota(QuotaStatusCode status, int64 usage, int64 quota) argument
165 DidGetTemporaryUsageAndQuota(QuotaStatusCode status, int64 usage, int64 quota) argument
[all...]
/external/chromium_org/mojo/services/network/
H A Dweb_socket_impl.h38 virtual void FlowControl(int64_t quota) OVERRIDE;

Completed in 1580 milliseconds

123456789