HomeSort by relevance Sort by last modified time
    Searched refs:estimatedSize (Results 1 - 25 of 31) sorted by null

1 2

  /external/webkit/WebCore/storage/
Database.h 76 static PassRefPtr<Database> openDatabase(ScriptExecutionContext* context, const String& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize, ExceptionCode&);
97 unsigned long estimatedSize() const;
131 unsigned long estimatedSize);
DatabaseTracker.h 67 bool canEstablishDatabase(ScriptExecutionContext*, const String& name, const String& displayName, unsigned long estimatedSize);
68 void setDatabaseDetails(SecurityOrigin*, const String& name, const String& displayName, unsigned long estimatedSize);
Database.cpp 135 PassRefPtr<Database> Database::openDatabase(ScriptExecutionContext* context, const String& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize, ExceptionCode& e)
137 if (!DatabaseTracker::tracker().canEstablishDatabase(context, name, displayName, estimatedSize)) {
143 RefPtr<Database> database = adoptRef(new Database(context, name, expectedVersion, displayName, estimatedSize));
152 DatabaseTracker::tracker().setDatabaseDetails(context->securityOrigin(), name, displayName, estimatedSize);
166 Database::Database(ScriptExecutionContext* context, const String& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize)
174 , m_estimatedSize(estimatedSize)
752 unsigned long Database::estimatedSize() const
DatabaseTracker.cpp 117 if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, origin TEXT, name TEXT, displayName TEXT, estimatedSize INTEGER, path TEXT);")) {
123 bool DatabaseTracker::canEstablishDatabase(ScriptExecutionContext* context, const String& name, const String& displayName, unsigned long estimatedSize)
142 unsigned long long requirement = usage + max(1UL, estimatedSize);
150 pair<SecurityOrigin*, DatabaseDetails> details(origin, DatabaseDetails(name, displayName, estimatedSize, 0));
330 SQLiteStatement statement(m_database, "SELECT displayName, estimatedSize FROM Databases WHERE origin=? AND name=?");
349 void DatabaseTracker::setDatabaseDetails(SecurityOrigin* origin, const String& name, const String& displayName, unsigned long estimatedSize)
384 SQLiteStatement updateStatement(m_database, "UPDATE Databases SET displayName=?, estimatedSize=? WHERE guid=?");
389 updateStatement.bindInt64(2, estimatedSize);
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 212 * @param estimatedSize the estimated size of a new database, or 0 if
220 String databaseIdentifier, long currentQuota, long estimatedSize,
259 // If we cannot satisfy the estimatedSize, we should return 0 as
262 if (totalUnusedQuota >= estimatedSize) {
263 newOriginQuota = estimatedSize;
268 " estimatedSize for the new database " +
269 " (estimatedSize: " + estimatedSize +
279 // Increase the quota. If estimatedSize == 0, then this is a quota overflow
281 long quotaIncrease = estimatedSize == 0
    [all...]
Tab.java     [all...]
  /external/webkit/WebKit/chromium/src/
WebDatabase.cpp 81 unsigned long WebDatabase::estimatedSize() const
84 return m_private->estimatedSize();
  /external/webkit/WebKit/chromium/public/
WebDatabase.h 66 WEBKIT_API unsigned long estimatedSize() const;
  /packages/apps/Browser/tests/src/com/android/browser/
TestWebChromeClient.java 133 long currentQuota, long estimatedSize, long totalUsedQuota,
136 estimatedSize, totalUsedQuota, quotaUpdater);
  /frameworks/base/core/java/android/webkit/
WebChromeClient.java 205 * @param estimatedSize The estimated size of the database.
212 long currentQuota, long estimatedSize, long totalUsedQuota,
CallbackProxy.java 450 long estimatedSize =
451 ((Long) map.get("estimatedSize")).longValue();
456 databaseIdentifier, currentQuota, estimatedSize,
    [all...]
WebViewCore.java 325 * @param estimatedSize The estimated size of the database.
330 long estimatedSize) {
336 currentQuota, estimatedSize, getUsedQuota(),
    [all...]
  /external/webkit/WebCore/workers/
WorkerContext.h 109 PassRefPtr<Database> openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, ExceptionCode&);
WorkerContext.cpp 259 PassRefPtr<Database> WorkerContext::openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, ExceptionCode& ec)
270 return Database::openDatabase(this, name, version, displayName, estimatedSize, ec);
  /external/webkit/WebKit/android/WebCoreSupport/
ChromeClientAndroid.cpp 359 unsigned long long estimatedSize = 0;
361 // Only update estimatedSize if we are trying to create a a new database, i.e. the usage for the database is 0.
363 estimatedSize = tracker.detailsForNameAndOrigin(name, origin).expectedUsage();
365 android::WebViewCore::getWebViewCore(frame->view())->exceededDatabaseQuota(frame->document()->documentURI(), name, currentQuota, estimatedSize);
383 if (reclaimedQuotaBytes >= estimatedSize) {
  /external/guava/src/com/google/common/collect/
Lists.java 174 * @param estimatedSize an estimate of the eventual {@link List#size()} of
178 * @throws IllegalArgumentException if {@code estimatedSize} is negative
182 int estimatedSize) {
183 return new ArrayList<E>(computeArrayListCapacity(estimatedSize));
  /external/webkit/WebCore/platform/win/
ClipboardWin.cpp 280 static HGLOBAL createGlobalUrlFileDescriptor(const String& url, const String& title, int& /*out*/ estimatedSize)
296 estimatedSize = fileSize;
736 int estimatedSize = 0;
739 HGLOBAL urlFileDescriptor = createGlobalUrlFileDescriptor(url, titleStr, estimatedSize);
742 HGLOBAL urlFileContent = createGlobalURLContent(url, estimatedSize);
  /external/chromium/third_party/icu/source/common/
triedict.cpp     [all...]
  /external/chromium/third_party/icu/source/i18n/
ucol_tok.cpp     [all...]
  /external/webkit/WebKit/android/jni/
WebViewCore.h 217 * @param estimatedSize The estimated size of the database
222 const unsigned long long estimatedSize);
  /external/icu4c/i18n/
ucol_tok.cpp     [all...]
  /external/webkit/WebCore/page/
DOMWindow.h 201 PassRefPtr<Database> openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, ExceptionCode&);
DOMWindow.cpp 1128 PassRefPtr<Database> DOMWindow::openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, ExceptionCode& ec)
1141 return Database::openDatabase(document, name, version, displayName, estimatedSize, ec);
    [all...]
DOMWindow.idl 163 [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize)
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
TestShellActivity.java 633 long estimatedSize, long totalUsedQuota,

Completed in 521 milliseconds

1 2