Home
last modified time | relevance | path

Searched refs:page_count (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/win8/metro_driver/
Dprint_document_source.cc191 size_t page_count = WaitAndGetPageCount(); in MakeDocument() local
194 for (size_t page = 0; page < page_count; ++page) { in MakeDocument()
250 size_t page_count = WaitAndGetPageCount(); in Paginate() local
252 if (page_count == 0) in Paginate()
256 base::checked_cast<UINT32>(page_count)); in Paginate()
385 void PrintDocumentSource::SetPageCount(size_t page_count) { in SetPageCount() argument
386 DCHECK(page_count > 0); in SetPageCount()
392 pages_.resize(page_count); in SetPageCount()
393 pages_ready_state_.resize(page_count); in SetPageCount()
395 for (size_t i = 0; i < page_count; ++i) in SetPageCount()
Dprint_handler.h35 static void SetPageCount(size_t page_count);
65 static void OnSetPageCount(size_t page_count);
106 void MetroSetPrintPageCount(size_t page_count);
Dprint_handler.cc227 void PrintHandler::SetPageCount(size_t page_count) { in SetPageCount() argument
230 base::Bind(&PrintHandler::OnSetPageCount, page_count)); in SetPageCount()
417 void PrintHandler::OnSetPageCount(size_t page_count) { in OnSetPageCount() argument
422 current_document_source_->SetPageCount(page_count); in OnSetPageCount()
460 void MetroSetPrintPageCount(size_t page_count) { in MetroSetPrintPageCount() argument
461 DVLOG(1) << __FUNCTION__ << " Page count: " << page_count; in MetroSetPrintPageCount()
462 metro_driver::PrintHandler::SetPageCount(page_count); in MetroSetPrintPageCount()
/external/chromium_org/chrome/browser/printing/
Dprint_job.cc63 int page_count) { in Initialize() argument
78 new_doc->set_page_count(page_count); in Initialize()
259 void set_page_count(int page_count) { page_count_ = page_count; } in set_page_count() argument
285 void PrintJob::OnPdfToEmfStarted(int page_count) { in OnPdfToEmfStarted() argument
286 if (page_count <= 0) { in OnPdfToEmfStarted()
291 ptd_to_emf_state_->set_page_count(page_count); in OnPdfToEmfStarted()
Dprint_job_worker.cc266 int page_count = document_->page_count(); in OnNewPage() local
267 if (!page_count) { in OnNewPage()
274 page_number_.Init(document_->settings(), page_count); in OnNewPage()
Dprint_job.h49 int page_count);
124 void OnPdfToEmfStarted(int page_count);
Dpdf_to_emf_converter.h23 typedef base::Callback<void(int page_count)> StartCallback;
Dpdf_to_emf_converter.cc149 void OnPageCount(int page_count);
332 void PdfToEmfUtilityProcessHostClient::OnPageCount(int page_count) { in OnPageCount() argument
340 base::Bind(start_callback_, page_count))); in OnPageCount()
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper_linux.cc59 int page_count) { in PrintPagesNative() argument
68 for (int i = 0; i < page_count; ++i) { in PrintPagesNative()
74 if (params.pages[i] >= 0 && params.pages[i] < page_count) { in PrintPagesNative()
Dprint_web_view_helper_pdf_win.cc58 int page_count) { in PrintPagesNative() argument
66 for (int i = 0; i < page_count; ++i) { in PrintPagesNative()
72 if (params.pages[i] >= 0 && params.pages[i] < page_count) { in PrintPagesNative()
Dprint_web_view_helper.cc1123 params.page_count = print_preview_context_.total_page_count(); in CreatePreviewDocument()
1327 int page_count = prep_frame_view_->GetExpectedPageCount(); in PrintPages() local
1328 if (!page_count) { in PrintPages()
1341 page_count)); in PrintPages()
1346 int printed_count = params.pages.empty() ? page_count : params.pages.size(); in PrintPages()
1356 if (!PrintPagesNative(prep_frame_view_->frame(), page_count)) { in PrintPages()
1368 int page_count) { in PrintPagesNative() argument
1375 for (int i = 0; i < page_count; ++i) { in PrintPagesNative()
1381 if (params.pages[i] >= page_count) in PrintPagesNative()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper_linux.cc62 int page_count, in PrintPagesNative() argument
72 for (int i = 0; i < page_count; ++i) { in PrintPagesNative()
78 if (params.pages[i] >= 0 && params.pages[i] < page_count) { in PrintPagesNative()
Dprint_web_view_helper.cc1095 params.page_count = print_preview_context_.total_page_count(); in CreatePreviewDocument()
1306 int page_count = prep_frame_view_->GetExpectedPageCount(); in PrintPages() local
1307 if (!page_count) { in PrintPages()
1320 page_count)); in PrintPages()
1325 int printed_count = params.pages.empty() ? page_count : params.pages.size(); in PrintPages()
1335 if (!PrintPagesNative(prep_frame_view_->frame(), page_count, in PrintPages()
1348 int page_count, in PrintPagesNative() argument
1356 for (int i = 0; i < page_count; ++i) { in PrintPagesNative()
1362 if (params.pages[i] >= page_count) in PrintPagesNative()
/external/chromium_org/chrome/service/
Dservice_utility_process_host.cc125 void set_page_count(int page_count) { page_count_ = page_count; } in set_page_count() argument
308 int page_count) { in OnRenderPDFPagesToMetafilesPageCount() argument
310 if (!pdf_to_emf_state_ || page_count <= 0 || in OnRenderPDFPagesToMetafilesPageCount()
314 pdf_to_emf_state_->set_page_count(page_count); in OnRenderPDFPagesToMetafilesPageCount()
/external/chromium_org/third_party/sqlite/src/test/
Dpagerfault3.test33 PRAGMA page_count;
42 PRAGMA page_count;
Drecover2.test50 PRAGMA page_count;
76 PRAGMA page_count;
101 PRAGMA page_count;
126 PRAGMA page_count;
151 PRAGMA page_count;
/external/chromium_org/chrome/utility/
Dprinting_handler.cc103 int* page_count, in GetPDFDocInfo() argument
107 return get_pdf_doc_info_func_(pdf_buffer, buffer_size, page_count, in GetPDFDocInfo()
130 int buffer_size, int* page_count,
289 int page_count = LoadPDF(pdf_file.Pass()); in OnRenderPDFPagesToMetafile() local
291 new ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount(page_count)); in OnRenderPDFPagesToMetafile()
/external/chromium_org/pdf/
Dpdf.cc183 int buffer_size, int* page_count, in GetPDFDocInfo() argument
196 pdf_buffer, buffer_size, page_count, max_page_width); in GetPDFDocInfo()
Dpdf_engine.h159 virtual void DocumentLoadComplete(int page_count) = 0;
311 int* page_count,
/external/chromium_org/base/
Dfile_version_info_win.cc70 uint32 page_count; in CreateFileVersionInfo() local
72 (void**) &translate, &page_count); in CreateFileVersionInfo()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_handler.cc815 int page_count = 0; in HandlePrint() local
816 settings->GetInteger(printing::kSettingPreviewPageCount, &page_count); in HandlePrint()
819 UMA_HISTOGRAM_COUNTS("PrintPreview.PageCount.PrintToPDF", page_count); in HandlePrint()
830 UMA_HISTOGRAM_COUNTS("PrintPreview.PageCount.PrintWithPrivet", page_count); in HandlePrint()
862 page_count); in HandlePrint()
869 UMA_HISTOGRAM_COUNTS("PrintPreview.PageCount.SystemDialog", page_count); in HandlePrint()
872 UMA_HISTOGRAM_COUNTS("PrintPreview.PageCount.PrintToPrinter", page_count); in HandlePrint()
1094 int page_count = 0; in HandlePrintWithCloudPrintDialog() local
1095 if (!args || !args->GetInteger(0, &page_count)) in HandlePrintWithCloudPrintDialog()
1098 page_count); in HandlePrintWithCloudPrintDialog()
/external/chromium_org/sql/test/
Dtest_helpers.cc95 const unsigned page_count = (db_size + page_size) / page_size; in CorruptSizeInHeader() local
96 WriteBigEndian(page_count, header + kPageCountOffset, 4); in CorruptSizeInHeader()
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_pages_handler.cc114 int page_count = startup_custom_pages_table_model_->RowCount(); in OnModelChanged() local
116 for (int i = 0; i < page_count; ++i) { in OnModelChanged()
/external/chromium_org/v8/test/cctest/
Dtest-spaces.cc325 int page_count = 0; in TEST() local
328 page_count++; in TEST()
330 CHECK(total_pages == page_count); in TEST()
/external/chromium_org/printing/
Dprinted_document.h87 int page_count() const;

123