Searched refs:page_size (Results 26 - 50 of 126) sorted by relevance

123456

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_slab.h66 unsigned page_size; member in struct:util_slab_mempool
H A Du_slab.c60 page = MALLOC(pool->page_size);
148 pool->page_size = sizeof(struct util_slab_page) +
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_slab.h66 unsigned page_size; member in struct:util_slab_mempool
H A Du_slab.c60 page = MALLOC(pool->page_size);
148 pool->page_size = sizeof(struct util_slab_page) +
/external/chromium_org/printing/
H A Dmetafile.h117 virtual SkBaseDevice* StartPageForVectorCanvas(const gfx::Size& page_size,
121 // Prepares a context for rendering a new page with the given |page_size|,
124 virtual bool StartPage(const gfx::Size& page_size,
H A Demf_win.cc453 const gfx::Size& page_size, const gfx::Rect& content_area,
455 if (!StartPage(page_size, content_area, scale_factor))
458 return skia::VectorPlatformDeviceEmf::CreateDevice(page_size.width(),
459 page_size.height(),
463 bool Emf::StartPage(const gfx::Size& /*page_size*/,
527 gfx::Size page_size(page_bounds.size());
528 if (page_size.GetArea() <= 0) {
533 float scale = sqrt(float(raster_area_in_pixels) / page_size.GetArea());
534 page_size.set_width(std::max<int>(1, page_size
452 StartPageForVectorCanvas( const gfx::Size& page_size, const gfx::Rect& content_area, const float& scale_factor) argument
[all...]
H A Dpdf_metafile_cg_mac.cc114 const gfx::Size& page_size, const gfx::Rect& content_area,
120 bool PdfMetafileCg::StartPage(const gfx::Size& page_size, argument
126 double height = page_size.height();
127 double width = page_size.width();
113 StartPageForVectorCanvas( const gfx::Size& page_size, const gfx::Rect& content_area, const float& scale_factor) argument
H A Dpdf_metafile_skia.cc55 const gfx::Size& page_size, const gfx::Rect& content_area,
67 SkISize pdf_page_size = SkISize::Make(page_size.width(), page_size.height());
77 bool PdfMetafileSkia::StartPage(const gfx::Size& page_size, argument
54 StartPageForVectorCanvas( const gfx::Size& page_size, const gfx::Rect& content_area, const float& scale_factor) argument
H A Demf_win.h62 const gfx::Size& page_size, const gfx::Rect& content_area,
66 // when hdc_ is non-NULL. |page_size|, |content_area|, and |scale_factor| are
68 virtual bool StartPage(const gfx::Size& page_size,
/external/chromium_org/ash/ime/
H A Dcandidate_window_view.cc79 if (candidate_window.page_size() > 0)
80 return candidate_window.cursor_position() / candidate_window.page_size();
273 current_page_index * new_candidate_window.page_size();
321 if (candidate_window_.page_size()) {
323 candidate_window_.cursor_position() % candidate_window_.page_size();
355 const size_t page_size = candidate_window.page_size(); local
361 while (page_size < candidate_views_.size()) {
365 while (page_size > candidate_views_.size()) {
379 candidate_window_.page_size() * current_page_inde
[all...]
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper.cc96 return !params.content_size.IsEmpty() && !params.page_size.IsEmpty() &&
110 ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch),
111 ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch));
115 page_params.page_size.width() -
119 page_params.page_size.height() -
154 page_css_params.page_size = gfx::Size(
161 page_css_params.page_size = page_params.page_size;
177 int default_page_size_height = page_params.page_size.height();
178 int default_page_size_width = page_params.page_size
925 GetPageSizeAndContentAreaFromPageLayout( const PageSizeMargins& page_layout_in_points, gfx::Size* page_size, gfx::Rect* content_area) argument
[all...]
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper.cc96 return !params.content_size.IsEmpty() && !params.page_size.IsEmpty() &&
111 ConvertUnit(page_params.page_size.width(), dpi, kPixelsPerInch),
112 ConvertUnit(page_params.page_size.height(), dpi, kPixelsPerInch));
116 page_params.page_size.width() -
120 page_params.page_size.height() -
155 page_css_params.page_size = gfx::Size(
162 page_css_params.page_size = page_params.page_size;
178 int default_page_size_height = page_params.page_size.height();
179 int default_page_size_width = page_params.page_size
969 GetPageSizeAndContentAreaFromPageLayout( const PageSizeMargins& page_layout_in_points, gfx::Size* page_size, gfx::Rect* content_area) argument
[all...]
/external/chromium_org/chrome/browser/printing/
H A Dprint_job.cc226 PdfToEmfState(const gfx::Size& page_size, const gfx::Rect& content_area) argument
230 page_size_(page_size),
260 gfx::Size page_size() const { return page_size_; } function in class:printing::PrintJob::PdfToEmfState
274 const gfx::Size& page_size,
277 ptd_to_emf_state_.reset(new PdfToEmfState(page_size, content_area));
310 ptd_to_emf_state_->page_size(),
272 StartPdfToEmfConversion( const scoped_refptr<base::RefCountedMemory>& bytes, const gfx::Size& page_size, const gfx::Rect& content_area) argument
/external/llvm/lib/Support/Unix/
H A DProcess.inc95 const int page_size = ::getpagesize();
97 long page_size = ::sysconf(_SC_PAGE_SIZE);
101 return static_cast<unsigned>(page_size);
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcencoder_test.cc620 const int page_size = getpagesize(); local
623 posix_memalign(&two_pages, page_size, 2 * page_size);
625 two_pages = memalign(page_size, 2 * page_size);
628 char* const second_page = first_page + page_size;
635 mprotect(second_page, page_size, PROT_NONE);
644 mprotect(second_page, page_size, PROT_READ|PROT_WRITE);
652 const int page_size = getpagesize(); local
655 posix_memalign(&two_pages, page_size,
[all...]
H A Dvcdecoder3_test.cc482 const int page_size = getpagesize(); local
485 posix_memalign(&two_pages, page_size, 2 * page_size);
487 two_pages = memalign(page_size, 2 * page_size);
490 char* const second_page = first_page + page_size;
497 mprotect(second_page, page_size, PROT_NONE);
509 mprotect(second_page, page_size, PROT_READ|PROT_WRITE);
515 const int page_size = getpagesize(); local
518 posix_memalign(&two_pages, page_size,
[all...]
/external/fio/os/
H A Dos-hpux.h82 ret *= pst.page_size;
/external/fio/
H A Didletime.c23 for (k=0; k < page_size; k++) {
24 data[(k + j) % page_size] = k % 256;
130 for (k = 0; k < page_size; k++) {
131 ipt->data[(k + j) % page_size] = k % 256;
142 ipt->loops = j + (double) k / page_size;
200 ipc.buf = malloc(ipc.nr_cpus * page_size);
216 ipt->data = (unsigned char *)(ipc.buf + page_size * i);
/external/chromium_org/sandbox/win/src/
H A DWow64.cc96 const size_t page_size = 4096; local
111 void* buffer = ::VirtualAllocEx(child_->Process(), NULL, page_size,
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Drdpmc.c116 addr = mmap(NULL, page_size, PROT_READ, MAP_SHARED, fd, 0);
140 munmap(addr, page_size);
/external/chromium_org/third_party/sqlite/src/tool/
H A Dfragck.tcl73 set pageSize [db eval {PRAGMA page_size}]
/external/llvm/include/llvm/Support/
H A DProcess.h124 size_t page_size() const { return PageSize; }; function in class:llvm::sys::self_process
/external/llvm/unittests/Support/
H A DProcessTest.cpp32 EXPECT_LT(1u, process::get_self()->page_size());
/external/chromium_org/android_webview/common/
H A Dprint_messages.h33 gfx::Size page_size; member in struct:PrintMsg_Print_Params
87 IPC_STRUCT_TRAITS_MEMBER(page_size)
265 IPC_STRUCT_MEMBER(gfx::Size, page_size)
/external/chromium_org/chrome/browser/ui/webui/print_preview/
H A Dprint_preview_handler.h271 gfx::Size page_size,
277 const gfx::Size& page_size);
282 const gfx::Size& page_size);

Completed in 5511 milliseconds

123456