/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A 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()
|
H A D | blob_reference_store.py | 36 blob_key = result.value 38 return blob_key
|
H A D | appengine_wrappers.py | 105 def __init__(self, blob_key): 106 self._data = _BLOBS[blob_key].getvalue()
|
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_active_blob_registry.cc | 24 int64 blob_key) { 28 DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); 32 SingleDBMap::iterator iter = single_db_map.find(blob_key); 34 single_db_map[blob_key] = false; 46 int64 blob_key) { 50 DCHECK(DatabaseMetaDataKey::IsValidBlobKey(blob_key)); 57 SingleDBMap::iterator blob_pair = single_db.find(blob_key); 73 blob_key = DatabaseMetaDataKey::kAllBlobsKey; 78 backing_store_->ReportBlobUnused(database_id, blob_key); 86 int64 blob_key) { 23 AddBlobRef(int64 database_id, int64 blob_key) argument 45 ReleaseBlobRef(int64 database_id, int64 blob_key) argument 85 MarkDeletedCheckIfUsed(int64 database_id, int64 blob_key) argument 108 ReleaseBlobRefThreadSafe( scoped_refptr<base::TaskRunner> task_runner, base::WeakPtr<IndexedDBActiveBlobRegistry> weak_ptr, int64 database_id, int64 blob_key, const base::FilePath& unused) argument 122 GetFinalReleaseCallback(int64 database_id, int64 blob_key) argument 132 GetAddBlobRefCallback( int64 database_id, int64 blob_key) argument [all...] |
H A 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); 46 // Maps blob_key -> IsDeleted; if the record's absent, it's not in active use 53 void AddBlobRef(int64 database_id, int64 blob_key); 54 void ReleaseBlobRef(int64 database_id, int64 blob_key); 59 int64 blob_key,
|
H A D | indexed_db_active_blob_registry_unittest.cc | 66 virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE { 67 unused_blobs_.insert(std::make_pair(database_id, blob_key)); 73 bool CheckSingleUnusedBlob(int64 database_id, int64 blob_key) const { 75 unused_blobs_.count(std::make_pair(database_id, blob_key));
|
H A D | indexed_db_fake_backing_store.cc | 158 int64 blob_key) {} 157 ReportBlobUnused(int64 database_id, int64 blob_key) argument
|
H A D | indexed_db_fake_backing_store.h | 105 virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE;
|
H A D | indexed_db_leveldb_coding.cc | 626 int64 blob_key = -1; local 631 if (!DecodeVarInt(slice, &blob_key)) 633 if (!DatabaseMetaDataKey::IsValidBlobKey(blob_key) && 634 (blob_key != DatabaseMetaDataKey::kAllBlobsKey)) { 637 output.push_back(std::make_pair(database_id, blob_key)); 1425 bool DatabaseMetaDataKey::IsValidBlobKey(int64 blob_key) { argument 1426 return blob_key >= kBlobKeyGeneratorInitialNumber;
|
H A D | indexed_db_backing_store.cc | 2413 int64 blob_key) { 2415 bool all_blobs = blob_key == DatabaseMetaDataKey::kAllBlobsKey; 2416 DCHECK(all_blobs || DatabaseMetaDataKey::IsValidBlobKey(blob_key)); 2432 // There are several cases to handle. If blob_key is kAllBlobsKey, we want to 2434 // kAllBlobsKey to the primary journal. Otherwise if IsValidBlobKey(blob_key) 2437 // to the primary. Otherwise if IsValidBlobKey(blob_key) and we find a 2438 // matching (database_id, blob_key) tuple, we should move it to the primary 2451 (all_blobs || current_all_blobs || blob_key == current_blob_key)) { 2637 int64 blob_key = journal_iter->second; local 2639 if (blob_key 2412 ReportBlobUnused(int64 database_id, int64 blob_key) argument [all...] |
H A D | indexed_db_backing_store.h | 468 virtual void ReportBlobUnused(int64 database_id, int64 blob_key);
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
H A D | services.py | 18 blob_key = ndb.BlobKeyProperty() variable in class:Profiler 37 profiler = Profiler(id=run_id, blob_key=blob_info.key()) 47 return blobstore.BlobReader(profiler.blob_key).read()
|