Home
last modified time | relevance | path

Searched refs:index_id (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/content/child/indexed_db/
Dwebidbdatabase_impl.cc93 long long index_id, in get() argument
102 index_id, in get()
167 long long index_id, in openCursor() argument
179 index_id, in openCursor()
189 long long index_id, in count() argument
198 index_id, in count()
228 long long index_id, in createIndex() argument
237 params.index_id = index_id; in createIndex()
248 long long index_id) { in deleteIndex() argument
250 ipc_database_id_, transaction_id, object_store_id, index_id)); in deleteIndex()
Dindexed_db_dispatcher.cc304 int64 index_id, in RequestIDBDatabaseGet() argument
314 params.index_id = index_id; in RequestIDBDatabaseGet()
373 int64 index_id, in RequestIDBDatabaseOpenCursor() argument
385 params.index_id = index_id; in RequestIDBDatabaseOpenCursor()
397 int64 index_id, in RequestIDBDatabaseCount() argument
406 params.index_id = index_id; in RequestIDBDatabaseCount()
Dindexed_db_dispatcher.h115 int64 index_id,
135 int64 index_id,
145 int64 index_id,
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_leveldb_coding.h85 KeyPrefix(int64 database_id, int64 object_store_id, int64 index_id);
88 int64 index_id);
128 static bool IsValidObjectStoreId(int64 index_id);
129 static bool IsValidIndexId(int64 index_id);
132 int64 index_id) { in ValidIds() argument
134 IsValidObjectStoreId(object_store_id) && IsValidIndexId(index_id); in ValidIds()
152 int64 index_id);
157 int64 index_id);
265 int64 index_id,
271 int64 index_id);
[all …]
Dindexed_db_database.h72 void RemoveIndex(int64 object_store_id, int64 index_id); in NON_EXPORTED_BASE()
107 int64 index_id, in NON_EXPORTED_BASE()
112 void DeleteIndex(int64 transaction_id, int64 object_store_id, int64 index_id); in NON_EXPORTED_BASE()
132 int64 index_id, in NON_EXPORTED_BASE()
154 int64 index_id, in NON_EXPORTED_BASE()
162 int64 index_id, in NON_EXPORTED_BASE()
212 int64 index_id, in NON_EXPORTED_BASE()
218 int64 index_id, in NON_EXPORTED_BASE()
232 int64 index_id, in NON_EXPORTED_BASE()
282 int64 index_id) const; in NON_EXPORTED_BASE()
[all …]
Dindexed_db_database.cc182 void IndexedDBDatabase::RemoveIndex(int64 object_store_id, int64 index_id) { in RemoveIndex() argument
188 DCHECK(object_store.indexes.find(index_id) != object_store.indexes.end()); in RemoveIndex()
189 object_store.indexes.erase(index_id); in RemoveIndex()
233 int64 index_id) const { in ValidateObjectStoreIdAndIndexId()
238 if (!Contains(object_store_metadata.indexes, index_id)) { in ValidateObjectStoreIdAndIndexId()
247 int64 index_id) const { in ValidateObjectStoreIdAndOptionalIndexId()
252 if (index_id != IndexedDBIndexMetadata::kInvalidId && in ValidateObjectStoreIdAndOptionalIndexId()
253 !Contains(object_store_metadata.indexes, index_id)) { in ValidateObjectStoreIdAndOptionalIndexId()
262 int64 index_id) const { in ValidateObjectStoreIdAndNewIndexId()
267 if (Contains(object_store_metadata.indexes, index_id)) { in ValidateObjectStoreIdAndNewIndexId()
[all …]
Dindexed_db_index_writer.cc34 int64 index_id, in VerifyIndexKeys() argument
44 index_id, in VerifyIndexKeys()
70 int64 index_id = index_metadata_.id; in WriteIndexKeys() local
75 index_id, in WriteIndexKeys()
89 int64 index_id, in AddingKeyAllowed() argument
104 index_id, in AddingKeyAllowed()
Dindexed_db_backing_store.cc1427 int64 index_id, in CheckIndexAndMetaDataKey() argument
1436 if (meta_data_key.IndexId() != index_id) in CheckIndexAndMetaDataKey()
1476 int64 index_id = meta_data_key.IndexId(); in GetIndexes() local
1486 it.get(), stop_key, index_id, IndexMetaDataKey::UNIQUE)) { in GetIndexes()
1499 it.get(), stop_key, index_id, IndexMetaDataKey::KEY_PATH)) { in GetIndexes()
1513 it.get(), stop_key, index_id, IndexMetaDataKey::MULTI_ENTRY)) { in GetIndexes()
1521 (*indexes)[index_id] = IndexedDBIndexMetadata( in GetIndexes()
1522 index_name, index_id, key_path, index_unique, index_multi_entry); in GetIndexes()
1530 int64 index_id) { in SetMaxIndexId() argument
1543 if (index_id <= max_index_id) { in SetMaxIndexId()
[all …]
Dindexed_db_fake_backing_store.cc87 int64 index_id, in CreateIndex() argument
98 int64 index_id) { in DeleteIndex() argument
104 int64 index_id, in PutIndexDataForRecord() argument
133 int64 index_id, in OpenIndexKeyCursor() argument
143 int64 index_id, in OpenIndexCursor() argument
Dindexed_db_backing_store.h162 int64 index_id,
170 int64 index_id) WARN_UNUSED_RESULT;
175 int64 index_id,
182 int64 index_id,
188 int64 index_id,
207 int64 index_id; member
268 int64 index_id,
275 int64 index_id,
314 int64 index_id,
Dindexed_db_fake_backing_store.h67 int64 index_id,
75 int64 index_id) OVERRIDE;
79 int64 index_id,
99 int64 index_id,
105 int64 index_id,
Dindexed_db_leveldb_coding.cc1090 KeyPrefix::KeyPrefix(int64 database_id, int64 object_store_id, int64 index_id) in KeyPrefix() argument
1093 index_id_(index_id) { in KeyPrefix()
1096 DCHECK(KeyPrefix::IsValidIndexId(index_id)); in KeyPrefix()
1102 int64 index_id) in KeyPrefix() argument
1105 index_id_(index_id) { in KeyPrefix()
1113 int64 index_id) { in CreateWithSpecialIndex() argument
1116 DCHECK(index_id); in CreateWithSpecialIndex()
1117 return KeyPrefix(INVALID_TYPE, database_id, object_store_id, index_id); in CreateWithSpecialIndex()
1129 bool KeyPrefix::IsValidIndexId(int64 index_id) { in IsValidIndexId() argument
1130 return (index_id >= kMinimumIndexId) && (index_id < KeyPrefix::kMaxIndexId); in IsValidIndexId()
[all …]
Dindexed_db_backing_store_unittest.cc157 const int64 index_id = kMinimumIndexId; in TEST_F() local
225 index_id, in TEST_F()
232 index_id, in TEST_F()
250 const int64 index_id = 999; in TEST_F() local
276 index_id, in TEST_F()
311 IndexedDBIndexMetadata index = object_store.indexes[index_id]; in TEST_F()
Dindexed_db_index_writer.h34 int64 index_id,
52 int64 index_id,
Dindexed_db_dispatcher_host.cc515 params.index_id, in OnGet()
620 params.index_id, in OnOpenCursor()
642 params.index_id, in OnCount()
734 params.index_id, in OnCreateIndex()
751 int64 index_id) { in OnDeleteIndex() argument
760 parent_->HostTransactionId(transaction_id), object_store_id, index_id); in OnDeleteIndex()
Dindexed_db_dispatcher_host.h190 int64 index_id);
/external/chromium_org/content/common/indexed_db/
Dindexed_db_messages.h107 IPC_STRUCT_MEMBER(int64, index_id)
126 IPC_STRUCT_MEMBER(int64, index_id)
153 IPC_STRUCT_MEMBER(int64, index_id)
176 IPC_STRUCT_MEMBER(int64, index_id)
220 IPC_STRUCT_MEMBER(int64, index_id)