/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_active_blob_registry.cc | 24 int64 blob_key) { in AddBlobRef() argument 28 DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); in AddBlobRef() 32 SingleDBMap::iterator iter = single_db_map.find(blob_key); in AddBlobRef() 34 single_db_map[blob_key] = false; in AddBlobRef() 46 int64 blob_key) { in ReleaseBlobRef() argument 50 DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); in ReleaseBlobRef() 57 SingleDBMap::iterator blob_pair = single_db.find(blob_key); in ReleaseBlobRef() 73 blob_key = DatabaseMetaDataKey::kAllBlobsKey; in ReleaseBlobRef() 78 backing_store_->ReportBlobUnused(database_id, blob_key); in ReleaseBlobRef() 86 int64 blob_key) { in MarkDeletedCheckIfUsed() argument [all …]
|
D | indexed_db_active_blob_registry.h | 32 bool MarkDeletedCheckIfUsed(int64 database_id, int64 blob_key); 36 int64 blob_key); 39 base::Closure GetAddBlobRefCallback(int64 database_id, int64 blob_key); 53 void AddBlobRef(int64 database_id, int64 blob_key); 54 void ReleaseBlobRef(int64 database_id, int64 blob_key); 59 int64 blob_key,
|
D | indexed_db_active_blob_registry_unittest.cc | 66 virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE { in ReportBlobUnused() argument 67 unused_blobs_.insert(std::make_pair(database_id, blob_key)); in ReportBlobUnused() 73 bool CheckSingleUnusedBlob(int64 database_id, int64 blob_key) const { in CheckSingleUnusedBlob() 75 unused_blobs_.count(std::make_pair(database_id, blob_key)); in CheckSingleUnusedBlob()
|
D | indexed_db_leveldb_coding.cc | 626 int64 blob_key = -1; in DecodeBlobJournal() local 631 if (!DecodeVarInt(slice, &blob_key)) in DecodeBlobJournal() 633 if (!DatabaseMetaDataKey::IsValidBlobKey(blob_key) && in DecodeBlobJournal() 634 (blob_key != DatabaseMetaDataKey::kAllBlobsKey)) { in DecodeBlobJournal() 637 output.push_back(std::make_pair(database_id, blob_key)); in DecodeBlobJournal() 1425 bool DatabaseMetaDataKey::IsValidBlobKey(int64 blob_key) { in IsValidBlobKey() argument 1426 return blob_key >= kBlobKeyGeneratorInitialNumber; in IsValidBlobKey()
|
D | indexed_db_fake_backing_store.h | 105 virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE;
|
D | indexed_db_fake_backing_store.cc | 158 int64 blob_key) {} in ReportBlobUnused() argument
|
D | indexed_db_backing_store.cc | 2413 int64 blob_key) { in ReportBlobUnused() argument 2415 bool all_blobs = blob_key == DatabaseMetaDataKey::kAllBlobsKey; in ReportBlobUnused() 2416 DCHECK(all_blobs || DatabaseMetaDataKey::IsValidBlobKey(blob_key)); in ReportBlobUnused() 2451 (all_blobs || current_all_blobs || blob_key == current_blob_key)) { in ReportBlobUnused() 2637 int64 blob_key = journal_iter->second; in CleanUpBlobJournal() local 2639 if (blob_key == DatabaseMetaDataKey::kAllBlobsKey) { in CleanUpBlobJournal() 2643 DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); in CleanUpBlobJournal() 2644 if (!RemoveBlobFile(database_id, blob_key)) in CleanUpBlobJournal()
|
D | indexed_db_backing_store.h | 468 virtual void ReportBlobUnused(int64 database_id, int64 blob_key);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | appengine_blobstore.py | 34 blob_key = files.blobstore.get_blob_key(filename) 35 self._datastore.Set(datastore.BLOB_REFERENCE_BLOBSTORE, key, blob_key) 41 blob_key = self._datastore.Get(datastore.BLOB_REFERENCE_BLOBSTORE, key) 42 if blob_key is None: 44 blob_reader = blobstore.BlobReader(blob_key) 51 blob_key = self._datastore.Delete(datastore.BLOB_REFERENCE_BLOBSTORE, key) 52 if blob_key is None: 54 blob_key.delete()
|
D | blob_reference_store.py | 36 blob_key = result.value 38 return blob_key
|
D | appengine_wrappers.py | 105 def __init__(self, blob_key): argument 106 self._data = _BLOBS[blob_key].getvalue()
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
D | services.py | 18 blob_key = ndb.BlobKeyProperty() variable in Profiler 37 profiler = Profiler(id=run_id, blob_key=blob_info.key()) 47 return blobstore.BlobReader(profiler.blob_key).read()
|