Home
last modified time | relevance | path

Searched refs:BlobData (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/blob/
DBlobData.cpp65 PassOwnPtr<BlobData> BlobData::create() in create()
67 return adoptPtr(new BlobData()); in create()
70 void BlobData::detachFromCurrentThread() in detachFromCurrentThread()
77 void BlobData::appendData(PassRefPtr<RawData> data, long long offset, long long length) in appendData()
82 void BlobData::appendFile(const String& path) in appendFile()
87 void BlobData::appendFile(const String& path, long long offset, long long length, double expectedMo… in appendFile()
92 void BlobData::appendBlob(PassRefPtr<BlobDataHandle> dataHandle, long long offset, long long length) in appendBlob()
97 void BlobData::appendFileSystemURL(const KURL& url, long long offset, long long length, double expe… in appendFileSystemURL()
102 void BlobData::appendText(const String& text, bool doNormalizeLineEndingsToNative) in appendText()
117 void BlobData::appendBytes(const void* bytes, size_t length) in appendBytes()
[all …]
DBlobData.h146 friend class BlobData;
161 class PLATFORM_EXPORT BlobData {
164 static PassOwnPtr<BlobData> create();
190 BlobData() { } in BlobData() function
196 BlobData& operator=(const BlobData&);
212 static PassRefPtr<BlobDataHandle> create(PassOwnPtr<BlobData> data, long long size) in create()
231 BlobDataHandle(PassOwnPtr<BlobData>, long long size);
DBlobRegistry.h41 class BlobData; variable
51 static void registerBlobData(const String& uuid, PassOwnPtr<BlobData>);
/external/chromium_org/storage/common/blob/
Dblob_data.cc14 BlobData::BlobData() {} in BlobData() function in storage::BlobData
15 BlobData::BlobData(const std::string& uuid) in BlobData() function in storage::BlobData
19 BlobData::~BlobData() {} in ~BlobData()
21 void BlobData::AppendData(const char* data, size_t length) { in AppendData()
27 void BlobData::AppendFile(const base::FilePath& file_path, in AppendFile()
36 void BlobData::AppendBlob(const std::string& uuid, in AppendBlob()
43 void BlobData::AppendFileSystemFile( in AppendFileSystemFile()
53 int64 BlobData::GetMemoryUsage() const { in GetMemoryUsage()
Dblob_data.h22 class STORAGE_COMMON_EXPORT BlobData
23 : public base::RefCounted<BlobData> {
28 BlobData();
29 explicit BlobData(const std::string& uuid);
64 friend class base::RefCounted<BlobData>;
65 virtual ~BlobData();
73 DISALLOW_COPY_AND_ASSIGN(BlobData);
77 inline bool operator==(const BlobData& a, const BlobData& b) {
91 inline bool operator!=(const BlobData& a, const BlobData& b) {
/external/chromium_org/storage/browser/blob/
Dblob_storage_context.cc46 int refcount, int flags, BlobData* data) in BlobMapEntry()
84 const BlobData* data) { in AddFinishedBlob()
86 for (std::vector<BlobData::Item>::const_iterator iter = in AddFinishedBlob()
119 blob_map_[uuid] = BlobMapEntry(1, BEING_BUILT, new BlobData(uuid)); in StartBuildingBlob()
123 const std::string& uuid, const BlobData::Item& item) { in AppendBlobDataItem()
130 BlobData* target_blob_data = found->second.data.get(); in AppendBlobDataItem()
148 case BlobData::Item::TYPE_BYTES: in AppendBlobDataItem()
154 case BlobData::Item::TYPE_FILE: in AppendBlobDataItem()
161 case BlobData::Item::TYPE_FILE_FILESYSTEM: in AppendBlobDataItem()
168 case BlobData::Item::TYPE_BLOB: { in AppendBlobDataItem()
[all …]
Dblob_storage_context.h48 scoped_ptr<BlobDataHandle> AddFinishedBlob(const BlobData* blob_data);
67 scoped_refptr<BlobData> data;
70 BlobMapEntry(int refcount, int flags, BlobData* data);
80 const BlobData::Item& data_item);
86 bool ExpandStorageItems(BlobData* target_blob_data,
87 BlobData* src_blob_data,
90 bool AppendBytesItem(BlobData* target_blob_data,
92 void AppendFileItem(BlobData* target_blob_data,
97 BlobData* target_blob_data,
Dblob_data_handle.h21 class BlobData; variable
33 BlobData* data() const; // May only be accessed on the IO thread.
41 BlobDataHandleShared(BlobData* blob_data,
45 BlobData* data() const;
55 scoped_refptr<BlobData> blob_data_;
62 BlobDataHandle(BlobData* blob_data, BlobStorageContext* context,
Dblob_url_request_job.cc41 bool IsFileType(BlobData::Item::Type type) { in IsFileType()
43 case BlobData::Item::TYPE_FILE: in IsFileType()
44 case BlobData::Item::TYPE_FILE_FILESYSTEM: in IsFileType()
56 const scoped_refptr<BlobData>& blob_data, in BlobURLRequestJob()
198 const BlobData::Item& item = blob_data_->items().at(i); in CountSize()
255 const BlobData::Item& item = blob_data_->items().at(index); in DidGetFileItemLength()
301 const BlobData::Item& item = blob_data_->items().at(current_item_index_); in Seek()
330 const BlobData::Item& item = blob_data_->items().at(current_item_index_); in ReadItem()
331 if (item.type() == BlobData::Item::TYPE_BYTES) in ReadItem()
367 bool BlobURLRequestJob::ReadBytesItem(const BlobData::Item& item, in ReadBytesItem()
[all …]
Dblob_data_handle.cc17 BlobData* blob_data, in BlobDataHandleShared()
25 BlobData* BlobDataHandle::BlobDataHandleShared::data() const { in data()
38 BlobDataHandle::BlobDataHandle(BlobData* blob_data, in BlobDataHandle()
59 BlobData* BlobDataHandle::data() const { in data()
Dview_blob_internals_job.cc171 void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data, in GenerateHTMLForBlobData()
193 const BlobData::Item& item = blob_data.items().at(i); in GenerateHTMLForBlobData()
196 case BlobData::Item::TYPE_BYTES: in GenerateHTMLForBlobData()
199 case BlobData::Item::TYPE_FILE: in GenerateHTMLForBlobData()
210 case BlobData::Item::TYPE_BLOB: in GenerateHTMLForBlobData()
213 case BlobData::Item::TYPE_FILE_FILESYSTEM: in GenerateHTMLForBlobData()
222 case BlobData::Item::TYPE_UNKNOWN: in GenerateHTMLForBlobData()
Dblob_url_request_job.h41 const scoped_refptr<BlobData>& blob_data,
76 bool ReadBytesItem(const BlobData::Item& item, int bytes_to_read);
98 scoped_refptr<BlobData> blob_data_;
Dview_blob_internals_job.h20 class BlobData; variable
45 static void GenerateHTMLForBlobData(const BlobData& blob_data,
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
DFile.cpp55 static PassOwnPtr<BlobData> createBlobDataForFileWithType(const String& path, const String& content… in createBlobDataForFileWithType()
57 OwnPtr<BlobData> blobData = BlobData::create(); in createBlobDataForFileWithType()
63 static PassOwnPtr<BlobData> createBlobDataForFile(const String& path, File::ContentTypeLookupPolicy… in createBlobDataForFile()
68 static PassOwnPtr<BlobData> createBlobDataForFileWithName(const String& path, const String& fileSys… in createBlobDataForFileWithName()
73 static PassOwnPtr<BlobData> createBlobDataForFileWithMetadata(const String& fileSystemName, const F… in createBlobDataForFileWithMetadata()
75 OwnPtr<BlobData> blobData = BlobData::create(); in createBlobDataForFileWithMetadata()
81 static PassOwnPtr<BlobData> createBlobDataForFileSystemURL(const KURL& fileSystemURL, const FileMet… in createBlobDataForFileSystemURL()
83 OwnPtr<BlobData> blobData = BlobData::create(); in createBlobDataForFileSystemURL()
230 OwnPtr<BlobData> blobData = BlobData::create(); in slice()
280 void File::appendTo(BlobData& blobData) const in appendTo()
DBlob.cpp119 OwnPtr<BlobData> blobData = BlobData::create(); in slice()
141 OwnPtr<BlobData> blobData = BlobData::create(); in close()
147 void Blob::appendTo(BlobData& blobData) const in appendTo()
/external/chromium_org/third_party/WebKit/public/platform/
DWebBlobData.h46 class BlobData; variable
76 BLINK_PLATFORM_EXPORT WebBlobData(const WTF::PassOwnPtr<BlobData>&);
77 BLINK_PLATFORM_EXPORT WebBlobData& operator=(const WTF::PassOwnPtr<BlobData>&);
78 BLINK_PLATFORM_EXPORT operator WTF::PassOwnPtr<BlobData>();
82 WebPrivateOwnPtr<BlobData> m_private;
/external/chromium_org/content/browser/fileapi/
Dblob_storage_context_unittest.cc23 BlobData::Item item; in SetupBasicBlob()
114 scoped_refptr<BlobData> blob_data1(new BlobData(kId1)); in TEST()
120 scoped_refptr<BlobData> blob_data2(new BlobData(kId2)); in TEST()
126 scoped_refptr<BlobData> canonicalized_blob_data2(new BlobData(kId2Prime)); in TEST()
225 BlobData::Item item; in TEST()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h316 const char *BlobData = Blob.data(); in EmitRecordWithAbbrevImpl() local
339 if (BlobData) { in EmitRecordWithAbbrevImpl()
347 EmitAbbreviatedField(EltEnc, (unsigned char)BlobData[i]); in EmitRecordWithAbbrevImpl()
350 BlobData = nullptr; in EmitRecordWithAbbrevImpl()
364 if (BlobData) { in EmitRecordWithAbbrevImpl()
376 if (BlobData) { in EmitRecordWithAbbrevImpl()
378 WriteByte((unsigned char)BlobData[i]); in EmitRecordWithAbbrevImpl()
381 BlobData = nullptr; in EmitRecordWithAbbrevImpl()
400 assert(BlobData == nullptr && in EmitRecordWithAbbrevImpl()
448 const char *BlobData, unsigned BlobLen) { in EmitRecordWithBlob() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DResponse.cpp56 OwnPtr<BlobData> blobData = BlobData::create(); in create()
67 OwnPtr<BlobData> blobData = BlobData::create(); in create()
76 OwnPtr<BlobData> blobData = BlobData::create(); in create()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebBlobData.cpp98 WebBlobData::WebBlobData(const PassOwnPtr<BlobData>& data) in WebBlobData()
103 WebBlobData& WebBlobData::operator=(const PassOwnPtr<BlobData>& data) in operator =()
109 WebBlobData::operator PassOwnPtr<BlobData>() in operator PassOwnPtr<BlobData>()
/external/chromium_org/content/child/
Dwebblobregistry_impl.cc59 storage::BlobData::Item item; in registerBlobData()
71 storage::BlobData::Item item; in registerBlobData()
84 storage::BlobData::Item item; in registerBlobData()
125 storage::BlobData::Item item; in SendDataForBlob()
171 storage::BlobData::Item item; in addDataToStream()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8BlobCustomHelpers.h38 class BlobData; variable
87 bool processBlobParts(v8::Local<v8::Object> blobParts, bool normalizeLineEndingsToNative, BlobData&…
/external/chromium_org/content/public/test/
Dmock_blob_url_request_context.cc38 scoped_refptr<storage::BlobData> blob_data(new storage::BlobData(blob_id_)); in ScopedTextBlob()
/external/chromium_org/content/common/fileapi/
Dwebblob_messages.h23 storage::BlobData::Item)
52 storage::BlobData::Item)
/external/chromium_org/content/browser/loader/
Dupload_data_stream_builder.cc16 using storage::BlobData;
83 const BlobData::Item& item = handle->data()->items().at(i); in ResolveBlobReference()
84 DCHECK_NE(BlobData::Item::TYPE_BLOB, item.type()); in ResolveBlobReference()

123