HomeSort by relevance Sort by last modified time
    Searched refs:RefCountedBytes (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium_org/base/memory/
ref_counted_memory.cc 34 RefCountedBytes::RefCountedBytes() {}
36 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer)
40 RefCountedBytes::RefCountedBytes(const unsigned char* p, size_t size)
43 RefCountedBytes* RefCountedBytes::TakeVector(
45 RefCountedBytes* bytes = new RefCountedBytes;
    [all...]
ref_counted_memory.h 68 class BASE_EXPORT RefCountedBytes : public RefCountedMemory {
70 RefCountedBytes();
72 // Constructs a RefCountedBytes object by _copying_ from |initializer|.
73 explicit RefCountedBytes(const std::vector<unsigned char>& initializer);
75 // Constructs a RefCountedBytes object by copying |size| bytes from |p|.
76 RefCountedBytes(const unsigned char* p, size_t size);
78 // Constructs a RefCountedBytes object by performing a swap. (To non
79 // destructively build a RefCountedBytes, use the constructor that takes a
81 static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
91 virtual ~RefCountedBytes();
    [all...]
ref_counted_memory_unittest.cc 19 TEST(RefCountedMemoryUnitTest, RefCountedBytes) {
23 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data);
34 mem2 = new RefCountedBytes(data2, 3);
72 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2);
  /external/chromium_org/chrome/browser/printing/
print_preview_data_service.h 18 class RefCountedBytes;
32 scoped_refptr<base::RefCountedBytes>* data);
40 const base::RefCountedBytes* data);
print_preview_data_service.cc 33 scoped_refptr<base::RefCountedBytes>* data) {
43 void SetPreviewDataForIndex(int index, const base::RefCountedBytes* data) {
47 page_data_map_[index] = const_cast<base::RefCountedBytes*>(data);
66 typedef std::map<int, scoped_refptr<base::RefCountedBytes> >
95 scoped_refptr<base::RefCountedBytes>* data_bytes) {
105 const base::RefCountedBytes* data_bytes) {
print_preview_message_handler.cc 48 base::RefCountedBytes* GetDataFromHandle(base::SharedMemoryHandle handle,
59 return base::RefCountedBytes::TakeVector(&data);
127 base::RefCountedBytes* data_bytes =
152 base::RefCountedBytes* data_bytes =
  /external/chromium_org/ui/snapshot/
snapshot_async.cc 37 scoped_refptr<base::RefCountedBytes> EncodeBitmap(const SkBitmap& bitmap) {
38 scoped_refptr<base::RefCountedBytes> png_data(new base::RefCountedBytes);
55 return scoped_refptr<base::RefCountedBytes>();
88 callback.Run(scoped_refptr<base::RefCountedBytes>());
snapshot.h 55 typedef base::Callback<void(scoped_refptr<base::RefCountedBytes> png_data)>
snapshot_win.cc 136 callback.Run(scoped_refptr<base::RefCountedBytes>());
145 callback.Run(scoped_refptr<base::RefCountedBytes>());
  /external/chromium_org/chrome/browser/ui/webui/print_preview/
print_preview_ui.h 21 class RefCountedBytes;
41 scoped_refptr<base::RefCountedBytes>* data);
47 const base::RefCountedBytes* data);
print_preview_ui_unittest.cc 29 base::RefCountedBytes* CreateTestData() {
33 return new base::RefCountedBytes(preview_data);
87 scoped_refptr<base::RefCountedBytes> data;
93 scoped_refptr<base::RefCountedBytes> dummy_data = CreateTestData();
105 dummy_data = new base::RefCountedBytes();
140 scoped_refptr<base::RefCountedBytes> data;
144 scoped_refptr<base::RefCountedBytes> dummy_data = CreateTestData();
print_preview_handler.h 27 class RefCountedBytes;
208 void SendCloudPrintJob(const base::RefCountedBytes* data);
234 bool GetPreviewDataAndTitle(scoped_refptr<base::RefCountedBytes>* data,
  /external/chromium_org/chrome/browser/chromeos/extensions/
wallpaper_api.h 43 void ThumbnailGenerated(base::RefCountedBytes* data);
  /external/chromium_org/components/enhanced_bookmarks/
image_store_util.cc 27 return scoped_refptr<base::RefCountedMemory>(new base::RefCountedBytes(data));
  /external/chromium_org/sync/internal_api/attachments/
fake_attachment_downloader.cc 25 scoped_refptr<base::RefCountedMemory> data(new base::RefCountedBytes());
  /external/chromium_org/chrome/browser/ui/webui/
fileicon_source.cc 104 scoped_refptr<base::RefCountedBytes> icon_data(new base::RefCountedBytes);
152 scoped_refptr<base::RefCountedBytes> icon_data(new base::RefCountedBytes);
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
user_image_source.cc 60 return new base::RefCountedBytes(user->animated_image());
62 return new base::RefCountedBytes(user->raw_image());
  /external/chromium_org/chrome/browser/history/
thumbnail_database_unittest.cc 201 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
251 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
281 scoped_refptr<base::RefCountedBytes> favicon(new base::RefCountedBytes(data));
386 scoped_refptr<base::RefCountedBytes> favicon1(
387 new base::RefCountedBytes(data1));
389 scoped_refptr<base::RefCountedBytes> favicon2(
390 new base::RefCountedBytes(data2))
    [all...]
top_sites.h 24 class RefCountedBytes;
top_sites_impl.h 37 class RefCountedBytes;
128 // A version of SetPageThumbnail that takes RefCountedBytes as
137 scoped_refptr<base::RefCountedBytes>* bytes);
  /external/chromium_org/ui/gfx/image/
image.cc 155 scoped_refptr<base::RefCountedBytes> png_bytes(new base::RefCountedBytes());
487 scoped_refptr<base::RefCountedBytes> raw_data(new base::RefCountedBytes());
610 return new base::RefCountedBytes();
621 return new base::RefCountedBytes();
656 return new base::RefCountedBytes();
688 scoped_refptr<base::RefCountedBytes> copy(new base::RefCountedBytes());
  /external/chromium_org/chrome/browser/local_discovery/
privet_http.h 16 class RefCountedBytes;
160 virtual void SetData(base::RefCountedBytes* data) = 0;
  /external/chromium_org/content/browser/web_contents/aura/
overscroll_navigation_overlay_unittest.cc 40 scoped_refptr<base::RefCountedBytes> png_bytes =
41 base::RefCountedBytes::TakeVector(&png_data);
  /external/chromium_org/chrome/browser/ui/ash/
screenshot_taker.h 79 scoped_refptr<base::RefCountedBytes> png_data);
  /external/chromium_org/content/browser/frame_host/
navigation_entry_impl.h 198 void SetScreenshotPNGData(scoped_refptr<base::RefCountedBytes> png_data);
199 const scoped_refptr<base::RefCountedBytes> screenshot() const {
268 scoped_refptr<base::RefCountedBytes> screenshot_;

Completed in 544 milliseconds

1 2 3