Searched defs:objectStoreId (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/storage/
H A DIDBDatabaseBackendImpl.cpp126 int64_t objectStoreId; local
128 if (!database->m_backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objectStore->autoIncrement(), objectStoreId)) {
133 objectStore->setId(objectStoreId);
H A DIDBObjectStoreBackendImpl.cpp330 PopulateIndexCallback(IDBBackingStore& backingStore, const String& indexKeyPath, int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
334 , m_objectStoreId(objectStoreId)
361 static bool populateIndex(IDBBackingStore& backingStore, int64_t databaseId, int64_t objectStoreId, int64_t indexId, const String& indexKeyPath) argument
363 PopulateIndexCallback callback(backingStore, indexKeyPath, databaseId, objectStoreId, indexId);
364 if (!backingStore.forEachObjectStoreRecord(databaseId, objectStoreId, callback))
H A DIDBSQLiteBackingStore.cpp79 "CREATE TABLE Indexes (id INTEGER PRIMARY KEY, objectStoreId INTEGER NOT NULL REFERENCES ObjectStore(id), name TEXT NOT NULL, keyPath TEXT, isUnique INTEGER NOT NULL)",
80 "CREATE UNIQUE INDEX Indexes_composit ON Indexes(objectStoreId, name)",
82 "CREATE TABLE ObjectStoreData (id INTEGER PRIMARY KEY, objectStoreId INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate INTEGER, keyNumber INTEGER, value TEXT NOT NULL)",
83 "CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber, objectStoreId)",
128 "CREATE TABLE ObjectStoreData2 (id INTEGER PRIMARY KEY, objectStoreId INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate REAL, keyNumber REAL, value TEXT NOT NULL)",
132 "CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber, objectStoreId)",
154 "CREATE TABLE ObjectStoreData (id INTEGER PRIMARY KEY, objectStoreId INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate REAL, keyNumber REAL, value BLOB NOT NULL)",
155 "CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber, objectStoreId)",
294 void IDBSQLiteBackingStore::deleteObjectStore(int64_t, int64_t objectStoreId) argument
296 doDelete(m_db, "DELETE FROM ObjectStores WHERE id = ?", objectStoreId);
396 getObjectStoreRecord(int64_t, int64_t objectStoreId, const IDBKey& key) argument
445 putObjectStoreRecord(int64_t, int64_t objectStoreId, const IDBKey& key, const String& value, ObjectStoreRecordIdentifier* recordIdentifier) argument
471 clearObjectStore(int64_t, int64_t objectStoreId) argument
477 deleteObjectStoreRecord(int64_t, int64_t objectStoreId, const ObjectStoreRecordIdentifier* recordIdentifier) argument
492 nextAutoIncrementNumber(int64_t, int64_t objectStoreId) argument
506 keyExistsInObjectStore(int64_t, int64_t objectStoreId, const IDBKey& key, ObjectStoreRecordIdentifier* foundRecordIdentifier) argument
525 forEachObjectStoreRecord(int64_t, int64_t objectStoreId, ObjectStoreRecordCallback& callback) argument
544 getIndexes(int64_t, int64_t objectStoreId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags) argument
565 createIndex(int64_t, int64_t objectStoreId, const String& name, const String& keyPath, bool isUnique, int64_t& indexId) argument
876 openObjectStoreCursor(int64_t, int64_t objectStoreId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
[all...]
H A DIDBLevelDBBackingStore.cpp509 KeyPrefix(int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
511 , m_objectStoreId(objectStoreId)
787 static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, int64_t metaDataType) argument
792 ret.append(encodeVarInt(objectStoreId));
797 int64_t objectStoreId() const function in class:WebCore::__anon14722::ObjectStoreMetaDataKey
858 static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, unsigned char metaDataType) argument
863 ret.append(encodeVarInt(objectStoreId));
920 static Vector<char> encode(int64_t databaseId, int64_t objectStoreId) argument
925 ret.append(encodeVarInt(objectStoreId));
929 int64_t objectStoreId() cons function in class:WebCore::__anon14722::ObjectStoreFreeListKey
977 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
996 int64_t objectStoreId() const function in class:WebCore::__anon14722::IndexFreeListKey
1085 encode(int64_t databaseId, int64_t objectStoreId, const String& indexName) argument
1126 encode(int64_t databaseId, int64_t objectStoreId, const Vector<char> encodedUserKey) argument
1135 encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey) argument
1174 encode(int64_t databaseId, int64_t objectStoreId, const Vector<char>& encodedKey) argument
1182 encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey) argument
1237 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const Vector<char>& encodedUserKey, int64_t sequenceNumber) argument
1246 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& userKey, int64_t sequenceNumber) argument
1251 encodeMaxKey(int64_t databaseId, int64_t objectStoreId) argument
1274 int64_t objectStoreId() const function in class:WebCore::__anon14722::IndexDataKey
1587 int64_t objectStoreId = metaDataKey.objectStoreId(); local
1655 int64_t objectStoreId = maxObjectStoreId + 1; local
1664 int64_t objectStoreId = getNewObjectStoreId(m_db.get(), databaseId); local
1733 deleteObjectStore(int64_t databaseId, int64_t objectStoreId) argument
1752 getObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey& key) argument
1790 getNewVersionNumber(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId) argument
1809 putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey& key, const String& value, ObjectStoreRecordIdentifier* recordIdentifier) argument
1831 clearObjectStore(int64_t databaseId, int64_t objectStoreId) argument
1844 deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier* recordIdentifier) argument
1851 nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId) argument
1880 keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey& key, ObjectStoreRecordIdentifier* foundRecordIdentifier) argument
1898 forEachObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, ObjectStoreRecordCallback& callback) argument
1927 getIndexes(int64_t databaseId, int64_t objectStoreId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags) argument
1967 getNewIndexId(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId) argument
2001 createIndex(int64_t databaseId, int64_t objectStoreId, const String& name, const String& keyPath, bool isUnique, int64_t& indexId) argument
2036 putIndexDataForRecord(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key, const ObjectStoreRecordIdentifier* recordIdentifier) argument
2079 getObjectViaIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2088 versionExists(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId, int64_t version, const Vector<char>& encodedPrimaryKey) argument
2099 getPrimaryKeyViaIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2131 keyExistsInIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2475 openObjectStoreCursor(int64_t databaseId, int64_t objectStoreId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
2513 openIndexKeyCursor(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
2553 openIndexCursor(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
[all...]

Completed in 178 milliseconds