Searched refs:page_size (Results 1 - 25 of 126) sorted by relevance

123456

/external/chromium_org/base/
H A Dsys_info_freebsd.cc14 int pages, page_size; local
17 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0);
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
H A Dsys_info_openbsd.cc17 long page_size = sysconf(_SC_PAGESIZE); local
18 if (pages == -1 || page_size == -1) {
22 return static_cast<int64>(pages) * page_size;
H A Dsys_info_linux.cc19 long page_size = sysconf(_SC_PAGESIZE); local
20 if (pages == -1 || page_size == -1) {
24 return static_cast<int64>(pages) * page_size;
/external/chromium_org/printing/
H A Dprinted_page.cc11 const gfx::Size& page_size,
18 page_size_(page_size),
32 if (paper_size.width() > page_size().width()) {
33 int diff = paper_size.width() - page_size().width();
36 if (paper_size.height() > page_size().height()) {
37 int diff = paper_size.height() - page_size().height();
9 PrintedPage(int page_number, scoped_ptr<MetafilePlayer> metafile, const gfx::Size& page_size, const gfx::Rect& page_content_rect) argument
H A Dpdf_metafile_cg_mac_unittest.cc59 gfx::Size page_size = pdf2.GetPageBounds(1).size(); local
60 EXPECT_EQ(540, page_size.width());
61 EXPECT_EQ(720, page_size.height());
62 page_size = pdf2.GetPageBounds(2).size();
63 EXPECT_EQ(720, page_size.width());
64 EXPECT_EQ(540, page_size.height());
H A Dpage_setup_unittest.cc30 gfx::Size page_size(100 + rand() % kMax, 200 + rand() % kMax);
32 printable_area.set_width(page_size.width() - (rand() % kMax) -
34 printable_area.set_height(page_size.height() - (rand() % kMax) -
40 setup.Init(page_size, printable_area, kTextHeight);
49 page_size.height() -
52 page_size.width() -
59 page_size.width() - effective_margins.right -
61 page_size.height() - effective_margins.footer -
68 page_size.height() - effective_margins.bottom -
72 EXPECT_EQ(page_size, setu
[all...]
H A Dprinted_page.h27 const gfx::Size& page_size,
33 const gfx::Size& page_size() const { return page_size_; } function in class:printing::PrintedPage
H A Dpdf_metafile_cg_mac.h41 const gfx::Size& page_size, const gfx::Rect& content_area,
43 virtual bool StartPage(const gfx::Size& page_size,
H A Dpdf_metafile_skia.h40 const gfx::Size& page_size,
44 virtual bool StartPage(const gfx::Size& page_size,
/external/chromium_org/content/common/
H A Dset_process_title_linux.cc56 uintptr_t page_size, page, page_end; local
67 page_size = sysconf(_SC_PAGESIZE);
70 page -= page % page_size;
71 page_end = page + page_size;
110 uintptr_t page_size = sysconf(_SC_PAGESIZE);
113 if (((uintptr_t) environ) / page_size == ((uintptr_t) main_argv) / page_size)
/external/chromium_org/ui/base/ime/
H A Dcandidate_window.h28 int page_size; member in struct:ui::CandidateWindow::CandidateWindowProperty
73 uint32 page_size() const { return property_->page_size; } function in class:ui::CandidateWindow
74 void set_page_size(uint32 page_size) { property_->page_size = page_size; } argument
H A Dcandidate_window.cc27 if (page_size() != cw.page_size() ||
65 const size_t cursor_index_in_page = cursor_position() % page_size();
86 : page_size(kDefaultPageSize),
/external/chromium_org/v8/src/base/
H A Dsys-info.cc68 int pages, page_size;
71 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0);
72 if (pages == -1 || page_size == -1) {
76 return static_cast<int64_t>(pages) * page_size;
99 long page_size = sysconf(_SC_PAGESIZE); // NOLINT(runtime/int)
100 if (pages == -1 || page_size == -1) {
104 return static_cast<int64_t>(pages) * page_size;
/external/chromium_org/sql/test/
H A Dtest_helpers.cc26 bool GetPageSize(sql::Connection* db, int* page_size) { argument
27 sql::Statement s(db->GetUniqueStatement("PRAGMA page_size"));
30 *page_size = s.ColumnInt(0);
92 const unsigned page_size = ReadBigEndian(header + kPageSizeOffset, 2); local
95 const unsigned page_count = (db_size + page_size) / page_size;
119 int page_size = 0; local
120 if (!GetPageSize(&db, &page_size))
128 const long int page_ofs = (page_number - 1) * page_size;
129 scoped_ptr<char[]> page_buf(new char[page_size]);
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dstacktrace_x86-inl.h207 // page_size is linker-initalized to avoid async-unsafe locking
209 static int page_size; local
210 if (page_size == 0) {
212 page_size = getpagesize();
217 ~(page_size - 1));
218 if (msync(reg_esp_aligned, page_size, MS_ASYNC) == 0) {
264 static int page_size = getpagesize(); local
265 void *new_sp_aligned = (void *)((uintptr_t)new_sp & ~(page_size - 1));
266 if (msync(new_sp_aligned, page_size, MS_ASYNC) == -1)
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_engine_interface.cc39 : page_size(kDefaultPageSize),
/external/libunwind/tests/
H A Dia64-test-setjmp.c87 size_t page_size = getpagesize (); local
89 guard_page_addr = (bsp + page_size - 1) & -page_size;
92 ret = mmap ((void *) guard_page_addr, page_size, PROT_NONE,
/external/chromium_org/tools/gyp/test/win/
H A Dgyptest-link-large-pdb.py34 page_size = struct.unpack('<I', pdb_file.read(4))[0]
35 if page_size != expected_page_size:
37 expected_page_size, page_size, pdb_path)
/external/chromium_org/ppapi/tests/
H A Dtest_file_mapping.cc87 const int64_t page_size = local
92 std::string file_contents((page_size * (kNumPages - 1)) + 128, 'a');
114 kNumPages * page_size,
217 const int64_t page_size = local
221 //std::string file_contents((page_size * (kNumPages - 1)) + 128, 'a');
222 std::string file_contents(page_size, 'a');
244 page_size,
259 page_size,
305 page_size,
320 page_size,
426 const int64_t page_size = local
[all...]
/external/chromium_org/chrome/renderer/printing/
H A Dprint_web_view_helper_pdf_win.cc106 printed_page_params.page_size = params.params.page_size;
136 printed_page_params.page_size = page_size_in_dpi[i];
155 gfx::Size page_size; local
157 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size,
164 page_size.width(), kPointsPerInch, dpi)),
166 page_size.height(), kPointsPerInch, dpi)));
176 params.params.display_header_footer ? gfx::Rect(page_size) : content_area;
182 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,
H A Dprint_web_view_helper_linux.cc157 gfx::Size page_size; local
159 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size,
162 params.params.display_header_footer ? gfx::Rect(page_size) : content_area;
164 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,
/external/chromium_org/android_webview/common/
H A Dprint_messages.cc14 : page_size(),
40 page_size = gfx::Size();
/external/chromium_org/chrome/common/
H A Dprint_messages.cc12 : page_size(),
38 page_size = gfx::Size();
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dstacktrace_x86-inl.h210 // page_size is linker-initalized to avoid async-unsafe locking
212 static int page_size; local
213 if (page_size == 0) {
215 page_size = getpagesize();
220 ~(page_size - 1));
221 if (msync(reg_esp_aligned, page_size, MS_ASYNC) == 0) {
267 static int page_size = getpagesize(); local
268 void *new_sp_aligned = (void *)((uintptr_t)new_sp & ~(page_size - 1));
269 if (msync(new_sp_aligned, page_size, MS_ASYNC) == -1)
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper_linux.cc162 gfx::Size page_size; local
164 GetPageSizeAndContentAreaFromPageLayout(page_layout_in_points, &page_size,
167 params.params.display_header_footer ? gfx::Rect(page_size) : content_area;
169 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size,

Completed in 543 milliseconds

123456