Home
last modified time | relevance | path

Searched refs:InitFromData (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/printing/
Dpdf_metafile_skia.cc49 bool PdfMetafileSkia::InitFromData(const void* src_buffer, in InitFromData() function in printing::PdfMetafileSkia
192 data_->pdf_cg_.InitFromData(data->bytes(), data->size()); in RenderPage()
246 metafile->InitFromData(data->bytes(), in GetMetafileForCurrentPage()
Demf_win_unittest.cc67 EXPECT_TRUE(emf.InitFromData(&data.front(), size)); in TEST()
100 EXPECT_TRUE(emf.InitFromData(&emf_data[0], emf_data.size())); in TEST_F()
158 EXPECT_TRUE(emf.InitFromData(&data.front(), size)); in TEST_F()
Dpdf_metafile_cg_mac_unittest.cc47 EXPECT_TRUE(pdf2.InitFromData(&buffer.front(), size)); in TEST()
Dpdf_metafile_cg_mac.h36 virtual bool InitFromData(const void* src_buffer,
Dmetafile.h85 virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size) = 0;
Dpdf_metafile_skia.h30 virtual bool InitFromData(const void* src_buffer,
Demf_win.h54 virtual bool InitFromData(const void* src_buffer,
Dimage.cc154 if (!metafile.InitFromData(data.data(), in LoadMetafile()
Dpdf_metafile_cg_mac.cc97 bool PdfMetafileCg::InitFromData(const void* src_buffer, in InitFromData() function in printing::PdfMetafileCg
Demf_win.cc198 bool Emf::InitFromData(const void* src_buffer, uint32 src_buffer_size) { in InitFromData() function in printing::Emf
/external/chromium_org/chrome/renderer/printing/
Dmock_printer.cc221 metafile.InitFromData(metafile_data.memory(), params.data_size); in PrintPage()
/external/chromium_org/chrome/browser/printing/
Dprint_view_manager_base.cc191 if (!metafile->InitFromData(shared_buf.memory(), params.data_size)) { in OnDidPrintPage()
/external/chromium_org/content/renderer/pepper/
Dpepper_plugin_instance_impl.cc1949 ret = metafile->InitFromData(mapper.data(), mapper.size()); in PrintPDFOutput()
1956 ret = metafile->InitFromData(mapper.data(), mapper.size()); in PrintPDFOutput()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_handler.cc1350 metafile->InitFromData(static_cast<const void*>(data->front()), data->size()); in PostPrintToPdfTask()