Searched refs:blob_key (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dappengine_blobstore.py34 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 Dblob_reference_store.py36 blob_key = result.value
38 return blob_key
H A Dappengine_wrappers.py105 def __init__(self, blob_key):
106 self._data = _BLOBS[blob_key].getvalue()
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_active_blob_registry.cc24 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 Dindexed_db_active_blob_registry.h32 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 Dindexed_db_active_blob_registry_unittest.cc66 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 Dindexed_db_fake_backing_store.cc158 int64 blob_key) {}
157 ReportBlobUnused(int64 database_id, int64 blob_key) argument
H A Dindexed_db_fake_backing_store.h105 virtual void ReportBlobUnused(int64 database_id, int64 blob_key) OVERRIDE;
H A Dindexed_db_leveldb_coding.cc626 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 Dindexed_db_backing_store.cc2413 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 Dindexed_db_backing_store.h468 virtual void ReportBlobUnused(int64 database_id, int64 blob_key);
/external/chromium_org/tools/deep_memory_profiler/visualizer/
H A Dservices.py18 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()

Completed in 199 milliseconds